/* Local overrides for faithful White Butter replica */

html {
  --font-cinzel: "Cinzel", "__Cinzel_e99beb", serif;
  --font-cormorant: "Cormorant Garamond", "__Cormorant_Garamond_2b785a", Georgia, serif;
  --font-montserrat: "Montserrat", "__Montserrat_71fdf6", system-ui, sans-serif;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fill images (Next.js Image fill pattern) */
img[data-nimg="fill"] {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  object-fit: cover;
  color: transparent;
}

.carousel-track {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#spiritual-track > div,
#suites-track > div {
  flex-shrink: 0;
}

#enquiry-modal:not(.hidden) {
  display: flex;
}

/* Homepage promo — left-side floating card (non-blocking) */
.promo-popup {
  position: fixed;
  left: 3.35rem;
  bottom: 2rem;
  z-index: 90;
  pointer-events: none;
}

.promo-popup[hidden] {
  display: none !important;
}

.promo-popup-panel {
  position: relative;
  pointer-events: auto;
  width: min(228px, 42vw);
  max-height: min(58vh, 520px);
  border-radius: 6px;
  overflow: visible;
  transform-origin: left bottom;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-120%);
  transition:
    opacity 0.45s ease,
    transform 0.75s cubic-bezier(0.34, 1.4, 0.64, 1),
    visibility 0.45s ease;
}

.promo-popup-float {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #fbf7f0;
  border: 1px solid rgba(139, 74, 43, 0.22);
  box-shadow:
    0 18px 40px rgba(58, 42, 30, 0.18),
    0 0 0 1px rgba(251, 247, 240, 0.6) inset;
}

.promo-popup.is-open .promo-popup-panel,
.promo-popup.is-visible .promo-popup-panel {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
}

.promo-popup.is-open .promo-popup-float,
.promo-popup.is-visible .promo-popup-float {
  animation: promoGentleFloat 5s ease-in-out 0.8s infinite;
}

.promo-popup.is-closing .promo-popup-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-120%) scale(0.92);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    visibility 0.4s ease;
}

.promo-popup.is-closing .promo-popup-float {
  animation: none;
}

.promo-popup.is-pushed-aside .promo-popup-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-120%) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    visibility 0.35s ease;
}

.promo-popup-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbf7f0;
  background: linear-gradient(135deg, #8b4a2b, #6e3a22);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(110, 58, 34, 0.25);
}

.promo-popup-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(251, 247, 240, 0.92);
  color: #8b4a2b;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(58, 42, 30, 0.15);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.promo-popup-close:hover {
  background: #8b4a2b;
  color: #fbf7f0;
  transform: rotate(90deg) scale(1.08);
}

.promo-popup-link {
  display: block;
  line-height: 0;
  transition: filter 0.3s ease;
}

.promo-popup-link:hover {
  filter: brightness(1.03);
}

.promo-popup-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: cover;
  object-position: top center;
}

@keyframes promoGentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 640px) {
  .promo-popup {
    left: 0.85rem;
    bottom: 5.75rem;
    z-index: 90;
  }

  .promo-popup-panel {
    width: min(168px, 38vw);
    max-height: min(46vh, 380px);
  }

  .promo-popup-image {
    max-height: min(46vh, 380px);
  }
}

