/*
 * Project microsites (Ssavai Apartments, Ssavai Sunshine, Auriga 9).
 *
 * A standalone design system: warm ink and ivory with a champagne accent,
 * Playfair Display headings and Jost text. Each page can retheme itself by
 * overriding the custom properties on <body> (see .theme-auriga).
 * Motion lives in js/estate.js; everything here degrades to a static page.
 */

:root {
    --e-ink: #14120f;
    --e-ink-2: #1e1b17;
    --e-ivory: #f4efe7;
    --e-paper: #fbf8f3;
    --e-accent: #b8915a;
    --e-accent-2: #d8bb8b;
    --e-cta: #ff5e13;
    --e-cta-dark: #e04e08;
    --e-text: #23201b;
    --e-muted: #6e665b;
    --e-line: rgba(35, 32, 27, 0.12);
    --e-on-dark: #f4efe7;
    --e-on-dark-muted: rgba(244, 239, 231, 0.68);
    --e-line-dark: rgba(244, 239, 231, 0.16);
    --e-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --e-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
    --e-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --e-wrap: 1240px;
    --e-header: 84px;
}

.theme-auriga {
    --e-ink: #1b1e2b;
    --e-ink-2: #23273a;
    --e-ivory: #f1ebe8;
    --e-paper: #faf7f5;
    --e-accent: #b39a94;
    --e-accent-2: #d6c3bd;
    --e-cta: #8c6f68;
    --e-cta-dark: #735a54;
}

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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: var(--e-header);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--e-paper);
    color: var(--e-text);
    font-family: var(--e-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--e-serif);
    font-weight: 500;
    line-height: 1.12;
    color: inherit;
}

p {
    margin: 0 0 1em;
}

button {
    font: inherit;
}

.e-wrap {
    width: 100%;
    max-width: var(--e-wrap);
    margin: 0 auto;
    padding: 0 32px;
}

.e-skip {
    position: absolute;
    left: -9999px;
}

.e-skip:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: #fff;
}

/* ---------------------------------------------------------------------
   Type helpers
   --------------------------------------------------------------------- */
.e-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--e-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--e-accent);
    margin-bottom: 22px;
}

.e-eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
}

.e-title {
    font-size: clamp(36px, 4.6vw, 64px);
    letter-spacing: -0.01em;
    margin-bottom: 26px;
}

.e-title em {
    font-style: italic;
    color: var(--e-accent);
}

.e-lead {
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 300;
    color: var(--e-muted);
    max-width: 60ch;
}

.e-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--e-muted);
}

.e-note a {
    color: inherit;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.e-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 32px;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--e-cta);
    color: #fff;
    font-family: var(--e-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.5s var(--e-ease), border-color 0.5s var(--e-ease), transform 0.4s var(--e-ease);
}

.e-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--e-cta-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--e-ease);
}

.e-btn:hover::before,
.e-btn:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.e-btn:hover {
    color: #fff;
}

.e-btn .e-arrow {
    transition: transform 0.5s var(--e-ease);
}

.e-btn:hover .e-arrow {
    transform: translateX(6px);
}

.e-btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--e-text);
}

.e-btn--ghost::before {
    background: var(--e-text);
}

.e-btn--ghost:hover {
    color: var(--e-paper);
}

.e-on-dark .e-btn--ghost,
.e-btn--light {
    background: transparent;
    color: var(--e-on-dark);
    border-color: rgba(244, 239, 231, 0.55);
}

.e-on-dark .e-btn--ghost::before,
.e-btn--light::before {
    background: var(--e-on-dark);
}

.e-on-dark .e-btn--ghost:hover,
.e-btn--light:hover {
    color: var(--e-ink);
}

.e-link {
    position: relative;
    color: var(--e-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 6px 0;
    cursor: pointer;
}

.e-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--e-accent);
    transform-origin: left;
    transition: transform 0.5s var(--e-ease);
}

.e-link:hover::after {
    transform: scaleX(0.4);
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--e-header);
    color: var(--e-on-dark);
    transition: background-color 0.5s var(--e-ease), color 0.5s var(--e-ease), box-shadow 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-header .e-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    max-width: 1440px;
}

.e-header.is-scrolled {
    background: rgba(251, 248, 243, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--e-text);
    box-shadow: 0 1px 0 var(--e-line);
}

.e-header.is-hidden {
    transform: translateY(-100%);
}

