/* ==========================================================================
   Shri Prasha Ventures – Design System & Site Styles
   --------------------------------------------------------------------------
   1. Tokens          5. Header / Nav       9. Sections
   2. Base            6. Hero              10. Forms
   3. Typography      7. Cards (3D)        11. Footer
   4. Buttons         8. Property / Portfolio  12. Utilities, motion, responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --gold: #c9a227;
  --gold-2: #d4af37;
  --gold-light: #ecd590;
  --gold-pale: #f6ecc9;
  --gold-deep: #8f6b10;
  --gold-ink: #6e520b; /* gold dark enough for small text on light surfaces */

  --ink: #111111;
  --charcoal: #1a1a1a;
  --charcoal-2: #222222;
  --graphite: #2c2c2c;
  --off-white: #f8f7f3;
  --paper: #ffffff;
  --stone: #ece8dd;

  --text: #23211c;
  --text-muted: #5f5a4f;
  --text-on-dark: #f3efe4;
  --text-on-dark-muted: #b9b2a1;

  --line-light: #e4dfd1;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-gold: rgba(201, 162, 39, 0.38);

  --grad-gold: linear-gradient(100deg, #9a7716 0%, #c9a227 24%, #f1dc97 48%, #d4af37 64%, #a88317 100%);
  --grad-gold-deep: linear-gradient(100deg, #6e520b 0%, #9a7716 30%, #b8901c 55%, #8f6b10 100%);
  --grad-gold-btn: linear-gradient(135deg, #e3c766 0%, #c9a227 45%, #a88317 100%);

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;

  --shadow-1: 0 1px 2px rgba(17, 17, 17, 0.04), 0 4px 12px rgba(17, 17, 17, 0.05);
  --shadow-2: 0 2px 4px rgba(17, 17, 17, 0.04), 0 12px 28px rgba(17, 17, 17, 0.08), 0 28px 60px rgba(17, 17, 17, 0.06);
  --shadow-3: 0 4px 8px rgba(17, 17, 17, 0.06), 0 22px 44px rgba(17, 17, 17, 0.14), 0 44px 90px rgba(17, 17, 17, 0.12);
  --glow-gold: 0 0 0 1px rgba(201, 162, 39, 0.55), 0 18px 50px -12px rgba(201, 162, 39, 0.38);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --section-y: clamp(72px, 10vw, 136px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-pale);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* 3. TYPOGRAPHY ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.gold-text,
.section-title,
.card__title--gold {
  background: var(--grad-gold);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* On light surfaces use the deeper gold so headings keep contrast. */
.surface-light .section-title,
.surface-light .gold-text,
.surface-light .card__title--gold {
  background-image: var(--grad-gold-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.surface-dark .eyebrow,
.hero .eyebrow {
  color: var(--gold-light);
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  padding-bottom: 0.08em; /* keep descenders inside the clipped gradient */
}

.section-subtitle {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
}

.surface-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--text-muted);
}

.surface-dark .lead {
  color: var(--text-on-dark-muted);
}

.gold-rule {
  width: 72px;
  height: 2px;
  margin: 22px 0 0;
  border: 0;
  background: var(--grad-gold-btn);
}

.section-head--center .gold-rule {
  margin-inline: auto;
}

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(4px);
}

.btn--gold {
  color: var(--ink);
  background: var(--grad-gold-btn);
  box-shadow: 0 10px 26px -10px rgba(201, 162, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* sheen sweep on hover */
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(201, 162, 39, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--gold:hover::after {
  transform: translateX(120%);
}

.btn--outline {
  color: var(--gold-ink);
  border-color: var(--gold);
  background: transparent;
}

.btn--outline:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-2px);
}

.surface-dark .btn--outline,
.hero .btn--outline,
.cta-band .btn--outline,
.page-hero .btn--outline,
.btn--outline-light {
  color: var(--text-on-dark);
  border-color: rgba(236, 213, 144, 0.6);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.surface-dark .btn--outline:hover,
.hero .btn--outline:hover,
.cta-band .btn--outline:hover,
.page-hero .btn--outline:hover,
.btn--outline-light:hover {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--dark {
  color: var(--gold-light);
  background: var(--ink);
  border-color: var(--ink);
}

.btn--dark:hover {
  background: var(--charcoal-2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn--whatsapp {
  color: #fff;
  background: #167a45; /* 5.4:1 with white text (WCAG AA) */
  border-color: #167a45;
}

.btn--whatsapp:hover {
  background: #11613a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(31, 157, 85, 0.8);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  transition: gap 0.3s var(--ease), color 0.3s;
}

.surface-dark .link-arrow {
  color: var(--gold-light);
}

.link-arrow:hover {
  gap: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 5. HEADER / NAV ---------------------------------------------------------- */
/*
 * Light, frosted header: translucent white over the hero, solid white with a
 * soft shadow once the page scrolls. Charcoal text, gold hover/active states.
 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
  transition:
    height 0.45s var(--ease),
    background-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

/* fine gold hairline along the bottom edge */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.55) 18%, rgba(212, 175, 55, 0.85) 50%, rgba(201, 162, 39, 0.55) 82%, transparent 100%);
  pointer-events: none;
}

.site-header.is-solid {
  height: 72px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 14px 34px -18px rgba(17, 17, 17, 0.28);
}

.site-header .container {
  max-width: calc(1400px + 2 * var(--gutter));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 78px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: width 0.45s var(--ease);
}

.site-header.is-solid .brand__logo {
  width: 66px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}

/* gold active / hover indicator */
.nav__link::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 6px;
  height: 2px;
  background: var(--grad-gold-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active,
.nav__item.is-open > .nav__link {
  color: var(--gold-deep);
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item.is-open > .nav__link::after {
  transform: scaleX(1);
}

.nav__link .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.nav__item.is-open > .nav__link .icon {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -10px;
  min-width: 330px;
  padding: 10px;
  margin: 0;
  list-style: none;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
}

.dropdown::before {
  /* hover bridge between link and panel */
  content: '';
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
}

.nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (min-width: 1181px) {
  .nav__item--has-menu:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: background-color 0.25s, color 0.25s;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--off-white);
  color: var(--gold-deep);
}

.dropdown__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.dropdown a:hover .dropdown__icon {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold);
}

.dropdown__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.dropdown__desc {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.header-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.menu-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px -8px rgba(201, 162, 39, 0.6);
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
  right: 19px;
  background: var(--gold);
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

/* Mobile drawer (light) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  padding: 16px var(--gutter) 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--charcoal);
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    #fff;
  border-left: 1px solid var(--line-gold);
  box-shadow: -30px 0 60px -30px rgba(17, 17, 17, 0.35);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: none;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}

.mobile-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__list > li {
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-align: left;
  color: var(--charcoal);
  transition: color 0.25s;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active,
.mobile-nav__link[aria-expanded='true'] {
  color: var(--gold-deep);
}

.mobile-nav__link .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.mobile-nav__link[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.mobile-nav__sub.is-open {
  grid-template-rows: 1fr;
}

.mobile-nav__sub > ul {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* spacing lives inside the clipped list so a collapsed submenu is truly 0px tall */
.mobile-nav__sub li:last-child {
  padding-bottom: 12px;
}

.mobile-nav__sub a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 0 8px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 2px solid rgba(201, 162, 39, 0.4);
  transition: color 0.25s, border-color 0.25s;
}

.mobile-nav__sub a:hover {
  color: var(--gold-deep);
  border-left-color: var(--gold);
}

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 12px;
}

/* Open menu: the site header stays on top and the drawer starts below it.
   --mnav-top is the header's bottom edge, measured when the menu opens. */
.mobile-nav {
  top: var(--mnav-top, 0px);
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

html.nav-open .site-header {
  z-index: 210;
}

html.nav-open .mobile-nav__backdrop {
  touch-action: none;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Header breakpoints */
@media (max-width: 1320px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .site-header,
  .site-header.is-solid {
    height: 72px;
  }

  .brand__logo,
  .site-header.is-solid .brand__logo {
    width: 58px;
  }
}

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -6% 0 0 0;
  z-index: -3;
}

.hero__media picture {
  display: block;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* subtle cinematic overlay: darker behind the copy, open toward the sunlit land */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.9) 0%, rgba(12, 11, 9, 0.7) 36%, rgba(12, 11, 9, 0.22) 70%, rgba(12, 11, 9, 0.32) 100%),
    linear-gradient(180deg, rgba(12, 11, 9, 0.35) 0%, transparent 26%, transparent 66%, rgba(12, 11, 9, 0.92) 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__lines {
  position: absolute;
  right: -4%;
  top: 12%;
  z-index: -1;
  width: min(54vw, 760px);
  height: auto;
  opacity: 0.42;
  pointer-events: none;
}

.hero__lines path,
.hero__lines circle,
.hero__lines line {
  stroke: url(#heroGold);
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero__lines .draw {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: drawLine 3.6s var(--ease) 0.6s forwards;
}

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

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 180px;
}

.hero__content {
  position: relative;
  max-width: 820px;
}

/* vertical gold accent line beside the copy */
.hero__content::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-2) 0%, rgba(201, 162, 39, 0.5) 45%, transparent 100%);
}

.hero .eyebrow {
  color: var(--gold-light);
  margin-bottom: 22px;
}

.hero__title {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #f7f2e6;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero__title span {
  display: block;
  padding-bottom: 0.04em;
}

/* the gold highlight line */
.hero__title .hero__title-gold {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
  background: linear-gradient(100deg, #b8901c 0%, #e8c766 45%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(201, 162, 39, 0.25));
}

.hero__rule {
  width: 88px;
  height: 2px;
  margin: 0 0 26px;
  border: 0;
  background: linear-gradient(90deg, var(--gold-2), rgba(201, 162, 39, 0));
}

.hero__text {
  max-width: 600px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  color: rgba(247, 242, 230, 0.86);
}

/* Single-phrase headline: one line where it fits; wraps only between the two phrases. */
.hero__title--single span {
  display: inline;
  white-space: nowrap;
}

.hero .btn-row {
  margin-top: 36px;
}

.hero .btn--outline {
  color: #f7f2e6;
  border-color: rgba(236, 213, 144, 0.65);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero .btn--outline:hover {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 132px;
  display: none; /* only on very wide screens, where it has room */
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 239, 228, 0.6);
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* Hero breakpoints */
@media (min-width: 1600px) {
  .scroll-cue {
    display: flex;
  }
}

@media (max-width: 1360px) {
  .hero__content {
    max-width: 700px;
  }
}

@media (max-width: 1180px) {
  .scroll-cue {
    display: none;
  }

  .hero__content {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    padding-top: calc(72px + 40px);
    padding-bottom: 150px;
  }

  .hero__media img {
    object-position: 70% 55%;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0.5) 38%, rgba(12, 11, 9, 0.66) 62%, rgba(12, 11, 9, 0.9) 88%, rgba(12, 11, 9, 0.97) 100%);
  }

  .hero__content::before {
    display: none;
  }

  .hero__lines {
    width: 90vw;
    right: -30%;
    top: 8%;
    opacity: 0.25;
  }

  .hero__title {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

}

/* Highlight strip (overlaps hero bottom) */
.highlight-strip {
  position: relative;
  z-index: 5;
  margin-top: -96px;
}

.highlight-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(17, 17, 17, 0.96));
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 26px;
  color: var(--text-on-dark);
  transition: background-color 0.4s var(--ease);
}

.highlight + .highlight {
  border-left: 1px solid var(--line-dark);
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad-gold-btn);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}

.highlight:hover {
  background: rgba(201, 162, 39, 0.07);
}

.highlight:hover::after {
  transform: scaleX(1);
}

.highlight__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  color: var(--text-on-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: color 0.4s, border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s;
}

.highlight__icon .icon {
  width: 22px;
  height: 22px;
}

.highlight:hover .highlight__icon {
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 24px -4px rgba(201, 162, 39, 0.6);
  transform: translateY(-3px) rotateY(180deg);
}

.highlight__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* 7. SECTIONS & 3D CARDS --------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-y);
  overflow-x: clip; /* decorative ornaments never widen the page */
}

