:root {
  --bg: #0b0d12;
  --bg-soft: #12151d;
  --panel: rgba(17, 20, 29, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f2eb;
  --text-dark: #111217;
  --muted: rgba(246, 242, 235, 0.72);
  --muted-dark: rgba(17, 18, 23, 0.66);
  --accent: #ff7a2f;
  --accent-soft: #ffc66d;
  --teal: #6dd5c5;
  --rose: #ff7fb4;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1280px;
  --hero-scale: 1;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --step--1: 0.82rem;
  --step-0: 0.95rem;
  --step-1: 1.08rem;
  --step-2: 1.35rem;
  --step-3: 1.8rem;
  --step-4: 2.6rem;
  --step-5: clamp(3.4rem, 8vw, 6.4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 47, 0.16), transparent 18%),
    radial-gradient(circle at top right, rgba(109, 213, 197, 0.13), transparent 18%),
    linear-gradient(180deg, #0a0c11 0%, #0e1118 40%, #0a0c11 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.camera-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(109, 213, 197, 0.16), transparent 18%),
    radial-gradient(circle at center, rgba(255, 198, 109, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(2, 4, 9, 0.995), rgba(6, 8, 14, 0.99));
  transition:
    opacity 760ms ease,
    visibility 760ms ease;
}

.camera-loader::before,
.camera-loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.18));
  transition: transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.camera-loader::before {
  top: 0;
}

.camera-loader::after {
  bottom: 0;
  transform: rotate(180deg);
}

.camera-loader-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.05rem;
  text-align: center;
}

.camera-loader-lens-stack {
  position: relative;
  width: min(54vw, 22rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 42%, rgba(255, 255, 255, 0.18), transparent 10%),
    radial-gradient(circle at center, rgba(10, 16, 26, 0.98) 0 24%, rgba(18, 26, 40, 0.92) 25% 34%, rgba(5, 7, 12, 0.98) 35% 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1.25rem rgba(255, 255, 255, 0.02),
    0 0 0 2.8rem rgba(255, 255, 255, 0.012),
    0 42px 100px rgba(0, 0, 0, 0.62);
}

.loader-aperture {
  position: absolute;
  inset: 17%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 44px rgba(0, 0, 0, 0.62);
}

.loader-blade {
  --blade-angle: 0deg;
  position: absolute;
  inset: -8%;
  clip-path: polygon(50% 50%, 100% 10%, 100% 90%);
  background: linear-gradient(135deg, rgba(4, 7, 11, 0.98), rgba(26, 33, 44, 0.95) 58%, rgba(90, 107, 128, 0.44));
  transform: rotate(var(--blade-angle)) translateX(2%);
  transform-origin: 50% 50%;
  animation: aperture-sweep 2.2s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.loader-blade-1 {
  --blade-angle: 0deg;
}

.loader-blade-2 {
  --blade-angle: 60deg;
  animation-delay: -0.16s;
}

.loader-blade-3 {
  --blade-angle: 120deg;
  animation-delay: -0.32s;
}

.loader-blade-4 {
  --blade-angle: 180deg;
  animation-delay: -0.48s;
}

.loader-blade-5 {
  --blade-angle: 240deg;
  animation-delay: -0.64s;
}

.loader-blade-6 {
  --blade-angle: 300deg;
  animation-delay: -0.8s;
}

.loader-ring,
.loader-focus-line,
.loader-flare,
.loader-core-dot {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.loader-ring {
  border-radius: 50%;
}

.loader-ring-outer {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: ring-spin 8s linear infinite;
}

.loader-ring-mid {
  width: 74%;
  height: 74%;
  border: 1px solid rgba(109, 213, 197, 0.18);
  box-shadow: inset 0 0 38px rgba(109, 213, 197, 0.08);
  animation: ring-spin-reverse 5.5s linear infinite;
}

.loader-ring-inner {
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 198, 109, 0.35);
  box-shadow:
    inset 0 0 24px rgba(255, 198, 109, 0.1),
    0 0 32px rgba(255, 198, 109, 0.12);
  animation: ring-breathe 1.7s ease-in-out infinite;
}

.loader-focus-line {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.loader-focus-line-x {
  width: 58%;
  height: 1px;
}

.loader-focus-line-y {
  width: 1px;
  height: 58%;
}

.loader-flare {
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(109, 213, 197, 0.38) 34%, transparent 70%);
  filter: blur(0.5px);
  animation: flare-pulse 1.8s ease-in-out infinite;
}

.loader-core-dot {
  width: 8%;
  height: 8%;
  border-radius: 50%;
  background: rgba(248, 247, 244, 0.98);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.95),
    0 0 34px rgba(109, 213, 197, 0.28);
}

.camera-loader-kicker,
.camera-loader-copy {
  margin: 0;
}

.camera-loader-kicker {
  color: rgba(255, 198, 109, 0.96);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.camera-loader-copy {
  max-width: 24rem;
  color: rgba(246, 242, 235, 0.76);
  font-size: 1rem;
}

.camera-loader-status {
  margin: -0.1rem 0 0;
  color: rgba(246, 242, 235, 0.54);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: status-pulse 1.6s ease-in-out infinite;
}

body.is-loaded .camera-loader {
  opacity: 0;
  visibility: hidden;
}

body.is-loaded .camera-loader::before {
  transform: translateY(-140%);
}

body.is-loaded .camera-loader::after {
  transform: rotate(180deg) translateY(-140%);
}

.flash-wash {
  position: fixed;
  inset: 0;
  z-index: 96;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--flash-origin-x, 50%) var(--flash-origin-y, 50%), rgba(255, 255, 255, 1) 0 12%, rgba(255, 255, 255, 0.98) 30%, rgba(255, 255, 255, 0.72) 56%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  filter: saturate(0) brightness(1.16);
}

.flash-wash.is-firing {
  animation: screen-flash var(--flash-duration, 820ms) ease-out forwards;
}

.scroll-camera {
  position: fixed;
  top: 50%;
  right: -1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(115%, -50%, 0);
  transition:
    opacity 220ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-camera.from-left {
  right: auto;
  left: -1rem;
  flex-direction: row-reverse;
  transform: translate3d(-115%, -50%, 0);
}

.scroll-camera.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.scroll-camera-copy {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.92);
  color: #16171d;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.scroll-camera-rig {
  position: relative;
  width: min(24vw, 14rem);
  min-width: 10rem;
  aspect-ratio: 1.15 / 1;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.34));
}

