/* ==========================================================================
   HOMYPLACE — CYANOTYPE BLUEPRINT DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Blueprint Color Palette */
  --blueprint-navy: #16283D;   /* Main dark background */
  --cyanotype-blue: #2F5C82;   /* Secondary lines, borders, accents */
  --parchment: #F4EDE0;        /* Light background & cards */
  --brass-gold: #B8863B;       /* Primary accent, CTAs, focus/hover */
  --terracotta-clay: #B5583A;  /* Secondary accent, tags, warnings */
  --ink-charcoal: #1C1A17;     /* Dark text on parchment */
  --paper-white: #FBF8F2;      /* Light text/lines on navy */

  /* Typography Stack */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Easing & Timing */
  --ease-blueprint: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.5s var(--ease-blueprint);
  --transition-slow: 1.1s var(--ease-blueprint);

  /* Elevation & Shadows */
  --shadow-blueprint: 0 10px 30px rgba(11, 20, 31, 0.35);
  --shadow-gold: 0 8px 25px rgba(184, 134, 59, 0.25);

  /* Container Widths */
  --container-max: 1240px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--blueprint-navy);
  color: var(--paper-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 2px dashed var(--brass-gold);
  outline-offset: 4px;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Custom Cursor (Desktop Only) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none; /* Enabled via JS on hoverable screens */
}

.cursor-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--brass-gold);
  border-radius: 50%;
}

.cursor-crosshair::before, .cursor-crosshair::after {
  content: '';
  position: absolute;
  background: var(--brass-gold);
}

.cursor-crosshair::before {
  top: 50%;
  left: -8px;
  right: -8px;
  height: 1px;
}

.cursor-crosshair::after {
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 1px;
}

.cursor-coords {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brass-gold);
  white-space: nowrap;
  background: rgba(22, 40, 61, 0.85);
  padding: 2px 6px;
  border: 1px solid var(--cyanotype-blue);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   BACKGROUND BLUEPRINT GRID PATTERNS
   ========================================================================== */
.navy-bg {
  background-color: var(--blueprint-navy);
  color: var(--paper-white);
  position: relative;
  /* Cyanotype Grid Pattern */
  background-image:
    linear-gradient(to right, rgba(47, 92, 130, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 92, 130, 0.25) 1px, transparent 1px),
    linear-gradient(to right, rgba(47, 92, 130, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 92, 130, 0.08) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

.parchment-bg {
  background-color: var(--parchment);
  color: var(--ink-charcoal);
  position: relative;
  /* Parchment Pencil Grid Pattern */
  background-image:
    linear-gradient(to right, rgba(28, 26, 23, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 26, 23, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Section Title Block (Architectural Kop Gambar) */
.section {
  position: relative;
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--cyanotype-blue);
  overflow: hidden;
}

.parchment-bg.section {
  border-bottom: 1px solid rgba(28, 26, 23, 0.15);
}

.title-block {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  border: 1px solid var(--cyanotype-blue);
  background: rgba(22, 40, 61, 0.9);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  gap: 1.25rem;
  z-index: 10;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.parchment-bg .title-block {
  background: rgba(244, 237, 224, 0.95);
  border-color: var(--ink-charcoal);
  color: var(--ink-charcoal);
}

.tb-field {
  display: flex;
  flex-direction: column;
}

.tb-label {
  color: var(--brass-gold);
  font-size: 9px;
  font-weight: 600;
}

.tb-val {
  color: inherit;
  font-weight: 500;
}

/* ==========================================================================
   SIGNATURE ELEMENT: BLUEPRINT REVEAL ON SCROLL
   ========================================================================== */
.bp-section {
  opacity: 0.25;
  transform: translateY(30px) scale(0.99);
  filter: grayscale(80%) contrast(110%);
  transition: opacity 1s var(--ease-blueprint), transform 1s var(--ease-blueprint), filter 1.2s var(--ease-blueprint);
}

.bp-section.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: grayscale(0%) contrast(100%);
}

/* Section Header Styles */
.section-header {
  margin-bottom: 3.5rem;
  max-width: 750px;
}

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

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brass-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--ink-charcoal);
  letter-spacing: -0.5px;
}

.section-title.text-light {
  color: var(--paper-white);
}

.section-desc {
  font-size: 1.125rem;
  color: rgba(251, 248, 242, 0.8);
}

.parchment-bg .section-desc {
  color: rgba(28, 26, 23, 0.75);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--brass-gold);
  color: var(--paper-white);
  border-color: var(--brass-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: #a07330;
  border-color: #a07330;
  transform: translateY(-2px);
}

.btn-secondary-mono {
  background: transparent;
  color: var(--paper-white);
  border: 1px solid var(--cyanotype-blue);
}

.btn-secondary-mono:hover {
  border-color: var(--brass-gold);
  color: var(--brass-gold);
  background: rgba(184, 134, 59, 0.08);
}

.btn-outline-mono {
  background: transparent;
  color: var(--brass-gold);
  border: 1px solid var(--brass-gold);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-outline-mono:hover {
  background: var(--brass-gold);
  color: var(--blueprint-navy);
}

.btn-sm-gold {
  background: transparent;
  color: var(--brass-gold);
  border: 1px solid var(--brass-gold);
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.btn-sm-gold:hover {
  background: var(--brass-gold);
  color: var(--paper-white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   SIDE NAV: FLOOR PLAN MINI-MAP
   ========================================================================== */
.floorplan-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(22, 40, 61, 0.92);
  border: 1px solid var(--cyanotype-blue);
  padding: 0.75rem;
  box-shadow: var(--shadow-blueprint);
  backdrop-filter: blur(8px);
  width: 160px;
}

.floorplan-title {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brass-gold);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px dashed var(--cyanotype-blue);
  text-align: center;
}

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.fp-room {
  background: rgba(47, 92, 130, 0.2);
  border: 1px solid var(--cyanotype-blue);
  padding: 0.4rem 0.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);

  text-decoration: none;
}

.fp-code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--paper-white);
  font-weight: 600;
}

.fp-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(251, 248, 242, 0.6);
  letter-spacing: 0.5px;
}