.surface-light {
  background: var(--off-white);
}

.surface-white {
  background: var(--paper);
}

.surface-dark {
  color: var(--text-on-dark);
  background: var(--charcoal);
}

.surface-ink {
  background: var(--ink);
}

.surface-dark.has-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(201, 162, 39, 0.1), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(201, 162, 39, 0.07), transparent 70%);
}

/* corner ornament used on dark sections */
.ornament {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.35;
  border: 1px solid var(--line-gold);
  transform: rotate(45deg);
}

.ornament::after {
  content: '';
  position: absolute;
  inset: 26px;
  border: 1px solid var(--line-gold);
}

.card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.45s var(--ease);
  will-change: transform;
}

/* Business cards */
.business-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  perspective: 1600px;
}

.biz-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.biz-card--primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.biz-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.biz-card--primary .biz-card__media {
  aspect-ratio: auto;
  min-height: 440px;
}

.biz-card__media picture {
  display: block;
  height: 100%;
}

.biz-card--primary .biz-card__media img {
  position: absolute;
  inset: 0;
}

.biz-card--primary .biz-card__icon {
  margin-top: 0;
}

.biz-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.biz-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17, 17, 17, 0.55));
}

.biz-card__tag {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  padding: 7px 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--grad-gold-btn);
  border-radius: 2px;
}

