/* ==========================================================================
   AIRAVAT TURNKEY — Warm Golden Beige Architectural Atelier Theme
   Palette: Warm Golden Beige, Honey Sand, Aged Brass & Rich Walnut
   Typography: Cormorant Garamond (Serif) & Figtree (Sans-Serif)
   ========================================================================== */

:root {
  --color-scheme: light;
  
  /* Primary Warm Golden Beige Backgrounds */
  --bg: #f5eedf;             /* Warm golden beige primary canvas */
  --bg-warm: #f2e7d3;        /* Deeper warm beige for hero/sections */
  --bg-dark: #231b14;        /* Deep espresso-walnut contrast band & footer */
  --navy: #231b14;           /* Contrast band background */
  
  /* Warm Accent & Surface Tones */
  --sand: #eadbc4;           /* Warm honey-sand for highlight strips & cards */
  --sand-dim: #dfcbb0;       /* Defined warm border / separator */
  --cream: #faf5eb;          /* Warm golden ivory for cards */
  --bone: #eedfc9;           /* Soft warm bone accent */
  
  /* Warm Walnut & Gold Tones */
  --walnut: #433222;         /* Deep rich walnut */
  --walnut-light: #58422f;   /* Medium warm walnut */
  --brass: #b89047;          /* Warm antique brass gold */
  --brass-soft: #cfa858;     /* Glowing warm gold */
  --gold-glow: rgba(184, 144, 71, 0.18);
  
  /* Stone & Borders */
  --stone: #786d63;          /* Warm earthy stone */
  --stone-light: #a39688;    /* Muted warm grey */
  --stone-border: #decfb8;   /* Warm golden-sand border */
  
  /* Warm Ink Typography */
  --ink: #26201a;            /* Deep warm espresso ink (softer than black) */
  --ink-muted: #5c5247;      /* Warm taupe-espresso body text */
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 4px rgba(67, 50, 34, 0.05);
  --shadow-md: 0 4px 16px rgba(67, 50, 34, 0.08);
  --shadow-lg: 0 12px 36px rgba(67, 50, 34, 0.12);
  --shadow-float: 0 8px 24px rgba(42, 32, 22, 0.22);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(245, 238, 223, 0.92);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.wrap {
  width: 100%;
  padding-left: clamp(1rem, 3.5vw, 4rem);
  padding-right: clamp(1rem, 3.5vw, 4rem);
}

.inner {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}

.section {
  padding-top: clamp(2.25rem, 4vw, 3.75rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.75rem);
  background-color: var(--bg);
}

.section .head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
  text-align: left;
}

.section .head > div {
  max-width: 860px;
}

.section .head p {
  color: var(--ink-muted);
  max-width: 720px;
  font-size: 1.075rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  transform: translate3d(0, 0, 0);
  contain: layout style;
  transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.top.scrolled, .top.solid {
  background-color: rgba(245, 238, 223, 0.98);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--stone-border);
  box-shadow: 0 4px 20px rgba(67, 50, 34, 0.06);
}

.top.scrolled .brand, .top.solid .brand {
  color: var(--ink);
}

.top.scrolled .nav a, .top.solid .nav a {
  color: var(--ink);
}

.top.scrolled .nav a:hover, .top.solid .nav a:hover {
  color: var(--brass);
}

.top.scrolled .lang, .top.solid .lang {
  color: var(--ink);
  border-color: var(--stone-border);
  background: rgba(255, 255, 255, 0.4);
}

