/* THE SHADOW — Luxury Bespoke Tailoring */

:root {
  --bg-primary: #050505;
  --bg-secondary: #0b0b0b;
  --bg-card: #111111;
  --gold: #d4af37;
  --gold-champagne: #f4d58d;
  --bronze: #8c6425;
  --text-main: #f5f1e8;
  --text-muted: #b7b0a3;
  --border-gold: rgba(212, 175, 55, 0.25);
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Montserrat', system-ui, sans-serif;
  --font-nav: 'Montserrat', system-ui, sans-serif;
  --section-py: clamp(4rem, 8vw, 6.5rem);
  --nav-height: 88px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: var(--gold-champagne);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--text-main);
}

.text-gold {
  color: var(--gold);
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.eyebrow {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-padding {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.bg-secondary-custom {
  background-color: var(--bg-secondary);
}

.bg-card-custom {
  background-color: var(--bg-card);
}

.gold-divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

.gold-divider-left {
  margin-left: 0;
  margin-right: auto;
}

/* Buttons */
.btn-gold {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold-champagne), var(--gold), var(--bronze));
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.2);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-gold:hover,
.btn-gold:focus {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn-outline-gold {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--border-gold);
  color: var(--gold-champagne);
  background: transparent;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  border-color: var(--gold);
  color: var(--text-main);
  background: rgba(212, 175, 55, 0.08);
}

.link-gold {
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-gold:hover {
  color: var(--gold-champagne);
}

.link-gold::after {
  content: '→';
  transition: transform var(--transition);
}

.link-gold:hover::after {
  transform: translateX(4px);
}

/* Navigation */
.luxury-nav {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.luxury-nav.nav-scrolled {
  background: rgba(5, 5, 5, 0.96);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .brand-logo {
    height: 58px;
  }
}

.luxury-nav .nav-link {
  font-family: var(--font-nav);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.luxury-nav .nav-link:hover,
.luxury-nav .nav-link:focus {
  color: var(--text-main);
}

.luxury-nav .nav-link.active {
  color: var(--gold-champagne);
}

.luxury-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.btn-nav-cta {
  font-family: var(--font-nav);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--gold);
  color: var(--gold-champagne) !important;
  background: rgba(212, 175, 55, 0.1);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--text-main) !important;
}

.navbar-toggler {
  border-color: var(--border-gold);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--gold);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.75) 45%, rgba(5, 5, 5, 0.55) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.12), transparent 55%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--gold-champagne), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(212, 175, 55, 0.08), transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-transform: uppercase;
}

/* Cards */
.luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.luxury-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.luxury-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.luxury-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.luxury-card:hover .luxury-card-img img {
  transform: scale(1.05);
}

.luxury-card-body {
  padding: 1.75rem;
}

.luxury-card-title {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Fabric grid */
.fabric-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.fabric-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fabric-thumb:hover img {
  transform: scale(1.08);
}

.fabric-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.5), transparent 50%);
  pointer-events: none;
}

/* Process timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 991.98px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.process-step {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
}

@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.85rem;
    width: 1rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
    z-index: 1;
  }
}

@media (max-width: 991.98px) {
  .process-step {
    margin-bottom: 1rem;
  }

  .process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -1rem;
    width: 1px;
    height: 1rem;
    background: var(--border-gold);
  }
}

.process-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Cinematic band */
.cinematic-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cinematic-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cinematic-band-overlay {
  position: absolute;
  inset: 0;
  background:
    rgba(5, 5, 5, 0.78),
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1), transparent 60%);
}

.cinematic-band-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.cinematic-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Maps */
.maps-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.maps-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.maps-placeholder i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.maps-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.maps-frame {
  min-height: 320px;
}

.btn.disabled,
.btn[aria-disabled='true'] {
  pointer-events: none;
  opacity: 0.45;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border-gold);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.65s ease, filter var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.gallery-item-span-4 {
  grid-column: span 4;
}

.gallery-item-span-6 {
  grid-column: span 6;
}

.gallery-item-span-8 {
  grid-column: span 8;
}

@media (max-width: 767.98px) {
  .gallery-item-span-4,
  .gallery-item-span-6,
  .gallery-item-span-8 {
    grid-column: span 12;
  }
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.85), transparent);
  font-family: var(--font-nav);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold-champagne);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-gold);
  color: var(--gold-champagne) !important;
  font-size: 1.1rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.social-icons a:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--text-main) !important;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  height: 100%;
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Service detail */
.service-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-gold);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

/* Editorial */
.editorial-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.editorial-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.editorial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px rgba(5, 5, 5, 0.4);
  pointer-events: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Intro split */
.intro-section .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Stock notice (gallery page) */
.stock-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border-gold);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
