/* NIKY DESIGN & WEB — PREMIUM SIGNATURE EDITION */
:root {
  --bg: #060606;
  --bg-2: #0a0a0a;
  --surface: #0f0f0f;
  --surface-2: #151515;
  --text: #f3efe5;
  --muted: #9c978d;
  --gold: #d7aa43;
  --gold-light: #ffe39a;
  --gold-dark: #7d5810;
  --line: rgba(255,255,255,.085);
  --gold-line: rgba(215,170,67,.28);
  --max: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}

body.loading,
body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #050505;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

#ambientCanvas {
  position: fixed;
  inset: 0;
  z-index: -6;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora {
  position: fixed;
  z-index: -5;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: .11;
  animation: breathe 9s ease-in-out infinite;
}

.aurora-one {
  top: -18vw;
  right: -14vw;
  background: #d9a32d;
}

.aurora-two {
  bottom: -22vw;
  left: -18vw;
  background: #815600;
  animation-delay: -4.5s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold-light);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,227,154,.48);
  transition: width .22s ease, height .22s ease, border-color .22s ease, background .22s ease;
}

.cursor-ring.active {
  width: 62px;
  height: 62px;
  border-color: var(--gold);
  background: rgba(215,170,67,.08);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .8s ease, visibility .8s ease;
}

.preloader.hidden {
  visibility: hidden;
  opacity: 0;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.preloader img {
  width: 104px;
  animation: logoPulse 1.8s ease-in-out infinite;
}

.preloader span {
  color: var(--gold-light);
  letter-spacing: .38em;
  font-size: .62rem;
  font-weight: 800;
}

.preloader-line {
  width: 220px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.preloader-line i {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  animation: preloadLine 1.2s ease-in-out infinite;
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6,6,6,.78);
  backdrop-filter: blur(20px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  min-height: 90px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
}

.brand-emblem::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(215,170,67,.25);
  content: "";
  transform: rotate(45deg);
  transition: transform .5s ease;
}

.brand:hover .brand-emblem::after {
  transform: rotate(135deg);
}

.brand-emblem img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(215,170,67,.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  letter-spacing: .25em;
  font-size: .95rem;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--gold);
  letter-spacing: .3em;
  font-size: .52rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #d3cec4;
  font-size: .8rem;
  font-weight: 650;
}

.main-nav > a:not(.nav-button) {
  position: relative;
}

.main-nav > a:not(.nav-button)::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transition: width .25s ease;
}

.main-nav > a:hover::after {
  width: 100%;
}

.nav-button {
  position: relative;
  overflow: hidden;
  padding: 12px 19px;
  border: 1px solid var(--gold-line);
  color: var(--gold-light);
}

.nav-button::before {
  position: absolute;
  inset: 0;
  background: var(--gold);
  content: "";
  transform: translateY(102%);
  transition: transform .3s ease;
}

.nav-button:hover::before {
  transform: none;
}

.nav-button span {
  position: relative;
  z-index: 1;
}

.nav-button:hover {
  color: #070707;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: .2s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 78px;
  min-height: calc(100vh - 90px);
  padding: 75px 0 120px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 27px;
  color: var(--gold);
  letter-spacing: .23em;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

h1 {
  max-width: 790px;
  font-size: clamp(3.75rem, 7.1vw, 7.45rem);
  line-height: .97;
  letter-spacing: -.05em;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: inherit;
}

.shimmer-text {
  position: relative;
  display: inline;
  background: linear-gradient(100deg, #9e7217 10%, #ffe9ae 35%, #c99325 57%, #fff1c2 72%, #9e7217 92%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: textShimmer 7s linear infinite;
}

.hero-lead {
  max-width: 680px;
  margin-top: 31px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 39px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 0 25px;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button::after {
  position: absolute;
  top: -70%;
  left: -30%;
  width: 25%;
  height: 240%;
  background: rgba(255,255,255,.34);
  content: "";
  transform: rotate(24deg) translateX(-300%);
  transition: transform .7s ease;
}

.button:hover::after {
  transform: rotate(24deg) translateX(650%);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #ad7817);
  color: #080808;
  box-shadow: 0 18px 50px rgba(215,170,67,.12);
}

.button-gold:hover {
  box-shadow: 0 24px 65px rgba(215,170,67,.22);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,.015);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--gold-line);
}

.button span,
.button b {
  position: relative;
  z-index: 1;
}

.availability {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  color: #8d887f;
  font-size: .7rem;
  letter-spacing: .06em;
}

.availability-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.availability-dot::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(215,170,67,.4);
  border-radius: 50%;
  content: "";
  animation: availabilityPulse 2s ease-out infinite;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.trust-row div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 0 0;
}

.trust-row div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.trust-row strong {
  color: var(--gold);
  font-size: .63rem;
  letter-spacing: .18em;
}

.trust-row span {
  color: #bbb5aa;
  font-size: .7rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  perspective: 1100px;
}

.halo {
  position: absolute;
  border: 1px solid rgba(215,170,67,.15);
  border-radius: 50%;
  animation: rotateHalo 30s linear infinite;
}

.halo::before,
.halo::after {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
  content: "";
}

.halo::before {
  top: 9%;
  left: 18%;
  width: 4px;
  height: 4px;
}

.halo::after {
  right: 5%;
  bottom: 30%;
  width: 3px;
  height: 3px;
}

.halo-outer {
  width: 610px;
  height: 610px;
}

.halo-middle {
  width: 475px;
  height: 475px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 24s;
}

.halo-inner {
  width: 345px;
  height: 345px;
  animation-duration: 18s;
}

.hero-card {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(455px, 84%);
  aspect-ratio: .82;
  padding: 25px 28px;
  overflow: hidden;
  border: 1px solid rgba(255,224,145,.24);
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), transparent 32%),
    linear-gradient(165deg, #161616, #070707 70%);
  box-shadow:
    0 50px 110px rgba(0,0,0,.72),
    inset 0 0 60px rgba(215,170,67,.035);
  transform: rotateY(-7deg) rotateX(3deg);
  animation: cardFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hero-card::before {
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(215,170,67,.12);
  content: "";
}

.card-scan {
  position: absolute;
  z-index: 4;
  top: -20%;
  left: 0;
  width: 100%;
  height: 18%;
  background: linear-gradient(transparent, rgba(255,226,148,.08), transparent);
  animation: scanCard 6s ease-in-out infinite;
}

.card-topline,
.hero-card-footer {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: #7f7a71;
  letter-spacing: .19em;
  font-size: .5rem;
  font-weight: 800;
}

.logo-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 72%;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 75%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.75));
  animation: logoBreathe 4.8s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(215,170,67,.15);
  filter: blur(45px);
  animation: glowBreathe 4.8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  z-index: 5;
  min-width: 145px;
  padding: 13px 16px;
  border: 1px solid var(--gold-line);
  background: rgba(9,9,9,.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
  animation: smallFloat 5s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: #6f6a62;
  letter-spacing: .19em;
  font-size: .47rem;
  font-weight: 800;
}

.floating-card strong {
  display: block;
  margin-top: 3px;
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}

.floating-card-one {
  top: 17%;
  left: -2%;
}

.floating-card-two {
  top: 43%;
  right: -5%;
  animation-delay: -1.6s;
}

.floating-card-three {
  bottom: 14%;
  left: 7%;
  animation-delay: -3s;
}