.fp-room:hover, .fp-room.active {
  background: var(--brass-gold);
  border-color: var(--brass-gold);
  transform: scale(1.04);
}

.fp-room:hover .fp-code, .fp-room.active .fp-code {
  color: var(--blueprint-navy);
}

.fp-room:hover .fp-label, .fp-room.active .fp-label {
  color: var(--blueprint-navy);
  font-weight: 700;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(22, 40, 61, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cyanotype-blue);
  transition: all var(--transition-fast);
}

.header-title-block {
  background: rgba(11, 20, 31, 0.9);
  padding: 0.25rem 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(251, 248, 242, 0.5);
  border-bottom: 1px solid rgba(47, 92, 130, 0.4);
}

.mono-tag {
  letter-spacing: 1px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-white);
}

.logo-mark {
  color: var(--brass-gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  line-height: 1;
}

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

.brand-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--brass-gold);
  letter-spacing: 1.5px;
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
}

.nav-link,
.nav-dropdown-trigger {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(251, 248, 242, 0.75);
  letter-spacing: 0.5px;
  padding: 0.25rem 0;
  position: relative;
  background: none;
  border: none;
  margin: 0;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.nav-text-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-num {
  color: var(--brass-gold);
  margin-right: 0.2rem;
  font-weight: 600;
}

.nav-link::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-trigger:hover,
.has-dropdown.is-open .nav-dropdown-trigger {
  color: var(--paper-white);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown-trigger:hover::after,
.has-dropdown.is-open .nav-dropdown-trigger::after {
  width: 100%;
}

/* Navbar Dropdown Submenu Styles */
.nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-caret {
  color: var(--brass-gold);
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .nav-caret,
.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

/* Desktop Submenu (>=1024px) */
@media (min-width: 1024px) {
  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2050;
    min-width: 210px;
    background: #0F1E30; /* Slightly darker shade than navbar */
    border: 1px solid var(--cyanotype-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    margin-top: 0.25rem;

    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease-out, transform 0.22s ease-out, visibility 0.22s ease-out;
  }

  /* Hover buffer zone */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
  }

  .has-dropdown:hover .nav-dropdown-menu,
  .has-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown-menu li {
    width: 100%;
  }

  .nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--paper-white);
    border-left: 2px solid var(--cyanotype-blue);
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: rgba(47, 92, 130, 0.25);
    color: var(--brass-gold);
    border-left-color: var(--brass-gold);
  }
}

