/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #2f48ff;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --text: #f0f0f0;
  --text-muted: #666;
  --text-dim: #ffffff;
  --border: rgba(255,255,255,0.08);
  --accent: #f0f0f0;

  /* Guitar — blue theme (regular mode) */
  --g-ring-1:      #0d1f6e;
  --g-ring-2:      #1a3acc;
  --g-ring-3:      #5070ff;
  --g-neck-dark:   #020510;
  --g-neck-mid:    #05102a;
  --g-bridge-a:    #060c28;
  --g-bridge-b:    #020814;
  --g-saddle:      #9ab0ff;
  --g-peg:         #d4c49a;
  --g-binding:     #2a44cc;
  --g-fret:        #c8c0a8;
  --g-string-1:    #e8e8e8;
  --g-string-2:    #d8d8d8;
  --g-string-3:    #c8c8c8;
  --g-string-4:    #b8b8b8;
  --g-string-5:    #a8a8a8;
  --g-string-6:    #989898;

  --headline-xl: clamp(3rem, 8vw, 7rem);
  --headline-l:  clamp(2rem, 5vw, 4rem);
  --headline-m:  clamp(1.4rem, 3vw, 2.2rem);
  --body:        clamp(0.95rem, 1.2vw, 1.1rem);
  --label:       0.75rem;

  --nav-h: 100px;
  --section-pad: clamp(80px, 10vw, 140px);
  --gutter: clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
}

/* Wipe-arrival: hide body until JS positions bars, matching bar darkest colour */
html.wipe-arriving            { background: #1d2142; }
html.wipe-arriving body       { visibility: hidden; }

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* Black border frame */
  outline: 12px solid #000;
  outline-offset: -12px;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Fixed border overlay — sits on top of everything, non-interactive */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  border: 12px solid #000;
  pointer-events: none;
  z-index: 99998;
}

/* ═══════════════════════════════════════
   GOLD MODE BAR — fixed bottom pill
═══════════════════════════════════════ */
.gold-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 18px;
  background: #000;
  border-radius: 999px 999px 0 0;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  pointer-events: none;
}

.gold-bar__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
}

/* Toggle switch */
.gold-bar__toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background: #333;
  border-radius: 999px;
  transition: background 0.25s;
  flex-shrink: 0;
}

.gold-bar__toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #888;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s;
}

.gold-bar.active .gold-bar__toggle {
  background: #ffab00;
}

.gold-bar.active .gold-bar__toggle::after {
  transform: translateX(18px);
  background: #fff;
}

::selection {
  background: rgba(255,255,255,0.15);
}

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

ul { list-style: none; }

img, canvas { display: block; }

/* ═══════════════════════════════════════
   LOADING SCREEN
═══════════════════════════════════════ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loading-screen__count {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 3px solid #000;
  outline: 0px solid #000;
  background: rgba(47, 72, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__logo svg {
  display: block;
  transition: opacity 0.2s;
}
.nav__logo:hover svg { opacity: 0.7; }
.nav__logo img {
  display: block;
  height: 82px;
  width: auto;
  transition: opacity 0.2s;
}
.nav__logo:hover img { opacity: 0.7; }

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}

.nav__links a {
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #000;
  transition: color 0.2s;
}
.nav__links a:hover { color: #000; }

/* Split-flap roll effect */
.nav-flip {
  display: inline-block;
  position: relative;
  perspective: 500px;
}

.nav-flip__front,
.nav-flip__back {
  display: block;
  padding: 3px 9px;
  border-radius: 3px;
  backface-visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top center;
}

.nav-flip__front {
  color: #000;
  transform: rotateX(0deg);
}

.nav-flip__back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  transform: rotateX(90deg);
}

.nav__links a:hover .nav-flip__front { transform: rotateX(-90deg); }
.nav__links a:hover .nav-flip__back  { transform: rotateX(0deg); }

body.gold-mode .nav-flip__front         { color: rgba(0,0,0,0.55); }
body.gold-mode .nav-flip__back          { background: #000; color: #ffab00; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  height: var(--btn-outline-height, 40px);
  padding: 0 1.25rem;
  font-family: 'Lilita One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--gutter) var(--section-pad);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 665px;
  margin-left: 35px;
  margin-top: 210px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid #000;
  border-radius: 9px;
  padding: 2.3rem 2.75rem;
}