.e-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.e-logo img {
    height: 54px;
    width: auto;
}

/* Ivory wordmark over the dark hero, brand colours once the header turns light. */
.e-logo .e-logo-on-light,
.e-header.is-scrolled .e-logo .e-logo-on-dark {
    display: none;
}
.e-header.is-scrolled .e-logo .e-logo-on-light,
.menu-open .e-header .e-logo .e-logo-on-dark {
    display: block;
}
.menu-open .e-header .e-logo .e-logo-on-light {
    display: none;
}

.e-logo-text {
    font-family: var(--e-serif);
    font-size: 30px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

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

.e-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.85;
    padding: 8px 0;
    transition: opacity 0.3s var(--e-ease);
}

.e-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--e-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--e-ease);
}

.e-nav a:hover,
.e-nav a.is-active {
    opacity: 1;
}

.e-nav a:hover::after,
.e-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.e-header-cta {
    display: flex;
    align-items: center;
    gap: 22px;
}

.e-header-cta .e-btn {
    min-height: 46px;
    padding: 0 24px;
}

.e-phone {
    font-size: 14px;
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
}

.e-burger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.e-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s var(--e-ease), opacity 0.3s;
}

.e-burger span:nth-child(1) { top: 17px; }
.e-burger span:nth-child(2) { top: 22px; }
.e-burger span:nth-child(3) { top: 27px; }

.menu-open .e-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .e-burger span:nth-child(2) { opacity: 0; }
.menu-open .e-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Full-screen menu (phones and tablets) */
.e-menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--e-header) + 20px) 32px 40px;
    background: var(--e-ink);
    color: var(--e-on-dark);
    clip-path: circle(0% at calc(100% - 55px) 42px);
    visibility: hidden;
    transition: clip-path 0.8s var(--e-ease), visibility 0s linear 0.8s;
}

.menu-open .e-menu {
    clip-path: circle(150% at calc(100% - 55px) 42px);
    visibility: visible;
    transition: clip-path 0.8s var(--e-ease), visibility 0s;
}

.menu-open .e-header {
    color: var(--e-on-dark);
    background: transparent;
    box-shadow: none;
}

.e-menu a {
    display: block;
    font-family: var(--e-serif);
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.35;
    text-decoration: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--e-ease), transform 0.8s var(--e-ease), color 0.3s;
}

.e-menu a:hover {
    color: var(--e-accent-2);
}

.menu-open .e-menu a {
    opacity: 1;
    transform: none;
}

.menu-open .e-menu a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .e-menu a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .e-menu a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .e-menu a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .e-menu a:nth-child(6) { transition-delay: 0.25s; }
.menu-open .e-menu a:nth-child(7) { transition-delay: 0.3s; }
.menu-open .e-menu a:nth-child(8) { transition-delay: 0.35s; }

.e-menu-foot {
    margin-top: 40px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--e-on-dark-muted);
}

.e-menu-foot a {
    display: inline;
    font-family: var(--e-sans);
    font-size: inherit;
}

/* ---------------------------------------------------------------------
   Hero: full-screen crossfading slides with a slow zoom
   --------------------------------------------------------------------- */
.e-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--e-ink);
    color: var(--e-on-dark);
}

.e-hero-slides,
.e-hero-slide {
    position: absolute;
    inset: 0;
}

.e-hero-slide {
    opacity: 0;
    transition: opacity 1.6s var(--e-ease);
}

.e-hero-slide.is-active {
    opacity: 1;
}

.e-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 9s linear;
}

.e-hero-slide.is-active img {
    transform: scale(1);
}

.e-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.45) 45%, rgba(10, 9, 8, 0.1) 75%),
        linear-gradient(0deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0) 45%);
    pointer-events: none;
}

.e-hero-inner {
    min-width: 0;
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: calc(var(--e-header) + 60px);
    padding-bottom: 90px;
}

.e-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.e-tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(244, 239, 231, 0.35);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.e-tag--solid {
    background: var(--e-accent);
    border-color: var(--e-accent);
    color: var(--e-ink);
}

.e-hero h1 {
    font-size: clamp(48px, 8.4vw, 124px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    max-width: 11ch;
    margin-bottom: 26px;
}

.e-hero-address {
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 300;
    color: var(--e-on-dark-muted);
    margin-bottom: 4px;
}

.e-hero-dev {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--e-accent-2);
    margin-bottom: 40px;
}

