/* ============================================================
   HIRAFU ~ EAST — styles.css  (v4)
   ============================================================ */

:root {
  --navy:        #1a2b3c;
  --navy-deep:   #111e2b;
  --navy-mid:    #1f3347;
  --gold:        #b89a5e;
  --gold-light:  #d4b87a;
  --gold-pale:   #e8d5a8;
  --warm:        #f5f0e8;
  --white:       #ffffff;
  --text-dark:   #1a2b3c;
  --text-mid:    #4a5e72;
  --text-light:  #8fa3b3;
  --border:      rgba(184,154,94,0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --nav-h:    76px;
  --radius:   4px;
  --shadow:   0 20px 60px rgba(0,0,0,0.18);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === UTILITY === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-warm { background: var(--warm); }
.section-location { background: var(--white); padding-bottom: 0; }

.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-tag.light { color: var(--gold-light); }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 400; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }
.section-sub { margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.75; color: var(--text-mid); max-width: 560px; margin-left: auto; margin-right: auto; }
.section-sub.light { color: rgba(255,255,255,0.65); }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 1rem 2.2rem; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy-deep); border: 1.5px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,154,94,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.8); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid rgba(26,43,60,0.35); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.btn-full { width: 100%; justify-content: center; }

/* === ANIMATIONS === */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: var(--delay, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === NAVBAR === */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); transition: background 0.4s ease, box-shadow 0.4s ease; }
#navbar.scrolled { background: var(--navy-deep); box-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* ---- Logo: "HIRAFU ~ EAST" ---- */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--white);
  display: flex; align-items: baseline; gap: 0;
}
.logo-tilde {
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-weight: 300;
  margin: 0 0.15em;
}
.logo-accent { color: var(--gold); }
.footer-logo { font-size: 1.5rem; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding: 0.5rem 0.9rem; border-radius: var(--radius); transition: color 0.3s ease; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold) !important; color: var(--navy-deep) !important; padding: 0.55rem 1.3rem !important; margin-left: 0.5rem; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* =====================================================================
   HERO — Ken Burns Slideshow (pure CSS + JS, no video dependency)
   ===================================================================== */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy-deep);
}

/* Slides container */
.hero-slides { position: absolute; inset: 0; z-index: 0; }

/* Each individual slide */
.kb-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
/* Active slide is visible */
.kb-slide.kb-active { opacity: 1; }

/* Ken Burns animations — each nth-child gets a different direction */
.kb-slide:nth-child(1).kb-active { animation: kbZoomIn   8s ease-in-out forwards; }
.kb-slide:nth-child(2).kb-active { animation: kbPanRight  8s ease-in-out forwards; }
.kb-slide:nth-child(3).kb-active { animation: kbZoomOut   8s ease-in-out forwards; }
.kb-slide:nth-child(4).kb-active { animation: kbPanLeft   8s ease-in-out forwards; }

@keyframes kbZoomIn   { from { transform: scale(1.0);               } to { transform: scale(1.12);              } }
@keyframes kbZoomOut  { from { transform: scale(1.12);              } to { transform: scale(1.0);               } }
@keyframes kbPanRight { from { transform: scale(1.08) translateX(-3%); } to { transform: scale(1.08) translateX(3%);  } }
@keyframes kbPanLeft  { from { transform: scale(1.08) translateX(3%);  } to { transform: scale(1.08) translateX(-3%); } }

/* Slide dot indicators */
.hero-indicators {
  position: absolute;
  bottom: 6.5rem;
  right: 2.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0; cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, height 0.3s ease;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  height: 18px;
  border-radius: 3px;
  transform: none;
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.6);
}

/* Dark overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(17,30,43,0.50) 0%,
    rgba(17,30,43,0.28) 40%,
    rgba(17,30,43,0.65) 80%,
    rgba(17,30,43,0.95) 100%);
}
/* Grain texture */
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  opacity: 0.03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 1.5rem; max-width: 820px; }
.hero-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3.2rem,8vw,6.5rem); font-weight: 300; line-height: 1.05; color: var(--white); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-size: clamp(0.85rem,1.5vw,1rem); line-height: 1.8; color: rgba(255,255,255,0.72); margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: rgba(17,30,43,0.85); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 1.5rem 2rem; }
.hero-stat { display: flex; flex-direction: column; align-items: center; padding: 0 3rem; }
.stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.35rem; }
.stat-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

