/* =========================================================
   IMARA — Ellington-style design system
   Serif:  Teodor      (fallback: Newsreader)
   Sans:   Acumin Pro  (fallback: Inter)
   ========================================================= */

:root {
  /* Ellington's own typefaces first (Teodor by Pangram Pangram, Acumin Pro via Adobe Fonts).
     They render when licensed and loaded; otherwise the free stand-ins below are used. */
  --serif: "Teodor", "Newsreader", "Times New Roman", serif;
  --sans: "acumin-pro", "Acumin Pro", "Inter", "Helvetica Neue", Arial, sans-serif;

  --ink: #111111;
  --black: #000000;
  --text: #111111;
  --name: #414141;
  --muted: #878787;
  --soft: #aaaaaa;
  --line: #414141;
  --btn-text: #1e1e1e;
  --grey: #e7e7e5;
  --cream: #f2f1ed;
  --tan: #aa8d74;
  --white: #ffffff;
  --input-border: #dedede;
  --footer-btn: #2b2b2b;

  --gutter: 37px;
  --gap: 40px;
  --topbar-h: 46px;
  --header-h: 98px;
  --hero-h: 787px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 8px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--btn-text);
  background: transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

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

.btn--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--solid:hover { background: var(--white); color: var(--ink); }

.caret {
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  margin-left: 7px;
}

/* ---------- Top bar ---------- */
.topbar {
  height: var(--topbar-h);
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.topbar__lang {
  color: var(--white);
  font-size: 11px;
  font-weight: 300;
  line-height: 20px;
  padding: 0 10px;
  letter-spacing: .3px;
}
.topbar__lang .caret { width: 4px; height: 4px; margin-left: 9px; transform: translateY(-2px) rotate(45deg); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--header-h);
  transition: box-shadow .3s ease;
}
.header.is-stuck { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.05); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 188px 0 var(--gutter);
}

/* Logo (text wordmark) */
.logo {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  color: var(--ink);
  line-height: 1;
}
.logo__mark { grid-row: 1 / span 2; display: flex; }
.logo__word {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.logo__sub {
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  margin-top: 4px;
  padding-left: 3px;
}

/* Nav */
.nav ul { display: flex; align-items: center; gap: 8px; }
.nav a {
  display: block;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .055px;
  line-height: 17px;
  text-transform: uppercase;
  color: var(--black);
  transition: color .2s ease;
}
.nav a:hover { color: var(--tan); }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 8px;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; height: 1px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: var(--ink);
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.28);
}
.hero__slide.is-active { opacity: 1; }
.hero__text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  padding: 0 24px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 1.2s ease .3s, opacity 1.2s ease .3s;
}
.hero__slide.is-active .hero__text { transform: none; opacity: 1; }
.hero__text h2 {
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: .144px;
}
.hero__text p {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .3px;
  opacity: .9;
}
.hero__caption {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  z-index: 2;
  max-width: 520px;
  font-size: 10px;
  font-weight: 300;
  line-height: 15px;
  letter-spacing: .3px;
  color: rgba(255,255,255,.75);
}
.hero__dots {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 2;
}
.hero__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  background: transparent;
  padding: 0;
}
.hero__dots button.is-active { background: var(--white); }

/* ---------- Intro ---------- */
.intro { padding: 60px 0 90px; }
.intro h1 {
  max-width: 1024px;
  margin: 0 auto 90px;
  text-align: center;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 300;
  line-height: 37px;
  color: var(--ink);
}
.intro__grid {
  display: grid;
  grid-template-columns: 433px 1fr;
  gap: 35px;
  align-items: start;
}
.frame { background: var(--grey); overflow: hidden; }
.intro__col--tall .frame { height: 576px; }
.intro__col--wide .frame { height: 573px; padding: 0 5px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.intro__col p {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: .072px;
  color: var(--ink);
}
.intro__col--tall p { max-width: 301px; }

/* ---------- Section headings ---------- */
.section-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
}
.section-lead {
  max-width: 950px;
  margin: 20px auto 60px;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: .072px;
  color: var(--ink);
}

/* ---------- Latest launch ---------- */
.launch { background: var(--cream); padding: 90px 0 70px; border-top: 1px solid #e3e1db; }
.eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}
.launch .section-lead { margin-bottom: 56px; }

.concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 64px;
}
.concepts figure { margin: 0; }
.concepts img { width: 100%; height: 300px; object-fit: cover; background: #d9d9d6; }
.concepts figcaption {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.launch__location {
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  color: var(--muted);
}

.launch__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfcdc6;
  border-bottom: 1px solid #cfcdc6;
  margin-bottom: 64px;
}
.stat {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid #cfcdc6;
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 46px;
  color: var(--ink);
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.launch__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.launch__grid h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
  margin-bottom: 20px;
}
.launch__plan h3 + h3, .launch__plan ul + h3 { margin-top: 36px; }

.launch__table table { width: 100%; border-collapse: collapse; }
.launch__table th {
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 12px;
  border-bottom: 1px solid #cfcdc6;
}
.launch__table td {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid #e3e1db;
}
.launch__table td:first-child { font-weight: 400; }
.launch__table th:last-child, .launch__table td:last-child { text-align: right; }

.launch__plan ul li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  padding: 12px 0;
  border-bottom: 1px solid #e3e1db;
}
.launch__plan ul li strong { font-weight: 500; color: var(--ink); text-align: right; }
.launch__plan ul li span { color: var(--muted); }
.launch__plan .launch__features li { justify-content: flex-start; color: var(--ink); }
.launch__features li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tan);
  margin: 8px 12px 0 0;
  flex-shrink: 0;
}
.launch__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.launch__disclaimer {
  margin-top: 56px;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  line-height: 19px;
  color: var(--muted);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Featured / communities grids ---------- */
.featured { background: var(--grey); padding: 80px 0 70px; }
.communities { background: var(--grey); padding: 60px 0 80px; }

.grid { display: grid; gap: var(--gap); margin-bottom: 70px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: 312fr 663fr 312fr; }

.card { display: block; color: inherit; }
.card__img { height: 442px; overflow: hidden; background: #d9d9d6; }
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.card:hover .card__img img { transform: scale(1.04); }
.card h3 {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .072px;
  color: var(--name);
  padding: 8px 0 1px;
}
.card p {
  font-size: 13.75px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: .055px;
  color: var(--muted);
}

/* ---------- Image banners ---------- */
.banner, .updates {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
}
.banner::before, .updates::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
}
.banner { height: 560px; }
.updates { height: 750px; background-attachment: fixed; }
.banner__content, .updates__content { position: relative; z-index: 1; max-width: 700px; padding: 0 24px; }
.banner h2, .updates h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 46px;
  letter-spacing: .168px;
  color: var(--cream);
}
.banner p {
  margin: 24px auto 40px;
  max-width: 600px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}
.updates h2 { color: var(--white); }
.updates p {
  margin: 20px auto 30px;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  color: var(--white);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); }

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
  align-items: start;
  gap: 40px;
  padding: 74px 0 60px;
}
.logo--footer { color: var(--white); }
.logo--footer .logo__word { font-size: 40px; letter-spacing: 8px; }
.logo--footer .logo__sub { font-size: 10px; letter-spacing: 5px; margin-top: 7px; }

.footer__person {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--white);
}
.footer__line {
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  line-height: 19px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--white);
  margin-bottom: 24px;
}
.footer__line:last-child { margin-bottom: 0; }

.footer__social { text-align: center; }
.footer__social p { font-size: 11px; font-weight: 300; line-height: 20px; margin-bottom: 14px; }
.social { display: flex; justify-content: center; gap: 18px; }
.social a { display: flex; }
.social svg { width: 18px; height: 18px; fill: var(--white); transition: fill .2s; }
.social a:hover svg { fill: var(--tan); }

.newsletter { display: flex; flex-direction: column; }
.newsletter label { font-size: 13px; font-weight: 300; line-height: 23px; text-align: center; margin-bottom: 8px; }
.newsletter input {
  height: 40px;
  border: 1px solid var(--input-border);
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 13px;
  padding: 0 12px;
  margin-bottom: 12px;
  outline: none;
}
.newsletter button {
  height: 40px;
  background: var(--footer-btn);
  color: var(--white);
  border: 0;
  font-size: 13px;
  font-weight: 300;
  transition: background .2s;
}
.newsletter button:hover { background: var(--tan); }

.form-note { margin-top: 12px; font-size: 13px; color: var(--tan); }

.footer__careers { text-align: center; padding: 10px 0 60px; }
.footer__careers-title {
  display: inline-block;
  font-size: 15px;
  font-weight: 300;
  line-height: 27px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
}
.footer__careers p {
  margin: 22px 0 26px;
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
  color: var(--soft);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__col h6 {
  display: inline-block;
  font-size: 12px;
  font-weight: 300;
  line-height: 17px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--white);
  padding-bottom: 4px;
  margin-bottom: 18px;
}
.footer__col ul + h6 { margin-top: 26px; }
.footer__col li a {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  line-height: 24px;
  color: var(--white);
  transition: color .2s;
}
.footer__col li a:hover { color: var(--tan); }
.footer__col ul { margin-bottom: 10px; }