.e-hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.e-price {
    display: flex;
    flex-direction: column;
}

.e-price small {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--e-on-dark-muted);
}

.e-price strong {
    font-family: var(--e-serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.1;
}

.e-price span {
    font-size: 14px;
    color: var(--e-on-dark-muted);
}

.e-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.e-hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--e-line-dark);
}

.e-hero-specs div {
    padding: 18px 40px 0 0;
    margin-right: 40px;
    font-size: 14px;
    color: var(--e-on-dark-muted);
}

.e-hero-specs div + div {
    padding-left: 40px;
    border-left: 1px solid var(--e-line-dark);
}

.e-hero-specs b {
    display: block;
    font-family: var(--e-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--e-on-dark);
}

.e-hero-dots {
    position: absolute;
    right: 32px;
    bottom: 96px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.e-hero-dots button {
    width: 2px;
    height: 34px;
    padding: 0;
    border: 0;
    background: rgba(244, 239, 231, 0.35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.e-hero-dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--e-accent-2);
    transform: scaleY(0);
    transform-origin: top;
}

.e-hero-dots button.is-active::after {
    animation: e-progress 6s linear forwards;
}

@keyframes e-progress {
    to { transform: scaleY(1); }
}

.e-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 3;
    width: 1px;
    height: 54px;
    background: rgba(244, 239, 231, 0.25);
    overflow: hidden;
}

.e-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    top: -50%;
    width: 1px;
    height: 50%;
    background: var(--e-accent-2);
    animation: e-scroll 2.2s var(--e-ease) infinite;
}

@keyframes e-scroll {
    to { top: 110%; }
}

/* Hero copy rises in line by line once the page is ready */
.e-js .e-hero [data-rise] {
    opacity: 0;
    transform: translateY(36px);
}

.e-ready .e-hero [data-rise] {
    opacity: 1;
    transform: none;
    transition: opacity 1.2s var(--e-ease), transform 1.4s var(--e-ease);
    transition-delay: calc(var(--i, 0) * 0.12s + 0.2s);
}

/* ---------------------------------------------------------------------
   Ticker
   --------------------------------------------------------------------- */
.e-ticker {
    overflow: hidden;
    background: var(--e-ink);
    color: var(--e-on-dark);
    border-top: 1px solid var(--e-line-dark);
    padding: 20px 0;
    white-space: nowrap;
}

.e-ticker-track {
    display: inline-flex;
    gap: 56px;
    padding-right: 56px;
    animation: e-ticker 40s linear infinite;
}

.e-ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    font-family: var(--e-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--e-on-dark-muted);
}

.e-ticker-track span::after {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--e-accent);
    transform: rotate(45deg);
}

.e-ticker:hover .e-ticker-track {
    animation-play-state: paused;
}

@keyframes e-ticker {
    to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.e-section {
    position: relative;
    padding: 140px 0;
}

.e-section--ivory {
    background: var(--e-ivory);
}

.e-section--dark,
.e-on-dark {
    background: var(--e-ink);
    color: var(--e-on-dark);
}

.e-section--dark .e-lead,
.e-section--dark .e-note,
.e-on-dark .e-lead,
.e-on-dark .e-note {
    color: var(--e-on-dark-muted);
}

.e-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 72px;
}

.e-head .e-title {
    margin-bottom: 0;
}

.e-head .e-lead {
    margin: 0;
}

.e-index {
    position: absolute;
    top: 140px;
    right: 32px;
    font-family: var(--e-serif);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--e-accent);
    writing-mode: vertical-rl;
}

/* Overview: copy beside a framed media panel */
.e-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.e-split--flip > :first-child {
    order: 2;
}

.e-media {
    position: relative;
    overflow: hidden;
    background: var(--e-ink);
}

.e-media img,
.e-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.e-media--tall {
    aspect-ratio: 4 / 5;
}

.e-media--wide {
    aspect-ratio: 16 / 10;
}

.e-frame {
    position: relative;
}

.e-frame::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -22px;
    width: 46%;
    height: 46%;
    border-top: 1px solid var(--e-accent);
    border-left: 1px solid var(--e-accent);
    pointer-events: none;
}

.e-overview p {
    font-size: 18px;
    font-weight: 300;
    color: var(--e-muted);
}

.e-overview .e-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 36px;
}

/* Investment figures */
.e-figures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--e-line-dark);
    border-bottom: 1px solid var(--e-line-dark);
    margin-bottom: 80px;
}

