:root {
  --red: #b2231d;
  --red-bright: #d92a22;
  --black: #0a0a0a;
  --charcoal: #161616;
  --white: #ffffff;
  --muted: #6d6d6d;
  --muted-light: #a8a8a8;
  --line: #ececec;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@view-transition {
  navigation: auto;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

h2 {
  font-weight: 600;
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}

a { color: var(--red); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  height: 52px;
  width: auto;
  transition: transform 0.35s var(--ease);
}

.logo:hover {
  transform: scale(1.06) rotate(-2deg);
}

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

.nav a {
  position: relative;
  color: var(--black);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav a.active:not(.nav-cta)::after { width: 100%; }

.nav-cta.active {
  background: var(--red);
}

.nav-cta {
  background: var(--black);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(178,35,29,0.3);
}

/* Ripple / flash-click effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-el {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: ripple-out 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-out {
  to { transform: scale(1); opacity: 0; }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 40px;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--x, 50%) var(--y, 10%), rgba(178, 35, 29, 0.08), transparent 60%);
}

/* Decorative sparkles filling hero negative space */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.deco-sparkle {
  position: absolute;
  display: block;
  color: var(--red);
  opacity: 0.3;
  animation: twinkle 3.6s ease-in-out infinite;
}

.deco-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.deco-sparkle.s1 { top: 10%; left: 6%; width: 26px; height: 26px; animation-delay: 0.2s; }
.deco-sparkle.s2 { top: 16%; right: 8%; width: 18px; height: 18px; animation-delay: 1.3s; }
.deco-sparkle.s3 { bottom: 14%; left: 10%; width: 16px; height: 16px; animation-delay: 2s; }
.deco-sparkle.s4 { bottom: 9%; right: 6%; width: 24px; height: 24px; animation-delay: 0.7s; }
.deco-sparkle.s5 { top: 52%; left: 3%; width: 14px; height: 14px; animation-delay: 1.7s; }

.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--red-bright);
  opacity: 0.35;
  animation: twinkle 3.2s ease-in-out infinite;
}

.deco-dot.d1 { top: 26%; left: 17%; width: 7px; height: 7px; animation-delay: 0.9s; }
.deco-dot.d2 { top: 34%; right: 13%; width: 6px; height: 6px; animation-delay: 1.6s; }
.deco-dot.d3 { bottom: 30%; right: 20%; width: 8px; height: 8px; animation-delay: 0.3s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 0.55; transform: scale(1.15) rotate(12deg); }
}

@media (max-width: 640px) {
  .deco-sparkle.s5,
  .deco-dot { display: none; }
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-bottom: 24px;
  will-change: transform;
}

.flash-glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178,35,29,0.18) 0%, rgba(178,35,29,0) 70%);
  animation: pulse 3.4s ease-in-out infinite;
}

.hero-logo {
  max-width: 380px;
  width: 82%;
  display: block;
  animation: pop-in 0.9s var(--ease) both, float-bob 4.5s ease-in-out 1s infinite;
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.9) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.75; transform: scale(1.1); }
}

.hero-headline {
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--black);
}

/* Word-by-word blur-in reveal for headlines */
.split-words .word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  animation: word-in 0.7s var(--ease) forwards;
}

@keyframes word-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.hero-sub {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  animation: fade-up 0.9s var(--ease) 0.3s both;
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 15px 36px;
  border: none;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
  animation: fade-up 0.9s var(--ease) 0.45s both;
}

.btn:hover {
  background: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.btn:active { transform: translateY(-1px); }

/* Marquee */
.marquee {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: marquee 26s linear infinite;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: animation-play-state 0.2s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track .dot {
  color: var(--red-bright);
  font-size: 0.9rem;
}

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

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section.dark {
  background: var(--black);
  color: var(--white);
  border-bottom: none;
}

.section.dark h2 { color: var(--white); }

.section p {
  color: var(--muted);
  max-width: 640px;
}

.section.dark p { color: var(--muted-light); }

.brand-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 28px;
  margin-bottom: 36px;
}

.section.alt-bg {
  background: #f7f5f3;
}

/* Split text + media layout */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: none;
}

.split-media-text .lead { max-width: none; }

.split-media-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 780px) {
  .split-media {
    grid-template-columns: 1fr;
  }
  .split-media-image {
    order: -1;
  }
}

/* Icon cards */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(28, 26, 25, 0.08);
}

.icon-card .icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--red);
  margin-bottom: 16px;
}

.icon-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.icon-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: none;
}

/* Gallery preview strip */
.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.preview-strip a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.preview-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.preview-strip a:hover img {
  transform: scale(1.06);
}

@media (max-width: 640px) {
  .preview-strip { gap: 8px; }
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.step .icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 16px;
}

.step-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--muted-light);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: none;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: 92px 0 20px;
  background: var(--white);
  overflow: hidden;
}

.page-hero.dark {
  background: var(--black);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-deco .ph1 { top: 20%; right: 14%; width: 22px; height: 22px; animation-delay: 0.3s; }
.page-hero-deco .ph2 { bottom: 18%; right: 28%; width: 15px; height: 15px; animation-delay: 1.4s; }
.page-hero-deco .ph3 { top: 55%; right: 6%; width: 7px; height: 7px; animation-delay: 0.8s; }

.page-title {
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.page-hero.dark .page-title { color: var(--white); }

@media (max-width: 640px) {
  .page-hero-deco .ph2,
  .page-hero-deco .ph3 { display: none; }
}

/* Split / teaser sections on the home page */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, gap 0.25s ease;
}

.text-link:hover {
  border-color: var(--red);
  gap: 10px;
}

.text-link.light {
  color: var(--white);
}

.text-link.light:hover {
  border-color: var(--white);
}

.center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.center-text {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.15rem;
  max-width: 680px;
}

/* Gallery */
.gallery-placeholder {
  color: var(--muted);
  border: 1px dashed #ddd;
  padding: 64px;
  text-align: center;
  border-radius: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--cream, #f5f5f5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ddd;
  color: var(--muted);
  font-size: 0.95rem;
  cursor: default;
  text-align: center;
  padding: 24px;
}

/* Gallery videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.gallery-video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--charcoal);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  padding: 40px;
}

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

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Contact / booking form */
.contact-inner { max-width: 560px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  max-width: none;
}

.contact-info .lead { max-width: none; }

.mini-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.mini-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-direct {
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 8px;
}

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.booking-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 8px 2px;
  color: var(--black);
  font-family: inherit;
  font-size: 1.05rem;
  transition: border-color 0.3s ease;
}

.form-row textarea { resize: vertical; }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}

.form-row:focus-within::after { width: 100%; }

.booking-form .btn { align-self: flex-start; margin-top: 8px; }

/* Footer */
.site-footer {
  padding: 48px 0;
  text-align: center;
  color: var(--muted-light);
  font-size: 0.85rem;
  background: var(--black);
}

.footer-logo {
  height: 26px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.site-footer a {
  color: var(--white);
  transition: color 0.25s ease;
}

.site-footer a:hover { color: var(--red-bright); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .header-inner { flex-wrap: wrap; }

  .nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  .nav.open {
    max-height: 320px;
    padding: 10px 0 20px;
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

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

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 14px;
    border-bottom: none;
  }

  h2 { font-size: 1.7rem; }
  .hero { padding: 84px 0 30px; }
  .page-hero { padding: 80px 0 16px; }
  .section { padding: 56px 0; }
  .booking-form .btn { align-self: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