.biz-card__index {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.biz-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 30px;
  transform: translateZ(30px);
}

.biz-card--primary .biz-card__body {
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
}

.biz-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -58px;
  color: var(--gold-ink);
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  transition: color 0.4s, background-color 0.4s;
}

.biz-card__icon .icon {
  width: 24px;
  height: 24px;
}

.biz-card__title {
  font-size: 1.7rem;
}

.biz-card--primary .biz-card__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.biz-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.biz-card .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

.biz-card:hover,
.biz-card:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-3), var(--glow-gold);
}

.biz-card:hover .biz-card__media img {
  transform: scale(1.07);
}

.biz-card:hover .biz-card__icon {
  color: var(--ink);
  background: var(--gold-light);
}

/* Default (no-JS / touch) hover lift; JS tilt overrides transform when active */
@media (hover: hover) {
  .card-3d:hover {
    transform: translateY(-8px);
  }
}

/* Real estate section */
.re-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.re-features {
  display: grid;
  gap: 16px;
  margin: 36px 0;
  perspective: 1200px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-light);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(201, 162, 39, 0.08);
}

.feature-card__icon .icon {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.45rem;
  color: var(--text-on-dark);
  transition: color 0.3s;
}

.feature-card p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.feature-card__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.9), var(--glow-gold);
}

.feature-card:hover h3 {
  color: var(--gold-light);
}

.feature-card:hover .feature-card__go {
  color: var(--ink);
  background: var(--gold);
  transform: translateX(4px);
}

.trust-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

/* Layered collage */
.collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  perspective: 1400px;
}

.collage__img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.collage__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

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

.collage__img--a {
  inset: 0 22% 30% 0;
  z-index: 1;
}

.collage__img--b {
  inset: 38% 0 0 34%;
  z-index: 2;
  outline: 8px solid var(--charcoal);
}

.collage__img--c {
  width: 36%;
  aspect-ratio: 1;
  right: 2%;
  top: 4%;
  z-index: 3;
  outline: 6px solid var(--charcoal);
}

.collage__frame {
  position: absolute;
  inset: 8% 8% -4% 10%;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.collage__badge {
  position: absolute;
  left: 4%;
  bottom: 6%;
  z-index: 4;
  max-width: 240px;
  padding: 18px 20px;
  color: var(--text-on-dark);
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.88), rgba(34, 34, 34, 0.78));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

.collage__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.15;
}

.collage__badge span {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

/* 8. PROPERTY SEARCH, PROPERTY & PORTFOLIO CARDS --------------------------- */
.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0;
  margin-bottom: 48px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.search-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--grad-gold-btn);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.search-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px;
  min-width: 0;
}

.search-field + .search-field {
  border-left: 1px solid var(--line-light);
}

.search-field label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.search-field select {
  width: 100%;
  min-height: 34px;
  padding: 4px 26px 4px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a7716' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  cursor: pointer;
}

.search-field select:focus-visible {
  outline-offset: 6px;
}

.search-panel__submit {
  display: flex;
  align-items: stretch;
  padding: 10px;
}

.search-panel__submit .btn {
  height: 100%;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-bar strong {
  color: var(--text);
}

.results-bar button {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border-bottom: 1px solid currentColor;
}

.property-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  perspective: 1600px;
}

.prop-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.prop-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.prop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.prop-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, transparent 35%, transparent 65%, rgba(17, 17, 17, 0.5) 100%);
}

.prop-card__badges {
  position: absolute;
  inset: 16px 16px auto 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--available {
  color: var(--ink);
  background: var(--grad-gold-btn);
}

.status--available::before {
  background: #1d6b3c;
}

.status--coming-soon {
  color: var(--gold-light);
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid var(--gold);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.status--sold-out {
  color: #d9d4c7;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.status--sold-out::before {
  background: #a33b2e;
}

.status--project {
  color: var(--gold-light);
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sample-chip {
  align-self: flex-start;
  padding: 5px 9px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(17, 17, 17, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

.prop-card__type {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.prop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.prop-card__title {
  font-size: 1.6rem;
  line-height: 1.12;
  color: var(--ink);
  transition: color 0.3s;
}

.prop-card__title a:hover {
  color: var(--gold-ink);
}

.prop-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.prop-card__loc .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-ink);
}

.prop-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.prop-card__meta div {
  padding: 12px 10px 12px 0;
  min-width: 0;
}

.prop-card__meta div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line-light);
}

.prop-card__meta dt {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prop-card__meta dd {
  margin: 2px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: break-word;
}

.prop-card__meta {
  margin-inline: 0;
}

.prop-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-ink);
}

.prop-card__summary {
  margin: 8px 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.prop-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.prop-card__actions .btn--whatsapp {
  grid-column: 1 / -1;
}

.prop-card:hover,
.prop-card:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-3), var(--glow-gold);
}

.prop-card:hover .prop-card__media img {
  transform: scale(1.08);
}

.prop-card.is-sold .prop-card__media img {
  filter: grayscale(0.55) brightness(0.9);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius-lg);
}

.empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--text-muted);
}

.empty-state .btn-row {
  justify-content: center;
}

.skeleton {
  min-height: 520px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #efebe1 30%, #f8f6f0 50%, #efebe1 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

.view-all {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -16px auto 44px;
}

.tab {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: var(--paper);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.tab:hover {
  color: var(--gold-ink);
  border-color: var(--gold);
}

.tab[aria-selected='true'] {
  color: var(--ink);
  background: var(--grad-gold-btn);
  border-color: var(--gold);
  box-shadow: 0 10px 24px -12px rgba(201, 162, 39, 0.8);
}

/* Portfolio card */
.port-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--ink);
  border: 1px solid transparent;
  box-shadow: var(--shadow-2);
}

.port-card__media {
  position: absolute;
  inset: 0;
}

.port-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: saturate(0.9);
}

.port-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.1) 30%, rgba(10, 10, 10, 0.88) 78%, rgba(10, 10, 10, 0.96) 100%);
}

