/* ============================================================
   Đorđe Petković, portfolio
   Plain CSS, no build step. Mobile first.
   ============================================================ */

:root {
  --bg: #0b132b;
  --bg-deep: #070d1f;
  --surface: #101a35;
  --card-gradient: linear-gradient(134deg, rgba(28, 37, 65, 0.55) 0%, rgba(28, 37, 65, 0.18) 100%);
  --border: rgba(58, 80, 107, 0.45);
  --accent: #6fa3d8;
  --accent-bright: #8ab6e1;
  --accent-deep: #3a506b;
  --cream: #EDE3CE;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: #9fb0c3;
  --cta-glow: 0 0 19px 0 rgba(111, 163, 216, 0.35);
  --ease-out-soft: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-heading: "Sora", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

/* ---------- Reset / base ---------- */

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout primitives ---------- */

.container {
  max-width: 1128px;
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.section {
  padding: 96px 16px 120px;
}

/* ---------- Type ---------- */

h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text);
  margin-bottom: 48px;
}

h2 .accent {
  color: var(--accent-bright);
  font-weight: 800;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent-bright);
  opacity: 0.8;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 16px 32px;
  box-shadow: var(--cta-glow);
  cursor: pointer;
  transition: background 0.4s var(--ease-out-soft),
              transform 0.4s var(--ease-out-soft),
              box-shadow 0.4s var(--ease-out-soft);
}

.btn:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 26px 0 rgba(111, 163, 216, 0.45);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 65px;
  background: rgba(11, 19, 43, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 80, 107, 0.25);
}

.nav-inner {
  max-width: 1128px;
  height: 65px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo strong {
  font-weight: 800;
}

.nav-logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

@media (min-width: 810px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg-deep);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -25vw;
  left: -20vw;
  background: radial-gradient(circle, rgba(58, 80, 107, 0.35) 0%, transparent 65%);
}

.hero::after {
  top: -25vw;
  right: -20vw;
  background: radial-gradient(circle, rgba(58, 80, 107, 0.3) 0%, transparent 65%);
}

.hero-word {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(60px, 23.5vw, 470px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  user-select: none;
}

.hero-line {
  display: block;
  overflow: hidden;
  will-change: transform;
}

.hero-letter {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-photo-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-photo-parallax {
  will-change: transform;
}

.hero-photo {
  height: min(72svh, 78vw);
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  animation: heroBreathe 6s ease-in-out 1.4s infinite;
}

@keyframes heroBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-corner {
  position: absolute;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.corner-tl {
  top: 92px;
  left: 24px;
  text-transform: uppercase;
}

.corner-tr {
  top: 92px;
  right: 24px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-arrow {
  display: block;
}

.corner-bl {
  bottom: 32px;
  left: 24px;
}

.corner-br {
  bottom: 32px;
  right: 24px;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, var(--text-secondary));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.75); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

.scroll-cue {
  transition: opacity 0.4s var(--ease-out-soft);
}

.scroll-cue.cue-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Hero marquee strips ---------- */

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11svh;
  z-index: 1;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.strip-track {
  display: flex;
  width: max-content;
  opacity: 0.55;
  animation: marqueeLeft 28s linear infinite;
  will-change: transform;
}

.strip-set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.strip-card {
  position: relative;
  width: 96px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.strip-card:nth-child(odd) {
  transform: rotate(-2deg);
}

.strip-card:nth-child(even) {
  transform: rotate(2deg);
}

.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 31, 0.55);
}

.hero-marquee {
  background: var(--bg-deep);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  opacity: 0.7;
  animation: marqueeRight 40s linear infinite;
  will-change: transform;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(237, 227, 206, 0.25);
  user-select: none;
}

@supports (-webkit-text-stroke: 1px #000) {
  .marquee-item {
    color: transparent;
    -webkit-text-stroke: 1px var(--cream);
  }
}

.marquee-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

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

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

html.marquee-paused .strip-track,
html.marquee-paused .marquee-track {
  animation-play-state: paused;
}

/* ---------- Hero entrance sequence ---------- */

.corner-tl,
.corner-tr {
  --corner-shift: -12px;
}

.corner-bl,
.corner-br {
  --corner-shift: 12px;
}

html.js:not(.loaded) .hero-photo-wrap,
html.js:not(.loaded) .hero-corner,
html.js:not(.loaded) .scroll-cue,
html.js:not(.loaded) .hero-strip {
  opacity: 0;
}

html.loaded .hero-letter {
  animation: heroLetterIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) calc(0.08s + var(--li, 0) * 0.038s) forwards;
}

html.loaded .hero-photo-wrap {
  animation: heroPhotoIn 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) 0.25s both;
}