.footer__legal {
  max-width: 980px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 11px;
  font-weight: 300;
  line-height: 18px;
  color: var(--soft);
}
.footer__copy {
  text-align: center;
  font-size: 11px;
  font-weight: 300;
  line-height: 20px;
  padding: 50px 0 30px;
}

/* ---------- Floating side bar ---------- */
.sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 47px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0,0,0,.12);
  z-index: 90;
}
.sidebar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-bottom: 1px solid #eeeeee;
  color: var(--soft);
  font-size: 8px;
  font-weight: 400;
  line-height: 10px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 2px;
  transition: background .2s, color .2s;
}
.sidebar__item:last-child { border-bottom: 0; }
.sidebar__item svg {
  width: 16px; height: 16px;
  fill: none; stroke: #333; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 5px;
}
.sidebar__item:hover { background: var(--ink); color: var(--white); }
.sidebar__item:hover svg { stroke: var(--white); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 56px;
  bottom: 40px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: #333; stroke-width: 1.4; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.modal__box {
  position: relative;
  width: min(520px, calc(100% - 32px));
  margin: 8vh auto 0;
  background: var(--white);
  padding: 46px 44px 40px;
  color: var(--ink);
}
.modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0;
  font-size: 28px; line-height: 1; color: var(--muted);
}
.modal__box h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 34px;
  margin-bottom: 10px;
}
.modal__box > p { font-size: 14px; line-height: 22px; color: var(--muted); margin-bottom: 24px; }
.enquiry { display: grid; gap: 12px; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  padding: 11px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  outline: none;
  resize: vertical;
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { border-color: var(--ink); }
.enquiry .btn { justify-self: center; margin-top: 6px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.consent input { width: auto; margin-top: 3px; }

/* ---------- Cookie bar ---------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--tan);
  color: var(--white);
  padding: 22px var(--gutter);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
}
.cookie.is-hidden { display: none; }
.cookie p { max-width: 1130px; }
.cookie a { text-decoration: underline; }
.cookie button {
  flex-shrink: 0;
  background: var(--white);
  color: var(--ink);
  border: 0;
  padding: 8px 26px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-right: 60px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header__inner { padding-right: var(--gutter); }
}

@media (max-width: 1024px) {
  :root { --hero-h: 620px; --gutter: 24px; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__col--tall .frame { height: 480px; }
  .intro__col--wide .frame { height: 420px; padding: 0; }
  .intro__col--tall p { max-width: none; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--3 .card:last-child { grid-column: 1 / -1; }
  .card__img { height: 360px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
  .launch__grid { grid-template-columns: 1fr; gap: 48px; }
  .launch__stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #cfcdc6; }
  .hero__text h2 { font-size: 38px; line-height: 44px; }
}

@media (max-width: 768px) {
  :root { --hero-h: 520px; --header-h: 72px; --gutter: 16px; --gap: 24px; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    padding: 20px var(--gutter);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 0; border-bottom: 1px solid #eee; font-size: 14px; }
  .menu-toggle { display: flex; }
  .logo__word { font-size: 22px; }
  .hero__text h2 { font-size: 30px; line-height: 36px; }
  .intro h1 { font-size: 26px; line-height: 32px; margin-bottom: 50px; }
  .intro { padding: 40px 0 60px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid { margin-bottom: 40px; }
  .card__img { height: 260px; }
  .featured, .communities { padding: 56px 0 50px; }
  .launch { padding: 56px 0 50px; }
  .concepts { grid-template-columns: 1fr; margin-bottom: 40px; }
  .concepts img { height: 220px; }
  .hero__caption { display: none; }
  .stat strong { font-size: 32px; line-height: 36px; }
  .launch__table td { font-size: 14px; padding: 12px 0; }
  .banner { height: 440px; }
  .updates { height: 520px; background-attachment: scroll; }
  .banner h2, .updates h2 { font-size: 32px; line-height: 38px; }
  .footer__top { grid-template-columns: 1fr; text-align: center; gap: 36px; padding: 56px 0 40px; }
  .logo--footer { justify-content: center; display: inline-grid; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sidebar { top: auto; bottom: 0; transform: none; width: 100%; display: flex; }
  .sidebar__item { flex: 1; height: 56px; border-bottom: 0; border-right: 1px solid #eee; }
  .back-to-top { display: none; }
  .cookie { flex-direction: column; align-items: flex-start; gap: 14px; bottom: 56px; }
  .cookie button { margin-right: 0; }
}

/* =========================================================
   Landing page additions (ellingtonsmasterplan.com)
   ========================================================= */

/* Top bar note */
.topbar { justify-content: space-between; }
.topbar__note {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .3px;
  padding-right: 10px;
}

/* Image logo */
.logo { display: flex; align-items: center; }
.logo img { height: 66px; width: auto; display: block; }
.logo--footer img { height: 120px; }

/* Nav */
.nav a { padding: 12px 16px; }
.nav__cta { border: 1px solid var(--ink); padding: 10px 20px !important; margin-left: 8px; }
.nav__cta:hover { background: var(--ink); color: var(--white) !important; }

/* Hero */
.hero__text h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: .144px;
  max-width: 900px;
}
.hero__text h2 { max-width: 900px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn--ghost { border-color: rgba(255,255,255,.55); }

/* Figures strip */
.figures { background: var(--white); padding: 0; }
.figures .launch__stats { margin: 0; border-top: 0; }

/* Intro variants */
.intro__title {
  max-width: 1024px;
  margin: 0 auto 70px;
  text-align: center;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 300;
  line-height: 40px;
  color: var(--ink);
}
.intro .eyebrow { margin-bottom: 14px; }
.intro__col .btn { margin-top: 26px; }
.intro__col--wide p { max-width: 760px; }

.eyebrow--left { text-align: left; }
.eyebrow--light { color: var(--tan); }

/* Homes table */
.launch__table--wide { margin: 10px 0 50px; }
.table-note { margin-top: 16px; font-size: 12px; line-height: 19px; color: var(--muted); }

/* Gallery */
.gallery { background: var(--white); padding: 90px 0 60px; }
.gallery figure.card { margin: 0; }
.gallery .grid:last-of-type { margin-bottom: 20px; }

/* Community detail */
.community { background: var(--cream); padding: 70px 0 60px; }
.community__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.community__item { border-top: 1px solid #cfcdc6; padding-top: 22px; }
.community__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
  margin-bottom: 10px;
}
.community__item span { font-size: 14px; line-height: 22px; color: var(--muted); }
.community__note { margin-top: 40px; text-align: center; font-size: 12px; line-height: 19px; color: var(--muted); }

/* Location */
.location { background: var(--white); padding: 90px 0; }
.location__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
}
.location__img { position: relative; }
.location__img img { width: 100%; height: 520px; object-fit: cover; }
.img-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(17,17,17,.75);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 10px;
}
.location__text h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 40px;
  color: var(--ink);
  margin-bottom: 22px;
}
.location__text p { font-size: 16px; line-height: 26px; color: var(--ink); margin-bottom: 16px; }
.location__text .btn { margin-top: 10px; }