.hero-scroll-cue { position: absolute; left: 2.5rem; bottom: 6rem; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; opacity: 0; animation: fadeUp 1s ease 1.5s forwards; }
.scroll-line { display: block; width: 1px; height: 50px; background: var(--gold); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity:0.3; transform:scaleY(0.8); } 50% { opacity:1; transform:scaleY(1); } }
.scroll-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); writing-mode: vertical-lr; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text .section-tag { display: block; margin-bottom: 0.8rem; }
.about-text .section-title { margin-bottom: 1.75rem; }
.about-lead { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.65; color: var(--text-dark); margin-bottom: 1.25rem; }
.about-body { font-size: 0.9rem; line-height: 1.9; color: var(--text-mid); margin-bottom: 1rem; }
.about-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.about-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--nav-h) + 2rem); }
.spec-card { background: var(--white); padding: 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; transition: background 0.3s ease; }
.spec-card:hover { background: var(--warm); }
.spec-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.spec-val { font-size: 0.85rem; color: var(--text-dark); line-height: 1.5; }
.spec-val em { color: var(--text-light); font-style: normal; }

/* === FEATURES (background image) === */
.features-has-bg { position: relative; overflow: hidden; padding: 6rem 0; color: var(--white); background: var(--navy-deep); }
.features-bg-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.features-bg-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(17,30,43,0.88) 0%, rgba(17,30,43,0.78) 50%, rgba(17,30,43,0.92) 100%); opacity: 0.3;}
.features-has-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.features-inner { position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.05); }
.feature-card { padding: 2.5rem 2rem; border: 1px solid rgba(255,255,255,0.07); background: rgba(17,30,43,0.3); backdrop-filter: blur(6px); transition: background 0.4s ease, border-color 0.4s ease; }
.feature-card:hover { background: rgba(184,154,94,0.08); border-color: rgba(184,154,94,0.35); }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold); font-size: 1.1rem; margin-bottom: 1.5rem; border-radius: 50%; transition: background 0.3s ease, color 0.3s ease; }
.feature-card:hover .feature-icon { background: var(--gold); color: var(--navy-deep); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--white); margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.84rem; line-height: 1.75; color: rgba(255,255,255,0.65); }

/* =====================================================================
   GALLERY — 8 images, explicit nth-child grid placement, ZERO white space
   ===================================================================== */
#gallery { padding-bottom: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: 22vw 22vw 22vw 22vw;
  gap: 4px;
  margin-top: 3rem;
}
/* Explicit positions */
.gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 3;     grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 3;     grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 1;     grid-row: 3; }
.gallery-item:nth-child(5) { grid-column: 2;     grid-row: 3; }
.gallery-item:nth-child(6) { grid-column: 3;     grid-row: 3; }
.gallery-item:nth-child(7) { grid-column: 1;     grid-row: 4; }
.gallery-item:nth-child(8) { grid-column: 2 / 4; grid-row: 4; }