.scroll-camera-body {
  position: absolute;
  inset: 18% 0 0 18%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem 0 0 2rem;
  background:
    linear-gradient(180deg, rgba(244, 243, 239, 0.97), rgba(187, 194, 203, 0.92));
  box-shadow:
    inset 0 0 0 0.08rem rgba(255, 255, 255, 0.45),
    0 20px 45px rgba(0, 0, 0, 0.24);
}

.scroll-camera-top {
  position: absolute;
  top: 0;
  right: 2rem;
  width: 4.8rem;
  height: 2.1rem;
  border-radius: 1.2rem 1.2rem 0.5rem 0.5rem;
  background: linear-gradient(180deg, rgba(245, 244, 240, 0.96), rgba(191, 198, 208, 0.9));
}

.scroll-camera-lens {
  position: absolute;
  top: 50%;
  left: 32%;
  width: 44%;
  aspect-ratio: 1;
  border: 0.34rem solid rgba(17, 18, 23, 0.88);
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 44% 42%, rgba(255, 255, 255, 0.76), transparent 18%),
    radial-gradient(circle at center, rgba(37, 62, 97, 0.94), rgba(10, 13, 20, 0.98) 60%);
  box-shadow:
    0 0 0 0.45rem rgba(255, 255, 255, 0.16),
    inset 0 0 18px rgba(109, 213, 197, 0.22);
}

.scroll-camera-lens::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  transform: translate(-50%, -50%);
}

.scroll-camera-flash {
  position: absolute;
  top: 18%;
  right: 10%;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 44%, rgba(255, 255, 255, 0.96) 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, rgba(255, 255, 255, 0.96) 44% 56%, transparent 56%),
    radial-gradient(circle, rgba(255, 250, 244, 0.98), transparent 64%);
}

.scroll-camera.is-firing .scroll-camera-flash {
  animation: side-camera-flash 420ms ease-out;
}

.scroll-camera.is-firing .scroll-camera-rig {
  animation: side-camera-recoil 360ms ease-out;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.035) 0.6px, transparent 0.6px),
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
  background-size: 8px 8px, auto;
  opacity: 0.22;
}

a {
  color: inherit;
}

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

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: transparent;
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.52), rgba(7, 10, 16, 0.16));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 5.6rem;
  height: 5.6rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.brand-logo {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 18px;
}

.brand-text {
  display: grid;
  gap: 0.16rem;
}

.brand-text strong {
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.brand-text span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.site-nav {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  transition:
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled .site-nav {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transition:
    color 180ms ease,
    background 180ms ease,
    text-shadow 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.site-header.is-scrolled .site-nav a {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.62);
}

.hero {
  padding: 1rem 0 2rem;
}

.hero-shell {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.hero-background,
.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-backdrop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--hero-scale));
  transition: transform 120ms linear;
  filter: saturate(1.05) contrast(1.04);
}