html.loaded .hero-strip {
  animation: heroStripIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

html.loaded .hero-corner {
  animation: heroCornerIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.loaded .corner-tl { animation-delay: 0.7s; }
html.loaded .corner-tr { animation-delay: 0.76s; }
html.loaded .corner-bl { animation-delay: 0.82s; }
html.loaded .corner-br { animation-delay: 0.88s; }

html.loaded .scroll-cue {
  animation: heroCueIn 0.45s var(--ease-out-soft) 0.95s backwards;
}

@keyframes heroLetterIn {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes heroPhotoIn {
  from { opacity: 0; transform: translate(-50%, 60px) scale(0.96); }
  45% { opacity: 1; }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes heroStripIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCornerIn {
  from { opacity: 0; transform: translateY(var(--corner-shift, 12px)); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCueIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 639px) {
  .corner-tr,
  .corner-br {
    display: none;
  }

  .hero-corner {
    font-size: 12px;
  }

  .corner-tl {
    top: 84px;
    left: 16px;
  }

  .corner-bl {
    bottom: 24px;
    left: 16px;
  }

  .hero-photo {
    height: min(58svh, 96vw);
  }

  .hero-strip {
    bottom: 28svh;
  }

  .strip-card {
    width: 64px;
  }

  .strip-set {
    gap: 12px;
    padding-right: 12px;
  }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-spring), transform 0.8s var(--ease-out-spring);
}

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

/* ---------- About manifesto ---------- */

.about-section {
  position: relative;
  overflow: hidden;
}

.about-backdrop {
  position: absolute;
  top: 22%;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.about-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 380px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(237, 227, 206, 0.06);
  will-change: transform;
}

@supports (-webkit-text-stroke: 1px #000) {
  .about-word {
    color: transparent;
    -webkit-text-stroke: 1px rgba(237, 227, 206, 0.12);
  }
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.about-inner::before {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(150%, 980px);
  height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(58, 80, 107, 0.38) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.manifesto {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--cream);
  margin-top: 8px;
}

.m-word {
  transition: color 0.12s linear;
}

/* Inline chips: space is reserved from the start, only transform
   and opacity change, so the text never reflows during the scrub. */

.m-chip {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.18em;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s var(--ease-out-soft);
  will-change: transform;
}

.m-chip.chip-in {
  transform: scale(1);
  opacity: 1;
}

.chip-poster {
  width: 2.6em;
  height: 1.5em;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.chip-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  height: 1.25em;
  padding: 0 0.5em;
  border-radius: 999px;
  background: rgba(7, 13, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.chip-wave {
  color: var(--accent);
}

.chip-wave svg {
  width: 1em;
  height: 0.62em;
}

.wave-bar {
  transform-box: fill-box;
  transform-origin: center;
}

.chip-in .wave-bar {
  animation: waveBounce 0.9s ease-in-out infinite;
}

.chip-wave .wave-bar:nth-of-type(2) { animation-delay: 0.12s; }
.chip-wave .wave-bar:nth-of-type(3) { animation-delay: 0.24s; }
.chip-wave .wave-bar:nth-of-type(4) { animation-delay: 0.36s; }
.chip-wave .wave-bar:nth-of-type(5) { animation-delay: 0.48s; }

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.chip-stat {
  color: var(--accent-bright);
}

.chip-stat-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

/* Stats row */

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 64px;
}

@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-stats .reveal:nth-child(2) { transition-delay: 80ms; }
.about-stats .reveal:nth-child(3) { transition-delay: 160ms; }

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  background: var(--card-gradient);
  border: 1px solid var(--border);
  padding: 28px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--cream);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.stat-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--text-muted);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ---------- Tools slider ---------- */

.tools-section {
  position: relative;
  padding: 16px 16px 56px;
  overflow: hidden;
}

.tools-eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 34px;
}

.tools-rail {
  display: flex;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}

.tool-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 142px;
  padding: 0 26px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 46px -28px rgba(0, 0, 0, 0.75);
  cursor: pointer;
  overflow: hidden;
  transition: flex-grow 0.55s var(--ease-out-spring),
              border-color 0.45s var(--ease-out-soft),
              background 0.45s var(--ease-out-soft);
}

.tool-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.tool-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.tool-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out-soft),
              max-width 0.55s var(--ease-out-spring);
}