.gallery-item { position: relative; overflow: hidden; cursor: pointer; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-hover { position: absolute; inset: 0; background: rgba(17,30,43,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover i { font-size: 1.5rem; color: var(--gold-light); }
.gallery-hover span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(17,30,43,0.97); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img-wrap { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox-img-wrap img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption { margin-top: 0.75rem; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.lightbox-close,.lightbox-prev,.lightbox-next { position: absolute; color: rgba(255,255,255,0.65); font-size: 1.2rem; padding: 1rem; transition: color 0.3s ease; }
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover { color: var(--gold-light); }
.lightbox-close { top: 1.5rem; right: 2rem; font-size: 1.5rem; }
.lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   VIDEO SECTION — 4 self-hosted videos with thumbnail switcher
   ===================================================================== */
.video-section-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: stretch;
}

/* Main player */
.video-main-wrap {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(184,154,94,0.2);
  box-shadow: var(--shadow);
  /* Maintain 16:9 */
  aspect-ratio: 16 / 9;
}
.main-video-el {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Active label overlay */
.video-active-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(17,30,43,0.9), transparent);
  pointer-events: none;
}
.video-active-label span {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
}

/* Thumbnail switcher column */
.video-switcher {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 100%;
}
/* Custom scrollbar */
.video-switcher::-webkit-scrollbar { width: 4px; }
.video-switcher::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.video-switcher::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* Each thumbnail item */
.vsw-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.vsw-item:hover { border-color: rgba(184,154,94,0.4); background: rgba(184,154,94,0.05); }
.vsw-item.active { border-color: var(--gold); background: rgba(184,154,94,0.1); }

/* Thumbnail image */
.vsw-thumb {
  position: relative;
  width: 100px; height: 62px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--navy-mid);
}
.vsw-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.vsw-item:hover .vsw-thumb img,.vsw-item.active .vsw-thumb img { transform: scale(1.05); }
.vsw-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17,30,43,0.5);
  transition: background 0.3s ease;
}
.vsw-play i { font-size: 0.9rem; color: var(--white); transition: color 0.3s ease, transform 0.3s ease; }
.vsw-item.active .vsw-play { background: rgba(184,154,94,0.25); }
.vsw-item.active .vsw-play i { color: var(--gold-light); transform: scale(1.2); }

/* Text info */
.vsw-info { flex: 1; min-width: 0; }
.vsw-info strong { display: block; font-size: 0.78rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsw-info span { display: block; font-size: 0.7rem; line-height: 1.45; color: rgba(255,255,255,0.45); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Active item highlight bar */
.vsw-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}
.vsw-item { position: relative; }

/* === LOCATION === */
.location-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; }
.loc-pill { display: flex; align-items: center; gap: 0.6rem; background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 0.6rem 1.3rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-dark); transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.loc-pill i { color: var(--gold); font-size: 0.85rem; }
.loc-pill:hover { border-color: var(--gold); color: var(--navy); box-shadow: 0 4px 16px rgba(184,154,94,0.15); }
.map-fullwidth { width: 100%; overflow: hidden; border-top: 3px solid var(--gold); box-shadow: 0 -4px 30px rgba(0,0,0,0.12); }
.map-fullwidth iframe { display: block; }