.hero-gradient {
  background:
    linear-gradient(100deg, rgba(10, 12, 17, 0.76) 0%, rgba(10, 12, 17, 0.18) 58%, rgba(10, 12, 17, 0.76) 100%),
    linear-gradient(180deg, rgba(10, 12, 17, 0.08), rgba(10, 12, 17, 0.62));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.8fr);
  gap: 1.25rem;
  align-items: end;
  min-height: 88svh;
  padding: 2rem;
  perspective: 1200px;
}

.hero-copy {
  max-width: 46rem;
  padding-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-soft);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.portfolio-main-title {
  margin: 0;
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: none;
  text-wrap: balance;
}

.contact-value {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.profile-bio,
.portfolio-step p,
.bento-caption,
.film-meta,
.film-copy,
.site-footer {
  color: var(--muted);
}

.hero-text {
  max-width: 46rem;
  margin: 1.25rem 0 0;
  font-size: var(--step-1);
  line-height: 1.7;
  font-weight: 400;
}

.hero-text a {
  color: #ffffff;
  text-decoration-thickness: 0.08em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-tags span {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-actions,
.profile-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ff9b5e);
  color: #1a110a;
  box-shadow: 0 20px 42px rgba(255, 122, 47, 0.24);
}

.button-secondary,
.button-tertiary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.8rem 0 0;
}

