/* =========================================================
   Kassava — Vanilla CSS recreation of the design system
   Fonts: Playfair Display (serif), DM Sans (sans), Pinyon Script (script)
   Theme: Dark luxury with Kassava red (#E53935 / hsl(2 77% 56%))
   ========================================================= */

:root {
  --background: 0 0% 3%;
  --foreground: 0 0% 98%;
  --border: 0 0% 12%;
  --card: 0 0% 4%;
  --card-foreground: 0 0% 98%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 65%;
  --primary: 2 77% 56%;
  --primary-foreground: 0 0% 98%;
  --input: 0 0% 15%;

  --bg: hsl(var(--background));
  --fg: hsl(var(--foreground));
  --border-c: hsl(var(--border));
  --card-c: hsl(var(--card));
  --muted-c: hsl(var(--muted));
  --muted-fg: hsl(var(--muted-foreground));
  --primary-c: hsl(var(--primary));
  --primary-fg: hsl(var(--primary-foreground));
  --input-c: hsl(var(--input));

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Pinyon Script', cursive;

  --container: 1280px;
  --container-narrow: 920px;
  --nav-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

[hidden] { display: none !important; }

/* ============== Layout ============== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: 6rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-card-bg { background: var(--card-c); border-top: 1px solid hsl(var(--border) / 0.5); border-bottom: 1px solid hsl(var(--border) / 0.5); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-gap-md { gap: 1.5rem; }
.grid-gap-lg { gap: 2rem; }
.grid-gap-xl { gap: 4rem; }
.grid-gap-xxl { gap: 4rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-gap-xxl { gap: 6rem; }
}
.items-center { align-items: center; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-c) !important; font-weight: 500; }
.mb-16 { margin-bottom: 4rem; }
.mobile-only { display: inline; }
@media (min-width: 768px) { .mobile-only { display: none; } }
.lg-pl-12 { padding-left: 0; }
@media (min-width: 1024px) { .lg-pl-12 { padding-left: 3rem; } }

.order-1-md { order: 1; }
.order-2-md { order: 2; }
@media (min-width: 768px) {
  .order-1-md { order: 2; }
  .order-2-md { order: 1; }
}

/* ============== Typography ============== */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}
.section-title-md {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 2rem;
}
.script-accent {
  font-family: var(--font-script);
  color: var(--primary-c);
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  display: inline-block;
}
.script-md {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
}
.script-lg {
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  margin-left: 0.25rem;
}
.hero-script {
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 1;
}
.prose {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 60ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow-line {
  width: 3rem;
  height: 1px;
  background: var(--primary-c);
}
.eyebrow-text {
  color: var(--primary-c);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow-block { display: block; margin-bottom: 1.5rem; }
.section-content > * + * { margin-top: 1.5rem; }
.section-content { display: flex; flex-direction: column; gap: 1.5rem; }

/* ============== Navbar ============== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar-transparent { background: transparent; }
.navbar-solid {
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.navbar-opaque {
  background: var(--bg);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 60;
}
.nav-logo {
  height: 40px;
  width: auto;
  border-radius: 2px;
  object-fit: cover;
}
.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.navbar-transparent .nav-brand-text,
.navbar-transparent .nav-link {
  color: #fff;
}
.navbar-solid .nav-brand-text,
.navbar-opaque .nav-brand-text,
.navbar-solid .nav-link,
.navbar-opaque .nav-link {
  color: var(--fg);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-link:hover { color: var(--primary-c); }
.nav-link.active { color: var(--primary-c); }
.nav-cta { margin-left: 1rem; }
.navbar-transparent .nav-cta {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.navbar-transparent .nav-cta:hover {
  background: rgba(255,255,255,0.1);
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--fg);
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: hsl(var(--muted) / 0.5); }
.navbar-transparent .nav-toggle { color: #fff; }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* ============== Mobile Menu ============== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 320px;
  max-width: 80vw;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-c);
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--primary-c); }
.mobile-cta {
  margin-top: 2rem;
  width: 100%;
  max-width: 200px;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: none;
}
.btn-primary {
  background: var(--primary-c);
  color: var(--primary-fg);
  border-color: hsl(var(--primary) / 0.9);
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-c);
}
.btn-outline:hover { background: hsl(var(--muted) / 0.5); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-lg {
  padding: 0 2rem;
  height: 56px;
  font-size: 1rem;
}
.btn-serif {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.btn-block { width: 100%; }

/* ============== Hero ============== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    hsl(var(--background) / 0.4) 0%,
    hsl(var(--background) / 0.6) 50%,
    hsl(var(--background)) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  margin: 5rem auto 0;
}
.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 2rem;
  border-radius: 2px;
  object-fit: cover;
}
.hero-title {
  font-family: var(--font-serif);
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
}
.hero-tagline {
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}
.hero-actions .btn { width: 100%; }
@media (min-width: 640px) { .hero-actions .btn { width: auto; min-width: 200px; } }
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* ============== Story Section ============== */
.section-story { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section-story { padding-top: 8rem; padding-bottom: 8rem; } }
.story-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: hsl(var(--primary) / 0.05);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}
.story-image-wrap { position: relative; }
.aspect-4-5 { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.aspect-3-4 { aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-inner-border {
  position: absolute;
  inset: 1rem;
  border: 1px solid hsl(var(--border) / 0.5);
  pointer-events: none;
}
.image-bottom-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.8), transparent 50%);
}
.story-image-overlay {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 66%;
  aspect-ratio: 1 / 1;
  background: var(--card-c);
  border: 1px solid hsl(var(--border) / 0.5);
  padding: 0.5rem;
  display: none;
}
@media (min-width: 768px) { .story-image-overlay { display: block; } }
.story-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-grayscale { filter: grayscale(20%); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-c);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}
.link-arrow:hover { color: hsl(var(--primary) / 0.8); }
.link-arrow svg { transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow-md { display: none; }
@media (min-width: 768px) {
  .link-arrow-md { display: inline-flex; }
  .link-arrow-mobile { display: none; }
}
.link-arrow-mobile {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

/* ============== Offerings ============== */
.offering { cursor: pointer; }
.offering-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.offering:hover .offering-image img { transform: scale(1.1); }
.offering-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.5s;
}
.offering:hover .offering-overlay { background: rgba(0,0,0,0.4); }
.offering-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}
.offering-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.offering-line {
  height: 1px;
  width: 0;
  background: var(--primary-c);
  transition: width 0.5s ease;
}
.offering:hover .offering-line { width: 100%; }
.offering-desc {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 0.875rem;
}