.e-figure {
    padding: 44px 28px 40px 0;
}

.e-figure + .e-figure {
    padding-left: 28px;
    border-left: 1px solid var(--e-line-dark);
}

.e-figure b {
    display: block;
    font-family: var(--e-serif);
    font-size: clamp(34px, 3.4vw, 54px);
    font-weight: 500;
    line-height: 1;
    color: var(--e-accent-2);
    margin-bottom: 16px;
    white-space: nowrap;
}

.e-figure > span {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: var(--e-on-dark-muted);
}

.e-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.e-reason h3 {
    font-size: 28px;
    margin: 20px 0 12px;
}

.e-reason p {
    color: var(--e-on-dark-muted);
    margin: 0;
}

.e-reason-num {
    font-family: var(--e-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--e-accent);
}

/* Pricing cards */
.e-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.e-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 34px 34px;
    background: var(--e-paper);
    border: 1px solid var(--e-line);
    transition: transform 0.6s var(--e-ease), box-shadow 0.6s var(--e-ease), border-color 0.6s var(--e-ease);
}

.e-price-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: var(--e-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--e-ease);
}

.e-price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 70px -40px rgba(20, 18, 15, 0.45);
    border-color: transparent;
}

.e-price-card:hover::before {
    transform: scaleX(1);
}

.e-price-card h3 {
    font-size: 40px;
    margin-bottom: 8px;
}

.e-price-card .e-area {
    font-size: 15px;
    color: var(--e-muted);
    margin-bottom: 28px;
}

.e-price-card .e-amount {
    font-family: var(--e-serif);
    font-size: 26px;
    line-height: 1.25;
    padding-top: 24px;
    border-top: 1px solid var(--e-line);
    margin-bottom: 28px;
}

.e-price-card .e-amount small {
    display: block;
    font-family: var(--e-sans);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--e-muted);
    margin-bottom: 6px;
}

.e-price-card .e-btn {
    margin-top: auto;
}

.e-costing {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--e-line);
    background: var(--e-paper);
}

.e-costing img {
    width: 100%;
    filter: blur(1.5px);
    transition: filter 0.6s var(--e-ease);
}

.e-costing:hover img {
    filter: none;
}

.e-costing h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.e-costing p {
    margin: 0;
    color: var(--e-muted);
}

/* Plans and gallery tiles that open the enquiry form or a lightbox */
.e-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.e-tile {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    text-align: left;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
}

.e-tile-img {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #fff;
}

.e-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 1.2s var(--e-ease), filter 0.8s var(--e-ease);
}

.e-tile--gated .e-tile-img img {
    filter: blur(3px);
}

.e-tile-img::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 15, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.5s var(--e-ease);
}

.e-tile:hover .e-tile-img img,
.e-tile:focus-visible .e-tile-img img {
    transform: scale(1.06);
}

.e-tile:hover .e-tile-img::after,
.e-tile:focus-visible .e-tile-img::after {
    opacity: 1;
}

.e-tile-cap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: var(--e-ink);
    color: var(--e-on-dark);
    font-family: var(--e-serif);
    font-size: 19px;
}

.e-tile-cap small {
    font-family: var(--e-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--e-accent-2);
    white-space: nowrap;
}

/* Gallery: masonry-like grid of photos */
.e-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 120px;
    gap: 18px;
}

.e-gallery .e-shot {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: var(--e-ink);
    cursor: zoom-in;
}

.e-gallery .e-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--e-ease), opacity 0.6s;
}

.e-gallery .e-shot:hover img {
    transform: scale(1.07);
}

.e-gallery .e-shot:nth-child(4n + 1) { grid-column: span 7; grid-row: span 4; }
.e-gallery .e-shot:nth-child(4n + 2) { grid-column: span 5; grid-row: span 4; }
.e-gallery .e-shot:nth-child(4n + 3) { grid-column: span 5; grid-row: span 3; }
.e-gallery .e-shot:nth-child(4n + 4) { grid-column: span 7; grid-row: span 3; }

/* Location */
.e-location {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.e-map {
    position: relative;
    min-height: 460px;
    background: var(--e-ivory);
    overflow: hidden;
}

.e-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.85) contrast(1.05);
    transition: filter 0.8s var(--e-ease);
}

.e-map:hover iframe {
    filter: none;
}