/* Payment */
.payment { background: var(--grey); padding: 90px 0 80px; }
.payment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 50px;
}
.payment__card { background: var(--white); padding: 36px 32px 32px; }
.payment__card strong {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--ink);
}
.payment__card span {
  display: block;
  margin: 8px 0 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tan);
}
.payment__card p { font-size: 14px; line-height: 22px; color: var(--muted); }

/* FAQ */
.faq { background: var(--white); padding: 90px 0; }
.faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid #e3e1db; }
.faq details { border-bottom: 1px solid #e3e1db; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 18px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  color: var(--muted);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 24px; font-size: 16px; line-height: 26px; color: var(--ink); max-width: 760px; }

/* Register */
.register { background: var(--ink); color: var(--white); padding: 90px 0; }
.register__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.register__text h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 42px;
  margin-bottom: 22px;
}
.register__text p { font-size: 16px; line-height: 26px; color: rgba(255,255,255,.8); }
.register__contact { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.register__contact span { font-weight: 400; letter-spacing: .5px; text-transform: uppercase; font-size: 12px; color: var(--tan); }
.register__contact a { border-bottom: 1px solid rgba(255,255,255,.5); align-self: flex-start; padding-bottom: 2px; }
.register__contact a:hover { border-color: var(--tan); color: var(--tan); }

.enquiry--dark input, .enquiry--dark select, .enquiry--dark textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
}
.enquiry--dark input::placeholder, .enquiry--dark textarea::placeholder { color: rgba(255,255,255,.55); }
.enquiry--dark select option { color: var(--ink); }
.enquiry--dark input:focus, .enquiry--dark select:focus, .enquiry--dark textarea:focus { border-color: var(--white); }
.enquiry--dark .consent { color: rgba(255,255,255,.65); }
.enquiry--dark .btn { justify-self: start; }

