/* ---
   BLACK STALLION STUDIOS — base.css
   Aesthetic: Cinematic Dark Luxury / Editorial Outdoor
   --- */

/* Custom properties */
:root {
  --amber: #9c5a14;
  --amber-light: #dd9e5b;
  --amber-pale: #f5d9b0;
  --black: #0a0806;
  --dark: #111009;
  --mid: #1c1a14;
  --surface: #231f18;
  --white: #f7f3ec;
  --muted: rgba(247, 243, 236, 0.55);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Roboto', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Local fonts (fallback if Google Fonts unavailable) */
@font-face {
  font-family: Roboto;
  src: url('Roboto Mono/RobotoMono-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
}

@font-face {
  font-family: Roboto;
  src: url('Roboto Mono/RobotoMono-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: italic;
}

@font-face {
  font-family: Cutive;
  src: url('Cutive Mono/CutiveMono-Regular.ttf') format('truetype');
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

/* ---
   CUSTOM CURSOR (mouse/trackpad only — hidden on touch devices)
   --- */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  .cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--amber-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
  }

  .cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(221, 158, 91, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s;
  }

  body.cursor-hover .cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--amber-pale);
  }

  body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--amber-light);
  }
}

/* ---
   REVEAL ANIMATIONS
   --- */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  animation: revealUp 0.9s var(--ease-out-expo) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---
   STICKY HEADER
   --- */
.sticky-header {
  background: rgba(10, 8, 6, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(156, 90, 20, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: clamp(52px, 9vh, 80px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo),
    visibility 0.4s;
}

.sticky-header.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-icon {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  max-width: 56px;
  max-height: 56px;
  object-fit: cover;
  border: 1px solid rgba(156, 90, 20, 0.4);
  flex-shrink: 0;
}

.header-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  flex: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--white);
}

.header-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.header-cta:hover {
  background: var(--amber-light) !important;
  color: var(--black) !important;
}

/* ---
   HERO
   --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 5vw 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
  filter: brightness(0.6) saturate(0.85);
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.0);
  }
}

/* Film grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.35;
  pointer-events: none;
  animation: grain 0.4s steps(1) infinite;
  z-index: 1;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-2%, -4%);
  }

  20% {
    transform: translate(3%, 1%);
  }

  30% {
    transform: translate(-1%, 5%);
  }

  40% {
    transform: translate(4%, -2%);
  }

  50% {
    transform: translate(-3%, 3%);
  }

  60% {
    transform: translate(1%, -5%);
  }

  70% {
    transform: translate(-4%, 2%);
  }

  80% {
    transform: translate(2%, 4%);
  }

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

/* Vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 8, 6, 0.7) 100%),
    linear-gradient(to top, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.2) 50%, rgba(10, 8, 6, 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-tag {
  position: absolute;
  top: 2.5rem;
  left: 5vw;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-light);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
  align-self: flex-start;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05em;
}

.hero-title-italic {
  font-style: italic;
  color: var(--amber-pale);
  font-weight: 700;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--amber);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.25s, transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
  box-shadow: 0 0 0 0 rgba(156, 90, 20, 0);
}

.btn-primary:hover {
  background: var(--amber-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(156, 90, 20, 0.4);
}

.btn-ghost {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(247, 243, 236, 0.35);
  border-radius: 3px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out-expo);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(247, 243, 236, 0.08);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 5vw;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber-light), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* Corner brackets */
.hero-corner {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  z-index: 4;
  opacity: 0;
  animation: revealUp 0.8s var(--ease-out-expo) 1.6s forwards;
}

.hero-corner--br {
  top: auto;
  left: auto;
  bottom: 1.5rem;
  right: 1.5rem;
}

/* ---
   SERVICES STRIP (marquee)
   --- */
.services-strip {
  background: var(--amber);
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
}

.services-track {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  animation: marquee 22s linear infinite;
}

.services-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.services-track .dot {
  font-style: normal !important;
  font-size: 0.45rem !important;
  opacity: 0.6;
  vertical-align: middle;
  font-family: var(--font-body) !important;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

/* ---
   SLIDESHOW
   --- */
.home-slideshow {
  padding: 5rem 5vw 4rem;
  background: var(--dark);
}

.slideshow-header {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.slideshow-container .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.9s var(--ease-in-out), visibility 0.9s;
}

.slideshow-container .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2.5rem 2rem;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.82));
}

.slide-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.slide-description {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 300;
  color: rgba(247, 243, 236, 0.7);
  margin-bottom: 1.25rem;
  max-width: 440px;
}

.slide-button {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  border: 1px solid rgba(247, 243, 236, 0.4);
  border-radius: 3px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out-expo);
}

.slide-button:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateX(4px);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 243, 236, 0.25);
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.55);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.1rem;
  cursor: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out-expo);
}

.slideshow-nav:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
  left: 1.5rem;
}

.slideshow-nav.next {
  right: 1.5rem;
}

