/* ===== Marina Leaf Smoke Shop — Marina Del Rey Prototype ===== */

:root {
  --navy: #0d2740;
  --navy-deep: #071522;
  --navy-mid: #123a56;
  --teal: #2aa89a;
  --teal-light: #82ddd0;
  --gold: #c9a463;
  --gold-light: #eccd91;
  --emerald: #3f8a5c;
  --emerald-light: #7cc99a;
  --cream: #faf7f0;
  --cream-dim: #f1ebdd;
  --ink: #15222f;
  --muted: #5a6b78;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -22px rgba(7, 21, 34, 0.4);
  --shadow-sm: 0 10px 28px -14px rgba(7, 21, 34, 0.3);
  --glow-gold: 0 0 0 rgba(201, 164, 99, 0);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }

::selection { background: var(--gold-light); color: var(--navy-deep); }

@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;
  }
}

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

/* ===== Cursor glow (desktop only) ===== */
.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(201,164,99,0.10), transparent 70%);
  transform: translate(-50%, -50%);
  left: -500px; top: -500px;
  transition: left 0.18s ease-out, top 0.18s ease-out;
  will-change: left, top;
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 14px 28px -10px rgba(201, 164, 99, 0.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -10px rgba(201, 164, 99, 0.8); }
.btn-primary:active { transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn-outline-dark {
  border-color: rgba(13,39,64,0.3);
  color: var(--navy);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 28px -8px rgba(7,21,34,0.18);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: #fff;
  transition: color 0.35s ease;
}
.navbar.scrolled .nav-brand { color: var(--navy); }
.nav-brand img { height: 44px; width: 44px; object-fit: contain; transition: transform 0.4s ease; }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.35s ease;
}
.navbar.scrolled .nav-links a { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 24px; font-size: 0.85rem; }
.nav-social {
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.35s ease, transform 0.2s ease;
}
.navbar.scrolled .nav-social { color: var(--navy); }
.nav-social:hover { color: var(--gold); transform: scale(1.15) rotate(-6deg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  visibility: hidden;
  z-index: 1050;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201,164,99,0.16), transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(63,138,92,0.18), transparent 45%),
    radial-gradient(ellipse at 75% 90%, rgba(42,168,154,0.35), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #103246 100%);
  padding-top: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

/* --- Harbor illustration layer --- */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-scene svg { width: 100%; height: 100%; }
.sun-glow {
  animation: sunPulse 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sunPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
.wave-back { animation: waveDrift 22s linear infinite; }
.wave-mid { animation: waveDrift 16s linear infinite reverse; }
.wave-front { animation: waveDrift 11s linear infinite; }
@keyframes waveDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.boat {
  animation: boatBob 4.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes boatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1.2deg); }
}
.gull {
  animation: gullFly 14s linear infinite;
  opacity: 0.7;
}
.gull.g2 { animation-duration: 19s; animation-delay: -6s; }
.gull.g3 { animation-duration: 24s; animation-delay: -12s; }
@keyframes gullFly {
  0% { transform: translate(-10%, 0); opacity: 0; }
  8% { opacity: 0.7; }
  92% { opacity: 0.7; }
  100% { transform: translate(120vw, -30px); opacity: 0; }
}