/* Footer variants */
.footer { border-top: 1px solid rgba(255,255,255,.08); }
.footer__top--landing { grid-template-columns: 1.4fr 1fr 1.2fr; }
.footer__links--landing { grid-template-columns: 1fr 1.4fr 1fr; }

/* Responsive */
@media (max-width: 1024px) {
  .logo img { height: 52px; }
  .hero__text h1 { font-size: 40px; line-height: 46px; }
  .community__grid { grid-template-columns: 1fr 1fr; }
  .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .location__img img { height: 380px; }
  .payment__grid { grid-template-columns: 1fr; }
  .register__grid { grid-template-columns: 1fr; gap: 50px; }
  .footer__top--landing { grid-template-columns: 1fr 1fr; }
  .nav__cta { margin-left: 0; }
}
@media (max-width: 768px) {
  .topbar__note { display: none; }
  .logo img { height: 44px; }
  .hero__text h1 { font-size: 30px; line-height: 36px; }
  .hero__actions { margin-top: 24px; }
  .intro__title { font-size: 26px; line-height: 32px; margin-bottom: 40px; }
  .gallery, .location, .faq, .register, .payment { padding: 56px 0; }
  .community__grid { grid-template-columns: 1fr; gap: 24px; }
  .location__img img { height: 260px; }
  .location__text h2 { font-size: 28px; line-height: 34px; }
  .register__text h2 { font-size: 28px; line-height: 34px; }
  .faq summary { font-size: 18px; padding-right: 32px; }
  .footer__top--landing, .footer__links--landing { grid-template-columns: 1fr; }
  .logo--footer img { height: 90px; }
  .nav__cta { border: 0; padding: 16px 0 !important; }
}

/* Key facts */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 40px;
  margin: 0 0 80px;
  padding: 36px 0;
  border-top: 1px solid #e3e1db;
  border-bottom: 1px solid #e3e1db;
}
.facts div { margin: 0; }
.facts dt {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink); }
@media (max-width: 1024px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .facts { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; } }

/* ---------- Connectivity / drive times ---------- */
.connect { background: var(--cream); padding: 90px 0 80px; border-top: 1px solid #e3e1db; }
.connect__picker {
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 30px 0;
  border-top: 1px solid #cfcdc6;
  border-bottom: 1px solid #cfcdc6;
}
.connect__picker label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}
.connect__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.connect__row select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  padding: 0 12px;
}
.connect__result { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.connect__result strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  line-height: 36px;
  color: var(--ink);
  white-space: nowrap;
}
.connect__result span { font-size: 13px; line-height: 20px; color: var(--muted); flex: 1; min-width: 160px; }

.connect__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.connect__list li {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e3e1db;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}
.connect__name a { border-bottom: 1px solid #cfcdc6; }
.connect__name a:hover { color: var(--tan); border-color: var(--tan); }
.connect__km { color: var(--muted); min-width: 60px; text-align: right; }
.connect__min { font-weight: 500; min-width: 54px; text-align: right; }
.connect__dir {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tan);
  border-bottom: 1px solid transparent;
}
.connect__dir:hover { border-color: var(--tan); }
.connect__note { margin-top: 40px; text-align: center; font-size: 12px; line-height: 19px; color: var(--muted); }

@media (max-width: 1024px) {
  .connect__row { grid-template-columns: 1fr; }
  .connect__list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .connect { padding: 56px 0; }
  .connect__result strong { font-size: 28px; }
  .connect__list li { grid-template-columns: 1fr auto auto; }
  .connect__dir { grid-column: 1 / -1; justify-self: start; }
}

/* Forms: honeypot and hint */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-hint { font-size: 12px; line-height: 18px; color: rgba(255,255,255,.55); }
.form-note a { text-decoration: underline; }

