/* ==========================================================================
   Sadan Real Estate — styles (v5: modern gable)
   The roof shape from the logo remains the one signature device.
   Tokens are documented in DESIGN.md.
   ========================================================================== */

:root {
  --paper: #F1F5EE;
  --paper-deep: #E6EDE3;
  --white: #FFFFFF;
  --emerald: #0D5B36;
  --emerald-hover: #0A4A2C;
  --emerald-soft: rgba(13, 91, 54, 0.08);
  --deep: #072A1A;
  --text: #1A2921;
  --text-2: #4A5A51;
  --line: #D0DCD2;
  --gold: #C8992F;
  --gold-light: #E8C766;
  --on-deep: #C4D3C9;
  --error-on-dark: #FFB8AE;

  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 28px;
  --max: 1280px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 88px;
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 80% at 100% -10%, rgba(232, 199, 102, 0.18), transparent 55%),
    radial-gradient(90% 60% at -10% 30%, rgba(13, 91, 54, 0.07), transparent 50%),
    linear-gradient(180deg, #F6F9F3 0%, var(--paper) 28%, var(--paper-deep) 100%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--emerald); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--emerald); color: #fff; padding: 12px 16px; }
.skip-link:focus { top: 16px; }

h2 {
  font-family: var(--display); font-variation-settings: "wdth" 78, "wght" 750;
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem); line-height: .98; letter-spacing: -0.02em;
  color: var(--emerald); text-wrap: balance;
}
h3 { font-family: var(--display); font-variation-settings: "wdth" 88, "wght" 700; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: var(--emerald-hover); box-shadow: 0 10px 28px -12px rgba(7, 42, 26, 0.55); }
.btn-gold { background: var(--gold-light); color: var(--deep); }
.btn-gold:hover { background: #F2D684; box-shadow: 0 10px 28px -12px rgba(200, 153, 47, 0.55); }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 1.0625rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Header: floating glass pill (Cre3via-style) ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0 10px;
  pointer-events: none;
}
.top .wrap { max-width: calc(var(--max) + var(--gutter) * 2); }
.top .wrap, .top-bar, .top-nav, .top-links, .top .btn, .top .logo, .lang-switch, .lang-btn { pointer-events: auto; }
.top-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
  min-height: 68px;
  padding: 8px; padding-inline-start: 22px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 18px 50px -28px rgba(7, 42, 26, 0.28);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.top.is-scrolled .top-bar {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 20px 48px -22px rgba(7, 42, 26, 0.32);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.top-nav {
  display: flex; align-items: center; gap: 10px 20px; margin-inline-start: auto;
}
.top-links {
  display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px);
}
.top-links a {
  color: #3d4a43; text-decoration: none;
  font-weight: 500; font-size: .9375rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.top-links a:hover { color: var(--deep); }
.lang-switch {
  display: inline-flex; align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(7, 42, 26, 0.06);
  border: 1px solid rgba(13, 91, 54, 0.1);
}
.lang-btn {
  appearance: none; border: 0; cursor: pointer;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: transparent; color: var(--text-2);
  font: 600 .8125rem/1 var(--body);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.85);
  color: var(--deep);
  box-shadow: 0 4px 12px -6px rgba(7, 42, 26, 0.35);
}
.lang-btn:hover:not(.is-active) { color: var(--deep); }
.btn-nav {
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--deep); color: #fff;
  font-size: .9375rem; font-weight: 600;
  box-shadow: 0 8px 20px -12px rgba(7, 42, 26, 0.65);
}
.btn-nav:hover {
  background: #0a3320;
  box-shadow: 0 12px 28px -12px rgba(7, 42, 26, 0.7);
}
@media (max-width: 860px) {
  .top { padding: 12px 0 8px; }
  .top-bar {
    min-height: 58px;
    padding: 6px; padding-inline-start: 14px;
    border-radius: 999px;
  }
  .logo img { height: 40px; }
  .top-links { display: none; }
  .lang-btn { min-height: 30px; padding: 0 10px; font-size: .75rem; }
  .btn-nav { min-height: 44px; padding: 0 16px; font-size: .8125rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(12px, 2vw, 32px) 0 clamp(72px, 9vw, 128px); overflow: clip; }
.hero-intro {
  font: 500 clamp(1.1875rem, .95rem + .85vw, 1.625rem)/1.4 var(--body);
  color: var(--text-2); margin-bottom: clamp(24px, 3.5vw, 44px); max-width: 28em;
  letter-spacing: -0.01em;
}
.hero-intro span { color: var(--text); display: inline; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px);
  align-items: stretch;
}