/* --- Floating leaf particles --- */
.leaf-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.leaf-particle {
  position: absolute;
  bottom: -40px;
  width: 18px;
  height: 18px;
  opacity: 0;
  animation: leafFloat linear infinite;
  color: var(--gold-light);
}
@keyframes leafFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.55; }
  50% { transform: translateY(-52vh) translateX(24px) rotate(180deg); }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100vh) translateX(-14px) rotate(360deg); opacity: 0; }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px;
}
.hero-logo {
  width: 158px;
  height: 158px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
  animation: floatIn 1s ease both, logoFloat 5s ease-in-out 1s infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 20px;
  animation: floatIn 1s ease 0.1s both;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--teal-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 34px;
  animation: floatIn 1s ease 0.2s both;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 38px;
  animation: floatIn 1s ease 0.3s both;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.hero-meta-item .icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: floatIn 1s ease 0.4s both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-cue {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== Marquee ticker ===== */
.marquee {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid), var(--navy-deep));
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  white-space: nowrap;
}
.marquee-item svg { width: 16px; height: 16px; color: var(--teal-light); flex-shrink: 0; animation: leafSway 3s ease-in-out infinite; }
@keyframes leafSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(18deg); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section generic ===== */
.section { padding: 116px 0; }
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ===== About ===== */
.about { background: #fff; position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.03rem;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.about-tag {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--cream-dim);
  border: 1px solid rgba(13,39,64,0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.about-tag:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* Illustrated storefront panel replacing the old placeholder */
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--navy) 0%, var(--teal) 130%);
  box-shadow: var(--shadow);
}
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.storefront-glow { animation: storeGlow 3.4s ease-in-out infinite; }
@keyframes storeGlow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.storefront-leaf { animation: leafSway 4s ease-in-out infinite; transform-origin: bottom center; }
.storefront-smoke path { animation: smokeRise 5s ease-in-out infinite; }
.storefront-smoke path:nth-child(2) { animation-delay: -1.6s; }
.storefront-smoke path:nth-child(3) { animation-delay: -3.2s; }
@keyframes smokeRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.5; }
  100% { transform: translateY(-38px) scale(1.4); opacity: 0; }
}
.about-visual .frame-badge {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(7,21,34,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

/* ===== Why us / features strip ===== */
.why { background: var(--cream-dim); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,39,64,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(42,168,154,0.14), rgba(201,164,99,0.18));
  color: var(--teal);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ===== Products ===== */
.products { background: #fff; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--cream-dim);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  border: 1px solid rgba(13,39,64,0.05);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: #fff;
}
.product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(42,168,154,0.16), rgba(201,164,99,0.2));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--teal);
  position: relative;
}
.product-icon svg { width: 27px; height: 27px; position: relative; z-index: 2; }
.product-card:hover .product-icon { animation: iconPop 0.5s ease; }
@keyframes iconPop {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.12) rotate(-6deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.leaf-sway { animation: leafSway 3.6s ease-in-out infinite; transform-origin: bottom center; }
.ember { animation: emberGlow 1.8s ease-in-out infinite; }
@keyframes emberGlow {
  0%, 100% { opacity: 0.5; r: 1.4; }
  50% { opacity: 1; r: 2; }
}
.vapor { animation: vaporDrift 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes vaporDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-3px) scale(1.15); opacity: 1; }
}
.sparkle { animation: sparkleTwinkle 2.4s ease-in-out infinite; transform-origin: center; }
.sparkle.s2 { animation-delay: -1.2s; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
.bolt { animation: boltFlicker 2.6s steps(1) infinite; }
@keyframes boltFlicker {
  0%, 45%, 100% { opacity: 1; }
  48%, 52% { opacity: 0.25; }
}
.sunray { animation: rayRotate 12s linear infinite; transform-origin: center; }
@keyframes rayRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.product-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ===== Gallery (illustrated scenes) ===== */
.gallery { background: var(--cream-dim); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--teal) 120%);
  display: flex;
  align-items: flex-end;
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover { transform: scale(1.025); box-shadow: var(--shadow); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.full { grid-column: 1 / -1; }
.gallery-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,21,34,0.8) 0%, rgba(7,21,34,0.08) 55%);
  z-index: 1;
}
.gallery-item .g-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.gallery-item .g-illustration svg { width: 100%; height: 100%; }
.gallery-item .g-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item .g-label {
  position: relative;
  z-index: 2;
  padding: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.gallery-item .g-tag {
  position: relative;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 18px 14px;
  margin-top: -8px;
}
.shimmer-sweep {
  animation: shimmerMove 3.6s ease-in-out infinite;
}
@keyframes shimmerMove {
  0% { transform: translateX(-60px) skewX(-12deg); opacity: 0; }
  15% { opacity: 0.6; }
  50% { transform: translateX(160px) skewX(-12deg); opacity: 0.6; }
  65% { opacity: 0; }
  100% { transform: translateX(160px) skewX(-12deg); opacity: 0; }
}
.shelf-glow { animation: storeGlow 3s ease-in-out infinite; }
.shelf-glow:nth-child(odd) { animation-delay: -1.5s; }
.snack-pulse { animation: sparkleTwinkle 2.2s ease-in-out infinite; transform-origin: center; }
.snack-pulse:nth-child(2n) { animation-delay: -0.7s; }
.snack-pulse:nth-child(3n) { animation-delay: -1.4s; }
.frost-sparkle { animation: sparkleTwinkle 2.4s ease-in-out infinite; transform-origin: center; }
.frost-sparkle:nth-child(2n) { animation-delay: -1.2s; }

.gallery-note {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* ===== Visit Us ===== */
.visit { background: #fff; }
.visit-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}
.visit-card {
  background: var(--cream-dim);
  border-radius: var(--radius);
  padding: 44px 40px;
}
.visit-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(13,39,64,0.08);
}
.visit-row:last-of-type { border-bottom: none; padding-bottom: 6px; }
.visit-row:first-of-type { padding-top: 0; }
.visit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
}
.visit-icon svg { width: 20px; height: 20px; }
.visit-row h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}
.visit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.visit-row .hours-table {
  width: 100%;
  border-collapse: collapse;
}
.visit-row .hours-table td {
  padding: 3px 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.visit-row .hours-table td:last-child {
  text-align: right;
  color: var(--navy);
  font-weight: 600;
}
.visit-card .btn { margin-top: 26px; width: 100%; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 460px;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.map-directions-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 18px;
  background: rgba(7, 21, 34, 0);
  transition: background 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}
.map-directions-overlay:hover { background: rgba(7, 21, 34, 0.14); }
.map-directions-overlay span {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep); font-weight: 700; font-size: 0.85rem;
  padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(7, 21, 34, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.map-directions-overlay:hover span { transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(7, 21, 34, 0.55); }

/* ===== Contact ===== */
.contact { background: var(--cream-dim); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-info-item .visit-icon { background: #fff; }
.contact-info-item a, .contact-info-item span {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-info-item a:hover { color: var(--teal); }
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -8px rgba(13,39,64,0.5); }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input, .form-group textarea {
  border: 1px solid rgba(13,39,64,0.15);
  background: var(--cream-dim);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42,168,154,0.15);
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}
/* Formspree AJAX toggles visibility via the [data-fs-active] attribute it
   adds to data-fs-success / data-fs-error elements — hidden by default,
   shown (via [data-fs-active]) once the library decides to display them. */
.form-success,
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success[data-fs-active],
.form-error[data-fs-active] {
  display: flex;
}
.form-success {
  background: rgba(42,168,154,0.12);
  border: 1px solid rgba(42,168,154,0.3);
  color: #1a6f61;
}
.form-error {
  background: rgba(209,104,92,0.12);
  border: 1px solid rgba(209,104,92,0.3);
  color: #a4453a;
}
.form-field-error {
  display: none;
  color: #a4453a;
  font-size: 0.78rem;
  margin-top: 4px;
}
.form-field-error[data-fs-active] { display: block; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 46px; width: 46px; object-fit: contain; }
.footer-brand span {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
}
.footer p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer h5 {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
}
.footer-bottom .proto-badge {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-tide {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  opacity: 0.12;
  z-index: 1;
}
.footer-tide svg { width: 100%; height: auto; animation: waveDrift 26s linear infinite; }

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sticky mobile directions bar ===== */
.mobile-cta-bar {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; aspect-ratio: 16/9; }
  .why-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cursor-glow { display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn.btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .navbar { background: rgba(7,21,34,0.85); backdrop-filter: blur(10px); }
  .navbar .nav-brand, .navbar .nav-social { color: #fff; }
  .navbar .nav-toggle span { background: #fff; }

  .nav-mobile-menu {
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-deep);
    padding: 100px 32px 40px;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 26px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav-mobile-menu.open { right: 0; visibility: visible; }
  .nav-mobile-menu a {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
  }
  .nav-mobile-menu .btn { margin-top: 10px; }
  .nav-overlay {
    background: rgba(0,0,0,0.5);
  }
  .nav-overlay.open { display: block; }

  .section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: rgba(7,21,34,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    justify-content: center;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  }
  .mobile-cta-bar .btn { width: 100%; }
  body { padding-bottom: 66px; }
}

@media (max-width: 600px) {
  .why-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 16px 22px; }
  .marquee-item { font-size: 0.88rem; padding: 0 20px; }
}