@media (min-width: 1024px) {
  .promo-popup {
    left: 3.6rem;
    bottom: 2.5rem;
  }

  .promo-popup-panel {
    width: 240px;
    max-height: min(62vh, 560px);
  }

  .promo-popup-image {
    max-height: min(62vh, 560px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Smooth header shadow on scroll */
.site-header.site-header-scrolled {
  box-shadow: 0 10px 36px rgba(58, 42, 30, 0.1);
}

/* ---------- Slim header + left slide drawer ---------- */
.site-header {
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 74, 43, 0.14);
}

.header-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .header-bar {
    padding: 1rem 1.75rem;
  }
}

.header-logo {
  width: 150px;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.header-logo:hover {
  opacity: 0.88;
}

@media (min-width: 768px) {
  .header-logo {
    width: 195px;
  }
}

/* Left-edge menu ribbon */
.drawer-trigger {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.45rem;
  background: rgba(251, 247, 240, 0.97);
  border: 1px solid rgba(139, 74, 43, 0.16);
  border-left: none;
  border-radius: 0 5px 5px 0;
  box-shadow: 4px 0 20px rgba(58, 42, 30, 0.07);
  cursor: pointer;
  color: #8b4a2b;
  transform: translateY(-50%);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease,
    left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #8b4a2b 30%, #8b4a2b 70%, transparent);
  opacity: 0.7;
}

.drawer-trigger:hover,
.drawer-trigger[aria-expanded="true"] {
  background: #8b4a2b;
  color: #fbf7f0;
  padding-left: 0.65rem;
  box-shadow: 6px 0 28px rgba(110, 58, 34, 0.18);
}

.drawer-trigger[aria-expanded="true"] {
  z-index: 75;
  left: min(100vw, 380px);
  transform: translate(-100%, -50%);
  border-radius: 0 5px 5px 0;
  border: 1px solid rgba(139, 74, 43, 0.16);
  border-left: none;
}

.drawer-trigger-icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-trigger-icon span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.drawer-trigger[aria-expanded="true"] .drawer-trigger-icon span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.drawer-trigger[aria-expanded="true"] .drawer-trigger-icon span:nth-child(2) {
  opacity: 0;
}

.drawer-trigger[aria-expanded="true"] .drawer-trigger-icon span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.drawer-trigger-label {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
}

@media (max-width: 640px) {
  .drawer-trigger {
    top: auto;
    bottom: 1.5rem;
    transform: none;
    flex-direction: row;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0 5px 5px 0;
    border-left: none;
  }

  .drawer-trigger-label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.22em;
    font-size: 0.58rem;
  }

  .drawer-trigger[aria-expanded="true"] {
    left: min(100vw, 380px);
    transform: translateX(-100%);
  }
}

/* Drawer backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(58, 42, 30, 0.42);
  backdrop-filter: blur(3px);
  animation: drawerFade 0.4s ease;
}

.drawer-backdrop[hidden] {
  display: none !important;
}

/* Slide panel */
.site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: min(100%, 380px);
  height: 100%;
  transform: translateX(-105%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.site-drawer-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.92) 45%, rgba(251, 247, 240, 0.88) 100%),
    url("https://thewhitebutter.in/images/images/TWB%20-%20Suite%20-%20Living%20Room_.png") center bottom / cover no-repeat;
}

.site-drawer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 247, 240, 0.98) 0%, rgba(251, 247, 240, 0.94) 55%, rgba(251, 247, 240, 0.78) 100%);
}

.site-drawer-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  .site-drawer-inner {
    padding: 2rem 2rem 1.5rem;
  }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.drawer-kicker {
  font-family: var(--font-cinzel), serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: #6e3a22;
  margin: 0;
  text-transform: uppercase;
}

.drawer-close {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(139, 74, 43, 0.35);
  cursor: pointer;
  color: #8b4a2b;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-close:hover {
  background: #8b4a2b;
  color: #fbf7f0;
}

.drawer-rules {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1.5rem;
}

.drawer-rules span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 74, 43, 0.45), rgba(139, 74, 43, 0.12));
}