.tool-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tool-role {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* Desktop: hovering a panel expands it (others shrink); with no hover the
   .is-open panel stays expanded; keyboard focus expands independently. */
@media (min-width: 720px) {
  .tools-rail:hover .tool-panel {
    flex-grow: 0.72;
  }

  .tools-rail:not(:hover) .tool-panel.is-open,
  .tools-rail:hover .tool-panel:hover,
  .tools-rail .tool-panel:focus-visible {
    flex-grow: 2.7;
    justify-content: flex-start;
    border-color: rgba(111, 163, 216, 0.5);
    background: linear-gradient(150deg, rgba(111, 163, 216, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%);
  }

  .tools-rail:not(:hover) .tool-panel.is-open .tool-body,
  .tools-rail:hover .tool-panel:hover .tool-body,
  .tools-rail .tool-panel:focus-visible .tool-body {
    opacity: 1;
    max-width: 260px;
  }
}

/* Touch / small screens: stack vertically, every panel fully open. */
@media (max-width: 719px) {
  .tools-rail {
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
  }

  .tool-panel {
    flex: none;
    height: auto;
    padding: 18px 22px;
    justify-content: flex-start;
  }

  .tool-body {
    opacity: 1;
    max-width: none;
    overflow: visible;
  }
}

/* ---------- Client gallery ---------- */

.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1128px;
  margin: 0 auto;
}

.gallery-block + .gallery-block {
  margin-top: 104px;
}

@media (min-width: 900px) {
  .gallery-block {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 52px;
  }

  .gallery-block.reverse .gallery-info {
    order: 2;
  }
}

.gallery-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(7, 13, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 18px 7px 7px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.gallery-tag-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.gallery-title .accent {
  color: var(--accent-bright);
}

.gallery-caption {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gallery-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-gradient);
}

.gallery-card.ratio-45 {
  aspect-ratio: 4 / 5;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-media .reveal:nth-child(2) {
  transition-delay: 120ms;
}

/* ---------- VSL ---------- */

.vsl-frame {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-gradient);
  box-shadow: 0 0 60px 0 rgba(111, 163, 216, 0.12);
}

.vsl-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
  object-fit: cover;
}

.vsl-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(7, 13, 31, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.vsl-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--accent);
  box-shadow: 0 0 34px 0 rgba(111, 163, 216, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.4s var(--ease-out-soft), transform 0.4s var(--ease-out-soft);
}

.vsl-play svg {
  margin-left: 5px;
}

.vsl-play:hover {
  background: var(--accent-bright);
  transform: translate(-50%, -50%) scale(1.05);
}

.vsl-play.hidden {
  display: none;
}

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 420px;
  margin: 40px auto 0;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1128px;
  }
}

.work-item {
  position: relative;
  padding-top: 14px;
}

.work-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: var(--card-gradient);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}

.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(7, 13, 31, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.card-play svg {
  margin-left: 3px;
}

.work-card.playing .card-play {
  opacity: 0;
}

/* Notification pill */

.notif {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 13, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  max-width: calc(100% - 16px);
}

.notif-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.notif-dark-logo .notif-avatar {
  padding: 4px;
}

.notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-a { background: var(--accent); }
.dot-b { background: var(--accent-bright); }
.dot-c { background: var(--cream); }
.dot-d { background: var(--accent-deep); }

.notif-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  overflow: hidden;
}

.notif-name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-views {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Bottom CTA ---------- */

.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(103% 93% at 50% 100%, rgba(58, 80, 107, 0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-sub {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(58, 80, 107, 0.25);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Contact page ---------- */

.contact-hero {
  padding: 160px 16px 24px;
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-section {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 12px;
  background: var(--card-gradient);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color 0.4s var(--ease-out-soft), transform 0.4s var(--ease-out-soft);
}

.contact-card:hover {
  border-color: rgba(111, 163, 216, 0.6);
  transform: translateY(-2px);
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(111, 163, 216, 0.1);
  border: 1px solid rgba(111, 163, 216, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-card {
  border-radius: 12px;
  background: var(--card-gradient);
  border: 1px solid var(--border);
  padding: clamp(20px, 2.5vw, 32px);
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 20px;
  color: var(--text);
}

.calendly-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }

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

  .scroll-line {
    animation: none;
  }

  .m-chip {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .wave-bar,
  .chip-in .wave-bar {
    animation: none !important;
  }

  .about-word {
    transform: none !important;
  }

  .hero-letter {
    transform: none !important;
    animation: none !important;
  }

  html.js .hero-photo-wrap,
  html.js .hero-corner,
  html.js .scroll-cue,
  html.js .hero-strip {
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-photo,
  .strip-track,
  .marquee-track {
    animation: none !important;
  }

  .tool-panel,
  .tool-body {
    transition: none !important;
  }
}