.port-card__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 18px;
}

.port-card__body {
  position: relative;
  margin-top: auto;
  padding: 26px 26px 26px;
  transform: translateZ(40px);
}

.port-card__cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.port-card__title {
  margin: 8px 0 6px;
  font-size: 1.75rem;
  color: #fff;
}

.port-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

.port-card__loc .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.port-card__desc {
  margin: 12px 0 18px;
  font-size: 0.88rem;
  color: rgba(243, 239, 228, 0.78);
}

.port-card:hover,
.port-card:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-3), var(--glow-gold);
}

.port-card:hover .port-card__media img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.port-card.is-hidden {
  display: none;
}

/* Investments */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.framed-media {
  position: relative;
  padding: 0 28px 28px 0;
}

.framed-media::before {
  content: '';
  position: absolute;
  inset: 28px 0 0 28px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
}

.framed-media__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.framed-media__img img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.framed-media:hover .framed-media__img img {
  transform: scale(1.05);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: var(--paper);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.pill-list li:hover {
  color: var(--gold-ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.surface-dark .pill-list li {
  background: rgba(255, 255, 255, 0.03);
}

.surface-dark .pill-list li:hover {
  color: var(--gold-light);
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.logo-plaque {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(circle at 50% 35%, #ffffff, var(--off-white));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.logo-plaque::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  pointer-events: none;
}

.logo-plaque img {
  width: min(320px, 100%);
  height: auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  perspective: 1400px;
}

.pillar {
  position: relative;
  padding: 34px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-gold-btn);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.pillar:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-3), var(--glow-gold);
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}

.pillar h3 {
  margin: 14px 0 14px;
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pillar p,
.pillar li {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.pillar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.pillar li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  transform: rotate(45deg);
  background: var(--gold);
}

.pillar .pillar__quote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}

.pillar__quote span {
  display: block;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.why-item {
  position: relative;
  padding: 40px 36px 42px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.45s var(--ease);
  overflow: hidden;
}

.why-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.why-item:hover {
  background: rgba(201, 162, 39, 0.06);
}

.why-item:hover::after {
  opacity: 1;
}

.why-item__num {
  position: absolute;
  right: 24px;
  top: 18px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  transition: color 0.45s;
}

.why-item:hover .why-item__num {
  color: rgba(201, 162, 39, 0.22);
}

.why-item__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  color: var(--gold-light);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s;
}

.why-item__icon .icon {
  width: 24px;
  height: 24px;
}

.why-item:hover .why-item__icon {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-4px);
}

.why-item h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: var(--text-on-dark);
}

.why-item p {
  font-size: 0.93rem;
  color: var(--text-on-dark-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(96px, 12vw, 160px);
  color: var(--text-on-dark);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.cta-band__bg {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(17, 17, 17, 0.72), rgba(10, 10, 10, 0.94)),
    linear-gradient(180deg, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.4));
}

.cta-band__inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.cta-band__frame {
  position: absolute;
  inset: -48px -40px;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}

.cta-band__frame::before,
.cta-band__frame::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.cta-band__frame::before {
  left: -5px;
  top: -5px;
}

.cta-band__frame::after {
  right: -5px;
  bottom: -5px;
}

.cta-band .section-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

.cta-band p {
  max-width: 660px;
  margin: 22px auto 38px;
  font-size: 1.08rem;
  color: rgba(243, 239, 228, 0.82);
}

.cta-band .btn-row {
  justify-content: center;
}

/* 10. CONTACT & FORMS ------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}

a.contact-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  color: var(--gold-ink);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}

.contact-item__label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item__value {
  display: block;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-item__value.is-placeholder {
  font-weight: 500;
  font-style: italic;
  color: var(--text-muted);
}

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.form-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-gold-btn);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-card__title {
  margin-bottom: 6px;
  font-size: 1.9rem;
}

.form-card__intro {
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.field label .req {
  color: var(--gold-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem; /* ≥16px avoids iOS zoom */
  background: var(--off-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a7716' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--paper);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3402f;
}

/* Property Enquiry: "I want to" choice */
.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 7px;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.choice-group__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.field .choice span {
  letter-spacing: normal;
  text-transform: none;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.choice:hover span {
  border-color: var(--line-gold);
}

.choice input:checked + span {
  color: var(--gold-ink);
  background: #fffaf0;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.choice input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.28);
}

.field__error {
  min-height: 0;
  font-size: 0.8rem;
  color: #a3382a;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  color: #1f5a35;
  background: #edf6ef;
  border: 1px solid #b9dcc4;
}

.form-status--error {
  color: #8a2e22;
  background: #fbefec;
  border: 1px solid #ecc5bd;
}

.form-status ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #1f9d55;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 40px -12px rgba(31, 157, 85, 0.7);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(31, 157, 85, 0.6);
  animation: pulseRing 2.8s var(--ease) infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: min(92vw, 480px);
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-on-dark);
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  transform: translate(-50%, 140%);
  transition: transform 0.45s var(--ease-out);
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer {
  position: relative;
  color: var(--text-on-dark-muted);
  background: var(--ink);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(201, 162, 39, 0.08), transparent 70%);
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 80px 56px;
}

.footer-brand__plaque {
  display: inline-block;
}

.footer-brand__plaque img {
  width: 132px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.footer-brand__name {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.9rem;
}

.footer-col h2 {
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-col ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-col span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 0.92rem;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-col .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 26px;
  font-size: 0.82rem;
  border-top: 1px solid var(--line-dark);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-legal a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* 12. INNER PAGES ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  color: var(--text-on-dark);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.5) 100%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 900px;
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(243, 239, 228, 0.82);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--gold);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.detail-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}

.fact {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-light);
  min-width: 0;
}

.fact:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line-light);
}

.fact:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.fact dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fact dd {
  margin: 4px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.prose h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.prose h3 {
  margin: 32px 0 12px;
  font-size: 1.5rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--gold-ink);
}

.notice {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: #fbf7ea;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}

.notice .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-ink);
}

.sticky-aside {
  position: sticky;
  top: calc(72px + 24px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 40px 0 12px;
  font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.placeholder-banner {
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  background: #fbf7ea;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
}

.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  perspective: 1400px;
}

.capability {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.capability:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-3), var(--glow-gold);
}

.capability h3 {
  margin: 16px 0 8px;
  font-size: 1.45rem;
}

.capability p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 13. MOTION --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal='fade'] {
  transform: none;
}

.js [data-reveal='left'] {
  transform: translateX(-40px);
}

