/* Platinum Series Homes by Mark Molthan - homepage concept
   Design language: Atelier. Display Neuton, body Saira (both centrally assigned).
   Colour is taken from the prospect's own Elementor kit tokens and logo:
   #212121 secondary ink, #DFB758 accent, #D3D6D8 silver, #FAF9F6 paper,
   #4A4A4A body text, #FFFFFF primary. Nothing here is invented. */

:root {
  --ink: #212121;
  --ink-deep: #141414;
  --ink-soft: #2b2b2b;
  --gold: #dfb758;
  --gold-deep: #8a6a1f;
  --silver: #d3d6d8;
  --paper: #faf9f6;
  --white: #ffffff;
  --text: #4a4a4a;
  --text-on-dark: #faf9f6;
  --text-on-dark-muted: rgba(250, 249, 246, 0.74);

  --font-display: "Neuton", Georgia, "Times New Roman", serif;
  --font-body: "Saira", "Helvetica Neue", Arial, sans-serif;

  --wrap: min(90%, 1100px);
  --wrap-wide: min(94%, 1560px);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: clamp(4.25rem, 6vw, 5.5rem);

  --band: clamp(4.5rem, 9vw, 8.5rem);
  --band-tight: clamp(3rem, 6vw, 5.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0 0 1.15em; max-width: 68ch; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }

.skip-link {
  position: absolute; z-index: 200; left: -9999px; top: 0;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.6rem 1.2rem;
  background: var(--gold); color: var(--ink-deep);
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- section heads */

.lede { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem); line-height: 1.66; }

.head { display: block; }

.head__rule {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.4rem, 2.6vw, 2.3rem);
}

.head__rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--silver);
}

.head__mark { flex: 0 0 auto; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }

.head__label {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.head__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.35rem); }

.head + p, .head + .lede { margin-top: clamp(1.1rem, 2.2vw, 1.75rem); }

.on-dark .head__rule::after { background: rgba(211, 214, 216, 0.28); }
.on-dark .head__label { color: var(--gold); }
.on-dark .head__title { color: var(--text-on-dark); }
.on-dark p { color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover, .btn:focus-visible { background: transparent; color: var(--gold); }

.btn--ghost { background: transparent; border-color: rgba(250, 249, 246, 0.45); color: var(--text-on-dark); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--text-on-dark); border-color: var(--text-on-dark); color: var(--ink-deep); }

.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--dark:hover, .btn--dark:focus-visible { background: transparent; color: var(--ink); }

.btn__dot { width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; flex: 0 0 auto; }

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

/* ---------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.62), rgba(20, 20, 20, 0));
  transition: opacity 0.45s var(--ease-soft);
  pointer-events: none;
}

.nav.is-solid { background: var(--ink-deep); box-shadow: 0 1px 0 rgba(211, 214, 216, 0.14); }
.nav.is-solid::before { opacity: 0; }

.nav__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { width: auto; height: clamp(2rem, 3.4vw, 2.75rem); max-width: 15rem; object-fit: contain; }

.nav__links { display: none; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }

.nav__link {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-dark);
  padding: 0.6rem 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.25rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.nav__cta { display: none; }

.burger {
  width: 46px; height: 46px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}

.burger span { display: block; width: 26px; height: 1px; background: var(--text-on-dark); transition: transform 0.35s var(--ease), opacity 0.25s; }

@media (min-width: 940px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------------------------------------------------------------- mobile menu */

.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 5vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-soft), visibility 0.4s;
}

.mnav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; }
.mnav__top img { width: auto; height: 2.1rem; max-width: 12rem; object-fit: contain; }

.mnav__close {
  width: 48px; height: 48px;
  background: none; border: 1px solid rgba(250, 249, 246, 0.32); border-radius: 2px;
  color: var(--text-on-dark); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 3;
}

.mnav__close span { position: absolute; width: 20px; height: 1px; background: currentColor; }
.mnav__close span:first-child { transform: rotate(45deg); }
.mnav__close span:last-child { transform: rotate(-45deg); }

.mnav__links { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; }

.mnav__link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  font-weight: 300;
  color: var(--text-on-dark);
  text-decoration: none;
  padding: 0.35rem 0;
  min-height: 44px;
}

.mnav__foot { border-top: 1px solid rgba(211, 214, 216, 0.2); padding-top: 1.35rem; display: grid; gap: 0.5rem; }
.mnav__foot a { color: var(--text-on-dark); text-decoration: none; font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero__media { position: absolute; inset: 0; overflow: hidden; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.09);
}

html.js .hero__img { will-change: transform; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.55) 28%, rgba(20, 20, 20, 0) 62%),
    linear-gradient(to right, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0) 55%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: var(--wrap-wide);
  margin-inline: auto;
  padding-block: clamp(2.75rem, 7vh, 5.5rem);
}

.hero__eyebrow {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  /* Paper, not gold: the eyebrow sits directly on photography, where mid-tone
     champagne cannot hold 4.5:1 against every frame. The rule stays gold. */
  color: var(--paper);
  margin-bottom: clamp(1rem, 2.4vw, 1.6rem);
}

.hero__eyebrow i { display: block; width: clamp(2rem, 5vw, 3.5rem); height: 1px; background: var(--gold); font-style: normal; }

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 1.15rem + 4.5vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  max-width: 17ch;
  margin-bottom: clamp(1.1rem, 2.4vw, 1.7rem);
}

.hero h1 em { font-style: italic; color: var(--gold); }