.metric-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.metric-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-card dd {
  margin: 0.4rem 0 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.profile-card {
  align-self: end;
}

.profile-card-inner {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(252, 249, 244, 0.96), rgba(245, 240, 232, 0.92)),
    rgba(250, 248, 244, 0.94);
  color: var(--text-dark);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.profile-label {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.profile-image {
  width: 5.1rem;
  height: 5.1rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 122, 47, 0.3);
  border-radius: 22px;
  background: #ffffff;
  object-fit: cover;
}

.profile-copy h2 {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #17181d;
}

.profile-handle {
  margin: 0.25rem 0 0;
  color: rgba(17, 18, 23, 0.68);
  font-size: var(--step-0);
}

.profile-bio {
  margin: 1rem 0 0;
  color: rgba(17, 18, 23, 0.78);
  line-height: 1.68;
  white-space: pre-line;
}

.profile-actions .button-tertiary {
  border-color: rgba(17, 18, 23, 0.1);
  background: rgba(255, 255, 255, 0.46);
  color: #17181d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.profile-actions .button-tertiary:hover {
  background: rgba(255, 255, 255, 0.7);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.preview-tile {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  border-radius: 16px;
  background: #ddd5cb;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.preview-tile:hover .preview-image,
.film-link:hover .film-image,
.bento-tile:hover .bento-image,
.texture-card:hover img {
  transform: scale(1.04);
}



.scene-section {
  padding: 2.4rem 0 0;
}

.section-heading {
  max-width: 50rem;
}

.section-heading p {
  margin: 0.95rem 0 0;
  max-width: 44rem;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.76;
}

.section-meta {
  margin: 0.85rem 0 0;
  color: rgba(255, 198, 109, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.portfolio-steps {
  display: grid;
  gap: 0.95rem;
}

.portfolio-step {
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.portfolio-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-step.is-active {
  border-color: rgba(255, 198, 109, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(8px);
}

.portfolio-step-index {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 198, 109, 0.1);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-step h3 {
  margin: 0.65rem 0 0;
  font-size: var(--step-2);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-step p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-step-thumb {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.portfolio-stage {
  position: relative;
}

.portfolio-stage-sticky {
  position: sticky;
  top: 5.7rem;
}

.portfolio-visual {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.portfolio-main-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  transform: scale(var(--portfolio-depth, 1));
  transition: transform 120ms linear;
}

.portfolio-visual-overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.08), rgba(10, 12, 17, 0.7));
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-main-kicker {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-main-title {
  margin-top: 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.texture-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.texture-card {
  overflow: hidden;
  min-height: 8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease;
}

.texture-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.texture-card-large {
  min-height: 10rem;
}

.texture-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-section {
  padding-top: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.bento-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  transition-delay: var(--delay, 0ms);
}

.gallery-grid.is-visible .bento-tile {
  opacity: 1;
  transform: translateY(0);
}

.bento-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.bento-tile:hover .bento-image {
  transform: scale(1.05);
}

.bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.bento-copy {
  position: absolute;
  inset: auto 0.85rem 0.85rem 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.06), rgba(10, 12, 17, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bento-meta {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bento-title {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-caption {
  margin: 0.5rem 0 0;
  font-size: var(--step-0);
  line-height: 1.58;
}

/* ── Lightbox ─────────────────────────────────────── */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 400ms ease,
    background 400ms ease,
    backdrop-filter 400ms ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-card {
  position: relative;
  width: min(90vw, 56rem);
  max-height: 88vh;
  perspective: 1200px;
  transform: scale(0.6) rotateY(90deg);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-overlay.is-open .lightbox-card {
  transform: scale(1) rotateY(0deg);
}

.lightbox-inner {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111319;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0d0d12;
}

.lightbox-info {
  padding: 1.2rem 1.4rem;
}

.lightbox-meta {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox-title {
  margin: 0.4rem 0 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lightbox-caption {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.lightbox-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 180ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 180ms ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-prev {
  left: -4rem;
}

.lightbox-next {
  right: -4rem;
}

@media (max-width: 760px) {
  .lightbox-card {
    width: 94vw;
  }

  .lightbox-prev {
    left: 0.5rem;
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }

  .lightbox-next {
    right: 0.5rem;
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }
}

.feed-status {
  margin-top: 1rem;
  color: var(--muted);
}

.latest-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.45rem;
}

.film-card {
  grid-column: span 3;
}

.film-card:nth-child(1) {
  grid-column: span 6;
}

.film-card:nth-child(2),
.film-card:nth-child(3) {
  grid-column: span 3;
}

.film-link {
  display: block;
  overflow: hidden;
  height: 100%;
  border-radius: 24px;
  background: #111319;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.film-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.film-image-wrap::before,
.film-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.75rem;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.85) 0.18rem, transparent 0.19rem) center / 100% 1.5rem repeat-y;
  z-index: 1;
}

.film-image-wrap::before {
  left: 0;
}

.film-image-wrap::after {
  right: 0;
}

.film-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.film-copy {
  padding: 0.95rem 1rem 1.05rem;
}

.film-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-title {
  margin: 0.45rem 0 0;
  font-size: 1.05rem;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.services-section {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.service-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 122, 47, 0.28);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.services-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.services-cta p {
  margin: 0 0 1.2rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.contact-section {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-label {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-value {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.02;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 0 2.2rem;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 34rem;
  }

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

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

@media (max-width: 760px) {
  .camera-loader-lens-stack {
    width: min(80vw, 16.5rem);
  }

  .scroll-camera {
    right: -0.4rem;
    gap: 0.55rem;
  }

  .scroll-camera.from-left {
    left: -0.4rem;
  }

  .scroll-camera-copy {
    padding: 0.65rem 0.8rem;
    font-size: 0.76rem;
  }

  .scroll-camera-rig {
    min-width: 7.5rem;
    width: 28vw;
  }

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

  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid {
    padding: 1.2rem;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    letter-spacing: -0.03em;
  }

  .hero-metrics,
  .contact-grid,
  .preview-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .bento-tile {
    border-radius: 16px;
  }

  .bento-copy {
    padding: 0.5rem 0.6rem;
    border-radius: 12px;
    inset: auto 0.5rem 0.5rem 0.5rem;
  }

  .bento-meta {
    font-size: 0.6rem;
  }

  .bento-title {
    font-size: 0.78rem;
    -webkit-line-clamp: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .camera-loader,
  .flash-wash,
  .scroll-camera,
  .bento-tile,
  .button,
  .hero-backdrop-image {
    animation: none !important;
    transition: none !important;
  }

  body.is-loaded .camera-loader {
    display: none;
  }
}

@keyframes ring-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ring-spin-reverse {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes ring-breathe {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.88;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.88;
  }
}

@keyframes aperture-sweep {
  0%,
  100% {
    transform: rotate(var(--blade-angle)) translateX(2%) scale(1);
  }

  38% {
    transform: rotate(calc(var(--blade-angle) + 18deg)) translateX(12%) scale(0.95);
  }

  68% {
    transform: rotate(calc(var(--blade-angle) + 7deg)) translateX(5%) scale(0.985);
  }
}

@keyframes flare-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.62);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

@keyframes screen-flash {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  22% {
    opacity: 1;
  }

  42% {
    opacity: 0.94;
  }

  72% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.5;
    letter-spacing: 0.12em;
  }

  50% {
    opacity: 1;
    letter-spacing: 0.16em;
  }
}

@keyframes side-camera-flash {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  35% {
    opacity: 1;
    transform: scale(1.5);
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes side-camera-recoil {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  35% {
    transform: translateX(-0.3rem) scale(0.985);
  }

  70% {
    transform: translateX(0.12rem) scale(1);
  }
}