.js [data-reveal='right'] {
  transform: translateX(40px);
}

.js [data-reveal='zoom'] {
  transform: scale(0.94);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* card-3d inside reveal keeps its own hover transform */
.js .card-3d[data-reveal].is-visible {
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.45s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__particles {
    display: none;
  }

  .hero__lines .draw {
    stroke-dashoffset: 0;
  }
}

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .highlight-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlight:nth-child(4) {
    border-left: 0;
  }

  .highlight:nth-child(n + 4) {
    border-top: 1px solid var(--line-dark);
  }

  .search-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-field:nth-child(4) {
    border-left: 0;
  }

  .search-field:nth-child(n + 4) {
    border-top: 1px solid var(--line-light);
  }

  .search-panel__submit {
    border-top: 1px solid var(--line-light);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .business-grid {
    gap: 22px;
  }

  .biz-card--primary {
    grid-template-columns: 1fr;
  }

  .biz-card--primary .biz-card__media {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .biz-card--primary .biz-card__icon {
    margin-top: -58px;
  }

  .biz-card__body {
    padding: 24px 22px 26px;
  }

  .biz-card__title {
    font-size: 1.5rem;
  }

  .re-grid,
  .split,
  .about-intro,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .collage {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .property-grid,
  .portfolio-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framed-media {
    max-width: 560px;
  }

  .sticky-aside {
    position: static;
  }

  .logo-plaque {
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .highlight-strip {
    margin-top: -64px;
  }

  .highlight-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .highlight {
    padding: 20px 16px;
    gap: 12px;
  }

  .highlight + .highlight {
    border-left: 0;
  }

  .highlight:nth-child(even) {
    border-left: 1px solid var(--line-dark);
  }

  .highlight:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .highlight:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .highlight__icon {
    width: 42px;
    height: 42px;
  }

  .highlight__label {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .biz-card,
  .biz-card--primary {
    grid-column: 1 / -1;
  }

  .biz-card--primary .biz-card__media,
  .biz-card .biz-card__media {
    aspect-ratio: 16 / 10;
  }

  .biz-card--primary .biz-card__body {
    padding: 28px 24px 30px;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    padding: 14px 16px;
  }

  .search-field:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .search-field:nth-child(1),
  .search-field:nth-child(2) {
    border-top: 0;
  }

  .search-field:nth-child(even) {
    border-left: 1px solid var(--line-light);
  }

  .search-field:nth-child(5) {
    grid-column: 1 / -1;
  }

  .search-panel__submit {
    grid-column: 1 / -1;
  }

  .search-panel__submit .btn {
    width: 100%;
  }

  .property-grid,
  .portfolio-grid,
  .capability-grid,
  .pillars,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 32px 24px;
  }

  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: auto 1fr;
    padding: 18px;
    gap: 16px;
  }

  .feature-card__go {
    display: none;
  }

  .collage__badge {
    max-width: 200px;
    padding: 14px;
  }

  .collage__badge strong {
    font-size: 1.1rem;
  }

  .cta-band__frame {
    inset: -28px -4px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 60px 40px;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(n) {
    border-left: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .fact:nth-child(even) {
    border-left: 1px solid var(--line-light);
  }

  .fact:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .framed-media {
    padding: 0 16px 16px 0;
  }

  .framed-media::before {
    inset: 16px 0 0 16px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 420px) {
  .btn-row .btn {
    width: 100%;
  }

  .prop-card__actions {
    grid-template-columns: 1fr;
  }

  .prop-card__body {
    padding: 20px 18px;
  }

  .prop-card__meta div {
    padding-right: 6px;
  }

  .prop-card__meta div + div {
    padding-left: 8px;
  }

  .tab {
    padding: 10px 14px;
    letter-spacing: 0.14em;
  }
}

/* 15. SMALL COMPONENT TWEAKS ------------------------------------------------ */
.port-card .link-arrow {
  color: var(--gold-light);
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note a:hover {
  color: var(--gold-ink);
}

.lead--spaced {
  margin-top: 26px;
}

figure {
  margin: 0;
}

.eyebrow--center {
  justify-content: center;
}

.btn-row--spaced {
  margin-top: 28px;
}

.btn-row--center {
  justify-content: center;
}

.text-link {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 40px;
  font-size: 0.85rem;
}

.error-page .container {
  text-align: center;
}

.error-page h1 {
  margin-inline: auto;
}

.error-page__lead {
  margin-inline: auto;
}

.capability .why-item__icon {
  color: var(--gold-ink);
  margin-bottom: 0;
}

.page-hero .lead .icon {
  display: inline-block;
  vertical-align: -0.2em;
  color: var(--gold);
}

/* Narrow sidebar forms (detail pages): single column */
.sticky-aside .form-grid,
.sticky-aside .form-actions {
  grid-template-columns: 1fr;
}

.sticky-aside .form-card {
  padding: clamp(22px, 3vw, 32px);
}

/* 16. ABOUT · VISION · MISSION · VALUES · PHILOSOPHY ---------------------- */
.ab-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

/* Visual: real-estate image with offset gold frame for depth */
.ab-visual {
  position: relative;
  margin: 0;
  padding: 0 26px 26px 0;
}

.ab-visual__frame {
  position: absolute;
  inset: 26px 0 0 26px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.ab-visual__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.ab-visual__img img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.ab-visual:hover .ab-visual__img img {
  transform: scale(1.04);
}

.ab-visual__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 55%, rgba(17, 17, 17, 0.72) 100%);
  pointer-events: none;
}

.ab-visual__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
}

.ab-visual__caption span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.ab-visual__caption span + span::before {
  content: '';
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold-2);
}

/* Vision / Mission */
.ab-statements {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.ab-statement {
  position: relative;
  padding: 24px 26px 24px 30px;
  background: var(--off-white);
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
}

.ab-statement:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
  border-left-color: var(--gold-2);
  box-shadow: var(--shadow-2);
}

.ab-statement__label {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ab-statement p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text);
}

/* Aim: Buy Right. Create Value. Sell Smart. */
.ab-aim {
  position: relative;
  margin-top: clamp(64px, 8vw, 104px);
  padding: clamp(32px, 4vw, 48px) clamp(20px, 4vw, 56px);
  text-align: center;
  background: #fffdf7;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.ab-aim::before,
.ab-aim::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.ab-aim::before {
  left: -5px;
}

.ab-aim::after {
  right: -5px;
}

.ab-aim__label {
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.ab-aim__lines {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--gold-deep);
}

.ab-aim__lines span {
  padding: 4px clamp(18px, 3vw, 40px);
  background: var(--grad-gold-deep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-aim__lines span + span {
  border-left: 1px solid var(--line-gold);
}

/* Core values */
.ab-values {
  margin-top: clamp(72px, 9vw, 120px);
}

.ab-values__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.ab-value {
  position: relative;
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 10px 26px -14px rgba(17, 17, 17, 0.14);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease);
}

.ab-value::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.ab-value:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 2px 4px rgba(17, 17, 17, 0.04), 0 22px 44px -18px rgba(17, 17, 17, 0.22), 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.ab-value:hover::before {
  transform: scaleX(1);
}

.ab-value__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ab-value__num {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ab-value__top .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.ab-value__title {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--ink);
}

.ab-value p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Business pages (client PDF): subheading, copy + category list, enquiry form */
.page-hero .bz-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold-light);
}

.bz-content {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.bz-content--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin-inline: auto;
}

.bz-content__text p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  line-height: 1.85;
  color: var(--text);
}

.bz-content__text p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 0.85vw, 1.7rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.bz-content__text p + p {
  margin-top: 1.2em;
}

.bz-cats {
  padding: clamp(24px, 3vw, 36px);
  background: var(--off-white);
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.bz-cats__title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.bz-cats__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bz-cats__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  border-bottom: 1px solid var(--line-light);
}

.bz-cats__list li:last-child {
  border-bottom: 0;
}

.bz-cats__list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}

.bz-enquiry {
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .bz-content {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    margin-inline: auto;
  }
}

/* Business-area enquiry forms: "Enquiry Type" options */
.form-card--custom .choice-group__options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.form-card--custom .choice-group__options[data-count='2'],
.form-card--custom .choice-group__options[data-count='4'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .form-card--custom .choice-group__options[data-count='4'] {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* About: short one-line statements read better left-aligned than justified. */
.ab-grid--values .ab-value p,
.why-grid--five .why-item p {
  text-align: left;
}

/* About: business areas (2 x 2) and values (3 x 2) – rendered as lists */
ul.ab-values__grid,
ul.why-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-grid--areas {
  max-width: 1000px;
  margin-inline: auto;
}

.ab-grid--areas .ab-value {
  flex-basis: calc((100% - 24px) / 2);
}

.ab-grid--values .ab-value {
  flex-basis: calc((100% - 2 * 24px) / 3);
}

/* About: founders – two profiles side by side on desktop, stacked below 1024px */
.ab-founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.ab-founder {
  min-width: 0;
  padding: clamp(28px, 3.6vw, 48px) clamp(22px, 3.6vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.ab-founder p {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  line-height: 1.85;
  color: var(--text);
}

.ab-founder p + p {
  margin-top: 1.2em;
}

.ab-founder__name {
  margin-bottom: 18px;
  padding-bottom: 18px;
  font-size: clamp(1.8rem, 1.45rem + 1vw, 2.3rem);
  line-height: 1.15;
  color: var(--ink);
  border-bottom: 1px solid var(--line-gold);
}

.ab-founder__role {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ab-founder__dash {
  display: none;
}

.ab-founder .ab-founder__lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

/* About: vision & mission */
.ab-vm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.ab-vm__card {
  position: relative;
  padding: clamp(28px, 3.6vw, 48px);
  background: var(--off-white);
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
}

.ab-vm__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
  border-left-color: var(--gold-2);
  box-shadow: var(--shadow-2);
}

.ab-vm__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}

.ab-vm__icon .icon {
  width: 22px;
  height: 22px;
}

.ab-vm__title {
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  color: var(--ink);
}

.ab-vm .gold-rule {
  margin: 16px 0 20px;
}

.ab-vm__card p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.8;
  color: var(--text);
}

/* About: "Why Shri Prasha?" – five items, last row centred */
.why-grid--five {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  border: 0;
}

.why-grid--five .why-item {
  flex: 0 0 calc((100% - 2 * 20px) / 3);
  border: 1px solid var(--line-dark);
}

@media (max-width: 1024px) {
  .why-grid--five .why-item {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 1024px) {
  .ab-founders {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .ab-grid--areas .ab-value,
  .ab-grid--values .ab-value {
    flex-basis: calc((100% - 20px) / 2);
  }

  .ab-vm {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ab-grid--areas .ab-value,
  .ab-grid--values .ab-value,
  .why-grid--five .why-item {
    flex-basis: 100%;
  }
}

/* Philosophy – closing statement */
.ab-philosophy {
  padding-top: clamp(64px, 8vw, 104px);
}

.ab-philosophy__panel {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

.ab-philosophy__panel::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius);
  pointer-events: none;
}

.ab-philosophy__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ab-philosophy__corner--tl {
  left: -5px;
  top: -5px;
}

.ab-philosophy__corner--br {
  right: -5px;
  bottom: -5px;
}

.ab-philosophy__title {
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.ab-philosophy__lines {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
}

.ab-philosophy__lines span {
  display: block;
  color: var(--charcoal);
}

.ab-philosophy__lines span:nth-child(3) {
  font-style: italic;
  color: var(--gold-deep);
  background: var(--grad-gold-deep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-philosophy .gold-rule {
  margin: 30px auto 26px;
}

.ab-philosophy__close {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--gold-deep);
}

.ab-philosophy__close span {
  display: block;
}

@media (max-width: 1024px) {
  .ab-intro {
    grid-template-columns: 1fr;
  }

  .ab-visual {
    max-width: 620px;
  }

  .ab-visual__img img {
    aspect-ratio: 16 / 11;
  }

  .ab-value {
    flex-basis: calc((100% - 2 * 24px) / 3);
  }
}

@media (max-width: 768px) {
  .ab-value {
    flex-basis: calc((100% - 20px) / 2);
  }

  .ab-values__grid {
    gap: 20px;
  }

  .ab-aim__lines {
    flex-direction: column;
    align-items: center;
  }

  .ab-aim__lines span + span {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .ab-value {
    flex-basis: 100%;
  }

  .ab-visual {
    padding: 0 14px 14px 0;
  }

  .ab-visual__frame {
    inset: 14px 0 0 14px;
  }

  .ab-statement {
    padding: 20px 18px 20px 22px;
  }

  .ab-visual__caption {
    left: 16px;
    bottom: 16px;
    gap: 6px 12px;
    font-size: 0.6rem;
  }

  .ab-visual__caption span {
    gap: 12px;
  }
}

/* keep hover lift working after the reveal animation has run */
.js .ab-value[data-reveal].is-visible {
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease);
}

.js .ab-value[data-reveal].is-visible:hover {
  transform: translateY(-5px);
}

@media (max-width: 1400px) {
  .header-cta {
    display: none;
  }
}

/* Footer address */
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 6px;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-address .icon {
  margin-top: 4px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 89;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(17, 17, 17, 0.08), 0 12px 26px -10px rgba(17, 17, 17, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s,
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}

.back-to-top .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  transform: rotate(-90deg);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top.is-on-dark {
  color: var(--gold-light);
  background: rgba(26, 26, 26, 0.92);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 14px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.back-to-top.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(17, 17, 17, 0.1), 0 18px 34px -12px rgba(17, 17, 17, 0.4), 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px;
    bottom: 80px;
    width: 42px;
    height: 42px;
  }

  .back-to-top .icon {
    width: 18px;
    height: 18px;
  }
}

/* 18. FLOATING BUTTONS (WhatsApp left · Back to Top right) + TEXT ALIGNMENT */
.wa-float {
  right: auto;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
}

.back-to-top {
  right: max(26px, calc(env(safe-area-inset-right) + 6px));
  /* aligned with the WhatsApp button's centre line (58px vs 46px) */
  bottom: max(26px, calc(env(safe-area-inset-bottom) + 18px));
}

/* keep the last footer line clear of the floating buttons at the end of the page */
.footer-bottom {
  padding-bottom: 96px;
}

@media (min-width: 1440px) {
  .footer-bottom {
    padding-bottom: 26px; /* buttons sit outside the content column here */
  }
}

@media (max-width: 768px) {
  .wa-float {
    left: max(14px, env(safe-area-inset-left));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px));
  }

  .back-to-top {
    right: max(20px, calc(env(safe-area-inset-right) + 6px));
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  }

  .footer-bottom {
    padding-bottom: 86px;
  }
}

/* Justified alignment for long descriptive paragraphs only
   (never headings, buttons, labels, navigation, prices or metadata).
   No auto-hyphenation: words are never split. */
.ab-copy .lead,
.ab-statement p,
.ab-value p,
.biz-card__text,
.contact-grid .lead,
.prop-card__summary,
.port-card__desc,
.prose p,
.capability p,
.why-item p,
.legal-content p,
.legal-content li,
.ab-founder p:not(.ab-founder__lead),
.ab-vm__card p,
.bz-content__text p:not(:first-child),
#biz-intro .lead {
  text-align: justify;
  text-justify: inter-word;
}

/* Narrow phones: justified text opens wide word gaps, so use left alignment. */
@media (max-width: 600px) {
  .ab-copy .lead,
  .ab-statement p,
  .ab-value p,
  .biz-card__text,
  .contact-grid .lead,
  .prop-card__summary,
  .port-card__desc,
  .prose p,
  .capability p,
  .why-item p,
  .legal-content p,
  .legal-content li,
  .ab-founder p:not(.ab-founder__lead),
  .ab-vm__card p,
  .bz-content__text p:not(:first-child),
  #biz-intro .lead {
    text-align: left;
  }
}

/* Property card actions: never clip button labels in narrow 3-column grids */
.prop-card__actions .btn {
  white-space: normal;
  text-align: center;
  padding-inline: 10px;
  letter-spacing: 0.1em;
}

/* Detail gallery + new property statuses (data architecture) */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.status--sold {
  color: #d9d4c7;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.status--sold::before {
  background: #a33b2e;
}

.status--reserved {
  color: #fff;
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid var(--gold-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.status--reserved::before {
  background: var(--gold-2);
}

.form-status__fallback {
  margin-top: 10px;
}

/* Legal pages */
.legal-content .lead {
  margin-bottom: 8px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 1em;
  padding-left: 20px;
}

.legal-content li::marker {
  color: var(--gold);
}

.legal-contact__card {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 20px 22px;
  font-style: normal;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}

/* 15. HOME (corporate, short) ---------------------------------------------- */
/* Hero video: fills the hero like the former image (object-fit: cover, no bars). */
.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  background: var(--ink) url('/assets/images/hero-plots-poster-768.webp') center / cover no-repeat;
  pointer-events: none;
}

/* Home hero, tablet & desktop: use the viewport width – wider container, proportional
   margins and typography that keeps scaling on large displays (mobile unchanged). */
@media (min-width: 769px) {
  body[data-page='home'] .hero__inner.container {
    max-width: calc(1560px + 2 * clamp(24px, 6vw, 120px));
    padding-inline: clamp(24px, 6vw, 120px);
    padding-top: calc(var(--header-h) + clamp(28px, 4vh, 56px));
  }

  body[data-page='home'] .hero__content {
    max-width: min(100%, 1120px);
  }

  body[data-page='home'] .hero__title {
    font-size: clamp(3.4rem, 6.2vw, 7.6rem);
    margin-bottom: clamp(22px, 1.8vw, 34px);
  }

  body[data-page='home'] .hero__rule {
    margin-bottom: clamp(22px, 1.8vw, 34px);
  }

  body[data-page='home'] .hero__text {
    max-width: clamp(600px, 44vw, 800px);
    font-size: clamp(1.02rem, 0.6rem + 0.75vw, 1.36rem);
  }

  body[data-page='home'] .hero .btn-row {
    margin-top: clamp(28px, 2.4vw, 44px);
  }
}

/* Home hero company name: larger than the standard eyebrow, scaling with the viewport
   (≈13px phones → ≈18.5px at 1440 → 20.8px cap) while staying well below the title. */
body[data-page='home'] .hero .eyebrow {
  font-size: clamp(0.82rem, 0.6rem + 0.62vw, 1.3rem);
}

/* Slightly deeper wash than the still image so copy stays legible over motion. */
body[data-page='home'] .hero__overlay {
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.88) 0%, rgba(12, 11, 9, 0.66) 40%, rgba(12, 11, 9, 0.3) 72%, rgba(12, 11, 9, 0.38) 100%),
    linear-gradient(180deg, rgba(12, 11, 9, 0.45) 0%, transparent 28%, transparent 62%, rgba(12, 11, 9, 0.85) 100%);
}

body[data-page='home'] .hero__inner {
  padding-bottom: 120px;
}

.section--compact {
  padding-block: clamp(56px, 7vw, 96px);
}

.section--compact .section-head {
  margin-bottom: clamp(32px, 4.5vw, 48px);
}

/* Business areas: category filter + visual card grid (home + projects) */
.section-intro {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 1rem;
  color: var(--text-muted);
  text-wrap: balance;
}

.area-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.area-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.area-tab__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  font-size: 0.68rem;
  letter-spacing: 0;
  color: var(--gold-ink);
  background: var(--gold-pale);
  border-radius: 999px;
}

.area-tab:hover {
  border-color: var(--gold);
  color: var(--gold-ink);
}

.area-tab.is-active {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.area-tab.is-active .area-tab__count {
  color: var(--ink);
  background: var(--gold-light);
}

.area-status {
  margin: 20px 0 26px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-muted);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.item-card[hidden] {
  display: none;
}

.item-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.item-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.item-card__badge,
.item-card__sample {
  position: absolute;
  top: 14px;
  z-index: 1;
  padding: 6px 11px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 999px;
}

.item-card__badge {
  left: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}

.item-card__sample {
  right: 14px;
  color: #fff;
  background: rgba(17, 17, 17, 0.62);
}

.item-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 24px;
}

.item-card__cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.item-card__title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.item-card__link {
  color: inherit;
}

/* Stretched link: the whole card is the click target. */
.item-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.item-card__link:focus-visible {
  outline: none;
}

.item-card:has(.item-card__link:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.item-card__desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--text-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.item-card__loc .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.item-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border-top: 1px solid var(--line-light);
  transition: gap 0.25s var(--ease);
}

.item-card__cta .icon {
  width: 15px;
  height: 15px;
}

.item-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.item-card:hover .item-card__media img {
  transform: scale(1.04);
}

.item-card:hover .item-card__cta {
  gap: 12px;
}

.item-card.is-entering {
  animation: itemIn 0.35s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.area-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.area-actions[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .item-card,
  .item-card__media img,
  .item-card__cta {
    transition: none;
  }

  .item-card:hover,
  .item-card:hover .item-card__media img {
    transform: none;
  }

  .item-card.is-entering {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 767px) {
  /* 2 × 2 filter grid: every option visible without sideways scrolling. */
  .area-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .area-tab {
    justify-content: space-between;
    min-height: 54px;
    padding: 10px 14px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-align: left;
    border-radius: 12px;
  }

  .item-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .item-card__body {
    padding: 20px 20px 22px;
  }

  .item-card__title {
    font-size: 1.35rem;
  }

  .area-actions .btn {
    width: 100%;
    padding-inline: 18px;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }
}

/* Home: four business areas – 4 across on desktop, 2 x 2 on tablets */
@media (min-width: 1025px) {
  #businesses .biz-card {
    grid-column: span 3;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #businesses .biz-card {
    grid-column: span 6;
  }
}

/* Home: short card copy reads better ragged-right than justified */
#businesses .biz-card__text {
  text-align: left;
}

/* Home: on tablets, business cards sit image-left / text-right to stay compact */
@media (min-width: 601px) and (max-width: 768px) {
  #businesses .biz-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }

  #businesses .biz-card .biz-card__media {
    aspect-ratio: auto;
    min-height: 240px;
  }

  #businesses .biz-card__media img {
    position: absolute;
    inset: 0;
  }

  #businesses .biz-card__icon {
    margin-top: 0;
  }

  #businesses .biz-card__body {
    justify-content: center;
  }
}