.e-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.e-distances {
    list-style: none;
    margin: 0;
    padding: 0;
}

.e-distances li {
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--e-line);
    font-size: 17px;
    transition: padding-left 0.5s var(--e-ease), color 0.3s;
}

.e-distances li:hover {
    padding-left: 10px;
}

.e-distances li::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--e-accent);
    transform: rotate(45deg) translateY(-2px);
}

/* NRI */
.e-steps {
    list-style: none;
    counter-reset: e-step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    margin: 0 0 64px;
    border-top: 1px solid var(--e-line-dark);
}

.e-steps li {
    counter-increment: e-step;
    position: relative;
    padding: 44px 28px 0 0;
}

.e-steps li + li {
    padding-left: 28px;
    border-left: 1px solid var(--e-line-dark);
}

.e-steps li::before {
    content: counter(e-step, decimal-leading-zero);
    display: block;
    font-family: var(--e-serif);
    font-style: italic;
    font-size: 52px;
    line-height: 1;
    color: var(--e-accent);
    margin-bottom: 28px;
}

.e-steps h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.e-steps p {
    color: var(--e-on-dark-muted);
    margin: 0;
}

.e-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Virtual tour: wide image with a pulsing play button */
.e-tour {
    position: relative;
    display: block;
    width: 100%;
    min-height: 78vh;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: var(--e-ink);
    color: #fff;
    cursor: pointer;
}

.e-tour img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 2s var(--e-ease);
}

.e-tour:hover img {
    transform: scale(1);
}

.e-tour::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.5);
}

.e-tour-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 78vh;
    padding: 40px 24px;
    text-align: center;
}

.e-play {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.e-play::before {
    content: "";
    margin-left: 6px;
    border-left: 22px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}

.e-play::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: e-ring 2.4s var(--e-ease) infinite;
}

@keyframes e-ring {
    to { transform: scale(1.7); opacity: 0; }
}

.e-tour h2 {
    font-size: clamp(36px, 5vw, 72px);
}

.e-tour p {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* Register-interest block with the inline form */
.e-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.e-promises {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
}

.e-promises li {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--e-line);
    font-family: var(--e-serif);
    font-size: 22px;
}

.e-promises li::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--e-accent);
}

.e-contact-lines {
    margin-top: 36px;
    font-size: 16px;
}

.e-contact-lines a {
    text-decoration: none;
    border-bottom: 1px solid var(--e-accent);
}

/* Forms */
.e-form {
    display: grid;
    gap: 6px;
    padding: 48px 44px 40px;
    background: var(--e-paper);
    border: 1px solid var(--e-line);
    box-shadow: 0 50px 90px -60px rgba(20, 18, 15, 0.5);
}

.e-form h3 {
    font-size: 30px;
    margin-bottom: 6px;
}

.e-form > p {
    color: var(--e-muted);
    font-size: 15px;
    margin-bottom: 14px;
}

.e-field {
    position: relative;
    display: block;
    padding-top: 16px;
}

.e-field input,
.e-field select {
    width: 100%;
    height: 50px;
    padding: 12px 0 6px;
    border: 0;
    border-bottom: 1px solid var(--e-line);
    border-radius: 0;
    background: transparent;
    color: var(--e-text);
    font: inherit;
    font-size: 17px;
    outline: none;
    transition: border-color 0.4s var(--e-ease);
}

.e-field label {
    position: absolute;
    left: 0;
    top: 30px;
    font-size: 16px;
    color: var(--e-muted);
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.4s var(--e-ease), color 0.4s var(--e-ease);
}

.e-field input:focus,
.e-field select:focus {
    border-bottom-color: var(--e-accent);
}

.e-field input:focus + label,
.e-field input:not(:placeholder-shown) + label {
    transform: translateY(-22px) scale(0.78);
    color: var(--e-accent);
}

.e-field::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--e-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--e-ease);
}

.e-field:focus-within::after {
    transform: scaleX(1);
}

.e-phone-row {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 16px;
}

.e-phone-row select {
    cursor: pointer;
    padding-top: 18px;
    font-size: 15px;
}

.e-form .e-btn {
    margin-top: 24px;
    width: 100%;
}

.e-form .e-note {
    margin: 12px 0 0;
}

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

/* Modal enquiry form */
.e-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
}

.e-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.e-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.5s var(--e-ease);
}

.e-modal.is-open .e-modal-backdrop {
    opacity: 1;
}