.words { container-type: inline-size; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2px; }
.word {
  appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left;
  font-family: var(--display); text-transform: uppercase;
  font-size: min(20.5cqi, 9.75rem); line-height: .86; letter-spacing: -0.015em;
  font-variation-settings: "wdth" 62, "wght" 700;
  color: transparent; -webkit-text-stroke: 2.5px var(--emerald); paint-order: stroke fill;
  transition: font-variation-settings .55s var(--ease), color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease), transform .35s var(--ease);
}
.word:hover { color: var(--emerald-soft); transform: translateX(4px); }
.word[aria-selected="true"] {
  font-variation-settings: "wdth" 104, "wght" 850;
  color: var(--emerald);
  -webkit-text-stroke-color: transparent;
  transform: none;
}
.word:focus-visible { outline-offset: 6px; }

.stage { position: relative; min-height: clamp(300px, 36vw, 520px); }
.gable-wrap {
  position: absolute; background: linear-gradient(145deg, var(--gold-light), var(--gold));
  padding: 4px;
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
}
.gable {
  width: 100%; height: 100%; position: relative;
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
  background: var(--deep);
}
.gable img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gable-wrap-lg { --roof: 27%; right: 0; top: 0; bottom: 7%; width: 68%; }
.gable-wrap-sm { --roof: 30%; left: 0; bottom: 7%; width: 46%; height: 56%; }
.gable-lg img { opacity: 0; transition: opacity .65s var(--ease), transform 1.3s var(--ease-out); transform: scale(1.08); }
.gable-lg img.is-on { opacity: 1; transform: none; }
.gable-sm img { object-position: 50% 60%; }
.swoosh { position: absolute; left: -7%; bottom: -4%; width: 112%; height: 24%; overflow: visible; }
.swoosh-green { fill: var(--emerald); }
.swoosh-gold { fill: var(--gold); }

.js .gable-wrap { animation: rise 1s var(--ease-out) both; }
.js .gable-wrap-sm { animation-delay: .16s; }
.js .swoosh { animation: sweep 1.1s var(--ease-out) .4s both; }
.js .words { animation: fade-up .8s var(--ease-out) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16%); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.panels {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: clamp(8px, 1.5vw, 16px);
  padding-top: clamp(24px, 3vw, 40px);
  position: relative;
}
.panels::before {
  content: ""; position: absolute; left: 0; top: -1px; width: min(120px, 20%); height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto;
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: start;
}
.js .panel:not(.is-on) { display: none; }
.panel + .panel { margin-top: 32px; }
.js .panel + .panel { margin-top: 0; }
.js .panel.is-on {
  animation: panel-in .45s var(--ease-out) both;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.panel-text { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.55; max-width: 34em; color: var(--text); }
.panel-list { columns: 2; column-gap: 28px; font-size: .9375rem; font-weight: 500; color: var(--text-2); }
.panel-list li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; }
.panel-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 11px;
  background: var(--gold); --roof: 45%;
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
}
.panel .btn { align-self: start; }