.drawer-rules span:last-child {
  width: 65%;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-story {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(139, 74, 43, 0.14);
  text-decoration: none;
  color: #3a2a1e;
  font-family: var(--font-cinzel), serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, padding-left 0.3s ease;
}

.drawer-link span {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: rgba(139, 74, 43, 0.5);
  min-width: 1.25rem;
}

.drawer-link:hover,
.drawer-link.is-active {
  color: #6e3a22;
  padding-left: 0.35rem;
}

.drawer-discover {
  margin-top: 1.25rem;
  padding-top: 0;
}

.drawer-discover-label {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(139, 74, 43, 0.55);
  margin: 0 0 0.85rem;
}

.drawer-discover-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.drawer-pill {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  background: #8b4a2b;
  border: 1px solid #8b4a2b;
  color: #fbf7f0;
  transition: filter 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.drawer-pill:hover,
.drawer-pill.is-active {
  filter: brightness(1.06);
}

.drawer-pill-outline {
  background: rgba(251, 247, 240, 0.85);
  color: #8b4a2b;
}

.drawer-pill-outline:hover,
.drawer-pill-outline.is-active {
  background: #8b4a2b;
  color: #fbf7f0;
}

.drawer-cta {
  display: inline-block;
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fbf7f0;
  padding: 0.65rem 1.1rem;
  background: linear-gradient(180deg, #8b4a2b 0%, #6e3a22 100%);
  border: 1px solid #6e3a22;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.drawer-cta:hover,
.drawer-cta.is-active {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(110, 58, 34, 0.22);
}

/* Staggered link reveal when open */
.site-drawer.is-open .drawer-link {
  animation: drawerLinkIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-drawer.is-open .drawer-story li:nth-child(1) .drawer-link { animation-delay: 0.08s; }
.site-drawer.is-open .drawer-story li:nth-child(2) .drawer-link { animation-delay: 0.13s; }
.site-drawer.is-open .drawer-story li:nth-child(3) .drawer-link { animation-delay: 0.18s; }
.site-drawer.is-open .drawer-story li:nth-child(4) .drawer-link { animation-delay: 0.23s; }
.site-drawer.is-open .drawer-story li:nth-child(5) .drawer-link { animation-delay: 0.28s; }

.site-drawer.is-open .drawer-discover {
  animation: drawerLinkIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

@keyframes drawerFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drawerLinkIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body.drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .site-drawer,
  .site-drawer.is-open .drawer-link,
  .site-drawer.is-open .drawer-discover {
    transition: none;
    animation: none;
  }
}

/* Accent checkbox color fallback */
.accent-copper {
  accent-color: #8b4a2b;
}

/* ---------- Subpage helpers ---------- */
.page-hero {
  position: relative;
}

.floor-tab {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b4a2b;
  background: transparent;
  border: 1px solid rgba(139, 74, 43, 0.35);
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.floor-tab:hover,
.floor-tab.is-active {
  background: #8b4a2b;
  color: #fbf7f0;
  border-color: #8b4a2b;
}

.floor-panel[hidden] {
  display: none !important;
}

.brochure-viewer {
  position: relative;
}

/* Document cards (brochure page) */
.doc-section {
  margin-top: -1rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .doc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 74, 43, 0.22);
  box-shadow: 0 8px 28px rgba(58, 42, 30, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.doc-card:hover {
  box-shadow: 0 14px 36px rgba(58, 42, 30, 0.1);
  transform: translateY(-2px);
}

.doc-card-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-cinzel), serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(139, 74, 43, 0.35);
}

.doc-card-icon {
  color: #8b4a2b;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.doc-card-label {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(139, 74, 43, 0.65);
  margin: 0 0 0.5rem;
}

.doc-card-title {
  font-family: var(--font-cinzel), serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #6e3a22;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.doc-card-desc {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(58, 42, 30, 0.82);
  margin: 0;
  flex: 1;
  max-width: 22rem;
}

.doc-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.doc-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.9rem;
  color: #8b4a2b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.doc-card-link:hover {
  color: #6e3a22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-btn {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  min-width: 7.5rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid #8b4a2b;
}

.doc-btn-primary {
  background: #8b4a2b;
  color: #fbf7f0;
}

.doc-btn-primary:hover {
  background: #6e3a22;
  border-color: #6e3a22;
}

.doc-btn-outline {
  background: transparent;
  color: #8b4a2b;
}

.doc-btn-outline:hover {
  background: #8b4a2b;
  color: #fbf7f0;
}

/* Floor plan page */
.floor-plan-hero {
  padding-top: 160px;
  background: radial-gradient(ellipse at center, #f4ecdc 0%, #e8dbc4 55%, #fbf7f0 100%);
}

@media (min-width: 768px) {
  .floor-plan-hero {
    padding-top: 180px;
  }
}

.floor-plan-hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.floor-plan-ornament {
  display: block;
  margin: 0 auto 2rem;
  color: #6e3a22;
  opacity: 0.9;
}

.floor-plan-kicker {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8b4a2b;
  margin: 0 0 1rem;
}

.floor-plan-title {
  font-family: var(--font-cinzel), serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  color: #6e3a22;
  line-height: 1.25;
  margin: 0;
}

.floor-plan-lead {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(58, 42, 30, 0.82);
  margin: 1.25rem auto 0;
  max-width: 36rem;
}

.floor-plan-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.floor-plan-pdf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(139, 74, 43, 0.22);
  box-shadow: 0 8px 28px rgba(58, 42, 30, 0.06);
}

@media (min-width: 768px) {
  .floor-plan-pdf-card {
    flex-direction: row;
    text-align: left;
    padding: 2rem 2.25rem;
    align-items: center;
  }

  .floor-plan-pdf-actions {
    flex-shrink: 0;
    flex-direction: column;
    min-width: 10rem;
  }
}

.floor-plan-pdf-icon {
  color: #8b4a2b;
  flex-shrink: 0;
}

.floor-plan-pdf-body {
  flex: 1;
}

.floor-plan-pdf-label {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(139, 74, 43, 0.65);
  margin: 0 0 0.5rem;
}

.floor-plan-pdf-title {
  font-family: var(--font-cinzel), serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #6e3a22;
  margin: 0 0 0.65rem;
}

.floor-plan-pdf-desc {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(58, 42, 30, 0.82);
  margin: 0;
  max-width: 36rem;
}

.floor-plan-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.floor-plan-section-head {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.floor-plan-section-title {
  font-family: var(--font-cinzel), serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #6e3a22;
  margin: 0;
}

.floor-plan-section-lead {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(58, 42, 30, 0.75);
  margin: 0.75rem auto 0;
  max-width: 32rem;
}

.floor-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .floor-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .floor-plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.floor-plan-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 74, 43, 0.2);
  box-shadow: 0 6px 22px rgba(58, 42, 30, 0.05);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.floor-plan-card:hover {
  box-shadow: 0 12px 30px rgba(58, 42, 30, 0.09);
  transform: translateY(-2px);
}

.floor-plan-card-image {
  background: #fff;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(139, 74, 43, 0.12);
}

.floor-plan-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.floor-plan-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.floor-plan-card-num {
  font-family: var(--font-montserrat), system-ui, sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(139, 74, 43, 0.55);
  margin: 0 0 0.35rem;
}

.floor-plan-card-title {
  font-family: var(--font-cinzel), serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #6e3a22;
  margin: 0 0 0.35rem;
}

.floor-plan-card-units {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.9rem;
  color: #8b4a2b;
  margin: 0 0 0.25rem;
}

.floor-plan-card-area {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(58, 42, 30, 0.88);
  margin: 0 0 0.65rem;
}

.floor-plan-card-desc {
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(58, 42, 30, 0.78);
  margin: 0;
  flex: 1;
}

.floor-plan-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 0.9rem;
  color: #8b4a2b;
  text-decoration: none;
}

.floor-plan-card-link:hover {
  color: #6e3a22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floor-plan-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: 4rem;
}

select.body-serif,
select {
  appearance: none;
  border-radius: 0;
}

/* Slim header offsets */
section[id],
.page-hero {
  scroll-margin-top: 130px;
}

#hero {
  padding-top: 140px !important;
}

@media (min-width: 768px) {
  #hero {
    padding-top: 155px !important;
  }
}

.page-hero {
  padding-top: 145px !important;
}

@media (max-width: 520px) {
  section[id],
  .page-hero {
    scroll-margin-top: 115px;
  }

  #hero {
    padding-top: 125px !important;
  }

  .page-hero {
    padding-top: 125px !important;
  }
}

/* Footer contact + social */
.site-footer .footer-contact-link {
  display: block;
  color: #fbf7f0;
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.site-footer .footer-contact-link:hover {
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-social-link:hover {
  background: #fbf7f0;
  color: #6e3a22 !important;
}

.site-footer .footer-cta-btn:hover {
  background: #fbf7f0;
  color: #6e3a22 !important;
}