/* ============== Reservation Card / Forms ============== */
.reservation-card {
  background: var(--card-c);
  border: 1px solid hsl(var(--border) / 0.5);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .reservation-card { padding: 3rem; } }
.reservation-corner {
  position: absolute;
  top: 0; right: 0;
  width: 8rem;
  height: 8rem;
  background: hsl(var(--primary) / 0.1);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}
.reservation-corner-soft {
  background: hsl(var(--primary) / 0.05);
  transition: transform 0.7s ease;
}
.hover-elevate:hover .reservation-corner-soft { transform: scale(1.5); }

.form { display: flex; flex-direction: column; gap: 1.5rem; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-label {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.field-icon { color: var(--primary-c); flex-shrink: 0; }
.input {
  width: 100%;
  background: hsl(var(--background) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  color: var(--fg);
  padding: 0 0.75rem;
  height: 40px;
  font-size: 0.875rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.input::placeholder { color: hsl(var(--muted-foreground) / 0.6); }
.textarea {
  height: auto;
  min-height: 150px;
  padding: 0.75rem;
  resize: vertical;
  line-height: 1.5;
}
input[type="date"], input[type="time"] { color-scheme: dark; }
.form-note {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-align: center;
}

/* ============== Carousel ============== */
.testimonials { display: flex; flex-direction: column; justify-content: center; }
.carousel { width: 100%; }
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  padding: 0.5rem;
}
.quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--primary) / 0.3);
  margin-bottom: 1.5rem;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--fg);
}
.testimonial-author {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: var(--fg);
}
.testimonial-role {
  color: var(--primary-c);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.carousel-controls {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-left: 0.5rem;
}
.carousel-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-c);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--fg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.carousel-btn:hover {
  background: var(--muted-c);
  border-color: hsl(var(--border));
}

/* ============== Gallery Preview ============== */
.section-gallery-preview { padding-top: 6rem; padding-bottom: 6rem; }
.gallery-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}
.gp-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1 / 1;
}
.gp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gp-item:hover img { transform: scale(1.05); }
.gp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s;
}
.gp-item:hover .gp-overlay { background: rgba(0,0,0,0.4); }
@media (min-width: 768px) {
  .gp-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* ============== Page Hero ============== */
.page-hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
@media (min-width: 768px) { .page-hero { padding: 8rem 0; } }
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), hsl(var(--background) / 0.8), var(--bg));
}
.page-hero-content {
  position: relative;
  z-index: 10;
  margin-top: var(--nav-h);
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--fg);
  line-height: 1.05;
}
.page-lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted-fg);
  font-weight: 300;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============== Philosophy ============== */