/* ---------- Predicted floor plans ---------- */
.plans { background: var(--white); padding: 90px 0 80px; border-top: 1px solid #e3e1db; }
.plans__banner {
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 18px 22px;
  border: 1px solid var(--tan);
  background: #fbf7f2;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
}
.plans__banner strong { font-weight: 500; color: var(--tan); }
.plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px var(--gap); margin: 60px 0 50px; }
.plan { margin: 0; }
.plan img { width: 100%; height: auto; border: 1px solid #e3e1db; background: var(--white); }
.plan figcaption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--muted); }
.plan figcaption strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.plan figcaption em { font-style: normal; color: var(--tan); text-transform: uppercase; letter-spacing: 1.2px; font-size: 10px; display: block; margin-top: 6px; }
.plans__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.plans__note { margin-top: 36px; text-align: center; font-size: 12px; line-height: 19px; color: var(--muted); max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Contact icons (WhatsApp logo instead of a number) ---------- */
.contact-icons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.contact-icon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.4);
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white);
  transition: background .2s, border-color .2s;
}
.contact-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-icon:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.contact-icon--wa { background: #25d366; border-color: #25d366; color: var(--white); }
.contact-icon--wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.contact-icons--footer { margin-top: 10px; }
.sidebar__item svg path { fill: #333; stroke: none; }
.sidebar__item:hover svg path { fill: var(--white); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 62px;
  bottom: 100px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center;
  z-index: 95;
  transition: transform .2s, background .2s;
}
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float:hover { transform: scale(1.06); background: #1ebe5b; }
.back-to-top { bottom: 40px; }

/* ---------- Image protection (deterrent only) ---------- */
.protect-images img, .hero__slide, .banner, .updates, .plan img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

@media (max-width: 1024px) { .plans__grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .plans { padding: 56px 0; }
  .wa-float { right: 16px; bottom: 72px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  .contact-icon { padding: 9px 14px; }
}

/* ---------- Video hero ---------- */
.hero--video { background: #1c1b19; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__slide--video { background: transparent; z-index: 1; }
.hero__slide--video::after { background: rgba(0,0,0,.32); }
.hero__sound {
  position: absolute;
  right: 62px; bottom: 28px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17,17,17,.55);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero__sound:hover { background: rgba(17,17,17,.8); }
.hero__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__sound .spk { fill: currentColor; stroke: none; }
.hero__sound .wave { display: none; }
.hero__sound[aria-pressed="true"] .wave { display: block; }
.hero__sound[aria-pressed="true"] .mute { display: none; }
@media (max-width: 768px) {
  .hero__sound { right: 16px; bottom: 16px; padding: 7px 11px; }
  .hero__sound span { display: none; }
}

/* ---------- SEO pass: definition, team, scrolling tables ---------- */
.definition {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }
.team { background: var(--white); padding: 90px 0 70px; border-top: 1px solid #e3e1db; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 50px; }
.team__card { background: var(--cream); padding: 36px 34px; }
.team__card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 4px; }
.team__role { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tan); margin-bottom: 16px; }
.team__card p { font-size: 15px; line-height: 24px; color: var(--ink); }
.team__links { margin-top: 14px; font-size: 13px; }
.team__links a { border-bottom: 1px solid #cfcdc6; }
.team__links a:hover { color: var(--tan); border-color: var(--tan); }
.contact-icons--light { margin-top: 18px; }
.contact-icons--light .contact-icon { color: var(--white); }
.team__note { margin-top: 36px; text-align: center; font-size: 12px; line-height: 19px; color: var(--muted); }
picture { display: contents; }
@media (max-width: 1024px) { .team__grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .team { padding: 56px 0; } .team__card { padding: 26px 20px; } .definition { font-size: 15px; line-height: 24px; text-align: left; } }

/* ---------- New wide wordmark logo (Ellington's Masterplan, ~5.5:1) ---------- */
.logo img { height: 36px; }
.logo--footer img { height: 54px; }
@media (max-width: 1024px) { .logo img { height: 30px; } }
@media (max-width: 768px) { .logo img { height: 26px; } .logo--footer img { height: 42px; } }

/* ---------- Logo: never squash, keep true proportions ---------- */
.logo { flex-shrink: 0; }
.logo img,
.logo--footer img {
  width: auto;
  max-width: none;
  object-fit: contain;
  aspect-ratio: 1648 / 301;
}

/* ---------- Burger menu as soon as the full menu no longer fits beside the logo ---------- */
.nav a { white-space: nowrap; }
@media (max-width: 1360px) {
  .header__inner { padding-right: var(--gutter); }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    padding: 20px var(--gutter);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 0; border-bottom: 1px solid #eee; font-size: 14px; }
  .nav__cta { border: 0; padding: 16px 0 !important; margin-left: 0; }
  .menu-toggle { display: flex; }
  .header { overflow-x: clip; }
}