.hero-marquee {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 13px 0;
  color: #5f5a52;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  letter-spacing: .28em;
  font-size: .55rem;
  font-weight: 800;
}

.marquee-track i {
  color: var(--gold);
  font-style: normal;
  font-size: .52rem;
}

.scroll-cue {
  position: absolute;
  bottom: 77px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #6d685f;
  letter-spacing: .22em;
  font-size: .51rem;
  font-weight: 800;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 62px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--gold);
  content: "";
  animation: scrollLine 2.1s infinite;
}

.statement {
  padding: 150px 0 125px;
  text-align: center;
}

.statement-small {
  margin-bottom: 25px;
  color: var(--gold);
  letter-spacing: .18em;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.statement-large {
  max-width: 1050px;
  margin-inline: auto;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5.5vw, 5.7rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.statement-large span {
  color: #6d685f;
}

.services,
.portfolio,
.process,
.about,
.contact {
  padding: 145px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 68px;
}

.section-index {
  margin-bottom: 18px;
  color: var(--gold);
  letter-spacing: .24em;
  font-size: .62rem;
  font-weight: 800;
}

.section-head h2,
.about-copy h2,
.contact-copy :is(h1, h2) {
  max-width: 850px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-intro {
  max-width: 470px;
  color: var(--muted);
  font-size: .92rem;
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr 170px 42px;
  align-items: center;
  gap: 25px;
  min-height: 175px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: padding .35s ease, background .35s ease;
}

.service-row::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(215,170,67,.08), transparent 64%);
  content: "";
  opacity: 0;
  transform: translateX(-15%);
  transition: .35s ease;
}

.service-row:hover {
  padding-inline: 18px;
}

.service-row:hover::before {
  opacity: 1;
  transform: none;
}

.service-number,
.service-main,
.service-orbit,
.service-arrow {
  position: relative;
  z-index: 1;
}

.service-number {
  color: var(--gold);
  letter-spacing: .16em;
  font-size: .62rem;
  font-weight: 800;
}

.service-main h3 {
  margin-bottom: 6px;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
}

.service-main p {
  max-width: 760px;
  color: var(--muted);
  font-size: .84rem;
}

.service-orbit {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  justify-self: center;
  border: 1px solid rgba(215,170,67,.16);
  border-radius: 50%;
  transition: transform .5s ease, border-color .5s ease;
}

.service-orbit::before {
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 13px var(--gold);
  content: "";
}

.service-orbit span {
  color: #777269;
  letter-spacing: .15em;
  font-size: .47rem;
  font-weight: 800;
}

.service-row:hover .service-orbit {
  border-color: var(--gold-line);
  transform: rotate(50deg) scale(1.08);
}

.service-row:hover .service-orbit span {
  transform: rotate(-50deg);
}

.service-arrow {
  color: var(--gold-light);
  font-size: 1.2rem;
  opacity: .35;
  transform: translate(-8px, 8px);
  transition: .3s ease;
}

.service-row:hover .service-arrow {
  opacity: 1;
  transform: none;
}

.project-stack {
  display: grid;
  gap: 34px;
}

.project-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  transform-style: preserve-3d;
}

.project-background {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .35s ease;
}

.project-wide .project-background {
  min-height: 670px;
}

.project-card:hover .project-background {
  border-color: var(--gold-line);
}

.project-glow {
  position: absolute;
  top: -15%;
  right: 5%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(215,170,67,.16);
  filter: blur(80px);
  animation: glowMove 8s ease-in-out infinite;
}

.project-web {
  background:
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 40%),
    #090909;
}

.browser {
  position: relative;
  z-index: 2;
  width: min(850px, 82%);
  border: 1px solid rgba(255,255,255,.16);
  background: #090909;
  box-shadow: 0 45px 100px rgba(0,0,0,.65);
  transform: perspective(1100px) rotateX(4deg) rotateY(-7deg);
  transition: transform .5s ease;
}

.project-card:hover .browser {
  transform: perspective(1100px) rotateX(1deg) rotateY(-2deg) scale(1.015);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4741;
}

.browser-page {
  min-height: 440px;
  padding: 78px 58px;
  background:
    radial-gradient(circle at 70% 35%, rgba(215,170,67,.13), transparent 31%),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(255,255,255,.025) 95px 96px);
}

.browser-page span {
  color: var(--gold);
  letter-spacing: .2em;
  font-size: .55rem;
  font-weight: 800;
}

.browser-page strong {
  display: block;
  max-width: 600px;
  margin-top: 22px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .95;
}

.browser-cta {
  width: 145px;
  height: 42px;
  margin-top: 40px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.project-id {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(255,255,255,.27);
  letter-spacing: .18em;
  font-size: .57rem;
  font-weight: 800;
}

.project-brand {
  background:
    radial-gradient(circle at 50% 50%, rgba(215,170,67,.13), transparent 34%),
    #0a0a0a;
}

.brand-poster {
  display: grid;
  justify-items: center;
  width: 64%;
  aspect-ratio: .72;
  padding: 30px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(155deg, #181818, #080808 70%);
  box-shadow: 0 35px 85px rgba(0,0,0,.65);
  transform: rotate(-4deg);
  transition: transform .5s ease;
}

.project-card:hover .brand-poster {
  transform: rotate(-1deg) translateY(-5px);
}

.brand-poster span,
.brand-poster small {
  color: #746e64;
  letter-spacing: .26em;
  font-size: .48rem;
  font-weight: 800;
}

.brand-poster img {
  align-self: center;
  width: 70%;
  animation: logoBreathe 5s ease-in-out infinite;
}

.project-print {
  background:
    radial-gradient(circle at 26% 22%, rgba(215,170,67,.13), transparent 32%),
    #101010;
}

.print-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 62%;
  aspect-ratio: 1.75;
  border: 1px solid var(--gold-line);
  box-shadow: 0 28px 65px rgba(0,0,0,.6);
  transition: transform .55s ease;
}

.print-card-back {
  background: linear-gradient(145deg, #1b1b1b, #080808);
  transform: translate(-10%, -18%) rotate(-9deg);
}

.print-card-back span {
  color: var(--gold-light);
  letter-spacing: .35em;
  font-size: 1.25rem;
  font-weight: 800;
}

.print-card-front {
  background: linear-gradient(145deg, #151515, #070707);
  transform: translate(12%, 19%) rotate(8deg);
}

.print-card-front img {
  width: 28%;
}

.print-card-front small {
  color: var(--gold);
  letter-spacing: .25em;
  font-size: .48rem;
}

.project-card:hover .print-card-back {
  transform: translate(-13%, -22%) rotate(-12deg);
}

.project-card:hover .print-card-front {
  transform: translate(15%, 23%) rotate(11deg);
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
}

.project-info p {
  color: var(--gold);
  letter-spacing: .18em;
  font-size: .56rem;
  font-weight: 800;
}

.project-info h3 {
  margin-top: 6px;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
}

.project-info > span {
  align-self: end;
  color: #6d685f;
  font-size: .66rem;
}

.experience-band {
  overflow: hidden;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: linear-gradient(90deg, #b4811d, #f1d57b, #b47f17);
  color: #080808;
  transform: rotate(-1.2deg) scale(1.03);
}

.experience-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 20px 0;
  animation: marqueeReverse 24s linear infinite;
}

.experience-track span {
  letter-spacing: .22em;
  font-size: .66rem;
  font-weight: 900;
}

.experience-track i {
  font-style: normal;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-timeline::before {
  position: absolute;
  top: 55px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(215,170,67,.08));
  content: "";
}

.process-step {
  position: relative;
  min-height: 330px;
  padding: 32px 30px;
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
}

.step-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 74px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--bg);
  transition: .35s ease;
}

.process-step:hover .step-marker {
  background: var(--gold);
  color: #080808;
  box-shadow: 0 0 30px rgba(215,170,67,.2);
}

.step-marker span {
  font-size: .57rem;
  font-weight: 800;
}

.step-label {
  color: var(--gold);
  letter-spacing: .2em;
  font-size: .53rem;
  font-weight: 800;
}

.process-step h3 {
  margin: 8px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.process-step > div:last-child > p:last-child {
  color: var(--muted);
  font-size: .8rem;
}

.about-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: var(--surface);
}

.about-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(215,170,67,.1), transparent 38%),
    #080808;
  perspective: 1000px;
}