@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr 1fr; }
  .panel .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .words { gap: 6px; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .word {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
    -webkit-text-stroke-width: 2px;
  }
  .word:hover { transform: none; }
  .stage { min-height: 74vw; margin-inline: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel .btn { width: 100%; }
}

/* ---------- Section head ---------- */
.head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.head p { color: var(--text-2); padding-bottom: 6px; font-size: 1.0625rem; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

/* ---------- Areas: a street of gables ---------- */
.areas { padding-bottom: clamp(80px, 10vw, 144px); }
.street-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding-block: 4px 8px;
}
.street {
  --cap: 112px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 1.5vw, 22px);
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.street::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: var(--cap);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.house { flex: 1 1 0; min-width: 0; }
.house-img {
  --roof: 64px;
  height: var(--h);
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
  background: var(--deep);
  overflow: hidden;
}
.house-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.house:hover .house-img img { transform: scale(1.05); }
.house figcaption {
  height: var(--cap); padding-top: 22px;
  font-size: .875rem; line-height: 1.45; color: var(--text-2);
}
.house figcaption strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 84, "wght" 750;
  font-size: 1.25rem; line-height: 1.1;
  color: var(--emerald); margin-bottom: 6px; letter-spacing: -0.01em;
}
.also { margin-top: clamp(28px, 4vw, 48px); color: var(--text-2); max-width: 46em; }
@media (max-width: 980px) {
  .street { width: max-content; max-width: none; padding-bottom: 14px; }
  .street::after { bottom: calc(var(--cap) + 14px); }
  .house { flex: 0 0 220px; }
  .house-img { height: calc(var(--h) * .72); }
}

/* ---------- Steps ---------- */
.steps-section {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(232, 199, 102, 0.12), transparent 50%),
    var(--deep);
  color: #fff;
  padding-block: clamp(80px, 10vw, 144px);
}
.steps-section h2 { color: #fff; max-width: 14em; margin-bottom: clamp(48px, 6vw, 88px); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid rgba(232, 199, 102, 0.45);
  counter-reset: step;
}
.steps li {
  position: relative;
  counter-increment: step;
  display: flex;
  flex-direction: column;
  padding: 36px clamp(16px, 2vw, 32px) 0 0;
}
.steps li::before {
  content: "";
  position: absolute; left: 0; top: -17px;
  width: 20px; height: 18px;
  background: var(--gold-light);
  --roof: 45%;
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
}
.steps li::after {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 60, "wght" 800;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 199, 102, 0.55);
  paint-order: stroke fill;
  order: -1;
  margin-bottom: 28px;
  transition: -webkit-text-stroke-color .3s var(--ease), color .3s var(--ease);
}
.steps li:hover::after {
  color: rgba(232, 199, 102, 0.12);
  -webkit-text-stroke-color: var(--gold-light);
}
.steps h3 { color: #fff; margin-bottom: 12px; }
.steps p { color: var(--on-deep); font-size: .96875rem; line-height: 1.55; max-width: 22em; flex: 1; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; row-gap: 56px; }
  .steps li { border-top: 2px solid rgba(232, 199, 102, 0.45); }
  .steps li::before { top: -18px; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-block: clamp(80px, 10vw, 144px) clamp(100px, 12vw, 190px); }
.statement {
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem);
  max-width: 17em;
  margin-bottom: clamp(48px, 6vw, 88px);
  letter-spacing: -0.02em;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px clamp(28px, 4vw, 72px);
}
.principles > div {
  padding-top: 0;
}
.principles h3 {
  color: var(--emerald);
  padding-top: 20px;
  border-top: 2px solid var(--gold);
  margin-bottom: 12px;
  position: relative;
}
.principles h3::before {
  content: "";
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 2px;
  background: var(--emerald);
}
.principles p { color: var(--text-2); line-height: 1.6; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact: split copy + structured form ---------- */
.contact {
  --peak: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(70% 50% at 85% 10%, rgba(232, 199, 102, 0.18), transparent 55%),
    radial-gradient(50% 40% at 10% 80%, rgba(255, 255, 255, 0.06), transparent 45%),
    var(--emerald);
  color: #fff;
  clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%);
  margin-top: calc(var(--peak) * -1);
  padding-block: calc(var(--peak) + clamp(56px, 7vw, 100px)) clamp(72px, 9vw, 128px);
}
.contact :focus-visible { outline-color: var(--gold-light); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: .8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-light);
}
.contact-eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--gold-light);
}
.contact h2 {
  color: #fff;
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.75rem);
  margin-bottom: 18px;
}
.contact-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem; line-height: 1.65;
  max-width: 28em; margin-bottom: 28px;
}
.contact-direct {
  display: grid; gap: 4px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 22em;
}
.contact-direct span { font-size: .875rem; color: rgba(255, 255, 255, 0.7); }
.contact-direct a {
  color: var(--gold-light); font-weight: 600; font-size: 1.125rem;
  text-decoration: none;
}
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