/* Mobile Submenu Accordion inside Hamburger (<1024px) */
@media (max-width: 1023px) {
  .nav-item.has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
  }

  .nav-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    border-bottom: 1px dashed rgba(36, 67, 102, 0.4);
    box-sizing: border-box;
  }

  .nav-dropdown-menu {
    display: none;
    width: 100%;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.35s ease, padding 0.3s ease, margin 0.3s ease;
    background: rgba(15, 30, 48, 0.6) !important;
    border: none !important;
    border-left: 2px solid var(--brass-gold) !important;
    padding: 0 0 0 0.85rem !important;
    margin: 0 0 0 0.5rem !important;
    list-style: none !important;
    border-radius: 0 !important;
  }

  .has-dropdown:hover .nav-dropdown-menu,
  .has-dropdown.is-open .nav-dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 400px !important;
    padding: 0.4rem 0 0.4rem 0.85rem !important;
    margin: 0.4rem 0 0.4rem 0.5rem !important;
  }

  .has-dropdown:hover .nav-caret,
  .has-dropdown.is-open .nav-caret {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu li {
    width: 100%;
    margin: 0;
  }

  .nav-dropdown-menu a {
    display: block;
    padding: 0.45rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(251, 248, 242, 0.85);
    border-left: none !important;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    color: var(--brass-gold);
    background: rgba(184, 134, 59, 0.12);
  }
}

/* Language Dropdown Component Styling */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--brass-gold);
  background: rgba(15, 30, 48, 0.7);
  color: var(--brass-gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.lang-dropdown-trigger:hover,
.lang-dropdown.is-open .lang-dropdown-trigger {
  background: var(--brass-gold);
  color: var(--blueprint-navy);
  box-shadow: 0 0 14px rgba(184, 134, 59, 0.4);
}

.lang-dropdown-trigger .lang-icon {
  font-size: 0.85rem;
}

.lang-dropdown-trigger .nav-caret {
  color: inherit;
  transition: transform 0.25s ease;
}

.lang-dropdown.is-open .lang-dropdown-trigger .nav-caret {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 2100;
  min-width: 170px;
  background: #0F1E30;
  border: 1px solid var(--brass-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(184, 134, 59, 0.2);
  padding: 0.35rem 0;
  list-style: none;
  margin: 0;
  border-radius: 2px;

  /* Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-dropdown.is-open .lang-dropdown-menu,
.lang-dropdown:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu li {
  width: 100%;
}

.lang-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  color: var(--paper-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.is-active {
  background: rgba(184, 134, 59, 0.12);
  color: var(--brass-gold);
  border-left-color: var(--brass-gold);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--brass-gold);
}

.lang-name {
  font-size: 0.8rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--cyanotype-blue);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--paper-white);
}

/* ==========================================================================
   SECTION 1: HERO / BERANDA
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.mono-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass-gold);
  border: 1px solid var(--cyanotype-blue);
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
  background: rgba(47, 92, 130, 0.15);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--brass-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brass-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-heading {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.serif-accent {
  font-style: italic;
  color: var(--brass-gold);
  font-weight: 400;
}

.hero-subtext {
  font-size: 1.15rem;
  color: rgba(251, 248, 242, 0.85);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-spec-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px dashed var(--cyanotype-blue);
  padding-top: 1.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brass-gold);
}

.spec-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(251, 248, 242, 0.6);
  letter-spacing: 0.5px;
}

.spec-divider {
  color: var(--cyanotype-blue);
  font-family: var(--font-mono);
}

/* Isometric Animated SVG Frame */
.blueprint-frame {
  position: relative;
  border: 1px solid var(--cyanotype-blue);
  background: rgba(11, 20, 31, 0.6);
  padding: 1.5rem;
  box-shadow: var(--shadow-blueprint);
}

.frame-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brass-gold);
  line-height: 1;
}

.top-left { top: 6px; left: 8px; }
.top-right { top: 6px; right: 8px; }
.bottom-left { bottom: 6px; left: 8px; }
.bottom-right { bottom: 6px; right: 8px; }

.dimension-line {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blueprint-navy);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brass-gold);
  border: 1px solid var(--cyanotype-blue);
}