.e-modal-box {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    width: 100%;
    max-width: 860px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: var(--e-paper);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.5s var(--e-ease), transform 0.7s var(--e-ease);
}

.e-modal.is-open .e-modal-box {
    opacity: 1;
    transform: none;
}

.e-modal-side {
    position: relative;
    padding: 48px 36px;
    background: var(--e-ink);
    color: var(--e-on-dark);
    overflow: hidden;
}

.e-modal-side img.e-modal-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.e-modal-side > * {
    position: relative;
}

.e-modal-side h4 {
    font-size: 15px;
    font-family: var(--e-sans);
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--e-accent-2);
    margin-bottom: 18px;
}

.e-modal-side ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.e-modal-side li {
    font-family: var(--e-serif);
    font-size: 22px;
    padding: 12px 0;
    border-bottom: 1px solid var(--e-line-dark);
}

.e-modal-side a {
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.06em;
}

.e-modal .e-form {
    border: 0;
    box-shadow: none;
}

.e-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--e-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.5s var(--e-ease);
}

.e-modal-close:hover {
    transform: rotate(90deg);
}

/* Lightbox */
.e-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    background: rgba(10, 9, 8, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--e-ease), visibility 0s linear 0.5s;
}

.e-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--e-ease);
}

.e-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(0.96);
    transition: transform 0.7s var(--e-ease), opacity 0.4s;
}

.e-lightbox.is-open img {
    transform: none;
}

.e-lightbox button {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    padding: 12px;
}

.e-lb-close { top: 14px; right: 18px; }
.e-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.e-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Footer */
.e-footer {
    padding: 90px 0 120px;
    background: var(--e-ink);
    color: var(--e-on-dark-muted);
    font-size: 14px;
}

.e-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 56px;
    align-items: start;
    padding-bottom: 48px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--e-line-dark);
}

.e-footer h2 {
    font-size: clamp(30px, 3vw, 44px);
    color: var(--e-on-dark);
    margin-bottom: 18px;
}

.e-footer a {
    color: var(--e-on-dark);
}

.e-footer .e-qr {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.e-footer .e-qr img {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: #fff;
    padding: 6px;
}

.e-disclaimer {
    font-size: 12.5px;
    line-height: 1.75;
}

.e-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    font-size: 13px;
}

.e-legal a {
    text-decoration: none;
    border-bottom: 1px solid var(--e-line-dark);
}

/* Sticky bottom bar (phones) and floating WhatsApp */
.e-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    background: var(--e-ink);
    color: var(--e-on-dark);
    box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(100%);
    transition: transform 0.6s var(--e-ease);
}

.e-dock.is-shown {
    transform: none;
}

.e-dock a,
.e-dock button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.e-dock > * + * {
    border-left: 1px solid var(--e-line-dark);
}

.e-dock .is-primary {
    background: var(--e-cta);
}

.e-wa {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 39;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s var(--e-ease);
}

.e-wa:hover {
    transform: translateY(-4px) scale(1.04);
}

.e-wa svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ---------------------------------------------------------------------
   Scroll motion (added by js/estate.js; static without it)
   --------------------------------------------------------------------- */
.e-js [data-reveal] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1.1s var(--e-ease), transform 1.3s var(--e-ease);
    transition-delay: var(--d, 0s);
}

.e-js [data-reveal="left"] {
    transform: translateX(-60px);
}

.e-js [data-reveal="right"] {
    transform: translateX(60px);
}

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

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

/* Images uncover from a solid panel */
.e-js [data-curtain] {
    position: relative;
}

.e-js [data-curtain]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--e-ink);
    transform-origin: right;
    transition: transform 1.4s var(--e-ease);
    transition-delay: var(--d, 0s);
    pointer-events: none;
}

.e-js [data-curtain].is-in::after {
    transform: scaleX(0);
}

.e-js [data-curtain] img {
    transform: scale(1.18);
    transition: transform 2.2s var(--e-ease);
}

.e-js [data-curtain].is-in img {
    transform: scale(1);
}

/* Split headings: each word slides up from a mask */
.e-js [data-split] .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.08em;
}

.e-js [data-split] .w > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.1s var(--e-ease);
    transition-delay: calc(var(--w, 0) * 0.06s);
}

.e-js [data-split].is-in .w > span {
    transform: none;
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .e-nav,
    .e-phone {
        display: none;
    }
    .e-burger {
        display: block;
    }
}