.about-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(215,170,67,.12);
  border-radius: 50%;
  animation: rotateHalo 28s linear infinite;
}

.about-ring::before {
  position: absolute;
  top: 8%;
  left: 23%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
  content: "";
}

.about-monolith {
  position: relative;
  display: grid;
  place-items: center;
  width: 64%;
  aspect-ratio: .72;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: linear-gradient(155deg, #171717, #070707 70%);
  box-shadow: 0 42px 90px rgba(0,0,0,.65);
  transform: rotateY(8deg);
  animation: monolithFloat 7s ease-in-out infinite;
}

.about-monolith img {
  position: relative;
  z-index: 2;
  width: 73%;
}

.monolith-shine {
  position: absolute;
  top: -30%;
  left: -50%;
  width: 35%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transform: rotate(20deg);
  animation: monolithShine 6s ease-in-out infinite;
}

.about-side-label {
  position: absolute;
  right: 18px;
  bottom: 30px;
  color: #5f5a52;
  letter-spacing: .24em;
  font-size: .48rem;
  font-weight: 800;
  writing-mode: vertical-rl;
}

.about-copy {
  align-self: center;
  padding: 78px;
}

.about-copy > p:not(.section-index) {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
}

.about-signature {
  display: flex;
  flex-direction: column;
  margin-top: 38px;
}

.about-signature span {
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-style: italic;
}

.about-signature small {
  color: #6d685f;
  letter-spacing: .2em;
  font-size: .5rem;
  font-weight: 800;
}

.contact {
  position: relative;
  padding-bottom: 100px;
}

.contact-orb {
  position: absolute;
  top: 4%;
  right: -12%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(215,170,67,.09);
  filter: blur(90px);
  animation: breathe 7s ease-in-out infinite;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 85px;
  padding: 80px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(135deg, rgba(215,170,67,.055), transparent 42%),
    var(--surface);
}

.contact-panel::before {
  position: absolute;
  right: -20%;
  bottom: -65%;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(215,170,67,.1);
  border-radius: 50%;
  content: "";
}

.contact-copy > p:not(.section-index) {
  max-width: 550px;
  margin-top: 26px;
  color: var(--muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 38px;
}

.contact-details a {
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.contact-details span {
  color: #6f6a61;
  font-size: .7rem;
}

.limited-note {
  max-width: 440px;
  margin-top: 45px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.limited-note span {
  color: var(--gold);
  letter-spacing: .2em;
  font-size: .53rem;
  font-weight: 800;
}

.limited-note p {
  margin-top: 8px;
  color: #7e796f;
  font-size: .72rem;
}

.contact-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: #c4beb4;
  font-size: .68rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(7,7,7,.82);
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-form input,
.contact-form select {
  height: 55px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 175px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215,170,67,.055);
  transform: translateY(-1px);
}

.submit-button {
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: #6f6a61;
  font-size: .65rem;
}

.footer-brand {
  justify-self: start;
}

.footer > p {
  text-align: center;
}

.footer > a:last-child {
  justify-self: end;
  color: #a29c92;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes breathe {
  0%, 100% { transform: scale(.86); opacity: .07; }
  50% { transform: scale(1.13); opacity: .16; }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(.92); filter: drop-shadow(0 0 8px rgba(215,170,67,.12)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 26px rgba(215,170,67,.32)); }
}

@keyframes preloadLine {
  0% { transform: translateX(-170%); }
  100% { transform: translateX(320%); }
}

@keyframes textShimmer {
  to { background-position: -260% center; }
}

@keyframes availabilityPulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes rotateHalo {
  to { transform: rotate(360deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(1deg) translateY(-14px); }
}

@keyframes smallFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-11px) rotate(1deg); }
}

@keyframes logoBreathe {
  0%, 100% { transform: scale(.96); filter: brightness(.95) drop-shadow(0 15px 24px rgba(0,0,0,.7)); }
  50% { transform: scale(1.035); filter: brightness(1.12) drop-shadow(0 18px 32px rgba(215,170,67,.16)); }
}

@keyframes glowBreathe {
  0%, 100% { transform: scale(.8); opacity: .45; }
  50% { transform: scale(1.18); opacity: .9; }
}