.isometric-house-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Line Drawing Animation */
.draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawBlueprintLine 3.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.line-axis { animation-delay: 0.2s; }
.line-main { animation-delay: 0.6s; }
.line-roof { animation-delay: 1.2s; }
.line-wing { animation-delay: 1.6s; }
.line-detail { animation-delay: 2.1s; }

@keyframes drawBlueprintLine {
  to {
    stroke-dashoffset: 0;
  }
}

.blueprint-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brass-gold);
  text-align: right;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 2: TENTANG / ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-charcoal);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  border: 1px solid rgba(28, 26, 23, 0.15);
  background: rgba(251, 248, 242, 0.6);
  padding: 1.25rem;
  border-left: 3px solid var(--brass-gold);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  background: var(--paper-white);
  border-color: var(--brass-gold);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brass-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-charcoal);
}

.stat-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(28, 26, 23, 0.6);
  margin-top: 0.2rem;
}

/* Blueprint to Built Image Reveal Slider */
.blueprint-to-built-card {
  background: var(--paper-white);
  border: 1px solid rgba(28, 26, 23, 0.2);
  padding: 1rem;
  box-shadow: var(--shadow-blueprint);
}

.bb-interactive-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--terracotta-clay);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.reveal-comparison-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--cyanotype-blue);
  cursor: ew-resize;
  user-select: none;
}

.built-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.built-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blueprint-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Slider reveals layer */
  height: 100%;
  overflow: hidden;
  border-right: 2px solid var(--brass-gold);
  background: var(--blueprint-navy);
  z-index: 2;
}

.blueprint-lineart-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blueprint-lineart-graphic svg {
  width: 100%;
  height: 100%;
}

.layer-tag {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

.built-tag {
  right: 12px;
  background: rgba(28, 26, 23, 0.85);
  color: var(--paper-white);
}

.blueprint-tag {
  left: 12px;
  background: var(--brass-gold);
  color: var(--blueprint-navy);
  font-weight: 600;
}

.reveal-slider-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--brass-gold);
  z-index: 3;
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: var(--brass-gold);
  color: var(--blueprint-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.bb-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(28, 26, 23, 0.7);
  margin-top: 0.75rem;
}

.mono-code {
  color: var(--brass-gold);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 3: AKTIVITAS / WORKFLOW (STAGGERED BLUEPRINT PATHWAY)
   ========================================================================== */
.activity-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

/* Connecting dashed blueprint timeline track down the center */
.activity-timeline-line {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 2px;
  border-left: 2px dashed rgba(184, 134, 59, 0.4);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 993px) {
  /* Offset even steps (Step 02 and Step 04) down by 60px for a staggered wave effect */
  .polaroid-card.step-even {
    transform: translateY(60px);
  }
  .polaroid-card.step-even:hover {
    transform: translateY(50px) scale(1.02);
  }
}

@media (max-width: 992px) {
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .activity-timeline-line {
    left: 24px;
  }
}

.polaroid-card {
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.polaroid-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(184, 134, 59, 0.25);
}

.polaroid-card-inner {
  background: rgba(11, 20, 31, 0.94);
  backdrop-filter: blur(12px);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.4rem 1.4rem 1.4rem;
}

/* PARABOLIC ARCH DOME CARD SHAPE (UNIFORM FOR ALL STEPS) */
.polaroid-card.shape-arch-left {
  background: rgba(184, 134, 59, 0.4);
  border: 1.5px solid rgba(184, 134, 59, 0.45);
  border-radius: 170px 170px 24px 24px;
}
.polaroid-card.shape-arch-left .polaroid-card-inner {
  border-radius: 168px 168px 22px 22px;
}
.polaroid-card.shape-arch-left .card-media {
  border-radius: 140px 140px 18px 18px;
}

.card-tech-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass-gold);
  margin-top: 0.15rem;
  margin-bottom: 1.15rem;
  padding: 0 0.5rem 0.65rem 0.5rem;
  border-bottom: 1px dashed rgba(47, 92, 130, 0.5);
  width: 100%;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--brass-gold);
  text-align: center;
  background: transparent;
  border: none;
  padding: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  height: 220px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(47, 92, 130, 0.6);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(105%) brightness(95%);
  transition: transform var(--transition-normal);
}