.section-philosophy .section-title { margin-bottom: 4rem; }
.philosophy-grid { gap: 3rem; }
.philosophy-item { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.philosophy-num {
  width: 3rem;
  height: 3rem;
  border: 1px solid hsl(var(--primary) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-c);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.philosophy-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.philosophy-desc {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============== Gallery ============== */
.gallery-hero { background: var(--bg); }
.gallery-glow {
  position: absolute;
  background: hsl(var(--primary) / 0.05);
  pointer-events: none;
  filter: blur(100px);
}
.gallery-glow-1 {
  top: 0; right: 0;
  width: 33%; height: 400px;
  border-bottom-left-radius: 100%;
}
.gallery-glow-2 {
  bottom: 0; left: 0;
  width: 25%; height: 300px;
  border-top-right-radius: 100%;
  filter: blur(80px);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid hsl(var(--border) / 0.5);
  background: transparent;
  color: var(--muted-fg);
  transition: all 0.3s;
}
.filter-btn:hover {
  border-color: hsl(0 0% 50%);
  color: var(--fg);
}
.filter-btn.active {
  background: var(--primary-c);
  color: var(--primary-fg);
  border-color: var(--primary-c);
}
.masonry {
  column-count: 1;
  column-gap: 1.5rem;
}
@media (min-width: 768px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  display: block;
  animation: fadeInScale 0.4s ease both;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}
.masonry-item:hover img { transform: scale(1.1); }
.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: background 0.5s, opacity 0.5s;
}
.masonry-item:hover .masonry-item-overlay {
  background: hsl(var(--background) / 0.6);
  opacity: 1;
}
.masonry-item-caption {
  text-align: center;
  transform: translateY(1rem);
  transition: transform 0.5s;
}
.masonry-item:hover .masonry-item-caption { transform: translateY(0); }
.masonry-item-cat {
  color: var(--primary-c);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.masonry-item-alt {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

/* ============== Lightbox ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1024px;
  max-height: 80vh;
  background: hsl(var(--background) / 0.95);
  border: 1px solid hsl(var(--border) / 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.lightbox-image-wrap {
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
.lightbox-caption {
  padding: 1.5rem;
  background: hsl(var(--card) / 0.8);
  border-top: 1px solid hsl(var(--border) / 0.3);
  text-align: center;
}
.lightbox-cat {
  color: var(--primary-c);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}
.lightbox-alt {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--fg);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(0,0,0,0.8); }

/* ============== Contact ============== */
.contact-hero {
  background: var(--card-c);
}
.contact-radial {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--primary-c) 0%, transparent 40%);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-c);
  flex-shrink: 0;
}
.contact-item-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.contact-item-text {
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.7;
}
.contact-hours { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-hours > div { display: flex; gap: 1rem; }
.hours-label { width: 6rem; }

.map-section {
  height: 400px;
  width: 100%;
  background: var(--card-c);
  position: relative;
  overflow: hidden;
  border-top: 1px solid hsl(var(--border) / 0.5);
}
.map-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=2074&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: grayscale(100%);
}
.map-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.8);
  mix-blend-mode: multiply;
}
.map-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
}
.map-icon {
  color: var(--primary-c);
  margin: 0 auto 1rem;
}
.map-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.map-desc {
  color: var(--muted-fg);
  font-weight: 300;
}

/* ============== Footer ============== */
.footer {
  background: #050505;
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-logo { height: 48px; width: auto; border-radius: 2px; object-fit: cover; }
.footer-desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 22rem;
}
.footer-newsletter-desc { margin-bottom: 1rem; }
.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer-list-item { display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5; }
.footer-icon { color: var(--primary-c); flex-shrink: 0; margin-top: 2px; }
.footer-hours { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  padding-bottom: 0.5rem;
}
.footer-hours li.no-border { border-bottom: none; padding-top: 0.25rem; padding-bottom: 0; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form .input { flex: 1; }
.social-links { display: flex; gap: 1rem; margin-top: 2rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover { color: var(--primary-c); border-color: var(--primary-c); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--fg); }

/* ============== 404 ============== */
.notfound { padding: 12rem 1rem 8rem; }
.notfound-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--primary-c);
  line-height: 1;
  margin-bottom: 1rem;
}
.notfound-text {
  color: var(--muted-fg);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ============== Toasts ============== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100% - 3rem);
  width: 360px;
}
.toast {
  background: var(--card-c);
  border: 1px solid hsl(var(--border));
  padding: 1rem 1.25rem;
  border-radius: 4px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
  animation: toastIn 0.3s ease;
}
.toast.leaving { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  to { transform: translateX(100%); opacity: 0; }
}
.toast-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.toast-desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ============== Reveal Animations ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.reveal[data-reveal="left"] { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal.in {
  opacity: 1;
  transform: translate(0, 0);
}