.slideshow-indicators {
  position: absolute;
  bottom: 1.25rem;
  right: 1.75rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: rgba(247, 243, 236, 0.3);
  border: none;
  cursor: inherit;
  padding: 0;
  transition: background 0.2s, width 0.3s var(--ease-out-expo);
}

.indicator:hover {
  background: rgba(247, 243, 236, 0.6);
}

.indicator.active {
  background: var(--amber-light);
  width: 52px;
}

/* ---
   STATEMENT SECTION
   --- */
.statement-section {
  background: var(--mid);
  padding: 7rem 5vw;
  position: relative;
  overflow: hidden;
}

.statement-section::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 3vw;
  font-family: var(--font-display);
  font-size: clamp(12rem, 25vw, 20rem);
  font-weight: 900;
  color: rgba(156, 90, 20, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.statement-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  color: var(--white);
  margin: 1.5rem 0 2.5rem;
  border: none;
}

.statement-quote em {
  font-style: italic;
  color: var(--amber-pale);
}

.statement-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--amber), transparent);
}

/* ---
   FOOTER
   --- */
footer {
  background: var(--black);
  border-top: 1px solid rgba(156, 90, 20, 0.2);
}

.footer-container {
  padding: 4rem 5vw 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 243, 236, 0.07);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(156, 90, 20, 0.4);
  object-fit: cover;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand h3 span {
  font-style: italic;
  color: var(--amber-pale);
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-cta {
  color: var(--amber-light) !important;
  font-weight: 500 !important;
  border: 1px solid rgba(156, 90, 20, 0.4);
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}

.footer-cta:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 236, 0.3);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.25);
}

/* ---
   HAMBURGER NAV
   --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body.nav-open {
  position: fixed;
  width: 100%;
  overflow-y: scroll;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out-expo), opacity 0.2s, width 0.28s var(--ease-out-expo);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(5, 4, 3, 0.97);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out-expo), visibility 0.32s;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 2rem 0;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 700;
  color: rgba(247, 243, 236, 0.55);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.5rem 2rem;
  display: block;
  width: 100%;
  text-align: center;
  transition: color 0.18s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--white);
}

.mobile-nav-links a.mobile-nav-cta {
  color: var(--amber-light);
  margin-top: 0.75rem;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(156, 90, 20, 0.4);
  border-radius: 4px;
  padding: 0.85rem 3rem;
  width: auto;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mobile-nav-links a.mobile-nav-cta:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}

/* Stagger link entries when overlay opens */
.mobile-nav-overlay.is-open .mobile-nav-links a {
  animation: mobileNavIn 0.45s var(--ease-out-expo) both;
}
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(2) { animation-delay: 0.10s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(4) { animation-delay: 0.20s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(6) { animation-delay: 0.30s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(7) { animation-delay: 0.35s; }

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

/* ---
   RESPONSIVE
   --- */
@media (max-width: 640px) {
  .hero {
    padding: 3rem 1.5rem 4rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .header-nav a:not(.header-cta) {
    display: none;
  }

  .header-nav .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-strip {
    padding: 0.6rem 0;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .mobile-nav-overlay.is-open .mobile-nav-links a {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.ctx-menu {
  position: fixed;
  z-index: 99999;
  min-width: 220px;
  background: rgba(18, 15, 10, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(156, 90, 20, 0.35);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: scale(0.94) translateY(-6px);
  transform-origin: top left;
  transition:
    opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  user-select: none;
}

.ctx-menu.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.ctx-menu.flip-x {
  transform-origin: top right;
}

.ctx-menu.flip-y {
  transform-origin: bottom left;
}

.ctx-menu.flip-x.flip-y {
  transform-origin: bottom right;
}

.ctx-divider {
  height: 1px;
  background: rgba(156, 90, 20, 0.2);
  margin: 4px 6px;
}

.ctx-label {
  padding: 4px 10px 2px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.3);
  pointer-events: none;
}

.ctx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  color: rgba(247, 243, 236, 0.82);
  font-family: 'DM Sans', 'Roboto', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
  white-space: nowrap;
}

.ctx-item:hover {
  background: rgba(156, 90, 20, 0.22);
  color: #f5d9b0;
  transform: translateX(2px);
}

.ctx-item:active {
  background: rgba(156, 90, 20, 0.35);
}

.ctx-item svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.12s;
}

.ctx-item:hover svg {
  opacity: 1;
}

.ctx-item .ctx-shortcut {
  margin-left: auto;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: rgba(247, 243, 236, 0.25);
  padding-left: 1.5rem;
}

.ctx-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(18, 15, 10, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(156, 90, 20, 0.4);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-family: 'DM Sans', 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: #f5d9b0;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
}

.ctx-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header navigation */
.header-nav {
  position: relative;
  z-index: 1;
}

/* Footer outside CTAs */
.footer-outside-group {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.footer-outside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer-outside-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.4);
  margin: 0;
}

.footer-outside-label svg {
  flex-shrink: 0;
}

.footer-outside-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-light);
  text-decoration: none;
  border: 1px solid rgba(156, 90, 20, 0.4);
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-outside-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.footer-ext-icon {
  flex-shrink: 0;
}