.polaroid-card:hover .card-media img {
  transform: scale(1.06);
}

.media-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(11, 20, 31, 0.9);
  border: 1px solid var(--brass-gold);
  color: var(--brass-gold);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--paper-white);
}

.card-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(251, 248, 242, 0.78);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-spec-footer {
  margin-top: auto;
  width: 100%;
}

.btn-selengkapnya {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-gold);
  background: rgba(184, 134, 59, 0.05);
  border: 1px solid var(--brass-gold);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-selengkapnya:hover,
.btn-selengkapnya:focus-visible {
  background: var(--brass-gold);
  color: #0b141f;
  box-shadow: 0 4px 14px rgba(184, 134, 59, 0.35);
}

.btn-selengkapnya:focus-visible {
  outline: 2px solid var(--cyanotype-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   SECTION 4: PRODUK / LISTING
   ========================================================================== */

.carousel-container {
  position: relative;
  width: 100%;
}

/* Floating Visual Hint "GESER KANAN →" */
.swipe-hint-banner {
  position: absolute;
  top: 45%;
  right: 25px;
  transform: translateY(-50%);
  z-index: 8;
  pointer-events: none;
  background: rgba(22, 40, 61, 0.92);
  border: 1px solid var(--brass-gold);
  color: var(--brass-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(184, 134, 59, 0.3);
  backdrop-filter: blur(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-arrow {
  animation: bounceRight 1.5s infinite ease-in-out;
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.swipe-hint-banner.is-hidden {
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(-50%) translateX(15px) !important;
}

/* Carousel Arrow Navigation Buttons */
.nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 40, 61, 0.92);
  border: 1px solid var(--brass-gold);
  color: var(--brass-gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.nav-arrow:hover {
  background: var(--brass-gold);
  color: var(--blueprint-navy);
  box-shadow: 0 0 20px rgba(184, 134, 59, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.nav-arrow.prev { left: -22px; }
.nav-arrow.next { right: -22px; }

/* Horizontal Snap-Scroll Carousel Track */
.products-grid {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 1rem 0.5rem 2rem;
  cursor: grab;
  user-select: none;
}

.products-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.products-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* Full Property Card — Horizontal Card Deck Item */
.property-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  min-width: 320px;
  scroll-snap-align: center;
  background: var(--paper-white);
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Chamfered corner clip-path: cuts top-left & bottom-right by 28px */
  clip-path: polygon(
    28px 0%,
    100% 0%,
    100% calc(100% - 28px),
    calc(100% - 28px) 100%,
    0% 100%,
    0% 28px
  );
}

.property-card.chamfer-alt {
  /* Alternating Chamfered corner clip-path: cuts top-right & bottom-left by 28px */
  clip-path: polygon(
    0% 0%,
    calc(100% - 28px) 0%,
    100% 28px,
    100% 100%,
    28px 100%,
    0% calc(100% - 28px)
  );
}

.property-card.is-hidden {
  display: none !important;
}

/* Allowed Hover Animation: Whole card lifts up & shadow deepens */
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(22, 40, 61, 0.25);
}

/* Full Card Outline SVG & Corner Bracket Overlay */
.card-outline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.card-outline-path {
  fill: none;
  stroke: var(--cyanotype-blue);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.corner-bracket-path {
  fill: none;
  stroke: var(--brass-gold);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
  transition: stroke 0.3s ease, opacity 0.3s ease;
}

.property-card:hover .card-outline-path {
  stroke: var(--brass-gold);
}

.property-card:hover .corner-bracket-path {
  stroke: var(--brass-gold);
  opacity: 1;
}

/* Carousel Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(28, 26, 23, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.dot.active {
  width: 30px;
  border-radius: 6px;
  background: var(--brass-gold);
  box-shadow: 0 0 12px rgba(184, 134, 59, 0.4);
}

.property-card:hover .corner-bracket-path {
  stroke: var(--brass-gold);
  opacity: 1;
}

.prop-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;
  background: var(--blueprint-navy);
  color: var(--brass-gold);
  border: 1px solid var(--brass-gold);
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 3px 8px;
}

/* Rectangular Image Frame & Vertical Gallery */
.product-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blueprint-navy);
  border-bottom: 1px solid rgba(47, 92, 130, 0.3);
}

.product-image-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  clip-path: none;
  background: var(--blueprint-navy);
}

.product-image-scroll::-webkit-scrollbar {
  display: none;
}

.product-image-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: block;
}

/* Vertical Scroll Hint Indicator */
.product-image-scroll-hint {
  position: absolute;
  bottom: 8px;
  right: 12px;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 40, 61, 0.88);
  border: 1px solid var(--brass-gold);
  color: var(--brass-gold);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.95; transform: translate(0, 0); }
  50% { opacity: 0.6; transform: translate(0, 3px); }
}

.product-image-scroll-hint.is-hidden {
  opacity: 0 !important;
  visibility: hidden;
  transform: translate(0, 6px) !important;
}

/* Corner Technical Coordinate Annotation */
.prop-tech-coords {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 4;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brass-gold);
  background: rgba(22, 40, 61, 0.88);
  padding: 2px 6px;
  border: 1px solid rgba(184, 134, 59, 0.4);
  letter-spacing: 0.5px;
  backdrop-filter: blur(2px);
}