@keyframes scanCard {
  0%, 20% { transform: translateY(-140%); opacity: 0; }
  35% { opacity: 1; }
  65% { opacity: 1; }
  80%, 100% { transform: translateY(800%); opacity: 0; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

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

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes glowMove {
  0%, 100% { transform: translate(0,0) scale(.9); }
  50% { transform: translate(-18%,18%) scale(1.15); }
}

@keyframes monolithFloat {
  0%, 100% { transform: rotateY(8deg) translateY(0); }
  50% { transform: rotateY(3deg) translateY(-12px); }
}

@keyframes monolithShine {
  0%, 20% { transform: rotate(20deg) translateX(-250%); }
  60%, 100% { transform: rotate(20deg) translateX(650%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 125px;
  }

  .hero-copy {
    max-width: 870px;
  }

  .hero-art {
    min-height: 640px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .process-timeline::before {
    display: none;
  }

  .about-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 620px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .section-shell,
  .header-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-button {
    position: relative;
    z-index: 202;
    display: block;
  }

  .menu-button.active span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button.active span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 201;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    visibility: hidden;
    background: rgba(6,6,6,.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: .25s ease;
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-button {
    margin-top: 10px;
    font-family: "Manrope", sans-serif;
    font-size: .8rem;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-grid {
    gap: 40px;
    min-height: auto;
    padding: 100px 0 145px;
  }

  h1 {
    font-size: clamp(3.4rem, 14vw, 5.9rem);
  }

  .hero-art {
    min-height: 550px;
  }

  .halo-outer {
    width: 500px;
    height: 500px;
  }

  .halo-middle {
    width: 390px;
    height: 390px;
  }

  .halo-inner {
    width: 285px;
    height: 285px;
  }

  .scroll-cue {
    display: none;
  }

  .statement {
    padding: 110px 0;
  }

  .services,
  .portfolio,
  .process,
  .about,
  .contact {
    padding: 105px 0;
  }

  .service-row {
    grid-template-columns: 48px 1fr 38px;
    gap: 18px;
    min-height: 170px;
  }

  .service-orbit {
    display: none;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .project-wide .project-background,
  .project-background {
    min-height: 500px;
  }

  .browser {
    width: 88%;
  }

  .browser-page {
    min-height: 340px;
    padding: 55px 32px;
  }

  .project-info {
    flex-direction: column;
    gap: 9px;
  }

  .project-info > span {
    align-self: auto;
  }

  .about-copy,
  .contact-panel {
    padding: 48px 30px;
  }

  .contact-panel {
    gap: 55px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer > p,
  .footer > a:last-child,
  .footer-brand {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 550px) {
  .brand-emblem {
    width: 39px;
    height: 39px;
  }

  .brand-emblem img {
    width: 31px;
    height: 31px;
  }

  .brand-copy strong {
    font-size: .83rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-row div {
    padding: 14px 0;
  }

  .trust-row div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-card {
    width: 88%;
    padding: 20px;
  }

  .halo-outer {
    width: 370px;
    height: 370px;
  }

  .halo-middle {
    width: 290px;
    height: 290px;
  }

  .halo-inner {
    width: 210px;
    height: 210px;
  }

  .floating-card {
    display: none;
  }

  .section-head h2,
  .about-copy h2,
  .contact-copy :is(h1, h2) {
    font-size: 2.8rem;
  }

  .statement-large {
    font-size: 2.75rem;
  }

  .service-row {
    grid-template-columns: 1fr 34px;
    padding: 30px 0;
  }

  .service-number {
    grid-column: 1 / -1;
  }

  .project-wide .project-background,
  .project-background {
    min-height: 370px;
  }

  .browser-page {
    min-height: 250px;
    padding: 42px 23px;
  }

  .browser-page strong {
    font-size: 2.35rem;
  }

  .brand-poster {
    width: 72%;
  }

  .print-card {
    width: 72%;
  }

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

  .process-step + .process-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-step {
    min-height: 275px;
  }

  .step-marker {
    margin-bottom: 45px;
  }

  .about-visual {
    min-height: 430px;
  }

  .about-monolith {
    width: 68%;
  }

  .about-ring {
    width: 380px;
    height: 380px;
  }

  .about-copy,
  .contact-panel {
    padding: 40px 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}


/* Netlify Forms */
.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-note {
  margin-top: -5px;
  color: #6f6a61;
  font-size: .62rem;
  line-height: 1.55;
}


/* Language switcher */
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--gold-line);
  background: rgba(8,8,8,.58);
  backdrop-filter: blur(10px);
}

.lang-button {
  min-width: 46px;
  height: 31px;
  border: 0;
  background: transparent;
  color: #847f76;
  cursor: pointer;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .13em;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.lang-button:hover {
  color: var(--gold-light);
}

.lang-button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
  box-shadow: 0 7px 24px rgba(215,170,67,.14);
}

.kicker b {
  font: inherit;
}

@media (max-width: 800px) {
  .header-controls {
    gap: 9px;
  }

  .language-switch {
    position: relative;
    z-index: 203;
  }

  .lang-button {
    min-width: 42px;
    height: 29px;
  }
}

@media (max-width: 430px) {
  .brand-copy {
    display: none;
  }

  .header-controls {
    gap: 7px;
  }

  .lang-button {
    min-width: 38px;
    font-size: .51rem;
  }
}


/* Real portfolio projects */
.real-project-stage {
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 24%, rgba(215,170,67,.13), transparent 32%),
    linear-gradient(145deg, #121212, #070707 72%);
}

.real-project-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.miki-stage {
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
  gap: 45px;
  padding: clamp(42px, 6vw, 78px);
}

.real-project-logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.real-project-logo::before {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(215,170,67,.13);
  border-radius: 50%;
  content: "";
  animation: rotateHalo 32s linear infinite;
}

.real-project-logo img {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  border-radius: 50%;
  box-shadow: 0 34px 85px rgba(0,0,0,.72);
  filter: saturate(.96) contrast(1.04);
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}

.real-project:hover .real-project-logo img {
  transform: translateY(-8px) rotate(-1deg) scale(1.025);
}

.real-card-stack {
  position: relative;
  min-height: 470px;
  perspective: 1200px;
}

.real-card {
  position: absolute;
  width: min(720px, 94%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #080808;
  box-shadow: 0 32px 85px rgba(0,0,0,.68);
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}

.real-card img {
  width: 100%;
  height: auto;
}

.real-card-back {
  top: 3%;
  right: -2%;
  transform: rotate(5deg) translateZ(-20px);
  opacity: .72;
}

.real-card-front {
  right: 5%;
  bottom: 1%;
  transform: rotate(-4deg) translateZ(30px);
}

.real-project:hover .real-card-back {
  transform: rotate(8deg) translate(16px,-12px);
}

.real-project:hover .real-card-front {
  transform: rotate(-1.5deg) translate(-10px,-8px) scale(1.018);
}

.project-badge {
  position: absolute;
  bottom: 27px;
  left: 30px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  border: 1px solid var(--gold-line);
  background: rgba(7,7,7,.82);
  backdrop-filter: blur(12px);
}

.project-badge span {
  color: #766f64;
  letter-spacing: .17em;
  font-size: .44rem;
  font-weight: 800;
}

.project-badge strong {
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.gajic-stage {
  display: grid;
  grid-template-rows: .83fr 1.17fr;
  gap: 24px;
  padding: 42px;
}

.gajic-logo-panel {
  display: grid;
  place-items: center;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(215,170,67,.13);
  background:
    radial-gradient(circle at center, rgba(215,170,67,.11), transparent 40%),
    #050505;
}

.gajic-logo-panel img {
  width: min(340px, 70%);
  border-radius: 50%;
  filter: drop-shadow(0 22px 35px rgba(0,0,0,.65));
  transition: transform .55s ease;
}

.real-project:hover .gajic-logo-panel img {
  transform: scale(1.045);
}

.gajic-card-pair {
  position: relative;
  min-height: 215px;
}

.gajic-card-pair figure {
  position: absolute;
  width: 72%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 25px 65px rgba(0,0,0,.58);
  transition: transform .55s ease;
}

.gajic-card-pair figure:first-child {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
}

.gajic-card-pair figure:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.gajic-card-pair img {
  width: 100%;
}

.real-project:hover .gajic-card-pair figure:first-child {
  transform: rotate(-7deg) translate(-6px,-5px);
}

.real-project:hover .gajic-card-pair figure:last-child {
  transform: rotate(8deg) translate(7px,5px);
}

.project-info-expanded {
  align-items: flex-start;
}

.project-description {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.project-description > span {
  color: #8f897f;
  font-size: .7rem;
}

.project-description small {
  color: #5f5a52;
  font-size: .6rem;
}

.niky-brand-project {
  min-height: 520px;
}

@media (max-width: 1080px) {
  .miki-stage {
    grid-template-columns: 1fr;
  }

  .real-project-logo img {
    width: min(380px, 62%);
  }

  .real-card-stack {
    width: 100%;
    min-height: 430px;
  }
}

@media (max-width: 800px) {
  .miki-stage,
  .gajic-stage {
    padding: 30px;
  }

  .real-card-stack {
    min-height: 350px;
  }

  .project-description {
    align-items: flex-start;
    text-align: left;
  }

  .gajic-card-pair {
    min-height: 190px;
  }
}

@media (max-width: 550px) {
  .miki-stage {
    gap: 22px;
  }

  .real-project-logo img {
    width: 82%;
  }

  .real-card-stack {
    min-height: 255px;
  }

  .real-card {
    width: 96%;
  }

  .gajic-stage {
    grid-template-rows: auto auto;
  }

  .gajic-logo-panel {
    min-height: 190px;
  }

  .gajic-card-pair {
    min-height: 150px;
  }

  .project-badge {
    display: none;
  }
}


/* Portfolio image visibility fixes */
.real-project-logo,
.gajic-logo-panel,
.real-card,
.gajic-card-pair figure {
  overflow: visible;
}

.real-project-logo img,
.gajic-logo-panel img {
  object-fit: contain;
  max-height: none;
}

.real-card img,
.gajic-card-pair img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.real-card-stack {
  overflow: visible;
}

.miki-stage,
.gajic-stage {
  overflow: visible;
}

.project-background {
  overflow: visible;
}

.project-card {
  overflow: visible;
}

.portfolio-image {
  cursor: zoom-in;
  transition: transform .3s ease, filter .3s ease, opacity .3s ease;
}

.portfolio-image:hover {
  filter: brightness(1.08);
}

.portfolio-image:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

/* Fullscreen lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  align-items: center;
  visibility: hidden;
  padding: 35px;
  background: rgba(3,3,3,.95);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
  max-height: calc(100vh - 70px);
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  border: 1px solid var(--gold-line);
  box-shadow: 0 35px 110px rgba(0,0,0,.78);
  transform: scale(.97);
  transition: transform .28s ease;
}

.lightbox.open .lightbox-content img {
  transform: scale(1);
}

.lightbox-content p {
  color: #b9b3a9;
  font-size: .75rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--gold-line);
  background: rgba(10,10,10,.78);
  color: var(--gold-light);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold);
  color: #080808;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  justify-self: center;
  font-size: 2.3rem;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-content {
  grid-column: 2;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  color: #756f66;
  letter-spacing: .18em;
  font-size: .58rem;
  font-weight: 800;
  transform: translateX(-50%);
}

@media (max-width: 800px) {
  .lightbox {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    padding: 22px 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .lightbox-content img {
    max-height: calc(100vh - 120px);
  }
}

@media (max-width: 550px) {
  .lightbox {
    display: block;
    padding: 70px 12px 55px;
  }

  .lightbox-content {
    height: 100%;
    align-content: center;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-content img {
    max-height: calc(100vh - 170px);
  }
}


/* Hide the native desktop cursor and keep only the custom tracing effect */
@media (hover: hover) and (pointer: fine) {
  html,
  body,
  a,
  button,
  input,
  textarea,
  select,
  label,
  [role="button"],
  .interactive,
  .portfolio-image {
    cursor: none !important;
  }
}

/* Touch devices keep their normal behaviour */
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}


/* V9 — stable real portfolio layout */
.case-study {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, rgba(215,170,67,.09), transparent 26rem),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 45%),
    #090909;
}

.case-study + .case-study {
  margin-top: 28px;
}

.case-study::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.case-study-header,
.case-study-layout,
.case-studio-media {
  position: relative;
  z-index: 1;
}

.case-study-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.case-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  letter-spacing: .2em;
  font-size: .55rem;
  font-weight: 800;
}

.case-study-header h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.case-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 450px;
  gap: 4px;
  text-align: right;
}

.case-summary span {
  color: #c7c0b5;
  font-size: .72rem;
}

.case-summary small {
  color: #706b62;
  font-size: .62rem;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.case-study-layout-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
}

.case-card-gallery {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.case-media {
  min-width: 0;
}

.case-image-shell {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(215,170,67,.17);
  background:
    radial-gradient(circle at center, rgba(215,170,67,.075), transparent 42%),
    #050505;
  box-shadow: 0 28px 75px rgba(0,0,0,.52);
}

.case-logo-shell {
  width: 100%;
  aspect-ratio: 1;
  padding: clamp(16px, 3vw, 34px);
}

.case-logo-shell img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.case-card-shell {
  width: 100%;
  aspect-ratio: 90 / 50;
  padding: clamp(8px, 1.5vw, 16px);
}

.case-card-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.case-studio-shell {
  min-height: 470px;
  padding: clamp(45px, 8vw, 100px);
}

.case-studio-shell img {
  width: min(520px, 72%);
  max-height: 380px;
  object-fit: contain;
}

.case-media figcaption {
  margin-top: 11px;
  color: #777168;
  letter-spacing: .08em;
  font-size: .63rem;
  text-transform: uppercase;
}

.zoom-label {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 8px 10px;
  border: 1px solid rgba(215,170,67,.22);
  background: rgba(5,5,5,.76);
  color: var(--gold-light);
  letter-spacing: .08em;
  font-size: .49rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  backdrop-filter: blur(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.case-image-shell:hover .zoom-label {
  opacity: 1;
  transform: none;
}

.case-image-shell .portfolio-image {
  cursor: none !important;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}

.case-image-shell:hover .portfolio-image {
  transform: scale(1.018);
  filter: brightness(1.06);
}

/* Neutralise old absolute-position portfolio rules */
.case-study .real-card,
.case-study .real-card-stack,
.case-study .gajic-card-pair,
.case-study .project-background {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .case-study-layout,
  .case-study-layout-reverse {
    grid-template-columns: 1fr;
  }

  .case-study-layout-reverse .case-card-gallery {
    order: 2;
  }

  .case-study-layout-reverse .case-logo-media {
    order: 1;
  }

  .case-logo-media {
    width: min(560px, 100%);
    justify-self: center;
  }
}

@media (max-width: 650px) {
  .case-study {
    padding: 20px;
  }

  .case-study-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .case-summary {
    align-items: flex-start;
    text-align: left;
  }

  .case-card-gallery {
    gap: 18px;
  }

  .case-logo-shell {
    padding: 12px;
  }

  .case-card-shell {
    padding: 7px;
  }

  .case-studio-shell {
    min-height: 330px;
    padding: 45px 25px;
  }

  .case-studio-shell img {
    width: min(430px, 86%);
  }

  .zoom-label {
    display: none;
  }
}

/* MULTI-PAGE EXTENSION */
.standalone-page { min-height: calc(100vh - 90px); padding-top: 190px !important; }
.main-nav a.active-page:not(.nav-button) { color: var(--gold-light); }
.main-nav a.active-page:not(.nav-button)::after { width: 100%; }
.catalog-page { padding-bottom: 145px; border-top: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.catalog-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 34px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 38%), rgba(12,12,12,.72); transition: transform .3s ease, border-color .3s ease; }
.catalog-card:hover { transform: translateY(-5px); border-color: var(--gold-line); }
.catalog-card-number { margin-bottom: 58px; color: var(--gold); letter-spacing: .18em; font-size: .62rem; font-weight: 800; }
.catalog-tag { margin-bottom: 10px; color: #777269; letter-spacing: .18em; font-size: .55rem; font-weight: 800; }
.catalog-card h3 { margin-bottom: 13px; font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.catalog-card p:not(.catalog-tag) { color: var(--muted); font-size: .86rem; }
.catalog-link { margin-top: auto; padding-top: 28px; color: var(--gold-light); font-size: .72rem; font-weight: 800; }
@media (max-width: 800px) { .standalone-page { padding-top: 135px !important; } .catalog-grid { grid-template-columns: 1fr; } .catalog-card { min-height: 285px; } }

/* Cleanup decorative numbers */
.service-number,
.trust-row strong,
.card-topline span:last-child,
.step-marker,
.section-index{display:none!important;}
.trust-row div{padding-top:0!important;}
.service-row{grid-template-columns:1fr 170px 42px!important;}
.process-step{grid-template-columns:1fr!important;}

/* WEBSHOP CATALOG */
.shop-page{padding-bottom:140px}.shop-search-row{display:grid;grid-template-columns:auto minmax(220px,560px) auto;align-items:center;gap:18px;margin:42px 0 28px;padding:18px 20px;border:1px solid var(--line);background:rgba(10,10,10,.72)}.shop-search-row label{font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-light)}.shop-search-row input{width:100%;padding:13px 15px;border:1px solid var(--line);background:#0b0b0b;color:#fff;font:inherit;outline:none}.shop-search-row input:focus{border-color:var(--gold)}.shop-search-row span{font-size:.7rem;color:var(--muted)}.shop-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:28px;align-items:start}.shop-sidebar{position:sticky;top:110px;max-height:calc(100vh - 135px);overflow:auto;padding:22px;border:1px solid var(--line);background:rgba(8,8,8,.88);scrollbar-width:thin}.shop-sidebar-group+ .shop-sidebar-group{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.shop-sidebar-group>p{margin:0 0 12px;color:#817b70;font-size:.58rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.shop-type,.shop-filter{display:block;width:100%;padding:8px 10px;border:0;border-left:2px solid transparent;background:transparent;color:#aaa;text-align:left;font:inherit;font-size:.74rem;cursor:pointer;transition:.2s}.shop-type:hover,.shop-filter:hover,.shop-type.active,.shop-filter.active{color:#fff;border-left-color:var(--gold);background:rgba(215,170,67,.07)}.shop-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.shop-product{border:1px solid var(--line);background:rgba(10,10,10,.78);overflow:hidden;transition:transform .25s,border-color .25s}.shop-product:hover{transform:translateY(-4px);border-color:var(--gold-line)}.shop-product-image{position:relative;aspect-ratio:1/1;overflow:hidden;background:#111}.shop-product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.shop-product:hover img{transform:scale(1.025)}.shop-product-copy{padding:18px}.shop-product-copy>p{margin:0 0 7px;color:#7d776d;font-size:.57rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.shop-product-copy h3{margin:0 0 18px;font-family:"Playfair Display",serif;font-size:1.25rem}.shop-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-product-bottom strong{color:var(--gold-light)}.shop-buy{padding:10px 12px;border:1px solid var(--gold-line);background:transparent;color:#fff;font-size:.64rem;font-weight:800;cursor:pointer}.shop-buy:hover{background:var(--gold);color:#090909}.shop-buy:disabled{opacity:.45;cursor:not-allowed}.sold-stamp{position:absolute;inset:0;display:grid;place-items:center;background:rgba(4,4,4,.58);backdrop-filter:grayscale(1)}.sold-stamp:after{content:"";position:absolute;left:-10%;top:49%;width:120%;height:3px;background:#cf3d37;transform:rotate(-12deg);box-shadow:0 0 16px rgba(207,61,55,.7)}.sold-stamp span{z-index:1;padding:10px 18px;border:2px solid #fff;color:#fff;font-weight:900;letter-spacing:.18em;transform:rotate(-8deg)}.is-sold img{filter:grayscale(1) brightness(.65)}.shop-empty{grid-column:1/-1;padding:60px 30px;border:1px dashed var(--line);text-align:center}.shop-loader{grid-column:1/-1;padding:30px;color:var(--muted);text-align:center}.purchase-modal{position:fixed;inset:0;z-index:1000;display:none;place-items:center;padding:20px}.purchase-modal.open{display:grid}.purchase-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}.purchase-dialog{position:relative;z-index:1;width:min(520px,100%);padding:34px;border:1px solid var(--gold-line);background:#0c0c0c;box-shadow:0 25px 90px #000}.purchase-dialog h2{margin:8px 0 10px;font-family:"Playfair Display",serif;font-size:2rem}.purchase-dialog>p:not(.catalog-tag){margin-bottom:24px;color:var(--muted)}.purchase-close{position:absolute;right:14px;top:10px;border:0;background:none;color:#fff;font-size:2rem;cursor:pointer}.purchase-success{display:grid;gap:10px}.purchase-success a{display:block;padding:12px;border:1px solid var(--gold-line);color:#fff;text-align:center;font-weight:800}.purchase-success small{color:var(--muted);text-align:center}.shop-error{color:#ff8d88}.logo-categories{max-height:410px;overflow:auto;padding-right:4px}
@media(max-width:1100px){.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.shop-search-row{grid-template-columns:1fr}.shop-layout{grid-template-columns:1fr}.shop-sidebar{position:static;max-height:none}.logo-categories{max-height:280px}.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.shop-products{grid-template-columns:1fr}}

/* MODUL 1A — autentifikacija i korisnički račun */
.auth-header{min-height:92px;padding:18px clamp(20px,5vw,70px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:2}.auth-header .brand img{width:132px;height:56px;object-fit:contain}.auth-header a,.auth-header button{color:var(--text);font:600 .82rem Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;background:none;border:0}.auth-page{min-height:calc(100vh - 92px);padding:clamp(48px,9vw,110px) 20px;display:grid;place-items:start center;background:radial-gradient(circle at 50% 0,rgba(215,170,67,.1),transparent 38%)}.auth-page-wide{padding-inline:clamp(20px,5vw,80px)}.auth-card{width:min(100%,620px);padding:clamp(26px,5vw,58px);background:rgba(15,15,15,.92);border:1px solid var(--gold-line);box-shadow:0 28px 90px rgba(0,0,0,.45)}.auth-page-wide .auth-card{width:min(100%,1120px)}.auth-card h1{font:700 clamp(2.3rem,6vw,4.6rem)/.95 "Playfair Display",serif;margin:.5rem 0 1.25rem}.auth-card h1 em{color:var(--gold);font-weight:700}.auth-intro{color:var(--muted);margin-bottom:2rem}.auth-form{display:grid;gap:1rem;margin:1.5rem 0}.auth-form label{display:grid;gap:.55rem;color:var(--muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.auth-form input,.auth-form select,.admin-card select{width:100%;padding:14px 16px;background:#080808;color:var(--text);border:1px solid var(--line);font:inherit}.auth-form input:focus,.admin-card select:focus{outline:1px solid var(--gold);border-color:var(--gold)}.auth-form button,.auth-oauth button,.auth-header button{cursor:pointer}.auth-form button:not(.button),.auth-oauth button{padding:13px 18px;border:1px solid var(--gold-line);background:transparent;color:var(--text)}.auth-oauth{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:1.3rem 0}.auth-message{min-height:1.5rem;color:#ff9c9c}.auth-message[data-type="success"]{color:#9fe0b3}.account-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:1.2rem}.account-summary span{padding:7px 10px;border:1px solid var(--line);color:var(--muted);font-size:.78rem}.account-links{display:flex;gap:18px;margin-top:1.5rem}.mfa-qr{display:block;width:min(260px,100%);background:white;padding:12px;margin:1rem 0}.table-scroll{overflow:auto}.admin-card table{width:100%;border-collapse:collapse;min-width:760px}.admin-card th,.admin-card td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);font-size:.84rem}.admin-card th{color:var(--gold);letter-spacing:.06em;text-transform:uppercase}.admin-card select{min-width:120px}.auth-card code{overflow-wrap:anywhere;color:var(--gold-light)}
body[data-auth-page]{cursor:auto!important}body[data-auth-page] input,body[data-auth-page] textarea{cursor:text!important;caret-color:var(--gold-light)}body[data-auth-page] a,body[data-auth-page] button,body[data-auth-page] select,body[data-auth-page] label{cursor:pointer!important}
@media(max-width:620px){.auth-oauth{grid-template-columns:1fr}.auth-card{padding:26px 20px}.auth-header{min-height:74px}.auth-header .brand img{width:100px;height:42px}}

/* MODUL 1B.2 — administratorsko upravljanje proizvodima */
.admin-header-links{display:flex;align-items:center;gap:18px}.admin-products-card{width:min(100%,1440px)!important}.admin-products-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.admin-products-heading h1{margin-bottom:.7rem}.admin-products-heading .auth-intro{max-width:780px;margin-bottom:0}.admin-products-heading>.button{flex:0 0 auto}.admin-products-filters{display:grid;grid-template-columns:minmax(210px,1.7fr) repeat(5,minmax(120px,1fr)) auto;gap:12px;align-items:end;margin:30px 0 22px;padding:18px;border:1px solid var(--line);background:rgba(7,7,7,.75)}.admin-products-filters label{display:grid;gap:7px;color:var(--muted);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.admin-products-filters input,.admin-products-filters select{width:100%;min-width:0;padding:12px 13px;border:1px solid var(--line);background:#080808;color:var(--text);font:inherit}.admin-products-filters input:focus,.admin-products-filters select:focus{outline:1px solid var(--gold);border-color:var(--gold)}.admin-products-filters .button{min-height:45px;padding-inline:18px}.admin-products-notice{padding:32px;border:1px dashed var(--line);color:var(--muted);text-align:center}.admin-products-card table{min-width:1050px}.admin-product-identity strong,.admin-product-identity small,.admin-products-card td>span,.admin-products-card td>small{display:block}.admin-product-identity strong{color:var(--text);font-size:.92rem}.admin-product-identity small,.admin-products-card td small{margin-top:4px;color:var(--muted);font-size:.68rem;overflow-wrap:anywhere}.admin-row-actions button,.admin-products-pagination button,.admin-preview-controls button,.admin-delivery-item button,.admin-state-actions button{padding:9px 12px;border:1px solid var(--line);background:#0a0a0a;color:var(--text);font:700 .68rem Manrope,sans-serif;cursor:pointer}.admin-row-actions button:hover,.admin-products-pagination button:hover:not(:disabled),.admin-preview-controls button:hover:not(:disabled),.admin-state-actions button:hover:not(:disabled){border-color:var(--gold);color:var(--gold-light)}.admin-row-actions button:disabled,.admin-products-pagination button:disabled,.admin-preview-controls button:disabled,.admin-delivery-item button:disabled,.admin-state-actions button:disabled{opacity:.42;cursor:not-allowed}.admin-status{display:inline-block!important;padding:5px 8px;border:1px solid var(--line);font-size:.66rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.admin-status-available{border-color:rgba(105,205,137,.45);color:#9fe0b3}.admin-status-reserved{border-color:rgba(231,184,88,.5);color:#f0cc7e}.admin-status-sold{border-color:rgba(218,103,98,.5);color:#ffaaa6}.admin-status-hidden,.admin-status-archived{color:#aaa}.admin-products-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}.admin-products-pagination span{min-width:100px;color:var(--muted);font-size:.74rem;text-align:center}.admin-product-dialog{width:min(1180px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:clamp(22px,4vw,44px);overflow:auto;border:1px solid var(--gold-line);background:#0b0b0b;color:var(--text);box-shadow:0 35px 120px #000}.admin-product-dialog::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(7px)}.admin-product-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.admin-product-dialog-head h2{margin:.35rem 0;font:700 clamp(2rem,5vw,3.8rem)/1 "Playfair Display",serif}.admin-dialog-close{border:0;background:transparent;color:var(--text);font-size:2.3rem;line-height:1;cursor:pointer}.admin-product-status{margin:0;color:var(--muted);font-size:.72rem;overflow-wrap:anywhere}.admin-product-form{margin-top:12px}.admin-product-form textarea,.admin-product-form input,.admin-product-form select,.admin-preview-meta input{width:100%;padding:13px 14px;border:1px solid var(--line);background:#070707;color:var(--text);font:inherit;resize:vertical}.admin-product-form textarea:focus,.admin-product-form input:focus,.admin-product-form select:focus,.admin-preview-meta input:focus{outline:1px solid var(--gold);border-color:var(--gold)}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-field-error{min-height:1em;color:#ff9c9c;font-size:.68rem;letter-spacing:0;text-transform:none}.admin-tags-fieldset{padding:16px;border:1px solid var(--line)}.admin-tags-fieldset legend{padding:0 8px;color:var(--gold-light);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.admin-tag-options{display:flex;flex-wrap:wrap;gap:8px}.admin-tag-option{display:flex!important;grid-template-columns:none!important;align-items:center;gap:7px!important;padding:8px 10px;border:1px solid var(--line);color:var(--text)!important;font-size:.7rem!important;letter-spacing:0!important;text-transform:none!important}.admin-tag-option input{width:auto}.admin-editor-actions{display:flex;flex-wrap:wrap;gap:12px}.admin-assets{margin-top:34px}.admin-section-divider{padding:24px 0 12px;border-top:1px solid var(--gold-line)}.admin-section-divider h3{margin:0 0 6px;font:700 1.7rem "Playfair Display",serif}.admin-section-divider p,.admin-security-note{margin:0;color:var(--muted);font-size:.78rem}.admin-assets-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:16px}.admin-asset-panel{min-width:0;padding:20px;border:1px solid var(--line);background:rgba(6,6,6,.72)}.admin-asset-panel h4{margin:0 0 8px;color:var(--gold-light);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}.admin-upload-form{margin:16px 0;padding-bottom:18px;border-bottom:1px solid var(--line)}.admin-checkbox{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;text-transform:none!important}.admin-checkbox input{width:auto}.admin-upload-status{min-height:1.3rem;margin:0;color:var(--muted);font-size:.72rem}.admin-upload-status[data-type="error"]{color:#ff9c9c}.admin-upload-status[data-type="success"]{color:#9fe0b3}.admin-preview-gallery,.admin-delivery-list{display:grid;gap:12px}.admin-preview-item{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;padding:12px;border:1px solid var(--line);background:#080808}.admin-preview-item img,.admin-preview-placeholder{width:130px;aspect-ratio:1/1;object-fit:cover;background:#111}.admin-preview-placeholder{display:grid;place-items:center;padding:10px;color:var(--muted);font-size:.68rem;text-align:center}.admin-preview-meta{display:grid;align-content:start;gap:9px;min-width:0}.admin-preview-meta strong{color:var(--text);font-size:.78rem}.admin-preview-meta input{padding:9px 10px;font-size:.74rem}.admin-preview-controls{display:flex;flex-wrap:wrap;gap:6px}.admin-preview-controls button{padding:7px 8px}.admin-delivery-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);background:#080808}.admin-delivery-item strong,.admin-delivery-item small{display:block}.admin-delivery-item strong{font-size:.78rem;overflow-wrap:anywhere}.admin-delivery-item small{margin-top:4px;color:var(--muted);font-size:.66rem;overflow-wrap:anywhere}.admin-retired-file{color:#f0cc7e!important}.admin-danger-action{border-color:rgba(218,103,98,.48)!important;color:#ffaaa6!important}.admin-state-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;padding-top:22px;border-top:1px solid var(--gold-line)}.admin-state-actions button{padding:11px 15px}.admin-muted{color:var(--muted);font-size:.76rem}
@media(max-width:1180px){.admin-products-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-products-filters label:first-child{grid-column:span 2}.admin-assets-grid{grid-template-columns:1fr}}
@media(max-width:720px){.admin-header-links{gap:10px}.admin-header-links a{font-size:.66rem}.admin-products-heading{display:grid}.admin-products-heading>.button{justify-self:start}.admin-products-filters{grid-template-columns:1fr 1fr}.admin-products-filters label:first-child{grid-column:1/-1}.admin-form-grid{grid-template-columns:1fr}.admin-preview-item{grid-template-columns:90px minmax(0,1fr)}.admin-preview-item img,.admin-preview-placeholder{width:90px}.admin-delivery-item{align-items:flex-start;flex-direction:column}.admin-product-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:20px}}
@media(max-width:480px){.admin-products-filters{grid-template-columns:1fr}.admin-products-filters label:first-child{grid-column:auto}.admin-header-links{display:grid;justify-items:end}.admin-preview-item{grid-template-columns:1fr}.admin-preview-item img,.admin-preview-placeholder{width:100%;max-height:260px}.admin-products-pagination{gap:8px}}
/* Module 1B.3 public catalog */
.catalog-page[hidden], .catalog-detail[hidden], .catalog-state[hidden],
.catalog-skeleton[hidden], .catalog-load-more[hidden] { display: none !important; }
.catalog-skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 10000; padding: .8rem 1rem;
  color: #080808; background: #f4d88a; transform: translateY(-160%); border-radius: .35rem;
}
.catalog-skip-link:focus { transform: translateY(0); }
.catalog-page, .catalog-detail { min-height: 75vh; padding-top: clamp(9rem, 14vw, 13rem); }
.catalog-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .55fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.catalog-hero .section-index { grid-column: 1 / -1; margin-bottom: 0; }
.catalog-hero h1 { max-width: 18ch; margin: 0; color: #f7f3e9; font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: .98; letter-spacing: -.055em; }
.catalog-hero h1 em { color: #d5ad58; font-family: "Playfair Display", serif; font-weight: 700; }
.catalog-hero > p:last-child { margin: 0 0 .45rem; color: #c9c4b9; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }
.catalog-controls { display: grid; grid-template-columns: minmax(15rem, 2fr) repeat(3, minmax(10rem, 1fr)) auto; gap: .9rem; align-items: end; padding: 1.25rem; border: 1px solid rgba(213, 173, 88, .28); background: rgba(15, 15, 15, .82); border-radius: 1rem; }
.catalog-field { display: grid; gap: .45rem; }
.catalog-field label { color: #e6dfd1; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.catalog-field input, .catalog-field select { width: 100%; min-height: 3rem; padding: .72rem .85rem; border: 1px solid #5d594f; border-radius: .45rem; color: #fff; background: #101010; font: inherit; }
.catalog-field select { cursor: pointer; }
.catalog-reset, .catalog-load-more, .catalog-details-button { min-height: 3rem; border: 1px solid #d5ad58; border-radius: .45rem; padding: .72rem 1rem; color: #0a0a0a; background: #d5ad58; font-weight: 800; text-decoration: none; cursor: pointer; }
.catalog-reset { color: #f4e7c5; background: transparent; }
.catalog-summary { min-height: 3rem; display: flex; align-items: center; justify-content: flex-end; }
.catalog-summary p { margin: 0; color: #d5cfc3; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.catalog-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 1rem; background: #111; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .22); }
.catalog-card-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1b1b1b; }
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-card-image:hover img { transform: scale(1.025); }
.catalog-card-copy { display: flex; flex-direction: column; min-height: 18rem; padding: 1.25rem; }
.catalog-card-eyebrow { margin: 0 0 .65rem; color: #d5ad58; font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.catalog-card-title { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.catalog-card-title a { color: #fff; text-decoration: none; }
.catalog-card-description { margin: .9rem 0; color: #c7c2b8; line-height: 1.65; }
.catalog-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 1rem; padding: 0; list-style: none; }
.catalog-card-tags li { padding: .28rem .55rem; border: 1px solid #4f4b43; border-radius: 999px; color: #e0dbd1; font-size: .75rem; }
.catalog-card-footer { display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin-top: auto; }
.catalog-card-price, .catalog-detail-price { color: #f4d88a; font-size: 1.2rem; }
.catalog-details-button { display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; }
.catalog-pagination { display: flex; justify-content: center; padding: 2rem 0 1rem; }
.catalog-load-more:disabled { cursor: wait; opacity: .65; }
.catalog-state { padding: clamp(2rem, 6vw, 5rem); border: 1px solid #4d4940; border-radius: 1rem; text-align: center; background: #111; }
.catalog-state h2, .catalog-state h1 { margin-top: 0; color: #f7f3e9; }
.catalog-state p { color: #c7c2b8; }
.catalog-state-error { border-color: #b85d5d; }
.catalog-skeleton { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.catalog-skeleton div { min-height: 28rem; border-radius: 1rem; background: linear-gradient(100deg, #141414 30%, #24211c 50%, #141414 70%); background-size: 300% 100%; animation: catalog-shimmer 1.35s ease-in-out infinite; }
@keyframes catalog-shimmer { to { background-position-x: -150%; } }
.catalog-back { display: inline-flex; margin-bottom: 2rem; color: #f4d88a; font-weight: 700; text-decoration: none; }
.catalog-detail-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.catalog-detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.catalog-detail-gallery img { width: 100%; height: auto; border: 1px solid #38352f; border-radius: .75rem; background: #171717; }
.catalog-detail-primary-image { grid-column: 1 / -1; }
.catalog-detail-copy { position: sticky; top: 7rem; }
.catalog-detail-copy h1 { margin: .3rem 0 1rem; color: #fff; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; }
.catalog-detail-lead { color: #e4ded2; font-size: 1.15rem; line-height: 1.7; }
.catalog-detail-description { white-space: pre-line; color: #bdb8ae; line-height: 1.8; }
.catalog-detail-note { margin-top: 1.5rem; padding: 1rem; border-left: 3px solid #d5ad58; color: #ddd5c7; background: rgba(213, 173, 88, .08); }
.catalog-page :is(a, button, input, select):focus-visible,
.catalog-detail :is(a, button, input, select):focus-visible,
.catalog-skip-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px #8b6a26; }
@media (max-width: 1050px) {
  .catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-search-field { grid-column: 1 / -1; }
  .catalog-grid, .catalog-skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .catalog-hero, .catalog-detail-layout { grid-template-columns: 1fr; }
  .catalog-controls, .catalog-grid, .catalog-skeleton { grid-template-columns: 1fr; }
  .catalog-search-field { grid-column: auto; }
  .catalog-card-copy { min-height: 0; }
  .catalog-card-tags { margin-top: .5rem; }
  .catalog-detail-copy { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-skeleton div { animation: none; }
  .catalog-card-image img { transition: none; }
}
.catalog-cart-link{display:inline-flex;margin:0 0 1.5rem auto;color:var(--gold,#d6ad60);font-weight:700}.checkout-card{max-width:760px}.checkout-items{display:grid;gap:.75rem;padding:0;list-style:none}.checkout-items li{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(255,255,255,.12);padding:.85rem 0}.checkout-total{display:flex;justify-content:space-between;font-size:1.15rem;margin:1.5rem 0}.checkout-note{font-size:.9rem;opacity:.75}.checkout-downloads{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0}.checkout-downloads button{cursor:pointer}.catalog-card-footer{flex-wrap:wrap}