@media (max-width: 991px) {
    :root {
        --e-header: 72px;
    }
    .e-section {
        padding: 100px 0;
    }
    .e-index {
        display: none;
    }
    .e-head,
    .e-split,
    .e-location,
    .e-register {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .e-split--flip > :first-child {
        order: 0;
    }
    .e-head {
        margin-bottom: 52px;
    }
    .e-figures,
    .e-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .e-figure:nth-child(3),
    .e-steps li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
    .e-figure:nth-child(n + 3),
    .e-steps li:nth-child(n + 3) {
        border-top: 1px solid var(--e-line-dark);
    }
    .e-steps li {
        padding-bottom: 36px;
    }
    .e-reasons {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .e-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .e-costing {
        grid-template-columns: 160px 1fr;
    }
    .e-costing .e-btn {
        grid-column: 1 / -1;
    }
    .e-footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .e-footer .e-qr {
        text-align: left;
    }
    .e-footer .e-qr img {
        margin: 0 0 10px;
    }
    .e-modal-box {
        grid-template-columns: 1fr;
    }
    .e-modal-side {
        display: none;
    }
    .e-dock {
        display: grid;
    }
    .e-wa {
        bottom: 76px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .e-hero-dots {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
    .e-wrap {
        padding: 0 20px;
    }
    .e-section {
        padding: 80px 0;
    }
    .e-header-cta .e-btn {
        display: none;
    }
    .e-logo img {
        height: 38px;
    }
    .e-hero-inner {
        padding-bottom: 70px;
    }
    .e-hero h1 {
        font-size: clamp(42px, 12vw, 60px);
        margin-bottom: 18px;
    }
    .e-hero-tags {
        gap: 8px;
        margin-bottom: 22px;
    }
    .e-tag {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 0.16em;
    }
    .e-hero-dev {
        letter-spacing: 0.12em;
        margin-bottom: 28px;
    }
    .e-price strong {
        font-size: 32px;
    }
    .e-price small {
        letter-spacing: 0.14em;
    }
    .e-hero-specs {
        margin-top: 32px;
    }
    .e-hero-specs b {
        font-size: 18px;
    }
    .e-hero-actions,
    .e-hero-actions .e-btn {
        width: 100%;
    }
    .e-hero-specs div {
        padding-right: 20px;
        margin-right: 20px;
    }
    .e-hero-specs div + div {
        padding-left: 20px;
    }
    .e-scroll {
        display: none;
    }
    .e-figures,
    .e-steps,
    .e-tiles {
        grid-template-columns: 1fr;
    }
    .e-figure,
    .e-figure + .e-figure,
    .e-steps li,
    .e-steps li + li {
        padding-left: 0;
        border-left: 0;
    }
    .e-figure + .e-figure,
    .e-steps li + li {
        border-top: 1px solid var(--e-line-dark);
    }
    .e-figure {
        padding: 30px 0;
    }
    .e-costing {
        grid-template-columns: 1fr;
    }
    .e-gallery {
        grid-auto-rows: 90px;
        gap: 10px;
    }
    .e-gallery .e-shot:nth-child(n) {
        grid-column: span 12;
        grid-row: span 3;
    }
    .e-form {
        padding: 36px 24px 30px;
    }
    .e-phone-row {
        grid-template-columns: 112px 1fr;
        gap: 12px;
    }
    .e-map {
        min-height: 360px;
    }
    .e-lightbox {
        padding: 50px 12px;
    }
    .e-tour,
    .e-tour-inner {
        min-height: 64vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        transition-delay: 0s !important;
    }
    .e-hero-slide img {
        transform: none !important;
    }
    .e-ticker-track {
        animation: none;
    }
}

/* ---------------------------------------------------------------------
   Policy pages (privacy, terms)
   --------------------------------------------------------------------- */
.e-policy-hero {
    padding: calc(var(--e-header) + 90px) 0 80px;
}

.e-policy-hero .e-title {
    margin-bottom: 18px;
}

.e-policy-meta {
    margin: 28px 0 0;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--e-accent-2);
}

.e-policy {
    padding: 90px 0 110px;
    background: var(--e-paper);
}

.e-policy-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.e-policy-toc {
    position: sticky;
    top: calc(var(--e-header) + 24px);
    padding-right: 24px;
    border-right: 1px solid var(--e-line);
}

.e-policy-toc p {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--e-accent);
    margin-bottom: 18px;
}

.e-policy-toc ol {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    counter-reset: toc;
}

.e-policy-toc li {
    counter-increment: toc;
}

.e-policy-toc li a {
    display: flex;
    gap: 12px;
    padding: 7px 0;
    font-size: 15px;
    color: var(--e-muted);
    text-decoration: none;
    transition: color 0.3s var(--e-ease), transform 0.3s var(--e-ease);
}

.e-policy-toc li a::before {
    content: counter(toc, decimal-leading-zero);
    flex: 0 0 20px;
    font-size: 11px;
    padding-top: 4px;
    color: var(--e-accent);
}

.e-policy-toc li a:hover {
    color: var(--e-text);
    transform: translateX(4px);
}

.e-policy-body {
    max-width: 760px;
}

.e-policy-item {
    padding: 0 0 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--e-line);
    scroll-margin-top: calc(var(--e-header) + 24px);
}

.e-policy-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.e-policy-item h2 {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-size: clamp(24px, 2.2vw, 30px);
    margin-bottom: 16px;
}

.e-policy-item h2 span {
    font-family: var(--e-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--e-accent);
}

.e-policy-item p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--e-text);
}