.coord-cross {
  color: var(--paper-white);
  font-weight: bold;
  margin-right: 2px;
}

.prop-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prop-location {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--terracotta-clay);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.prop-title {
  font-size: 1.35rem;
  color: var(--ink-charcoal);
  margin-bottom: 0.5rem;
}

.prop-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brass-gold);
  margin-bottom: 1rem;
}

.prop-specs-mono {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.spec-chip {
  background: rgba(28, 26, 23, 0.05);
  border: 1px solid rgba(28, 26, 23, 0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  color: var(--ink-charcoal);
}

.prop-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(28, 26, 23, 0.15);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   SECTION 5: ARTIKEL / MAGAZINE
   ========================================================================== */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  margin-top: 2rem;
}

.featured-article {
  background: rgba(11, 20, 31, 0.7);
  border: 1px solid var(--cyanotype-blue);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.featured-article:hover {
  border-color: var(--brass-gold);
}

.feat-image {
  position: relative;
  height: 320px;
}

.feat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--terracotta-clay);
  color: var(--paper-white);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;

}

.feat-content {
  padding: 1.75rem;
}

.art-meta-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass-gold);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.feat-title {
  font-size: 1.85rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feat-excerpt {
  color: rgba(251, 248, 242, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.art-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(251, 248, 242, 0.6);
  border-top: 1px dashed rgba(47, 92, 130, 0.5);
  padding-top: 1rem;
}

.read-more {
  color: var(--brass-gold);
  font-weight: 600;
}

/* Secondary Articles Stack */
.articles-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sub-article-card {
  background: rgba(11, 20, 31, 0.5);
  border: 1px solid rgba(47, 92, 130, 0.4);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.sub-article-card:hover {
  border-color: var(--brass-gold);
  transform: translateX(4px);
  background: rgba(11, 20, 31, 0.8);
}

.sub-art-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--terracotta-clay);
  margin-bottom: 0.4rem;
}

.meta-date {
  color: rgba(251, 248, 242, 0.5);
}

.sub-art-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.sub-art-desc {
  font-size: 0.9rem;
  color: rgba(251, 248, 242, 0.7);

}

/* ==========================================================================
   SECTION 6: KONTAK / CONTACT
   ========================================================================== */
.contact {
  background-color: var(--blueprint-navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
  margin-top: 1rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brass-gold);
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.contact-info .section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--paper-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-info .section-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(251, 248, 242, 0.75);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
  border-bottom: none;
}

/* .contact-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--cyanotype-blue);
  background: rgba(47, 92, 130, 0.15);
  color: var(--brass-gold);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--cyanotype-blue);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.contact-item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--paper-white);
  line-height: 1.45;
  margin: 0;
} */

/* Contact Map Container */
.contact-form-wrapper {
  height: 100%;
  min-height: 420px;
}

.contact-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid var(--cyanotype-blue);
  border-radius: 4px;
  overflow: hidden;
  background: #0B141F;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  filter: contrast(1.05) saturate(0.9);
}

/* Technical Corner Bracket Overlay on Map */
.map-corner {
  position: absolute;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--brass-gold);
  line-height: 1;
  pointer-events: none;
  background: var(--blueprint-navy);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyanotype-blue);
}