/* Home: CTA row under the business cards */
.home-cta {
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* Short about block */
.home-about {
  max-width: 760px;
  text-align: center;
}

.home-about .gold-rule {
  margin-inline: auto;
}

.home-about .lead {
  margin: 22px auto 28px;
}

/* Why Shri Prasha: four compact points */
.values-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}

.values-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  color: var(--text);
}

.values-row li + li {
  border-left: 1px solid var(--line-light);
}

.values-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold-ink);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}

.values-row__icon .icon {
  width: 22px;
  height: 22px;
}

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

  .values-row li:nth-child(3) {
    border-left: 0;
  }

  .values-row li:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 768px) {
  .hero__video {
    object-position: 60% 50%;
  }

  body[data-page='home'] .hero__overlay {
    background: linear-gradient(180deg, rgba(12, 11, 9, 0.62) 0%, rgba(12, 11, 9, 0.52) 38%, rgba(12, 11, 9, 0.68) 64%, rgba(12, 11, 9, 0.9) 100%);
  }

  body[data-page='home'] .hero__inner {
    padding-top: calc(72px + 28px);
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .values-row li {
    padding: 22px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

/* Reduced motion: keep the still poster instead of moving footage. */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__media {
    background: var(--ink) url('/assets/images/hero-plots-poster.webp') center / cover no-repeat;
  }
}

/* Very narrow phones (≤359px): keep full-width form buttons inside their box. */
@media (max-width: 359px) {
  .form-actions .btn {
    padding-inline: 16px;
    letter-spacing: 0.1em;
  }
}

/* Narrow phones: property facts in two columns so values never split mid-word. */
@media (max-width: 400px) {
  .prop-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prop-card__meta div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

/* Logo intro (Home page, once per session): html.logo-intro is set by boot.js before first
   paint and removed after 4s or on the first click/tap. Drawn on body pseudo-elements so it needs no
   markup on any page; a click lands on <body>, so nothing underneath is activated. */
html.logo-intro body::before,
html.logo-intro body::after {
  content: '';
  position: fixed;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

html.logo-intro body::before {
  inset: 0;
  z-index: 2147483646;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.16) 0%, rgba(201, 162, 39, 0) 42%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 26, 26, 0.94) 0%, rgba(10, 10, 10, 0.97) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

html.logo-intro body::after {
  top: 50%;
  left: 50%;
  z-index: 2147483647;
  width: min(72vw, 62vh, 300px);
  width: min(72vw, 62svh, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('/assets/images/logo-popup-circle.webp') center / contain no-repeat;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.5));
  transform: translate(-50%, -50%);
  animation: logo-intro-in 0.6s var(--ease-out) both;
}

@media (min-width: 768px) {
  html.logo-intro body::after {
    width: min(48vw, 58vh, 360px);
    width: min(48vw, 58svh, 360px);
  }
}

@media (min-width: 1280px) {
  html.logo-intro body::after {
    width: min(30vw, 58vh, 420px);
    width: min(30vw, 58svh, 420px);
  }
}

html.logo-intro--out body::before,
html.logo-intro--out body::after {
  opacity: 0;
  pointer-events: none;
}

html.logo-intro--out body::after {
  transform: translate(-50%, -50%) scale(0.96);
}

@keyframes logo-intro-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.logo-intro body::after {
    animation: none;
  }

  html.logo-intro body::before,
  html.logo-intro body::after {
    transition: none;
  }
}