.hero__headline {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero__hey {
  display: block;
  will-change: transform;
  font-family: 'Passion One', sans-serif;
  letter-spacing: -0.02em;
  color:#000;
  font-size: clamp(2.5rem, 5vw, 15rem);
}

/* Spotlight on Hey! and svc titles — clipped inside letter shapes only */
body.gold-mode .project-card__svc-title {
  background: radial-gradient(
    circle 180px at var(--spot-x, -400px) var(--spot-y, 50%),
    #ffffff 0%,
    rgba(255, 210, 80, 0.9) 28%,
    rgba(160, 80, 0, 0.6) 58%,
    rgba(40, 18, 0, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.gold-mode .hero__hey {
  background: radial-gradient(
    circle 260px at var(--spot-x, -400px) var(--spot-y, 50%),
    #ffffff 0%,
    rgba(255, 210, 80, 0.9) 28%,
    rgba(160, 80, 0, 0.6) 58%,
    rgba(40, 18, 0, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__intro {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero__intro strong { font-weight: 500; }

.hero__sub {
  font-size: var(--body);
  color: #000;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero__cta {
  --btn-outline-height: 48px;
  padding: 0 1.75rem;
}

/* Sitewide glitter canvas — fixed, full viewport */
.glitter-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99997;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.gold-mode .glitter-canvas { opacity: 1; }

/* Hero clouds */
.hero__clouds {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__clouds svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

/* Gold mode — starburst + pixie dust canvas */
.hero__gold-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.gold-mode .hero__gold-canvas { opacity: 1; }
body.gold-mode .hero { background: #654701; }

/* Animated character avatar */
.hero__avatar {
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 86%;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

#avatar-dull,
#avatar-smile {
  height: 100%;
  width: auto;
}

#avatar-smile { display: none; }
body.gold-mode #avatar-dull  { display: none; }
body.gold-mode #avatar-smile { display: block; }

.hero__avatar svg {
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
}

@media (max-width: 900px) {
  .hero__avatar {
    height: 50%;
    opacity: 0.15;
  }
}

/* ═══════════════════════════════════════
   FEATURED SLIDER
═══════════════════════════════════════ */
.feat-slider {
  position: relative;
  display: flex;
  align-items: center;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  background: url('../img/grass.svg') center / cover no-repeat;
  height: clamp(525px, 80vw, 945px);
  overflow: hidden;
}

.feat-slider__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.feat-slider__track {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;   /* 36% × 1.5 */
  height: 82%;  /* 55% × 1.5 */
}

.feat-slide {
  position: absolute;
  inset: calc(8% - 12.5px) -4%;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid #000;
  background: linear-gradient(to right, transparent 45%, #000 45%);
  visibility: hidden;
}

.feat-slide.is-active {
  visibility: visible;
}

.feat-slide::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 1px;
  background: #000;
  z-index: 3;
  pointer-events: none;
}

.feat-slide__top-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: calc(28% + 10px);
  background: #000;
  z-index: 1;
}

.feat-slide__side-card {
  position: absolute;
  top: calc(28% + 10px);
  left: 0;
  width: 45%;
  bottom: 0;
  background: rgba(255, 220, 245, 0.8);
  border: 1px solid #000;
  border-radius: 0;
  z-index: 3;
  overflow: hidden;
}

.feat-bg-reveal {
  position: absolute;
  inset: 27px 27px 27px 45%;
  overflow: hidden;
}

.feat-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: left center;
}

.feat-slide__bg--video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feat-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.5rem;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.feat-slide__cta {
  pointer-events: auto;
  margin-top: auto;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.feat-slide__label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 255, 17, 0.55);
  margin-bottom: 0.35rem;
}

.feat-slide__title {
  font-family: 'Passion One', sans-serif;
  font-size: clamp(4.8rem, 10.5vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  position: absolute;
  top: -1%;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.feat-slide__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.feat-slide__tags span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.feat-slide__cta {
  display: inline-flex;
  align-items: stretch;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  padding: 0;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
  overflow: hidden;
}
.feat-slide__cta span {
  padding: 0.85rem 1.6rem;
  display: flex;
  align-items: center;
}
.feat-slide__cta svg {
  width: 52px;
  padding: 0 1rem;
  border-left: 2px solid #000;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.feat-slide__cta:hover { background: #000; color: #fff; }
.feat-slide__cta:hover svg { border-left-color: #fff; }

/* Squares hover distortion */
.slide-square {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.12s ease, transform 0.18s ease;
  z-index: 10;
  border: none;
  background-repeat: no-repeat;
  overflow: hidden;
}
.slide-square.active {
  opacity: 1;
  transform: scale(1);
}

/* Background text */
.feat-slider__bg-text {
  position: absolute;
  right: 4%;
  top: 6%;
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.8);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: scaleY(1.4);
  transform-origin: top right;
}

/* Side arrows */
.feat-slider__arrow {
  flex-shrink: 0;
  width: 70px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  background: #000;
  border: none;
  cursor: pointer;
  color: #fff;
  z-index: 2;
  transition: background 0.2s;
  align-self: center;
}
.feat-slider__arrow:hover { background: #222; }
.feat-slider__arrow svg { width: 30px; height: 30px; }
.feat-slider__arrow--prev { border-right: 2px solid #000; }
.feat-slider__arrow--next { border-left:  2px solid #000; }

/* KAY card — cycles through 3 images */
@keyframes kay-bg-cycle {
  0%, 28%  { opacity: 1; }
  33%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}
.feat-slide__bg--kay1,
.feat-slide__bg--kay2,
.feat-slide__bg--kay3 {
  animation: kay-bg-cycle 9s infinite;
}
.feat-slide__bg--kay2 { animation-delay: -6s; }
.feat-slide__bg--kay3 { animation-delay: -3s; }

.feat-slider__path {
  position: absolute;
  right: -220px;
  bottom: 0;
  height: calc(50% - 20px);
  width: clamp(850px, 90vw, 1350px);
  pointer-events: none;
  z-index: 3;
}

/* ═══════════════════════════════════════
   WORK / CAROUSEL
═══════════════════════════════════════ */
.work {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.work-waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

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


.work .carousel__progress {
  margin: 2rem var(--gutter) 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 300;
  color: #000;
}

.section-label {
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  text-align: center;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover:not(.carousel-btn-disabled) {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.carousel-btn-disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  padding-top: 70px;
  padding-bottom: 70px;
}
.carousel.dragging { cursor: grabbing; }

.carousel__rail {
  display: none; /* replaced by JS .wire-segment elements */
}

/* Wire segment — sibling of cards inside the track, doesn't rotate with sway */
.wire-segment--bg {
  z-index: 0 !important; /* behind cards */
}

.wire-segment {
  position: absolute;
  height: 11px;
  top: 74.5px; /* peg top(25) + half peg height(55) - half wire(5.5) */
  background: #363636;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 -1px 0 rgba(0,0,0,0.8),
    0 2px 8px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 5;
}

.carousel__track {
  display: flex;
  gap: 5.7rem;
  will-change: transform;
  position: relative;
  z-index: 2;
  padding-left: 60px;
}

/* Card — peg overlays the top of the body */
.project-card {
  flex: 0 0 calc(38% - 1rem - 26px);
  min-width: 320px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .project-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 580px) {
  .project-card { flex: 0 0 85%; }
}

/* Peg sits on top of the card body, centred */
.project-card__peg {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 106px;
  height: 110px;
  border-radius: 9px 9px 5px 5px;

  -webkit-mask-image: none;
          mask-image: none;
}

/* Eyelet ring */
.project-card__peg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #1a6fd4;
  border: 2px solid #000;
  pointer-events: none;
}

/* Card body — solid black only in the top dead space, transparent behind colored card */
.project-card__body {
  background: linear-gradient(to bottom, #000 350px, transparent 350px);
  border-radius: 45px;
  overflow: hidden;
  padding: 0;
  padding-top: 350px;
  padding-bottom: 0;
  position: relative;
}

.project-card__tiny1 {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
  font-family: 'Phudu', sans-serif;
  font-size: 0.6rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  pointer-events: none;
  user-select: none;
}

.project-card__tiny2 {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
  font-family: 'Inter', sans-serif;
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  pointer-events: none;
  user-select: none;
}

.project-card__type {
  position: absolute;
  top: 85px;
  left: -100px;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.25rem;
  font-family: 'Passion One', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 15rem);
  color: #fff;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
  transform: translateX(-5px);
}

.project-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0 0 45px 45px;
  border: 3px solid #000;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ── Service card overlay (card 1) ── */
.project-card__svc {
  position: absolute;
  inset: 0;
  padding: 1rem 1.1rem 0.75rem;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

.project-card__svc-label {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.2rem;
  margin-top: 1.5rem;
  padding-left: 8%;
}

.project-card__svc-title {
  font-size: clamp(1.3rem, 3.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000;
  margin-top: 1rem;
  margin-bottom: 4rem;
  padding-left: 8%;
  line-height: 1;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

.project-card__svc-spacer {
  display: none;
}

.project-card__svc-tags {
  display: flex;
  justify-content: space-between;
}

.project-card__svc-tags span {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #000;
}

.project-card__svc-arrows {
  display: flex;
  justify-content: space-between;
  margin: 0.1rem 0;
}

.project-card__svc-arrows span {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: #000;
  line-height: 1;
}

.project-card__svc-rule {
  height: 3px;
  background: #000;
  margin: 0.1rem 0;
}

.project-card__svc-arrows--bottom,
.project-card__svc-tags--bottom {
  padding-left: 8%;
}

.project-card__svc-rule--dashed {
  height: 0;
  background: none;
  border-top: 3px dashed rgba(0,0,0,0.4);
  margin: 3.0rem 0 0;
}

.project-card__svc-bg {
  position: absolute;
  bottom: 2.0rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(4rem, 12vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(0,0,0,0.12);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.project-card__placeholder {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__placeholder {
  transform: scale(1.04);
}

.project-card__meta {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.25rem;
}

.project-card__name {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.project-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-card__tags span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.carousel__progress {
  margin-top: 2rem;
  height: 1px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.carousel__progress-bar {
  height: 100%;
  background: var(--text-dim);
  border-radius: 999px;
  transform-origin: left;
  transition: width 0.3s var(--ease-out);
  width: 33.33%;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */

/* ════════════/* ═══════════════════════════════════════
   zoom image Section
═══════════════════════════════════════ */

.stage-wrap {
  position: relative;
  height: 450vh; /* Adjust this to change how long the scroll effect lasts */
  background: url('img/mnraw.svg') center / cover no-repeat, #b8b5ab;
  overflow: clip;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: clip;
  clip-path: inset(0);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 38%);
  pointer-events: none;
  z-index: 1;
}

/* ── Hero polaroid — center stage, white frame reveals bg image ── */
.hero-polaroid {
  position: absolute;
  left: 0;
  top: 0;
  width: min(480px, 75vw);
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

/* ── Polaroid scatter — bottom of camera section, above mountain reveal ── */
.polaroid-scatter {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  transform-origin: center 80%;
}

@keyframes scatter-poof {
  0%   { opacity: 1; filter: blur(0px);  transform: scale(1); }
  40%  { opacity: 0.5; filter: blur(4px); transform: scale(1.08); }
  100% { opacity: 0; filter: blur(18px); transform: scale(1.25); }
}

.polaroid-scatter.poofing {
  animation: scatter-poof 0.5s ease-out forwards;
}

.polaroid {
  position: absolute;
  background: #fff;
  padding: 10px 10px 44px;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.18);
}

.polaroid__img {
  width: 100%;
  aspect-ratio: 1;
  background: #b8b5ac;
  display: block;
  overflow: hidden;
}

.polaroid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-polaroid .polaroid__img {
  aspect-ratio: 4/5;
}

.mountain-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  clip-path: inset(50%);
  -webkit-clip-path: inset(50%);
  will-change: clip-path;
}

.mountain-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Zoom card — drops in at 63% zoom */
/* ─── Zoom card ───────────────────────── */
.zoom-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 390px));
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  padding: 2rem 3rem;
  background: #ffffff;
  border: 2px solid #000;
  border-radius: 9px;
  min-width: 900px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.zoom-card__label {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin: 0 0 0.6rem;
  width: 100%;
  text-align: left;
}

.zoom-card__title {
  font-size: clamp(0.9rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
  color: #000;
  margin: 0;
}

/* Scrolling ticker at the bottom of the zoom card */
.zoom-card__ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 2px solid #000;
  padding: 0.55rem 0;
  background: #000;
}

.zoom-card__ticker {
  display: flex;
  white-space: nowrap;
  animation: zoom-ticker 18s linear infinite;
}

.zoom-card__ticker span {
  font-family: 'Passion One', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
  padding-right: 2rem;
}

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



/* HUD chrome labels */
.chrome {
  position: absolute;
  inset: 28px;
  pointer-events: none;
  z-index: 10;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(20,17,15,0.5);
  transition: color 0.4s;
}
.chrome > * { position: absolute; }
.chrome .tl { top: 0; left: 0; }
.chrome .tr { top: 0; right: 0; text-align: right; }
.chrome .bl { bottom: 40px; left: 0; }
.chrome .br { bottom: 40px; right: 0; text-align: right; }


/* ═══════════════════════════════════════
   ABOUT — Guitar Section
═══════════════════════════════════════ */
.about {
  padding: 120px 0 0;
  border-top: none;
  position: relative;
  overflow-x: clip;
  background: #b8b5ab;
}

/* mnraw2 — continues the map illustration into the guitar section top-right */
.mnraw2-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  max-width: 2000px;
  height: auto;
  z-index: 11;
  opacity: 1;
  pointer-events: none;
  display: block;
  object-fit: cover;
  transform-origin: top right;
}

/* Wave arch — swirl border line */
.guitar-arch {
  width: 100%;
  height: 650px;
  line-height: 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  margin-top: -160px;
  pointer-events: none;
}

.guitar-arch svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Guitar body wrapper — below the arch */
.guitar-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: var(--bg);
  position: relative;
  min-height: 1274px;
  padding-bottom: 400px;
}

/* Info card — hero-style frosted card, right side of guitar section */
.guitar-info-card {
  position: absolute;
  right: calc(var(--gutter) + 80px);
  bottom: 140px;
  max-width: 500px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid #000;
  border-radius: 9px;
  padding: 2.3rem 2.75rem;
}

/* Guitar illustration — absolutely placed inside guitar-body */
.gtar-img {
  position: absolute;
  top: 540px;
  left: 35%;
  transform: translateX(-50%);
  width: 808px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0);
}

/* Interactive guitar SVG */
#guitar-svg {
  width: 100%;
  min-height: 480px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

/* Guitar text block below guitar-body */
.guitar-text {
  width: 100%;
  padding: 40px 10%;80
  background: #ffffff;
  color: #000;
  font-family: Georgia, serif;
}

.guitar-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.guitar-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 16px;
}


/* ═══════════════════════════════════════
   AWARDS TICKER
═══════════════════════════════════════ */
.awards-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  white-space: nowrap;
}

.awards-ticker__track {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  will-change: transform;
}

.awards-ticker__track span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CONTACT / FOOTER
═══════════════════════════════════════ */
.contact {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad) var(--gutter) 0;
  border-top: none;
  min-height: 340px;
}

.contact__logo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
    transform: translateY(-40px);
}

.contact__logo img {
  height: 150px;   /* <-- change this value */
  width: auto;
  display: block;
}

.contact__copyright {
  font-size: var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  position: absolute;
  bottom: 15%;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL — initial states set by JS
═══════════════════════════════════════ */
[data-reveal] {
  visibility: hidden;
}

/* focus visible */
:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════
   GOLD MODE
═══════════════════════════════════════ */
body.gold-mode {
  --bg:         #ffab00;
  --bg-2:       #1a1400;
  --bg-3:       #2a2000;

  /* Guitar — warm/gold theme */
  --g-ring-1:      #5c2e0a;
  --g-ring-2:      #8B4513;
  --g-ring-3:      #d4a853;
  --g-neck-dark:   #0a0500;
  --g-neck-mid:    #1a0c03;
  --g-bridge-a:    #2a1206;
  --g-bridge-b:    #130800;
  --g-saddle:      #f0ead8;
  --g-peg:         #d4c49a;
  --g-binding:     #c8a444;
  --g-fret:        #c8c0a8;
  --g-string-1:    #c8b880;
  --g-string-2:    #b8a870;
  --g-string-3:    #a89860;
  --g-string-4:    #988850;
  --g-string-5:    #887840;
  --g-string-6:    #786830;
  --text:       #000000;
  --text-muted: #3a3000;
  --text-dim:   #4a4000;
  --border:     rgba(0,0,0,0.18);
  --accent:     #000;
  background: var(--bg);
  color: var(--text);
}

/* Nav */
body.gold-mode .nav {
  background: rgba(255, 171, 0, 0.97);
}
body.gold-mode .nav.scrolled {
  background: rgba(255, 171, 0, 0.97);
}
body.gold-mode .nav__links a        { color: rgba(0,0,0,0.55); }
body.gold-mode .nav__links a:hover  { color: #000; }
body.gold-mode .btn-outline         { color: rgba(0,0,0,0.6); border-color: rgba(0,0,0,0.25); }
body.gold-mode .btn-outline:hover   { background: #000; color: #ffab00; border-color: #000; }
body.gold-mode .nav__burger span    { background: #000; }

/* Nav logo — invert so the white svg shows on gold */
body.gold-mode .nav__logo svg rect:first-child { fill: #000; }
body.gold-mode .nav__logo svg rect:not(:first-child) { fill: #ffab00; }

/* Marquee / ticker */
body.gold-mode .marquee-wrap,
body.gold-mode .awards-ticker { border-color: rgba(0,0,0,0.18); }
body.gold-mode .marquee__track span,
body.gold-mode .awards-ticker__track span { color: rgba(0,0,0,0.45); }

/* Featured slider gold mode bg */
body.gold-mode .feat-slider {
  background-image: url('../img/grass-gold.svg');
}
body.gold-mode .feat-slider__path {
  filter: sepia(1) hue-rotate(10deg) saturate(3) brightness(0.85);
}
body.gold-mode .feat-slide__side-card {
  background: #ffab00 !important;
}
body.gold-mode .feat-slider__bg-text {
  background: radial-gradient(
    circle 260px at var(--spot-x, -400px) var(--spot-y, 50%),
    #ffffff 0%,
    rgba(255, 210, 80, 0.9) 28%,
    rgba(160, 80, 0, 0.6) 58%,
    rgba(40, 18, 0, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.gold-mode .feat-bg-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 171, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

/* Carousel buttons */
body.gold-mode .carousel-btn         { border-color: rgba(0,0,0,0.25); color: rgba(0,0,0,0.5); }
body.gold-mode .carousel-btn:hover:not(.carousel-btn-disabled) {
  background: #000; color: #ffab00; border-color: #000;
}
body.gold-mode .carousel__progress   { background: rgba(0,0,0,0.15); }
body.gold-mode .carousel__progress-bar { background: rgba(0,0,0,0.45); }

/* Wire */
body.gold-mode .wire-segment {
  background: #1a1400;
  box-shadow: 0 1px 0 rgba(255,220,0,0.15), 0 -1px 0 rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
}

/* Cards — body stays black, colored card shows through */
body.gold-mode .project-card__body {
  background: linear-gradient(to bottom, #000 350px, transparent 350px);
}
body.gold-mode .project-card__tags span {
  color: rgba(0,0,0,0.55);
  border-color: rgba(0,0,0,0.2);
}


/* Awards ticker */
body.gold-mode .awards-ticker { border-color: rgba(0,0,0,0.18); }

/* Contact */
body.gold-mode .contact           { border-color: rgba(0,0,0,0.18); }
body.gold-mode .contact__email    { color: #000; }
body.gold-mode .contact__links    { color: rgba(0,0,0,0.45); }
body.gold-mode .contact__links a  { color: rgba(0,0,0,0.6); }
body.gold-mode .contact__links a:hover { color: #000; }
body.gold-mode .contact__copyright {
  color: rgba(0,0,0,0.4);
}

/* Gold bar label stays readable */
body.gold-mode .gold-bar__label { color: #ffab00; }

/* ═══════════════════════════════════════
   MOBILE NAV DRAWER
═══════════════════════════════════════ */
@media (max-width: 760px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.1rem; }
  .nav .btn-outline { display: none; }
  .nav__burger { display: flex; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET / LARGE PHONE (≤760px)
═══════════════════════════════════════ */
@media (max-width: 760px) {
  /* Hero — bring content up on smaller screens */
  .hero__content {
    margin-top: 80px;
    max-width: 100%;
  }

  /* Featured slider — shorter on tablet */
  .feat-slider {
    height: clamp(400px, 95vw, 600px);
  }
  .feat-slider__track {
    width: 86%;
    height: 88%;
  }

  /* Guitar arch */
  .guitar-arch {
    height: 420px;
    margin-top: -80px;
  }

  /* Guitar body */
  .guitar-body {
    min-height: 900px;
    margin-top: -100px;
    padding-bottom: 180px;
  }

  /* gtar image */
  .gtar-img {
    width: 560px;
    top: 520px;
    left: 50%;
  }

  /* Guitar SVG */
  #guitar-svg {
    margin-top: 140px;
  }

  /* Guitar info card — pull back from edge on tablet */
  .guitar-info-card {
    right: var(--gutter);
    max-width: 320px;
  }

  /* Zoom card — narrower on tablet */
  .zoom-card {
    min-width: 0;
    width: 88vw;
    min-height: 0;
  }

  /* Feat slider CTA */
  .feat-slide__cta { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE PHONE (≤480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  /* Thinner border frame on small screens */
  body {
    outline-width: 6px;
    outline-offset: -6px;
  }
  body::before {
    border-width: 6px;
  }

  /* Tighter spacing tokens */
  :root {
    --nav-h: 64px;
    --section-pad: clamp(44px, 8vw, 80px);
    --gutter: 16px;
  }

  /* ── Mobile nav — same color as desktop, punches through black border ── */
  .nav {
    z-index: 99999;
    padding: 0 var(--nav-h) 0 14px;
    height: var(--nav-h);
  }
  .nav__logo img { height: 36px; }

  /* Show links inline, truly centered between logo and gold button */
  .nav__links {
    display: flex;
    position: static;
    inset: auto;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: none;
    gap: 0.75rem;
    z-index: auto;
    margin: 0;
  }
  /* Hide "Work" link — only Services, About, Contact */
  .nav__links li:first-child { display: none; }
  .nav__links a {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: #000;
  }
  .nav__burger { display: none; }
  /* "Let's talk" CTA hidden — gold-bar moves to nav slot */
  .nav .btn-outline { display: none; }

  /* Gold-bar: circular toggle button in the top-right nav slot */
  .gold-bar {
    bottom: auto;
    top: 0;
    right: 0;
    left: auto;
    transform: none;
    width: 43px;
    height: var(--nav-h);
    border-radius: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-left: none;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .gold-bar__label { display: none; }
  .gold-bar__toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffab00;
    border: 2px solid #000;
  }
  .gold-bar__toggle::after { display: none; }
  .gold-bar.active .gold-bar__toggle {
    background: #ffab00;
    border-color: #000;
  }

  /* ── Featured slider — stacked column layout on mobile ── */
  .feat-slider { height: 175vw; min-height: 460px; }
  .feat-slider__track { width: 90%; height: 92%; }
  .feat-slider__arrow { width: 32px; height: 50px; }
  .feat-slider__arrow svg { width: 14px; height: 14px; }
  .feat-slider__bg-text { font-size: clamp(2.5rem, 18vw, 5rem); right: 2%; }
  .feat-slider__path { display: none; }

  /* Stack: title (black) → colored info → image */
  .feat-slide {
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
  }
  .feat-slide::after     { display: none; }
  .feat-slide__top-block { display: none; }

  /* Title — smaller black area */
  .feat-slide__content {
    order: 1;
    position: relative;
    inset: auto;
    flex-shrink: 0;
    height: clamp(65px, 20vw, 90px);
    background: transparent;
    padding: 0.3rem 0.85rem 0.4rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: all;
    z-index: 1;
  }
  .feat-slide__title {
    position: static;
    font-size: clamp(2.5rem, 17vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 0;
  }
  .feat-slide__label { display: none; }
  .feat-slide__tags  { display: none; }

  /* Colored client info — slides down over BBQ title via JS */
  .feat-slide__side-card {
    order: 2;
    display: flex;
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    flex-shrink: 0;
    z-index: 3;
  }
  .feat-slide__side-card .project-card__svc {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0.55rem 1rem 0.65rem;
  }
  .feat-slide__side-card .project-card__svc-label { margin-top: 0; font-size: 0.8rem; padding-left: 0; }
  .feat-slide__side-card .project-card__svc-title {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 4.5vw, 1.6rem);
    padding-left: 0;
  }
  .feat-slide__side-card .project-card__svc-tags { margin-top: 0.4rem; }
  .feat-slide__side-card .project-card__svc-tags span { font-size: 0.65rem; }
  .feat-slide__side-card .project-card__svc-arrows { margin-top: 0.3rem; }
  .feat-slide__side-card .project-card__svc-arrows span { font-size: 0.65rem; }
  .feat-slide__side-card .project-card__svc-rule { margin: 0.05rem 0; }
  .feat-slide__side-card .feat-slide__cta { margin-top: 1.5rem; }

  /* Image fills remaining */
  .feat-bg-reveal {
    order: 3;
    position: relative;
    inset: auto;
    flex: 1;
    min-height: 0;
  }

  /* ── Work carousel ── */
  .carousel__track {
    gap: 2rem;
    padding-left: 16px;
  }
  .project-card {
    flex: 0 0 82vw;
    min-width: 240px;
  }
  /* Shrink the black dead-space block inside each card */
  .project-card__body {
    background: linear-gradient(to bottom, #000 220px, transparent 220px);
    padding-top: 220px;
  }
  .project-card__type {
    height: 220px;
    font-size: clamp(4rem, 22vw, 7.5rem);
    padding-top: 1.25rem;
    left: 0;
    transform: none;
  }
  body.gold-mode .project-card__body {
    background: linear-gradient(to bottom, #000 220px, transparent 220px);
  }

  /* Services card spacing: Service/title up, arrows/tags down, STA→AUT down */
  .project-card__svc-label { margin-top: 0.5rem; }
  .project-card__svc-title { margin-top: 0.4rem; margin-bottom: 2.5rem; }
  .project-card__svc-bg    { bottom: 0.5rem; }

  /* ── Services ── */
  .service-item__trigger {
    gap: 0.75rem;
  }



  /* ── Hero — avatar top-right, text below with separator ── */
  .hero {
    min-height: 0;
    height: auto;
    padding-top: calc(var(--nav-h) + 100px);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  /* Avatar — flush against nav, tucked to the right corner */
  .hero__avatar {
    order: 1;
    position: relative;
    right: auto;
    bottom: auto;
    height: 80vw;
    max-height: 330px;
    width: auto;
    opacity: 1;
    flex-shrink: 0;
    margin-top: 0;
    align-self: flex-end;
  }
  /* Text — directly below avatar, black line separator on top edge */
  .hero__content {
    order: 2;
    margin-top: 0;
    margin-left: 0;
    padding: 1rem var(--gutter) 1.25rem;
    width: 100%;
    max-width: 100%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    border-top: 3px solid #000;
    text-align: center;
  }
  .hero__headline { margin-bottom: 1rem; }
  .hero__hey { font-size: clamp(3.5rem, 20vw, 8rem); }
  .hero__intro,
  .hero__sub { max-width: 100%; text-align: center; }

  /* ── Work section — trim bottom pad so polaroids follow tighter ── */
  .work { padding-bottom: 0; }

  /* ── Camera / polaroid section ── */
  .stage-wrap { height: 300vh; }
  .stage::after { background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%); }
  .hero-polaroid { width: min(280px, 82vw); }
  #flashText { font-size: clamp(1.6rem, 10vw, 3rem) !important; width: 88vw !important; top: 36% !important; transform: translate(-50%, -50%) !important; }

  /* Scatter polaroids — keep only odd ones to thin out the crowd */
  .polaroid-scatter .polaroid { width: clamp(70px, 19vw, 100px) !important; }
  .polaroid-scatter .polaroid:nth-child(even) { display: none; }
  .polaroid-scatter { transform: translateY(-80px); }

  /* f/s · zoom HUD labels — nudge up on mobile */
  .chrome .bl,
  .chrome .br { bottom: 100px; }

  /* ── Zoom card ── */
  .zoom-card {
    min-width: 0;
    width: 92vw;
    min-height: 0;
    height: auto;
    max-height: 78vh;
    padding: 0.85rem 1.25rem 2.5rem;
    overflow-y: auto;
  }
  .zoom-card__label { font-size: 0.82rem; letter-spacing: 0.08em; line-height: 1.55; }
  .zoom-card__title { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }

  /* ── Cards: arrows and tags — top 4 only ── */
  .project-card__svc-arrows--bottom,
  .project-card__svc-tags--bottom,
  .project-card__svc-rule { display: none; }
  .project-card__svc-arrows span:nth-child(n+5),
  .project-card__svc-tags  span:nth-child(n+5) { display: none; }

  /* ── Feat-slider side cards same treatment ── */
  .feat-slide__side-card .project-card__svc-arrows--bottom,
  .feat-slide__side-card .project-card__svc-tags--bottom,
  .feat-slide__side-card .project-card__svc-rule { display: none; }

  /* ── Guitar section ── */
  .mnraw2-corner { display: none; }

  .about { padding-top: 0; margin-top: -1rem; }

  .guitar-arch {
    height: 160px;
    margin-top: 0;
    overflow: hidden;
  }
  .guitar-arch svg { width: 100%; height: 100%; }
  .guitar-body {
    min-height: 0;
    margin-top: 0;
    padding: 0 0 2rem;
  }
  /* Decorative image doesn't line up at phone size — SVG draws all elements */
  .gtar-img { display: none; }
  #guitar-svg {
    margin-top: 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }
  .guitar-body { overflow-x: hidden; }
  .guitar-info-card {
    position: static;
    margin: 1rem auto 0;
    max-width: 100%;
    width: calc(100% - 32px);
    padding: 1.25rem;
  }

  /* ── Contact ── */
  .contact { padding: 40px var(--gutter) 0; }

  /* ── "Stand out from the crowd" — nudge up on mobile ── */
  #flashText { top: 28% !important; }
}

/* ═══════════════════════════════════════
   TOUCH DEVICE OVERRIDES
═══════════════════════════════════════ */
.guitar-hint-touch { display: none; }

@media (pointer: coarse) {
  /* Nav links need comfortable tap height */
  .nav__links a {
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Show tap hint, hide hover hint on guitar */
  .guitar-hint-hover { display: none; }
  .guitar-hint-touch { display: block; }

  /* Carousel scroll snap for swipe feel */
  .carousel__track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .project-card {
    scroll-snap-align: start;
  }

  /* Zoom card: -webkit-overflow-scrolling for momentum scroll */
  .zoom-card { -webkit-overflow-scrolling: touch; }

  /* Remove hover-only effects that confuse touch */
  .feat-slide__side-card { pointer-events: auto; }
}

/* ═══════════════════════════════════════
   PAGE WIPE TRANSITION
═══════════════════════════════════════ */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.page-wipe__bar {
  flex: 1;
  transform: translateX(101%);
  will-change: transform;
}