.top.scrolled .menu-btn i, .top.solid .menu-btn i {
  background-color: var(--ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

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

.brand b {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand small {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--brass-soft);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b89047, #f6e5b8, #b89047);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav a:hover::after, .nav a[style*="brass"]::after {
  width: 100%;
  left: 0;
}

.nav a:hover {
  color: #ffffff;
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.8125rem;
  transition: all var(--transition);
}

.lang:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang b {
  font-weight: 600;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-btn i {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  box-shadow: -8px 0 32px rgba(42, 32, 22, 0.25);
  z-index: 10001;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--stone-border);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 27, 34, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
}

.mobile-nav-backdrop.open {
  display: block;
}

body.menu-open .float {
  display: none !important;
}

.mobile-nav .close-btn {
  align-self: flex-end;
  font-size: 1.75rem;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--stone-border);
}

/* ==========================================================================
   Buttons & Interactive Actions
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  pointer-events: none;
}

.btn:hover::after {
  left: 140%;
}

.btn-solid {
  background-color: var(--walnut);
  color: #ffffff !important;
  border: 1px solid var(--walnut);
  box-shadow: 0 4px 14px rgba(67, 50, 34, 0.2);
}

.btn-solid:hover {
  background-color: var(--walnut-light);
  border-color: var(--walnut-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(67, 50, 34, 0.28);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding-top: 5rem;
}

.hero .stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero .stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(28, 22, 16, 0.86) 0%, rgba(28, 22, 16, 0.68) 55%, rgba(28, 22, 16, 0.38) 100%);
}

.hero-copy {
  width: 100%;
}

.hero-copy h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Feature Strip (Golden Honey Beige Bar)
   ========================================================================== */

.strip {
  background-color: var(--sand);
  color: var(--walnut);
  border-top: 1px solid var(--sand-dim);
  border-bottom: 1px solid var(--sand-dim);
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.strip .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.strip span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.strip span::before {
  content: "✦";
  color: var(--brass);
  font-size: 0.85rem;
}

/* ==========================================================================
   Services Grid (Homepage)
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.svc {
  background: var(--cream);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  box-shadow: var(--shadow-sm);
}

.svc:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(67, 50, 34, 0.1), 0 2px 6px rgba(184, 144, 71, 0.15);
  border-color: var(--sand-dim);
}

.svc figure {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand);
}

.svc figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc:hover figure img {
  transform: scale(1.05);
}

.svc > div {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.svc p {
  color: var(--ink-muted);
  font-size: 0.925rem;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.svc ul {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--stone-border);
  padding-top: 0.85rem;
}

.svc ul li {
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: 0.2rem 0;
  position: relative;
  padding-left: 1rem;
}

.svc ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ==========================================================================
   Galleries & Photos (Featured Projects)
   ========================================================================== */

.gallery,
.gallery.pt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.gallery > *,
.gallery figure {
  width: 100%;
  min-width: 0;
}

.gallery figure {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--sand);
  border: 1px solid var(--stone-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 50, 34, 0.12);
  border-color: var(--brass-soft);
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(30, 22, 14, 0.82), transparent);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.facts {
  display: flex;
  gap: 2rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-border);
  flex-wrap: wrap;
}

.facts span {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.facts span b {
  color: var(--ink);
  font-size: 1.2rem;
  font-family: var(--font-serif);
}

/* ==========================================================================
   Process & Payment Schedule
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.step {
  border-top: 2px solid var(--brass);
  padding-top: 1rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--walnut);
}

.step .n {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.35rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.step:hover .n {
  color: var(--walnut);
  transform: scale(1.05);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--sand);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  border: 1px solid var(--sand-dim);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.pay:hover {
  box-shadow: var(--shadow-md);
}

.pay ol {
  list-style: none;
  margin-top: 0.75rem;
}

.pay li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sand-dim);
  font-size: 0.95rem;
  color: var(--ink);
  transition: padding-left 0.25s ease;
}

.pay li:hover {
  padding-left: 0.35rem;
  color: var(--walnut);
}

.pay li b {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--walnut);
}

/* ==========================================================================
   Locations / Places
   ========================================================================== */

.places {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.places figure {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.places figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.places figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.places figure:hover img {
  transform: scale(1.04);
}

.city-list {
  list-style: none;
  margin-top: 1.25rem;
}

.city-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--stone-border);
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: padding-left 0.25s ease;
}

.city-list li:hover {
  padding-left: 0.35rem;
  color: var(--walnut);
}

.city-list small {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Contact Forms
   ========================================================================== */

.contact .inner, .contact-page .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.reach {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reach > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reach a {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  transition: color var(--transition);
}

.reach a:hover {
  color: var(--brass);
}

.form.enq {
  background: var(--sand);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--sand-dim);
  box-shadow: var(--shadow-sm);
}

.form.light-form {
  background: var(--cream);
  border: 1px solid var(--stone-border);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background-color var(--transition);
}

.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--walnut);
  background: #ffffff;
}

.map, .hours {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
  padding-top: clamp(5.25rem, 7vw, 6.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-warm);
  border-bottom: 1px solid var(--stone-border);
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 0.65rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 650px;
}