.enquiry {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 28px 60px -28px rgba(7, 42, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .8125rem; font-weight: 600; color: var(--text);
  letter-spacing: 0.01em;
}
.field label em {
  font-style: normal; font-weight: 500; color: var(--text-2); margin-left: 4px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: 500 1rem/1.4 var(--body);
  color: var(--text);
  background: #F6F9F4;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230D5B36' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  background-color: #F6F9F4;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8A968D; font-weight: 400; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B7C7BB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 91, 54, 0.12);
}
.field [aria-invalid="true"] {
  border-color: #C45B4A;
  box-shadow: 0 0 0 4px rgba(196, 91, 74, 0.12);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  margin-top: 22px;
}
.enquiry-foot .btn { border-radius: 999px; }
.form-status { font-weight: 500; font-size: .9375rem; color: var(--text-2); }
.form-status.is-error { color: #B33A2B; }
.form-status.is-success { color: var(--emerald); }
.enquiry-note {
  margin-top: 16px; font-size: .8125rem; color: var(--text-2);
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .enquiry { border-radius: 22px; padding: 20px; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.foot { padding-top: clamp(48px, 6vw, 80px); font-size: .9375rem; }
.foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px 64px; padding-bottom: 40px;
}
.logo-foot img { height: clamp(120px, 14vw, 180px); width: auto; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px clamp(40px, 7vw, 112px); }
.foot nav { display: grid; grid-template-columns: auto auto; gap: 10px 40px; }
.foot nav a {
  color: var(--text); text-decoration: none; font-weight: 500;
  transition: color .2s var(--ease);
}
.foot nav a:hover { color: var(--emerald); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot address { font-style: normal; line-height: 1.9; color: var(--text-2); }
.foot address a { font-weight: 600; }
.foot-legal { border-top: 1px solid var(--line); padding-block: 22px; color: var(--text-2); font-size: .875rem; }

/* ---------- Arabic / RTL ---------- */
html.lang-ar {
  --body: "IBM Plex Sans Arabic", "Onest", system-ui, sans-serif;
  --display: "IBM Plex Sans Arabic", "Anybody", system-ui, sans-serif;
}
html.lang-ar body { font-size: 1.0625rem; line-height: 1.75; }
html.lang-ar h2,
html.lang-ar h3,
html.lang-ar .statement,
html.lang-ar .house figcaption strong {
  font-family: var(--display);
  font-variation-settings: normal;
  letter-spacing: 0;
}
html.lang-ar .word {
  font-family: var(--display);
  font-variation-settings: normal;
  text-transform: none;
  font-size: min(16cqi, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0;
  -webkit-text-stroke-width: 1.5px;
}
html.lang-ar .word[aria-selected="true"] {
  font-weight: 700;
}
html.lang-ar .steps li::after {
  font-family: var(--display);
  font-variation-settings: normal;
}
html.lang-ar .panel-list li::before,
html.lang-ar .steps li::before {
  left: auto;
  right: 0;
}
html.lang-ar .panel-list li { padding: 8px 22px 8px 0; }
html[dir="rtl"] .word:hover { transform: translateX(-4px); }
html[dir="rtl"] .word[aria-selected="true"] { transform: none; }
html[dir="rtl"] .contact-eyebrow::before { order: 1; }
html[dir="rtl"] .principles h3::before { left: auto; right: 0; }
html[dir="rtl"] .field select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 40px;
}
@media (max-width: 760px) {
  html.lang-ar .word { font-size: clamp(2rem, 11vw, 3.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