.hero__sub {
  color: rgba(250, 249, 246, 0.88);
  font-size: clamp(1rem, 0.95rem + 0.42vw, 1.22rem);
  line-height: 1.62;
  max-width: 46ch;
  margin-bottom: clamp(1.6rem, 3.2vw, 2.4rem);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 720px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 1.5rem);
  }
}

/* ---------------------------------------------------------------- statement */

.statement { padding-block: var(--band); background: var(--paper); }

.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.statement h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem); max-width: 16ch; }

.pillars { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.9rem; }

.pillars li {
  display: flex; align-items: baseline; gap: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  color: var(--ink);
  padding-top: 0.9rem;
  border-top: 1px solid var(--silver);
}

.pillars li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: 0 0 auto; }

@media (min-width: 860px) {
  .statement__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------------------------------------------------------------- projects */

.projects { padding-block: var(--band) 0; background: var(--white); }

.plate {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  padding-bottom: var(--band);
}

.plate__media { position: relative; }

.plate__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.plate__body { padding-inline: 0; }

.plate__rule { display: block; height: 1px; background: var(--gold); width: 100%; transform-origin: left; margin-bottom: 1.35rem; }

.plate__name {
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.7rem);
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.plate__body p { color: var(--text); }

.plate__meta {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

@media (min-width: 900px) {
  .plate { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .plate__media img { aspect-ratio: 5 / 4; }
  .plate--flip .plate__media { order: 2; }
  .plate--flip .plate__body { order: 1; }
  .plate--tall .plate__media img { aspect-ratio: 4 / 5; }
  .plate--tall { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.closer { position: relative; background: var(--ink-deep); }
.closer img { width: 100%; height: clamp(20rem, 62vh, 40rem); object-fit: cover; opacity: 0.86; }

.closer__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(20, 20, 20, 0.94) 0%, rgba(20, 20, 20, 0.82) 45%, rgba(20, 20, 20, 0) 100%);
}

.closer__label .wrap-wide { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.25rem; }

.closer__name { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); color: var(--paper); }
.closer__note { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); opacity: 0.92; }

/* ---------------------------------------------------------------- gallery */

.gallery { padding-block: var(--band); background: var(--ink); }

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.filters::-webkit-scrollbar { display: none; }

.filter {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  background: transparent;
  border: 1px solid rgba(211, 214, 216, 0.32);
  border-radius: 2px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); font-weight: 500; }

.grid { columns: 1; column-gap: clamp(0.75rem, 1.6vw, 1.25rem); }

@media (min-width: 620px) { .grid { columns: 2; } }
@media (min-width: 1040px) { .grid { columns: 3; } }

.tile { break-inside: avoid; margin: 0 0 clamp(0.75rem, 1.6vw, 1.25rem); position: relative; }
.tile[hidden] { display: none; }
.tile img { width: 100%; height: auto; }

.tile figcaption {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.6);
  padding-top: 0.6rem;
}

.grid__empty { color: var(--text-on-dark-muted); padding: 2rem 0; }
.grid__empty[hidden] { display: none; }

/* ---------------------------------------------------------------- owner */

.owner { padding-block: var(--band); background: var(--paper); }

.owner__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }

.owner__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.owner__claims { margin-top: 2rem; display: grid; gap: 1.35rem; }

.owner__claim { padding-top: 1.2rem; border-top: 1px solid var(--silver); }
.owner__claim p { margin: 0; color: var(--text); }
.owner__claim a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 860px) {
  .owner__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
}

/* ---------------------------------------------------------------- recognition */

.recognition { padding-block: var(--band-tight) var(--band); background: var(--white); }
.recognition__art { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.recognition__art img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- reviews */

.reviews { padding-block: var(--band); background: var(--ink); }

.review { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); margin-top: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid rgba(211, 214, 216, 0.22); }
.review:first-of-type { border-top: 0; margin-top: 0; }

.review__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }

.review__who { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); color: var(--paper); }
.review__role { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }

.review__quote { margin: 0; color: var(--text-on-dark-muted); }
.review__quote p { margin: 0; max-width: 72ch; color: var(--text-on-dark-muted); }

@media (min-width: 860px) {
  .review__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 3.5rem); }
}

/* ---------------------------------------------------------------- cta */

.cta { padding-block: var(--band); background: var(--ink-deep); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.cta h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); color: var(--paper); max-width: 14ch; }
.cta p { color: var(--text-on-dark-muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (min-width: 900px) {
  .cta__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------------------------------------------------------------- footer */

.footer { background: var(--ink-deep); padding-block: var(--band-tight); border-top: 1px solid rgba(211, 214, 216, 0.16); }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3rem); }

.footer__logo img { width: auto; height: clamp(2.2rem, 4vw, 3rem); max-width: 17rem; object-fit: contain; }

.footer h3 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.9rem; }

.footer address { font-style: normal; color: var(--text-on-dark-muted); }
.footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer a:hover { color: var(--paper); }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer__list a { display: inline-flex; align-items: center; min-height: 2.25rem; }

.footer__social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__social a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }

.footer__base {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(211, 214, 216, 0.16);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(250, 249, 246, 0.55);
}

@media (min-width: 860px) {
  .footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(2rem, 4vw, 4rem); }
}

/* ---------------------------------------------------------------- 404 */

.error {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink-deep);
  padding-block: calc(var(--nav-h) + var(--band-tight)) var(--band-tight);
}

.error__code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 12rem); line-height: 0.9; color: rgba(223, 183, 88, 0.28); letter-spacing: -0.03em; }
.error h1 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.1rem); color: var(--paper); margin: 1rem 0 1.1rem; }
.error p { color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------- motion */

html.js .reveal { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  html.js .hero__img { transform: scale(1) !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