.map-corner-tl { top: 8px; left: 8px; }
.map-corner-tr { top: 8px; right: 8px; }
.map-corner-bl { bottom: 8px; left: 8px; }
.map-corner-br { bottom: 8px; right: 8px; }

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

  .contact-form-wrapper,
  .contact-map {
    min-height: 320px;
    height: 320px;
  }
}

/* Blueprint Form Styles */
.blueprint-form {
  background: rgba(11, 20, 31, 0.85);
  border: 1px solid var(--cyanotype-blue);
  padding: 2.25rem;
  box-shadow: var(--shadow-blueprint);
}

.form-title-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass-gold);
  margin-bottom: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--cyanotype-blue);

}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brass-gold);
  margin-bottom: 0.4rem;

}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(47, 92, 130, 0.15);
  border: 1px solid var(--cyanotype-blue);
  color: var(--paper-white);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass-gold);
  background: rgba(184, 134, 59, 0.08);
  box-shadow: 0 0 12px rgba(184, 134, 59, 0.2);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass-gold);
  transition: width var(--transition-fast);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  width: 100%;
}

.form-notification {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.75rem;
  display: none;
}

.form-notification.success {
  display: block;
  background: rgba(184, 134, 59, 0.2);
  border: 1px solid var(--brass-gold);
  color: var(--paper-white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b141f;
  border-top: 1px solid var(--cyanotype-blue);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(251, 248, 242, 0.65);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brass-gold);
  margin-bottom: 1.25rem;

}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(251, 248, 242, 0.7);
}

.footer-links a:hover {
  color: var(--brass-gold);
}

.mono-footer-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(251, 248, 242, 0.5);
  line-height: 1.8;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(47, 92, 130, 0.4);
  padding: 1rem 0;
  font-size: 10px;
  color: rgba(251, 248, 242, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Hamburger Toggle Button Styling */
.mobile-toggle {
  display: none;
  background: rgba(15, 30, 48, 0.7);
  border: 1px solid var(--brass-gold);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 2px;
  transition: all 0.3s ease;
  z-index: 2050;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brass-gold);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle:hover {
  background: var(--brass-gold);
}

.mobile-toggle:hover span {
  background: var(--blueprint-navy);
}

/* Animated 'X' icon when hamburger menu is open */
.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Tablet & Mobile Screens (<1024px) */
@media (max-width: 1023px) {
  .header-container {
    padding: 0.75rem 1.25rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(11, 21, 34, 0.98);
    border-bottom: 2px solid var(--brass-gold);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    z-index: 2000;

    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }

  .nav-link,
  .nav-dropdown-trigger {
    font-size: 0.95rem;
    font-family: var(--font-mono);
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(36, 67, 102, 0.4);
    box-sizing: border-box;
  }

  .floorplan-nav {
    display: none; /* Hide side map on tablet & mobile */
  }

  .custom-cursor {
    display: none !important; /* Disable custom cursor on mobile/tablet */
  }

  .hero-grid,
  .about-grid,
  .magazine-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .property-card {
    flex: 0 0 calc(50% - 0.9rem);
    min-width: 280px;
  }

  .title-block {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 2rem;
    width: fit-content;
  }

  .hero-heading {
    font-size: 2.75rem;
  }
}

/* Mobile Screens (<768px) */
@media (max-width: 767px) {
  .site-header {
    padding: 0;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 7px;
  }

  .hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-heading {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-subtext {
    font-size: 0.95rem;
  }

  .property-card {
    flex: 0 0 calc(90% - 0.5rem);
    min-width: 260px;
  }

  .swipe-hint-banner {
    right: 10px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .nav-arrow.prev { left: -10px; }
  .nav-arrow.next { right: -10px; }

  .form-row,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reveal-comparison-container {
    height: 280px;
  }

  .contact-info-card,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* Extra Small Screens (<480px) */
@media (max-width: 479px) {
  .property-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .filter-chips {
    gap: 0.4rem;
  }

  .chip {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Respect Reduced Motion Preferences */
@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;
  }

  .draw-line {
    stroke-dashoffset: 0 !important;
  }

  .bp-section {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}