/* ==========================================================================
   Services Page Rows
   ========================================================================== */

.svc-rows {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.svc-row {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--stone-border);
  align-items: start;
}

.svc-row h3 {
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.svc-row .pri {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.svc-row p {
  color: var(--ink-muted);
  line-height: 1.6;
}

.svc-row ul {
  list-style: none;
}

.svc-row li {
  padding: 0.25rem 0;
  font-size: 0.925rem;
  color: var(--ink);
  position: relative;
  padding-left: 1.25rem;
}

.svc-row li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 1.2rem;
  line-height: 1;
}

/* Band Section (Deep Espresso Contrast Band) */
.section.band {
  background-color: var(--navy);
  color: #ffffff;
  border-top: 1px solid rgba(184, 144, 71, 0.2);
  border-bottom: 1px solid rgba(184, 144, 71, 0.2);
}

.section.band h2 {
  color: #ffffff;
}

.section.band .btn-ghost {
  color: #ffffff;
  border-color: rgba(245, 238, 223, 0.65);
}

.section.band .btn-ghost:hover {
  background: rgba(184, 144, 71, 0.25);
  border-color: var(--brass-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.pillar {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 1.25rem;
  transition: transform 0.3s ease;
}

.pillar:hover {
  transform: translateY(-2px);
}

.pillar h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: rgba(255,255,255,0.74);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* ==========================================================================
   Projects Page Portfolio
   ========================================================================== */

.proj-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.proj {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.proj-media figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/10;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.proj-media figure:hover {
  box-shadow: var(--shadow-md);
}

.proj-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-media figure:hover img {
  transform: scale(1.03);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
  width: 100%;
}

.thumbs figure {
  aspect-ratio: 16/11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--stone-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.thumbs figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumbs figure:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
  box-shadow: 0 4px 12px rgba(67, 50, 34, 0.12);
}

.thumbs figure:hover img {
  transform: scale(1.08);
}

.proj-copy h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  margin-bottom: 0.75rem;
}

.proj-copy p {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.spec {
  list-style: none;
  margin-top: 1.25rem;
  border-top: 1px solid var(--stone-border);
  padding-top: 0.75rem;
}

.spec li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  transition: padding-left 0.2s ease;
}

.spec li:hover {
  padding-left: 0.35rem;
  color: var(--walnut);
}

.spec small {
  color: var(--ink-muted);
}

.rooms {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.room h3 {
  font-size: 1.55rem;
  margin-bottom: 0.2rem;
}

.room p {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.room .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.room .grid.c4 {
  grid-template-columns: repeat(4, 1fr);
}

.room .grid.land {
  grid-template-columns: 1fr 1fr;
}

.room .grid figure {
  aspect-ratio: 16/11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
  border: 1px solid var(--stone-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.room .grid figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 50, 34, 0.12);
  border-color: var(--brass-soft);
}

.room .grid figure.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.room .grid figure.wide2 {
  grid-column: span 2;
}

.room .grid figure img, .room .solo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room .grid figure:hover img {
  transform: scale(1.05);
}

.room .solo {
  margin-top: 0.85rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--stone-border);
}

/* ==========================================================================
   About Page: Studio & Founders
   ========================================================================== */

.story {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.story figure {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
}

.story figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.story figure:hover img {
  transform: scale(1.03);
}

.story .big {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1rem;
}

.story p {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.member {
  background: var(--cream);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.member .ph {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

.member .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member > div:last-child {
  padding: 1.5rem;
}

.member h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.member p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.foot {
  background-color: var(--navy);
  color: rgba(245, 238, 223, 0.72);
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 4.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.foot a {
  color: rgba(245, 238, 223, 0.92);
}

.foot a:hover {
  color: var(--brass-soft);
}

/* ==========================================================================
   Floating Quick Action Dock
   ========================================================================== */

.float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 998;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.float a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--walnut);
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.float a .float-text {
  display: none;
}

.float a.home {
  background: var(--cream);
  color: var(--walnut);
  border-color: rgba(184, 144, 71, 0.55);
}

.float a.wa {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.float a.call {
  background: var(--walnut);
  color: #ffffff;
  border-color: var(--walnut);
}

.float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(67, 50, 34, 0.22);
}

.float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Mobile Floating Action Buttons (Floating WhatsApp & Call Now) */
@media (max-width: 768px) {
  body {
    padding-bottom: 0 !important;
  }

  .float {
    position: fixed !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1.15rem !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.65rem !important;
    z-index: 998 !important;
  }

  .float a {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(45, 34, 22, 0.28) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .float a:active {
    transform: scale(0.92) !important;
  }

  .float a .float-text {
    display: none !important;
  }

  .float a.home {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    background: var(--cream) !important;
    color: var(--walnut) !important;
    border-color: rgba(184, 144, 71, 0.55) !important;
  }

  .float a.wa {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
  }

  .float a.call {
    background: var(--walnut) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(67, 50, 34, 0.35) !important;
  }

  .float a svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* ==========================================================================
   Lightbox Photo Viewer
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 18, 12, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(222, 207, 184, 0.2);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  background: rgba(24, 18, 12, 0.85);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(222, 207, 184, 0.25);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1180px) {
  .gallery,
  .gallery.pt {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery,
  .gallery.pt {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .proj {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .proj-copy {
    width: 100% !important;
    max-width: 100% !important;
  }
  .proj-media figure, .thumbs {
    max-width: 100% !important;
    width: 100% !important;
  }
  .places figure, .story figure, .svc figure, .gallery figure, .proj-media figure, .thumbs figure {
    min-height: unset;
  }
  .member .ph {
    min-height: unset;
  }
  .room .grid figure.tall {
    grid-row: auto;
    aspect-ratio: 16/11;
  }
  .room .grid figure.wide2 {
    grid-column: auto;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .places {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact .inner, .contact-page .inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pay {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Anchored, Connected Mobile Navbar */
  .top {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: linear-gradient(180deg, rgba(28, 20, 13, 0.86) 0%, rgba(28, 20, 13, 0.65) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .top.scrolled, .top.solid {
    background: rgba(245, 238, 223, 0.98);
    border-bottom: 1px solid var(--stone-border);
    box-shadow: 0 4px 18px rgba(42, 32, 22, 0.08);
  }
  .nav {
    gap: 0.65rem;
  }
  .nav a {
    display: none;
  }
  .menu-btn {
    display: flex;
    margin-right: -6px;
  }
  .brand b {
    font-size: 1.32rem;
  }
  .lang {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }
  
  /* Hero Mobile Typography & Stacked Touch Actions */
  .hero {
    min-height: calc(100svh - 40px);
    padding-top: 4.75rem;
    padding-bottom: 2.25rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }
  .hero-copy .lead {
    font-size: 0.975rem;
    line-height: 1.5;
  }
  .hero-copy .actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .hero-copy .actions .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  /* Page Heroes on Inner Pages */
  .page-hero {
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }
  .page-hero h1 {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem);
    line-height: 1.2;
    word-break: break-word;
  }
  .page-hero p {
    font-size: 0.975rem;
    line-height: 1.5;
  }

  /* Section Titles & Layout */
  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .section .head h2 {
    font-size: clamp(1.8rem, 6.8vw, 2.35rem);
    line-height: 1.2;
    word-break: break-word;
  }

  /* Forms & iOS Zoom Prevention (16px base) */
  .form input, .form select, .form textarea {
    font-size: 16px;
    padding: 0.7rem 0.85rem;
  }

  /* Strip: 2x2 Grid on Tablets/Mobiles */
  .strip .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
    align-items: center;
  }
  .strip span {
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .svc figure {
    aspect-ratio: 4/3;
    min-height: 260px;
  }
  .gallery, .gallery.pt {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery figure, .gallery.pt figure {
    aspect-ratio: 5/4;
    min-height: 290px;
    border-radius: var(--radius-md);
  }
  .room .grid, .room .grid.c4, .room .grid.land {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .room .grid figure {
    aspect-ratio: 4/3;
    min-height: 260px;
  }
  .team {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .member .ph {
    aspect-ratio: 16/11;
  }
  .pillars {
    grid-template-columns: 1fr;
  }

  /* Projects actions on mobile */
  .proj-copy p:has(.btn) {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }
  .proj-copy p:has(.btn) .btn {
    width: 100%;
    margin: 0;
  }

  /* Lists, Specs & Payment fitting */
  .facts {
    gap: 1rem 1.5rem;
  }
  .spec li, .pay li {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .city-list li {
    font-size: 1.05rem;
    padding: 0.55rem 0;
  }

  /* Footer on mobile */
  .foot .inner {
    flex-direction: column;
    text-align: center;
    padding-right: 0;
    gap: 0.85rem;
  }
  .foot a {
    color: rgba(245, 238, 223, 0.92);
  }
}

@media (max-width: 640px) {
  .process {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form.enq, .form.light-form {
    padding: 1.35rem 1.15rem;
  }
  .reach {
    margin-top: 1rem;
  }
  .places figure {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 480px) {
  .brand b {
    font-size: 1.25rem;
  }
  .strip .inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .room .grid, .room .grid.c4, .room .grid.land {
    grid-template-columns: 1fr;
  }
  .thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .door-seal {
    width: 170px !important;
    height: 170px !important;
    padding: 0.75rem !important;
  }
  .door-seal .seal-icon {
    font-size: 1.85rem !important;
  }
  .door-seal b {
    font-size: 1rem !important;
  }
}


/* ==========================================================================
   HERO BANNER SLIDER CONTROLS (MULTIPLE BANNERS CRUD)
   ========================================================================== */

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--brass-soft);
  border-color: #ffffff;
}

.hero .stage img {
  transition: opacity 0.65s ease, transform 6s ease;
}

/* ==========================================================================
   GRAND ARCHITECTURAL ENTRANCE DOOR PORTAL (WALK-IN TO WEBSITE SEQUENCE)
   ========================================================================== */

.door-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s;
}

.door-portal.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.door-portal.opened .loader-ring {
  animation: none;
}

.portal-arch-bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10vh;
  transform-origin: 50% 52%;
  transform: scale(1);
  transition: transform 1.25s cubic-bezier(0.32, 0, 0.22, 1), opacity 0.8s ease;
  /* Warm travertine limestone surround around the central doorway (transparent inside doorway when entering) */
  background:
    linear-gradient(180deg, rgba(40, 26, 16, 0.25) 0%, transparent 18%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 138px, rgba(90, 74, 56, 0.14) 139px, transparent 140px),
    repeating-linear-gradient(90deg, rgba(255, 250, 242, 0.08) 0px, transparent 220px, rgba(80, 65, 48, 0.08) 221px),
    radial-gradient(circle at 50% 45%, #e2d4c2 0%, #c8b69f 65%, #b39f86 100%);
}

/* Walk-in camera glide right through the doorway! */
.door-portal.entering .portal-arch-bg {
  transform: scale(2.85);
}

.door-portal.entering .foyer-backdrop {
  opacity: 0;
}

.door-portal.entering .portal-floor,
.door-portal.entering .portal-planter,
.door-portal.entering .door-skip {
  opacity: 0;
}

/* Punch out the central doorway background when entering so user sees live site behind open doors */
.door-portal.entering .portal-arch-bg {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(200, 182, 159, 0.92) 70%);
}

/* Polished Beige Marble Tile Floor */
.portal-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10.5vh;
  background:
    repeating-linear-gradient(90deg, rgba(110, 92, 70, 0.16) 0px, rgba(255, 255, 255, 0.12) 1px, transparent 2px, transparent 180px),
    linear-gradient(180deg, #b8a58e 0%, #d4c6b3 40%, #c7b6a0 100%);
  border-top: 2px solid rgba(90, 72, 52, 0.35);
  box-shadow: inset 0 12px 24px rgba(45, 32, 20, 0.22);
  z-index: 1;
  transition: opacity 0.6s ease;
}

/* Flanking Architectural Uplight Sconces on Travertine Piers */
.portal-sconce {
  position: absolute;
  bottom: 9.5vh;
  width: 140px;
  height: 220px;
  background: radial-gradient(ellipse at bottom, rgba(255, 212, 132, 0.55) 0%, rgba(255, 195, 100, 0.16) 55%, transparent 80%);
  z-index: 2;
  pointer-events: none;
  filter: blur(10px);
  transition: opacity 0.5s ease;
}

.portal-sconce.left {
  left: calc(50% - min(340px, 43vw) - 110px);
}

.portal-sconce.right {
  right: calc(50% - min(340px, 43vw) - 110px);
}

.door-portal.entering .portal-sconce,
.door-portal.entering .portal-floor,
.door-portal.entering .door-skip {
  opacity: 0;
}

/* Central Timber Doorframe */
.door-frame {
  position: relative;
  width: min(680px, 84vw);
  height: min(85vh, 750px);
  background: transparent;
  border-top: clamp(14px, 2vw, 24px) solid #4f2c14;
  border-left: clamp(12px, 1.8vw, 22px) solid #43240f;
  border-right: clamp(12px, 1.8vw, 22px) solid #43240f;
  box-shadow:
    0 28px 70px rgba(28, 18, 10, 0.55),
    inset 0 14px 28px rgba(15, 7, 2, 0.72);
  z-index: 10;
  perspective: 1400px;
  overflow: hidden;
}

/* Subtle top/bottom shadowed wooden header inside the frame */
.door-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5%;
  background: linear-gradient(180deg, rgba(22, 11, 5, 0.88) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* Interior Foyer Wall & Villa Window Preview behind doors */
.foyer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: transparent;
  overflow: hidden;
  transition: opacity 0.75s ease;
}

.foyer-window-peek {
  width: 18%;
  height: 100%;
  border-right: 4px solid #3c2c1e;
  position: relative;
  overflow: hidden;
  box-shadow: inset -12px 0 24px rgba(0, 0, 0, 0.2);
}

.foyer-window-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.foyer-wall {
  width: 82%;
  height: 100%;
  background: linear-gradient(180deg, #ede3d4 0%, #f3ebe0 55%, #ded2c0 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -8px 0 28px rgba(40, 28, 16, 0.18);
}

.foyer-spotlight {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 85%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 246, 224, 0.95) 0%, rgba(255, 232, 188, 0.45) 45%, transparent 78%);
  pointer-events: none;
}

.foyer-brand-group {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transform: translateY(-4%);
}

.foyer-arch-svg {
  width: clamp(68px, 11vw, 98px);
  height: auto;
  margin-bottom: 0.65rem;
}

.foyer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #241c14;
  line-height: 1;
}

.foyer-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.38em;
  color: #5c4934;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.foyer-loader {
  margin-top: clamp(1.25rem, 3vh, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.loader-ring {
  width: clamp(44px, 6.5vw, 62px);
  height: clamp(44px, 6.5vw, 62px);
  border-radius: 50%;
  border: 2.5px solid rgba(44, 34, 25, 0.15);
  border-top-color: #2c2219;
  border-right-color: #b89047;
  animation: spin-loader 1s linear infinite;
}

.foyer-loader span {
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  letter-spacing: 0.28em;
  color: #4a3a28;
  font-weight: 500;
}

@keyframes spin-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floor-sunlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 232, 185, 0.35) 100%);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.door-portal.open .floor-sunlight {
  opacity: 1;
}

/* 3D Fluted Teak Double Doors Stage */
.doors-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transform-style: preserve-3d;
  perspective: 1400px;
  z-index: 12;
  pointer-events: none;
}

.door-seam-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #ffecb8 0%, #ffd57a 50%, #ffb74d 100%);
  box-shadow: 0 0 22px 4px rgba(255, 206, 110, 0.95);
  z-index: 25;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.door-portal.open .door-seam-glow {
  opacity: 0;
}

.door {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: stretch;
  background-color: #2c1507;
  transition: transform 1.45s cubic-bezier(0.22, 0.85, 0.28, 1), filter 1.45s ease;
  box-shadow: 0 12px 35px rgba(10, 5, 2, 0.65);
  backface-visibility: visible;
  pointer-events: auto;
  overflow: hidden;
  cursor: pointer;
}

.door-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.door-photo.flipped {
  transform: scaleX(-1);
}

.door-left {
  transform-origin: left center;
  border-right: 1px solid rgba(255, 215, 140, 0.55);
}

.door-right {
  transform-origin: right center;
  border-left: 1px solid rgba(255, 215, 140, 0.55);
}

/* 3D Swing INWARD cleanly without steep angle distortion */
.door-portal.open .door-left {
  transform: rotateY(76deg);
  filter: brightness(0.92);
}

.door-portal.open .door-right {
  transform: rotateY(-76deg);
  filter: brightness(0.92);
}

/* Wide open further as we walk in */
.door-portal.entering .door-left {
  transform: rotateY(88deg);
}

.door-portal.entering .door-right {
  transform: rotateY(-88deg);
}

.door-handle {
  width: clamp(18px, 3vw, 30px);
  height: clamp(140px, 24vh, 210px);
  background: linear-gradient(90deg, #916a21 0%, #e8ca82 40%, #c89d47 75%, #7b5819 100%);
  border-radius: 2px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.65),
    inset 1px 0 2px rgba(255, 245, 210, 0.7);
  position: relative;
  z-index: 15;
  cursor: pointer;
}

.door-left .door-handle {
  margin-right: clamp(6px, 1vw, 12px);
}

.door-right .door-handle {
  margin-left: clamp(6px, 1vw, 12px);
}

.door-skip {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 250, 242, 0.9);
  background: rgba(34, 22, 13, 0.72);
  border: 1px solid rgba(215, 188, 138, 0.45);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 40;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}

.door-skip:hover {
  background: rgba(184, 144, 71, 0.85);
  color: #ffffff;
}

/* Mobile Adjustments for Real-Photo Door Portal */
@media (max-width: 768px) {
  .portal-arch-bg {
    padding-bottom: 12vh;
  }
  .portal-floor {
    height: 12vh;
  }
  .door-frame {
    width: 90vw;
    height: 70vh;
  }
  .portal-sconce {
    width: 90px;
    bottom: 10.5vh;
  }
  .portal-sconce.left {
    left: 0;
  }
  .portal-sconce.right {
    right: 0;
  }
  .foyer-window-peek {
    width: 14%;
  }
  .foyer-wall {
    width: 86%;
  }
  .door-skip {
    bottom: 1.15rem;
    right: 50%;
    transform: translateX(50%);
  }
}

/* ==========================================================================
   ARCHITECTURAL CSS EFFECTS & MICRO-INTERACTIONS
   ========================================================================== */

/* 1. Custom Golden Architectural Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c49a45 0%, #96702d 100%);
  border-radius: 4px;
  border: 1px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #dfb65f 0%, #b89047 100%);
}

/* 2. Text Selection in Warm Gold */
::selection {
  background: #c49a45;
  color: #ffffff;
}

/* 3. Floating WhatsApp Gentle Breathing Pulse (Composited Ring) */
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.float a.wa {
  position: relative;
}

.float a.wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  pointer-events: none;
  animation: pulse-ring 2.6s infinite cubic-bezier(0.22, 1, 0.36, 1);
}

/* 4. Luxury Scroll-Driven Fade-Up Reveal System */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll:not(.revealed) {
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger delay helpers for child elements */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

/* 5. Mobile & Responsive Layout Adjustments */
@media (max-width: 900px) {
  .door-seal {
    width: 190px;
    height: 190px;
    padding: 1rem;
  }
  .door-seal b {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   News & Blogs Section (Journal & Perspectives)
   ========================================================================== */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.blog-card {
  background: var(--cream);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(67, 50, 34, 0.12);
  border-color: var(--brass-soft);
}

.blog-card figure {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.blog-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover figure img {
  transform: scale(1.05);
}

.blog-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(30, 22, 14, 0.92);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(222, 207, 184, 0.25);
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.blog-meta .dot {
  color: var(--brass);
}

.blog-body h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  transition: color var(--transition);
}

.blog-card:hover .blog-body h3 {
  color: var(--walnut);
}

.blog-body p {
  color: var(--ink-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.blog-link {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--walnut);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition), gap var(--transition);
}

.blog-card:hover .blog-link {
  color: var(--brass);
  gap: 0.6rem;
}

/* Article Reader Modal */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 18, 12, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10005;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.article-modal.active {
  display: flex;
}

.article-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--stone-border);
}

.article-close {
  position: sticky;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--stone-border);
  color: var(--ink);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.article-close:hover {
  background: var(--walnut);
  color: #ffffff;
  transform: rotate(90deg);
}

.article-box .eyebrow {
  margin-bottom: 0.5rem;
}

.article-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.article-box .meta {
  font-size: 0.875rem;
  color: var(--ink-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--stone-border);
}

.article-box .article-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.article-box .article-content h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--walnut);
}

@media (max-width: 1024px) {
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .blog-card figure {
    aspect-ratio: 16/10;
  }
  .article-box {
    padding: 1.5rem 1.15rem;
    max-height: 94vh;
  }
}