.e-policy-item a {
    color: var(--e-text);
    text-decoration: underline;
    text-decoration-color: var(--e-accent);
    text-underline-offset: 3px;
}

@media (max-width: 991px) {
    .e-policy-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }
    .e-policy-toc {
        position: static;
        padding: 0 0 32px;
        border-right: 0;
        border-bottom: 1px solid var(--e-line);
    }
    .e-policy-toc ol {
        columns: 2;
        column-gap: 32px;
    }
}

@media (max-width: 575px) {
    .e-policy-hero {
        padding: calc(var(--e-header) + 50px) 0 56px;
    }
    .e-policy {
        padding: 56px 0 80px;
    }
    .e-policy-toc ol {
        columns: 1;
    }
    .e-policy-item p {
        font-size: 16px;
    }
}

/* Two plan tiles: keep the three-column tile size and centre the pair */
@media (min-width: 992px) {
    .e-tiles--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: calc((100% - 48px) / 3 * 2 + 24px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------------------------------------------------------------------
   Floor plan tiles: blend, depth and tilt (see js/plan-tilt.js)
   --------------------------------------------------------------------- */
.e-tiles .e-tile {
    isolation: isolate;
    overflow: visible;
    box-shadow:
        0 1px 1px rgba(20, 18, 15, 0.08),
        0 6px 14px -4px rgba(20, 18, 15, 0.18),
        0 26px 44px -22px rgba(20, 18, 15, 0.45);
    transition: box-shadow 0.5s var(--e-ease), transform 0.5s var(--e-ease);
}

.e-tiles .e-tile::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 10px -7px -9px 7px;
    background: #f3ece0;
    box-shadow: 0 10px 22px -12px rgba(20, 18, 15, 0.35);
    transform: rotate(1.4deg);
    transition: transform 0.6s var(--e-ease);
}

.e-tiles .e-tile:hover::before {
    transform: rotate(2.6deg) translate(4px, 4px);
}

.e-tiles .e-tile:hover {
    box-shadow:
        0 2px 2px rgba(20, 18, 15, 0.08),
        0 14px 24px -6px rgba(20, 18, 15, 0.22),
        0 44px 70px -28px rgba(20, 18, 15, 0.55);
}

.e-tiles .e-tile-img {
    background-color: #f8f3ea;
    background-image:
        linear-gradient(rgba(20, 18, 15, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 18, 15, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

.e-tiles .e-tile-img img {
    mix-blend-mode: multiply;
}

.e-tiles .e-tile.is-tilting {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
    transition: box-shadow 0.5s var(--e-ease), transform 0.12s linear;
}

.e-tiles .e-tile-cap {
    position: relative;
}

.e-tiles .e-tile-cap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 3D floor plans (portrait renders): taller tiles so the plan reads large,
   no grid lines over the render's own shading */
.e-tiles--3d .e-tile-img {
    aspect-ratio: 4 / 5;
    background-image: none;
}
.e-tiles--3d .e-tile-img img {
    padding: 14px;
}
@media (min-width: 992px) {
    .e-tiles--2.e-tiles--3d {
        max-width: 1040px;
        gap: 40px;
    }
}