/* === DEVELOPMENT === */
.dev-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.dev-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 3rem 2.5rem; transition: box-shadow 0.4s ease, border-color 0.4s ease; }
.dev-card:hover { border-color: var(--gold); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.dev-card-num { font-family: var(--font-display); font-size: 4rem; font-weight: 300; color: var(--gold-pale); line-height: 1; margin-bottom: 1rem; }
.dev-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.dev-card p { font-size: 0.88rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.5rem; }
.dev-list { display: flex; flex-direction: column; gap: 0.7rem; }
.dev-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.84rem; color: var(--text-mid); }
.dev-list i { color: var(--gold); font-size: 0.75rem; }
.subdivision-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sub-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; padding: 0.75rem 1rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); transition: background 0.2s ease; }
.sub-row:last-child { border-bottom: none; }
.sub-row:hover:not(.header) { background: var(--warm); }
.sub-row.header { background: var(--navy); color: rgba(255,255,255,0.6); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.sub-row span:not(:first-child) { text-align: right; color: var(--text-mid); }
.sub-row.header span { color: rgba(255,255,255,0.6); }
.neighbour-strip { text-align: center; padding-top: 3rem; border-top: 1px solid var(--border); }
.neighbour-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.5rem; }
.neighbour-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.neighbour-names span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); background: var(--white); border: 1px solid var(--border); padding: 0.5rem 1.2rem; border-radius: 100px; transition: border-color 0.3s ease, color 0.3s ease; }
.neighbour-names span:hover { border-color: var(--gold); color: var(--gold); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }
.contact-info .section-tag { display: block; margin-bottom: 0.8rem; }
.contact-body { font-size: 0.9rem; line-height: 1.85; color: rgba(255,255,255,0.6); margin: 1.5rem 0 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.contact-detail i { color: var(--gold); width: 20px; flex-shrink: 0; margin-top: 0.15rem; }
.contact-detail a:hover { color: var(--gold-light); }
.contact-form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(184,154,94,0.15); border-radius: var(--radius); padding: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.form-group input,.form-group textarea,.form-group select { background: rgba(255,255,255,0.06); border: 1px solid rgba(184,154,94,0.2); border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.88rem; color: var(--white); transition: border-color 0.3s ease, background 0.3s ease; outline: none; -webkit-appearance: none; }
.form-group select option { background: var(--navy-deep); color: var(--white); }
.form-group input::placeholder,.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus { border-color: var(--gold); background: rgba(184,154,94,0.06); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-footer { display: flex; flex-direction: column; gap: 0.75rem; }
.form-disclaimer { font-size: 0.7rem; color: rgba(255,255,255,0.3); text-align: center; }
.form-success { display: none; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; text-align: center; position: absolute; inset: 0; background: rgba(17,30,43,0.97); border-radius: var(--radius); justify-content: center; }
.form-success i { font-size: 3rem; color: var(--gold); }
.form-success p { font-size: 0.95rem; color: var(--white); }
.form-success.visible { display: flex; }

/* === FOOTER === */
#footer { background: var(--navy-deep); border-top: 1px solid rgba(184,154,94,0.15); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { margin-top: 1rem; font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 280px; }
.footer-pdf-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.55rem 1.1rem; border-radius: var(--radius); transition: background 0.3s ease, color 0.3s ease; }
.footer-pdf-link:hover { background: var(--gold); color: var(--navy-deep); }
.footer-links h4,.footer-contact h4 { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links ul li + li { margin-top: 0.6rem; }
.footer-links a,.footer-contact p,.footer-contact a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.3s ease; }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-links a:hover,.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { padding: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-legal { font-size: 0.7rem; line-height: 1.65; color: rgba(255,255,255,0.2); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }

.road-fullwidth {
	margin-top: 35px;
}
.dev-card.reveal .gallery-item {
	margin-bottom: 15px;
}



/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-specs { position: static; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .dev-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .video-section-layout { grid-template-columns: 1fr; }
  .video-switcher { flex-direction: row; flex-wrap: wrap; max-height: none; overflow-x: auto; }
  .vsw-item { width: calc(50% - 4px); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 4rem 0; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; }
  .nav-toggle { display: flex; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { width: 50%; padding: 1rem; border-bottom: 1px solid var(--border); }
  .stat-divider { display: none; }
  .hero-scroll-cue { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  /* Gallery — 2-col on tablet */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 35vw 35vw 35vw 35vw 35vw; }
  .gallery-item:nth-child(1),.gallery-item:nth-child(2),.gallery-item:nth-child(3),
  .gallery-item:nth-child(4),.gallery-item:nth-child(5),.gallery-item:nth-child(6),
  .gallery-item:nth-child(7),.gallery-item:nth-child(8) { grid-column: auto; grid-row: auto; }
  .gallery-item:nth-child(1) { grid-column: 1 / 3; }
  .gallery-item:nth-child(8) { grid-column: 1 / 3; }
  .vsw-item { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-specs { grid-template-columns: 1fr; }
  .about-cta-row { flex-direction: column; }
  .about-cta-row .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item { aspect-ratio: 4/3; }
  .gallery-item:nth-child(1),.gallery-item:nth-child(2),.gallery-item:nth-child(3),
  .gallery-item:nth-child(4),.gallery-item:nth-child(5),.gallery-item:nth-child(6),
  .gallery-item:nth-child(7),.gallery-item:nth-child(8) { grid-column: auto; grid-row: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .location-pills { gap: 0.5rem; }
  .vsw-thumb { width: 80px; height: 50px; }
}
