/* ==========================================================================
   Zusly Projects
   Design & Build — structural steel, aluminium & glazing, Harare, Zimbabwe
   Landing page  → full-bleed hero, pills, soft/navy cards
   Inner pages   → ruled header, wide display type, spec tables
   Palette: charcoal (#35373A) · Zusly orange (#F26603) · light gray (#F1F2F1) · paper white
   Type: D-DIN PRO (display, SIL OFL — assets/fonts/D-DIN-PRO-OFL.txt) + Montserrat (body)
   ========================================================================== */

/* D-DIN PRO — self-hosted, SIL Open Font License 1.1 */
@font-face {
  font-family: "D-DIN PRO"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ddinpro-400.woff2") format("woff2");
}
@font-face {
  font-family: "D-DIN PRO"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ddinpro-500.woff2") format("woff2");
}
@font-face {
  font-family: "D-DIN PRO"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/ddinpro-700.woff2") format("woff2");
}
@font-face {
  font-family: "D-DIN PRO"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/ddinpro-800.woff2") format("woff2");
}

:root {
  /* Charcoal + gray ramp, sampled from the 2026 Company Profile.
     Orange is the single accent; grays carry the structure. */
  --ink: #26282B;            /* primary text - soft charcoal, not pure black */
  --ink-2: #35373A;          /* profile charcoal - headings / secondary dark */
  --steel: #5E6368;          /* mid gray - secondary UI, dividers on dark */
  --muted: #71757A;          /* muted body text */
  --muted-2: #9AA0A6;        /* faint captions / meta on light */
  --line: #E5E6E7;           /* hairlines on white */
  --line-2: #D6D8DA;         /* stronger hairlines */
  --soft: #F1F2F1;           /* profile light panel - alternating bands */
  --paper: #F7F7F6;          /* warm paper */
  --white: #ffffff;

  --dark: #313438;           /* charcoal - large dark surfaces (nav, footer) */
  --dark-2: #24262A;         /* deepest charcoal - footer base / overlays */
  --logo-red: #F26603;       /* Zusly orange - small accents only */
  --brand: #F26603;          /* Zusly orange - buttons */
  --brand-hover: #d4540a;

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;           /* body copy */
  --wide: "D-DIN PRO", "Montserrat", "Helvetica Neue", Arial, sans-serif; /* display / industrial */
  --din:  "D-DIN PRO", "Montserrat", "Helvetica Neue", Arial, sans-serif; /* labels, numbers, UI */

  --gutter: clamp(20px, 4.3vw, 62px);
  --wrap: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* Motion scale — named aliases so new interactions stay consistent */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.3, .64, 1);
  --dur-1: .2s;
  --dur-2: .35s;
  --dur-3: .6s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Rich inline text — bold, italic, underline, highlight, links in prose */
strong, b { font-weight: 700; }
em, i:not([class]), cite { font-style: italic; }
u { text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
mark { background: color-mix(in srgb, var(--brand) 20%, transparent); color: inherit; padding: 0 .14em; border-radius: 2px; }
.lead a, .body-muted a, .page-intro a, .prose a, .rich a, .split p a, .values p a, .role__sum a, .footer__brand p a, .story p a {
  color: var(--brand); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.lead a:hover, .body-muted a:hover, .page-intro a:hover, .prose a:hover, .rich a:hover, .split p a:hover, .values p a:hover, .role__sum a:hover, .footer__brand p a:hover, .story p a:hover {
  color: var(--brand-hover); text-decoration-color: var(--brand-hover);
}
:focus-visible { outline: 2px solid var(--logo-red); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Shared primitives ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font-size: 14px; font-weight: 500; letter-spacing: .005em;
  color: #fff; background: var(--brand);
  border-radius: 2px;
  transition: background .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hover); }
.btn svg { width: 16px; height: 16px; }
.btn--dark { background: var(--dark); }
.btn--dark:hover { background: #333; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececec; }

.pill {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 16px;
  font-size: 13px; line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--glass {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill--outline { color: #4a4a4a; border: 1px solid var(--line); background: #fff; }

.icon { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--rev-delay, 0ms), transform .9s var(--ease) var(--rev-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Interaction feedback ---------- */
.btn:active, .pill:active { transform: translateY(1px) scale(.99); }
@media (hover: hover) {
  .card, .pitem { transition: transform var(--dur-2) var(--ease); }
  /* No drop shadow on hover: the card metadata sits on the left/right edges,
     and a shadow boxes it in and spoils that edge-to-edge layout. Lift only. */
  .card:hover, .pitem:hover { transform: translateY(-5px); }
}

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

/* ==========================================================================
   LANDING - Dwella
   ========================================================================== */

/* ---------- Top nav (over hero) ---------- */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter);
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.topnav--stuck {
  background: var(--dark);
  padding-top: 9px; padding-bottom: 9px;
  box-shadow: 0 6px 24px rgba(0, 15, 35, .28);
}
.topnav__right .btn { transition: height .3s var(--ease), padding .3s var(--ease), font-size .3s var(--ease); }
.topnav--stuck .topnav__right .btn { height: 36px; padding: 0 18px; font-size: 13px; }
.topnav__logo img { height: 64px; width: auto; transition: height .3s var(--ease); }
.topnav--stuck .topnav__logo img { height: 48px; }
.topnav__links { display: flex; gap: 24px; }
.topnav__links a {
  font-size: 14px; color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.topnav__links a:hover, .topnav__links a[aria-current="page"] { color: #fff; }
.topnav__links a[aria-current="page"] { font-weight: 500; }
.topnav__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.topnav__right .link { font-size: 14px; color: #fff; white-space: nowrap; }
.topnav__right .link:hover { opacity: .75; }
/* The nav is full with 7 links + the client cluster + CTA; drop the redundant
   "Call Us" text link below wide desktops (Get a Quote covers the same action). */
@media (max-width: 1340px) { .topnav__right .link { display: none; } }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 780px; height: 100vh; max-height: 900px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden;
  background: #2a2c30;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #26282c; }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.3s var(--ease);
  /* 1. Colour grade — pulls colour back, lifts contrast, lowers exposure so
     every hero photo reads as one graded set. */
  filter: saturate(.82) contrast(1.07) brightness(.92);
}
.hero__media img.is-active { opacity: 1; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
/* 2. Warm duotone wash — a diagonal bronze → near-black, multiplied into the
   photo, so warm/rich in one corner and deep in the other. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(101,88,74,.30), rgba(40,42,46,.17));
  mix-blend-mode: multiply;
}
/* 3. Fine film grain, multiplied — masks compression, reads as high quality. */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply; opacity: .14;
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { transition: opacity .3s linear; }
  .hero__media img.is-active { animation: none; transform: none; }
}
/* 4. Warm vignette + text gradient — darkens edges (eye to centre), shades the
   top for the nav and the bottom for the wordmark/search; warm near-black so
   shadows stay warm, not grey. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 95% at 50% 42%, transparent 45%, rgba(40,42,46,.5) 100%),
    linear-gradient(180deg, rgba(40,42,46,.55) 0%, rgba(40,42,46,.08) 22%, rgba(40,42,46,0) 38%, rgba(40,42,46,.42) 58%, rgba(40,42,46,.85) 82%, rgba(38,40,44,.94) 100%);
}
.hero__content { padding: 0 var(--gutter) 58px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero__title {
  font-size: clamp(40px, 4.75vw, 70px);
  font-weight: 400; line-height: 1.08; letter-spacing: -.025em;
}
.hero__lede {
  max-width: 372px; padding-bottom: 8px;
  font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .9);
}
.hero__lede .hl { color: var(--brand); font-weight: 600; }
/* Hero carousel indicator — mobile only; horizontal row at the far right,
   its top aligned with the top of the "We Design" title. */
.hero__titlewrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hero__dots { display: none; }
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .42);
  transition: background .35s var(--ease), width .35s var(--ease);
}
.hero__dot.is-on { background: var(--brand); width: 20px; border-radius: 5px; }
@media (max-width: 640px) {
  .hero__titlewrap { width: 100%; align-self: stretch; }
  .hero__dots { display: flex; flex-direction: row; align-items: center; gap: 7px; flex: 0 0 auto; margin-top: .34em; }
}

.search {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 20px 0;
  margin-top: 52px;
}
.search__field { display: flex; flex-direction: column; gap: 8px; }
.search__field:nth-child(1) { width: 140px; }
.search__field:nth-child(2) { width: 184px; }
.search__field:nth-child(3) { width: 272px; }
/* Healthy spacing + hairline divider between the hero dropdowns */
.search__field + .search__field {
  margin-left: 40px;   /* spacing only — the layout already separates the fields, no divider line */
}
.search__label { font-size: 15px; font-weight: 500; color: #fff; }
.search__select { position: relative; }
.search__select select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 2px 32px 2px 0;
  font-size: 13px; color: rgba(255, 255, 255, .68);
  background: transparent; border: 0; cursor: pointer;
}
.search__select select:hover { color: #fff; }
.search__select select option { color: var(--ink); }
.search__select::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.4px solid rgba(255,255,255,.85); border-bottom: 1.4px solid rgba(255,255,255,.85);
  transform: rotate(45deg); pointer-events: none;
}
.search .btn { margin-left: 30px; height: 50px; padding: 0 24px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 70px var(--gutter) 90px; }
.section + .section { padding-top: 40px; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 44px;
}
.h-display {
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 400; line-height: 1.14; letter-spacing: -.022em;
}
.body-muted { font-size: 15px; line-height: 1.6; color: var(--muted); }
.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.textlink svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr minmax(320px, 430px); gap: 80px; }
.about__main .pill { margin-bottom: 36px; }
.about__main .h-display { margin-bottom: 30px; }
.about__main .body-muted { max-width: 560px; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 56px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px;
}
.about__stats b { display: block; font-size: 34px; font-weight: 400; letter-spacing: -.02em; }
.about__stats span { font-size: 13px; color: var(--muted); }

.feature-stack { display: flex; flex-direction: column; gap: 14px; }
.feature {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 186px; padding: 22px 20px 24px;
  background: var(--soft);
  transition: transform .4s var(--ease);
}
.feature:hover { transform: translateX(-6px); }
/* Grid pattern behind the In-House Workshop card */
.feature--grid { position: relative; overflow: hidden; }
.feature--grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 78%);
  opacity: .9;
}
.feature--grid > * { position: relative; z-index: 1; }
.feature h3 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.feature--dark { background: var(--dark); color: #fff; }
.feature--dark p { color: var(--muted-2); }

/* ---------- Why Zusly ---------- */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.why__icon { color: var(--ink-2); line-height: 1; display: block; }
/* Bespoke Zusly line icons (currentColor = main stroke; orange accent is baked in) */
.zi { width: 1em; height: 1em; display: block; }
.why__icon .zi { width: 42px; height: 42px; }
.why--dark .why__icon { color: #fff; }
.why h3 { font-family: var(--din); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2); }
.why p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.why--dark { background: var(--dark); border-color: var(--dark); }
.why--dark h3 { color: #fff; }
.why--dark p { color: var(--muted-2); }
@media (hover: hover) {
  .why:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20, 20, 20, .09); border-color: var(--line-2); }
  .why--dark:hover { border-color: var(--dark); }
}
@media (max-width: 1040px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .why { padding: 22px 18px; } .why__icon .zi { width: 34px; height: 34px; } }
@media (max-width: 400px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Property cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tags { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; }
.card__tags .pill { height: 30px; padding: 0 13px; font-size: 12.5px; background: rgba(20, 20, 20, .38); }
.card__body { padding: 20px 2px 0; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__name { font-size: 21px; font-weight: 400; letter-spacing: -.01em; }
.card__price { font-size: 17px; font-weight: 500; white-space: nowrap; }
.card__area { margin-top: 4px; font-size: 14px; color: var(--muted); }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 13.5px; color: #444;
}
.card__specs span { display: inline-flex; align-items: center; gap: 7px; }
.card__specs svg { width: 17px; height: 17px; stroke: #777; fill: none; stroke-width: 1.4; }

/* ---------- Process (grey cards with photos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--soft); display: flex; flex-direction: column; }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); }
.step__body { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 34px; flex: 1; justify-content: space-between; }
.step__no { font-size: 13px; color: var(--muted); }
.step h3 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step--dark { background: var(--dark); color: #fff; }
.step--dark p, .step--dark .step__no { color: var(--muted-2); }

/* ---------- Dark photo band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 var(--gutter); padding: 76px 56px 56px; min-height: 560px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; background: var(--dark);
}
.band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.88) 100%);
}
.band .h-display { max-width: 620px; }
.band__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 26px; }
.band__stats b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: -.02em; }
.band__stats span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- CTA split ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta__card { padding: 44px 40px; background: var(--soft); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 420px; }
.cta__card .h-display { font-size: clamp(30px, 2.6vw, 40px); }
.cta__card p { max-width: 420px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta__media { position: relative; overflow: hidden; min-height: 420px; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   FOOTER (shared)
   ========================================================================== */
.footer { margin-top: 110px; background: var(--dark); color: #fff; padding: 70px var(--gutter) 34px; }
.inner .footer { margin-top: 140px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 60px; border-bottom: 1px solid #2b2b2b; }
.footer__brand img { height: 74px; width: auto; margin-bottom: 26px; }
.footer__brand p { max-width: 320px; color: var(--muted-2); font-size: 14.5px; }
.footer h4 { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-bottom: 18px; letter-spacing: .02em; }
.footer li + li { margin-top: 10px; }
.footer a { font-size: 14.5px; transition: opacity .2s; }
.footer a:hover { opacity: .65; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13px; color: #8a8a8a; }

/* ==========================================================================
   INNER PAGES - MH_CLUB
   ========================================================================== */
.inner { background: var(--paper); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(248, 248, 247, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar { height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: height .3s var(--ease); }
.header--stuck .header__bar { height: 54px; }
.header__logo img { height: 56px; width: auto; transition: height .3s var(--ease); }
.header--stuck .header__logo img { height: 44px; }
.header__nav { display: flex; gap: 30px; }
.header__nav a, .header__loc, .crumbs, .label, .tab, .spec dt, .pager a {
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__loc { display: flex; align-items: center; justify-content: flex-end; gap: 7px; font-weight: 600; }
.header__loc svg { width: 13px; height: 13px; fill: currentColor; }
.header .burger { justify-self: end; color: var(--ink); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; color: #555; font-size: 9.5px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: #aaa; }

.pagehead {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 26px 0 30px;
}
.pagehead--solo { grid-template-columns: 1fr; text-align: center; }
.pager a { display: inline-flex; align-items: center; gap: 12px; color: #333; transition: gap .3s var(--ease); }
.pager a:hover { gap: 18px; }
.pager--next { justify-self: end; }
.pager svg { width: 34px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.title-wide {
  font-family: var(--wide);
  font-size: clamp(26px, 3.3vw, 46px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.005em; text-transform: uppercase;
  text-align: center;
}

.hero-img { position: relative; aspect-ratio: 1.87; overflow: hidden; background: #e9e9e9; border-radius: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* Detail-page hero overlay: brand status chip + meta caption */
.hero-img__status { position: absolute; top: 18px; left: 18px; z-index: 2; margin: 0; }
.hero-img__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px;
  padding: 72px 24px 20px; color: #fff;
  background: linear-gradient(to top, rgba(2, 16, 32, .88) 0%, rgba(2, 16, 32, .35) 55%, transparent 100%);
}
.hero-img__cap b {
  font-family: var(--wide); font-weight: 400; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.hero-img__cap span { font-size: 14.5px; color: rgba(255, 255, 255, .9); }
@media (max-width: 640px) {
  .hero-img__cap { padding: 60px 18px 16px; gap: 4px 16px; }
  .hero-img__status { top: 12px; left: 12px; }
}

.h-wide {
  font-family: var(--wide);
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 400; line-height: 1.45; letter-spacing: .01em;
}
.label { color: #8c8c8c; font-size: 9.5px; padding-top: 7px; }
.lead { font-size: 15px; line-height: 1.7; color: #4a4a4a; max-width: 560px; }

/* Label column + content column rows */
.row { display: grid; grid-template-columns: 20.8% 1fr; margin-top: 130px; }
.row__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }

/* ---------- Layout / spec ---------- */
.layout { display: grid; grid-template-columns: 46% 1fr; gap: 8%; margin-top: 110px; align-items: start; }
.tabs { display: flex; margin-bottom: 26px; border-bottom: 1px solid transparent; }
.tab { height: 30px; padding: 0 12px; font-size: 10px; letter-spacing: .02em; text-transform: none; color: #333; border-right: 1px solid var(--line-2); }
.tab::first-letter { font-size: 13px; }
.tab[aria-selected="true"] { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.plan { display: none; }
.plan.is-active { display: block; animation: fade .5s var(--ease); }
.plan svg { width: 100%; height: auto; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.spec { margin: 0; }
.spec__title { margin: 44px 0 32px; }
.spec > div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 58px; padding: 0 12px;
  border-bottom: 1px solid var(--line-2);
}
.spec > div:first-child { border-top: 1px solid var(--line-2); }
.spec dt { font-size: 9.5px; letter-spacing: .06em; color: #333; }
.spec dd { margin: 0; font-size: 15px; text-align: right; }
.spec .spec__total { min-height: 66px; background: #ececeb; border-bottom: 0; margin-top: 8px; border-top: 0; }
.spec .spec__total dd { font-size: 17px; }
.spec-note { margin-top: 26px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.spec-cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Carousel (bleeds right) ---------- */
.arrows { display: flex; gap: 10px; }
.arrow { width: 40px; height: 30px; display: grid; place-items: center; color: #333; transition: color .2s, transform .3s var(--ease); }
.arrow svg { width: 30px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.arrow:disabled { color: #bbb; cursor: default; }
.arrow:not(:disabled):hover { transform: translateX(3px); }
.arrow--prev:not(:disabled):hover { transform: translateX(-3px); }

.carousel {
  --start: calc((100vw - min(var(--wrap), 100vw - 2 * var(--gutter))) / 2 + min(var(--wrap), 100vw - 2 * var(--gutter)) * .208);
  margin-top: 0;
}
.carousel__track {
  display: flex; gap: 36px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-left: var(--start); padding-right: var(--gutter);
  scroll-padding-left: var(--start);
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(672px, 78vw); scroll-snap-align: start; }
.slide__media { aspect-ratio: 1.52; overflow: hidden; background: #e9e9e9; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.slide:hover .slide__media img { transform: scale(1.04); }
.slide__cap { display: flex; gap: 20px; padding-top: 16px; }
.slide__cap .label { padding-top: 3px; min-width: 24px; }
.slide__cap h3 { font-size: 15px; font-weight: 500; }
.slide__cap p { font-size: 14px; color: var(--muted); }
.progress { margin-left: 20.8%; margin-top: 30px; height: 1px; background: var(--line-2); position: relative; }
.progress i { position: absolute; left: 0; top: -.5px; height: 2px; width: 22%; background: #555; transition: transform .2s linear, width .2s; }

/* ---------- Tour (play) ---------- */
.tour { position: relative; display: block; width: 100%; aspect-ratio: 1.87; overflow: hidden; margin-top: 40px; background: #ddd; }
.tour img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour:hover img { transform: scale(1.03); }
.tour__play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); display: grid; place-items: center;
  background: rgba(0,0,0,.3); box-shadow: 0 6px 30px rgba(0,0,0,.25); transition: transform .4s var(--ease), background .3s;
}
.tour:hover .tour__play { transform: scale(1.1); background: rgba(0,0,0,.45); }
.tour__play svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,.96);
  display: grid; grid-template-rows: auto 1fr auto; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); }
.lightbox__bar .label { color: #aaa; padding: 0; }
.lightbox__close { width: 40px; height: 40px; display: grid; place-items: center; }
.lightbox__close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 1.3; }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter) 28px; gap: 20px; }
.lightbox__foot p { font-size: 14px; color: #ccc; }
.lightbox .arrow { color: #fff; }

/* ---------- Developments list ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 8px; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.filters .tabs { margin: 0; flex-wrap: wrap; }
.filters .tab { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.filters .tab::first-letter { font-size: inherit; }
.filters__selects { display: flex; gap: 22px; flex-wrap: wrap; }
.fselect { position: relative; display: flex; align-items: center; gap: 10px; }
.fselect span { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #8c8c8c; }
.fselect select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 4px 18px 4px 0; font-size: 13px; cursor: pointer; }
.fselect::after { content: ""; position: absolute; right: 2px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-right: 1.2px solid #333; border-bottom: 1.2px solid #333; transform: rotate(45deg); pointer-events: none; }
.results-count { margin: 22px 0 36px; font-size: 13px; color: var(--muted); }

.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 36px; }
.pitem { display: block; }
.pitem__media { aspect-ratio: 1.52; overflow: hidden; background: #e9e9e9; position: relative; }
.pitem__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pitem:hover .pitem__media img { transform: scale(1.04); }
.pitem__status { position: absolute; left: 0; top: 0; background: var(--paper); padding: 8px 12px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.pitem__status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-red); margin-right: 7px; vertical-align: 1px; }
.pitem__status[data-s="Completed"] i { background: #222; }
.pitem__status[data-s="Under construction"] i { background: #c9a227; }
.pitem__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0 16px; }
.pitem__head .h-wide { font-size: clamp(15px, 1.4vw, 19px); }
.pitem__rows > div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.pitem__rows dt { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #555; font-weight: 500; }
.pitem__rows dd { margin: 0; }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- About / Services / Contact bits ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.split .h-wide { margin-bottom: 26px; }
.split .lead + .lead { margin-top: 18px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.values > div { padding: 30px 28px 34px 0; border-right: 1px solid var(--line-2); }
.values > div + div { padding-left: 28px; }
.values > div:last-child { border-right: 0; }
.values .label { display: block; padding: 0 0 28px; }
.values h3 { font-family: var(--wide); font-weight: 400; font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.values p { font-size: 14px; color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
.duo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.duo figure { margin: 0; }
.duo figcaption { padding-top: 14px; font-size: 13px; color: var(--muted); }

.svc { border-top: 1px solid var(--line-2); }
/* Department grouping on the Services page */
.dept { padding-top: 54px; }
.dept:first-child { padding-top: 28px; }
.dept__head { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--ink-2); }
.dept__icon { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); }
.dept__icon .zi { width: 32px; height: 32px; }
.dept__name { font-family: var(--wide); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.01em; line-height: 1.1; }
.dept__blurb { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 72ch; line-height: 1.6; }
.dept .svc__item:last-child { border-bottom: none; }
@media (max-width: 680px) {
  .dept { padding-top: 40px; }
  .dept__head { gap: 14px; }
  .dept__icon { width: 48px; height: 48px; }
  .dept__icon .zi { width: 27px; height: 27px; }
}
.svc__item { display: grid; grid-template-columns: 20.8% 1fr 300px; gap: 0 32px; padding: 34px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.svc__item h3 { font-family: var(--wide); font-weight: 400; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.45; margin-bottom: 12px; }
.svc__item p { font-size: 14.5px; color: #555; line-height: 1.7; max-width: 520px; }
.svc__item ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc__item li { font-size: 12px; padding: 5px 10px; border: 1px solid var(--line-2); }
.svc__media { aspect-ratio: 1.4; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform 1s var(--ease); }
.svc__item:hover .svc__media img { filter: none; transform: scale(1.04); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #555; font-weight: 500; }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line-2); background: transparent;
  padding: 10px 0; font-size: 15px; border-radius: 0; outline: 0; transition: border-color .25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field .err { font-size: 12px; color: #c0161d; min-height: 0; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__foot p { font-size: 13px; color: var(--muted); max-width: 340px; }

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1490; background: rgba(2, 12, 28, .5);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset: 12px; z-index: 1500; background: var(--dark); color: #fff;
  border-radius: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 84px 30px 34px;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 70px rgba(0, 12, 30, .4);
  transform: translateY(calc(-100% - 24px)); transition: transform .5s var(--ease);
}
.drawer.is-open { transform: none; }
/* Architectural wash + curtain-wall grid behind the menu */
.drawer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 95% at 100% 0, rgba(242, 102, 3, .20), transparent 52%),
    radial-gradient(95% 80% at 0 100%, rgba(0, 61, 112, .55), transparent 60%);
}
.drawer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #fff; opacity: .24;
  --dpat: url(../img/patterns/curtainwall.svg) 0 0 / 58px 87px repeat;
  --dfade: linear-gradient(203deg, #000 0%, #000 8%, transparent 74%);
  -webkit-mask: var(--dpat); mask: var(--dpat);
  -webkit-mask-image: var(--dpat), var(--dfade); mask-image: var(--dpat), var(--dfade);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.drawer nav a { display: block; font-size: 34px; letter-spacing: -.02em; padding: 6px 0; }
.drawer__foot { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted-2); }
.menu-open { overflow: hidden; }
.menu-open .topnav, .menu-open .header { z-index: 1000; }
.menu-open .header { background: transparent; border-color: transparent; }
.menu-open .header .header__logo img { filter: brightness(0) invert(1); }
.menu-open .header .burger { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .feature-stack { display: grid; grid-template-columns: repeat(3, 1fr); }
  .svc__item { grid-template-columns: 1fr 260px; }
  .svc__item > .svc__no { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topnav { grid-template-columns: 1fr auto; }
  .topnav__links, .topnav__right .link, .topnav__right .btn { display: none; }
  .topnav .burger, .header .burger { display: flex; }
  .topnav .burger { color: #fff; }
  .header__bar { grid-template-columns: 1fr auto; height: 64px; }
  .header__nav, .header__loc { display: none; }

  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero::before { background: linear-gradient(180deg, rgba(40,42,46,.45) 0%, rgba(40,42,46,.1) 18%, rgba(40,42,46,.55) 38%, rgba(40,42,46,.85) 60%, rgba(38,40,44,.93) 100%); }
  .hero__content { padding-top: 112px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .search { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .search__field:nth-child(n) { width: auto; }
  .search__field + .search__field { margin-left: 0; padding-left: 0; border-left: 0; }
  .search__field:nth-child(3) { grid-column: 1 / -1; }
  .search__select { border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 8px; }
  .search .btn { grid-column: 1 / -1; margin: 6px 0 0; }

  .band { padding: 48px 28px 36px; margin: 0; }
  .band__stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cta { grid-template-columns: 1fr; }
  .cta__media { min-height: 300px; }

  .pagehead { grid-template-columns: 1fr 1fr; }
  .pagehead .title-wide { grid-column: 1 / -1; grid-row: 1; }
  .layout, .split { grid-template-columns: 1fr; gap: 56px; }
  .row { grid-template-columns: 1fr; margin-top: 96px; }
  .row > .label { padding-bottom: 14px; }
  .progress { margin-left: 0; }
  .carousel { --start: var(--gutter); }
  .plist { grid-template-columns: 1fr; gap: 56px; }
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .duo { grid-template-columns: 1fr; }
  .svc__item { grid-template-columns: 1fr; gap: 20px; }
  .form { grid-template-columns: 1fr; }
  .form .field { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 56px var(--gutter) 64px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .cards, .steps { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: 1fr; }
  .feature { min-height: 160px; }
  .about__stats { gap: 28px; }
  .about__stats b { font-size: 28px; }
  .cta__card { padding: 32px 24px; min-height: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .spec > div { padding: 0 6px; }
  .filters { flex-direction: column; align-items: flex-start; }
  .tour__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}

/* ==========================================================================
   ONE TYPE SYSTEM - D-DIN PRO display type across the whole site
   (body copy is Montserrat). DIN is narrower + heavier than the old Michroma,
   so display sizes run larger and tracking tighter for structural impact.
   ========================================================================== */
.hero__title {
  font-family: var(--wide); font-weight: 800;
  font-size: clamp(42px, 5.6vw, 88px);
  line-height: 1.02; letter-spacing: -.02em;
}
.h-display {
  font-family: var(--wide); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.08; letter-spacing: -.015em;
}
.cta__card .h-display { font-size: clamp(26px, 2.4vw, 38px); }
.card__name, .feature h3, .step h3 {
  font-family: var(--wide); font-weight: 700;
  font-size: 20px; line-height: 1.2; letter-spacing: -.01em;
}
.feature h3, .step h3 { margin-bottom: 10px; }
.about__stats b, .band__stats b { font-family: var(--din); font-weight: 800; letter-spacing: -.01em; }
.about__stats b { font-size: 40px; margin-bottom: 6px; }
.band__stats b { font-size: clamp(30px, 3vw, 46px); margin-bottom: 8px; }
.drawer nav a { font-family: var(--wide); font-weight: 700; font-size: 26px; letter-spacing: -.01em; padding: 10px 0; }

/* ==========================================================================
   PATTERNS - property-development linework, layered subtly
   Each pattern is an SVG used as a mask, so its colour and strength come
   from CSS (currentColor + opacity). --fade softens the edges.
   ========================================================================== */
.has-deco { position: relative; isolation: isolate; }
.deco {
  position: absolute; z-index: -1; pointer-events: none;
  color: var(--ink); opacity: .06;
  -webkit-mask-image: var(--fade, none); mask-image: var(--fade, none);
}
.deco::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: var(--pat); mask: var(--pat);
}
.deco--grid    { --pat: url(../img/patterns/grid.svg) 0 0 / 64px 64px repeat; }
.deco--truss   { --pat: url(../img/patterns/truss.svg) 0 0 / 120px 60px repeat; }
.deco--contour { --pat: url(../img/patterns/contour.svg) center / cover no-repeat; }
.deco--plan    { --pat: url(../img/patterns/plan.svg) center / contain no-repeat; }
.deco--plots   { --pat: url(../img/patterns/plots.svg) center / cover no-repeat; }
.deco--crenel  { --pat: url(../img/patterns/crenel.svg) 0 100% / 40px 16px repeat-x; }
main { overflow-x: clip; }

/* Landing placements */
.deco--at-hero { inset: 0; color: #fff; opacity: .1; --fade: radial-gradient(ellipse 70% 75% at 0% 100%, #000 0%, rgba(0,0,0,.5) 45%, transparent 75%); }
.deco--at-about { top: 40px; bottom: 30px; left: calc(var(--gutter) + 330px); width: 540px; opacity: .075; --fade: linear-gradient(90deg, transparent 0%, #000 45%); }
.deco--at-featured { top: 0; left: 0; right: 0; height: 300px; opacity: .06; --fade: linear-gradient(180deg, transparent, #000 35%, #000 55%, transparent); }
.deco--at-step { inset: 0; color: #fff; opacity: .12; --fade: radial-gradient(circle at 100% 0%, #000, transparent 75%); }
.deco--at-band { inset: 0; color: #fff; opacity: .17; --fade: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 60%, #000 100%); }
.deco--at-cta { inset: 0; opacity: .09; --fade: radial-gradient(circle at 100% 100%, #000 0%, transparent 65%); }
.deco--at-footer-top { left: 0; right: 0; top: 0; height: 16px; color: #fff; opacity: .16; }
.deco--at-footer { top: 0; bottom: 0; right: 0; width: 60%; color: #fff; opacity: .05; --fade: linear-gradient(90deg, transparent, #000 60%); }
.footer { overflow: hidden; }

/* Inner-page placements */
.deco--at-head { inset: -8px 0; opacity: .07; --fade: radial-gradient(ellipse 45% 70% at 50% 50%, #000 0%, transparent 100%); }
.deco--at-plans { inset: 50px -24px -24px; opacity: .06; --fade: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%); }
.deco--at-side { top: -80px; bottom: -80px; right: calc(-1 * var(--gutter)); width: 62%; opacity: .07; --fade: radial-gradient(ellipse 60% 55% at 70% 50%, #000 0%, transparent 100%); }

/* Survey "+" marker before section labels */
.row > .label::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; vertical-align: -1px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}

@media (max-width: 1100px) {
  .deco--at-about { display: none; }
}
@media (max-width: 900px) {
  .deco--at-side { width: 100%; right: calc(-1 * var(--gutter)); left: calc(-1 * var(--gutter)); width: auto; }
  .deco--at-footer { width: 100%; }
}

/* ==========================================================================
   HERO - full-bleed, edge to edge (no outer white margin)
   ========================================================================== */
.hero {
  margin: 0;
  border-radius: 0;
  height: 100vh;
  max-height: 900px;
  box-shadow: none;
}
.hero__media { border-radius: inherit; overflow: hidden; }
@media (max-width: 900px) {
  .hero { margin: 0; border-radius: 0; min-height: 100svh; height: auto; }
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */

/* Touch devices: no hover, so show service photos in full colour */
@media (hover: none) {
  .svc__media img { filter: none; }
  .feature:hover { transform: none; }
}

/* Tablet & below */
@media (max-width: 900px) {
  /* Bigger tap targets */
  .tab { height: 40px; padding: 0 14px; }
  .arrow { width: 44px; height: 44px; }
  .pager a { min-height: 44px; }
  .footer li + li { margin-top: 14px; }
  .footer a { display: inline-block; padding: 2px 0; }

  /* 16px form text stops iOS from zooming the page on focus */
  .search__select select, .fselect select,
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Taller hero images on narrow screens */
  .hero-img { aspect-ratio: 4 / 3; }
  .tour { aspect-ratio: 4 / 3; }

  /* Developments filters: swipeable type tabs + full-width select rows */
  .filters { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0 4px; }
  .filters .tabs {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .filters .tabs::-webkit-scrollbar { display: none; }
  .filters .tab { flex: 0 0 auto; }
  .filters__selects { display: grid; grid-template-columns: 1fr; gap: 0; }
  .fselect { justify-content: space-between; min-height: 48px; border-top: 1px solid var(--line-2); }
  .fselect select { text-align: right; text-align-last: right; padding-right: 20px; max-width: 70%; }

  /* Section rhythm */
  .row { margin-top: 80px; }
  .layout { margin-top: 64px; }
  .row__head { flex-wrap: wrap; gap: 16px; }
  .pager, .pager a { white-space: nowrap; }
  .inner .footer { margin-top: 96px; }
}

/* Phones */
@media (max-width: 640px) {
  .hero__title { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.0; }
  .hero__lede { font-size: 15px; }
  /* Pills dropped on phones to save height; their terms are highlighted in the lede instead */
  .hero__tags { display: none; }

  /* Swipeable rows instead of very long stacks.
     overflow-y:hidden (with NO touch-action override) lets a vertical swipe fall
     through to the page while a horizontal swipe still pans the row. Do NOT add
     touch-action:pan-x here — it blocks vertical page scroll on this tall area. */
  .cards, .steps {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); padding-bottom: 4px;
  }
  .cards::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .cards > *, .steps > * { flex: 0 0 84%; scroll-snap-align: start; }
  .steps > * { flex-basis: 76%; }
  .swipe-hint { display: flex; }
  /* Breathing room between the lead project and its "Swipe" hint */
  #featuredLead + .swipe-hint { margin-top: 14px; }

  .band { min-height: 480px; }
  .band__stats span { font-size: 12.5px; }

  .cta__actions .btn, .spec-cta .btn, .row__head .btn { flex: 1 1 100%; }
  .form__foot .btn { width: 100%; }

  /* Floor plans: larger room labels */
  .plan svg text { font-size: 13px; }

  .title-wide { font-size: clamp(21px, 6.4vw, 28px); }
  .pagehead { padding: 20px 0 24px; gap: 14px 24px; }
  .slide { flex-basis: 84vw; }
  .carousel__track { gap: 16px; }
  .plist { gap: 48px; }
}

/* "Swipe" hint shown above horizontal rows on phones */
.swipe-hint {
  display: none; align-items: center; gap: 10px; margin: -24px 0 18px;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.swipe-hint svg { width: 30px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }

/* ==========================================================================
   HOW WE BUILD - ambient colour bleed
   A blurred, saturated copy of each card's own photo tints the card body,
   so every card picks up its image's colours automatically.
   ========================================================================== */
.step { position: relative; overflow: hidden; isolation: isolate; }
.step__ambient {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.25);
  filter: blur(40px) saturate(1.5);
  opacity: .25;
  -webkit-mask-image: linear-gradient(to bottom, transparent 34%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 34%, #000 70%);
}
.step--dark .step__ambient { opacity: .4; }
.step__media img {
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
}
.step__body { position: relative; margin-top: -20px; }

/* ==========================================================================
   HERO - always one screen, nothing to scroll for
   ========================================================================== */
.hero {
  height: auto; max-height: none;
  min-height: 100vh;
  min-height: 100svh;
}
.hero__content { padding-bottom: clamp(20px, 3.5vh, 40px); }
.hero__tags { margin-bottom: clamp(14px, 2.8vh, 26px); }
.search { margin-top: clamp(22px, 5vh, 52px); }
@media (min-width: 901px) and (max-height: 760px) {
  .hero__title { font-size: clamp(27px, min(3.45vw, 6.2vh), 50px); }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__content { padding-top: 92px; padding-bottom: 14px; }
  .hero__row { gap: 12px; }
  /* Compact search: Type | Price, then Area | [search icon] */
  .search {
    margin-top: clamp(18px, 3.5vh, 32px);
    grid-template-columns: 1fr 1fr auto; gap: 14px 16px; align-items: end;
  }
  .search__field:nth-child(2) { grid-column: 2 / 4; }
  .search__field:nth-child(3) { grid-column: 1 / 3; }
  .search .btn.search__btn { grid-column: 3; margin: 0; width: 50px; height: 50px; padding: 0; }
  .search__btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search .btn.search__btn svg { width: 19px; height: 19px; }
  .search__select { padding-bottom: 6px; }
}
/* Short phones: trim so the whole hero still fits */
@media (max-width: 900px) and (max-height: 740px) {
  .hero__lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
  .hero__content { padding-top: 84px; }
}
@media (max-width: 900px) and (max-height: 640px) {
  .hero__tags { display: none; }
  .hero__lede { -webkit-line-clamp: 2; }
}

/* Phones: the photo gets its own region at the top of a screen-tall flex
   column, takes the space the text leaves, and fades into the copy below —
   so the picture reads on its own instead of sitting behind all the text. */
@media (max-width: 640px) {
  /* Lock the hero to exactly one screen so the first view fits with no scroll.
     The photo region flexes to take whatever height the copy leaves. */
  .hero {
    height: 100vh;                         /* fallback for browsers without svh */
    height: 100svh;
    max-height: 100vh;
    max-height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
  .hero__media {
    position: relative; inset: auto; z-index: 0;
    flex: 1 1 auto; min-height: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,.5) 80%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,.5) 80%, transparent 100%);
  }
  .hero__media img { object-position: 50% 40%; transform: none; }
  .hero__media img.is-active { animation: none; }   /* photo box is fixed; keep it steady */
  .hero::before { z-index: 1; }                      /* top shade for the nav + lower scrim sit over the photo */
  .hero__content {
    position: relative; z-index: 2;
    padding-top: 0; margin-top: -34px;               /* text overlaps the fade for a seamless join */
  }
  .hero__marquee { position: relative; z-index: 2; }
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa {
  position: fixed; z-index: 900;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa__btn {
  position: relative; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid #25d366; animation: waPulse 2.8s var(--ease) infinite;
}
.wa__btn svg { width: 29px; height: 29px; fill: currentColor; }
.wa__label {
  padding: 10px 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  border-radius: 2px; white-space: nowrap;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa:hover .wa__btn { transform: scale(1.07); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { opacity: 1; transform: none; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.menu-open .wa { opacity: 0; pointer-events: none; transform: scale(.8); }
@media (max-width: 640px) {
  .wa__btn { width: 54px; height: 54px; }
  .wa__btn svg { width: 27px; height: 27px; }
  .wa__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa__btn::before { animation: none; opacity: 0; } }

.wa--tucked { opacity: 0; pointer-events: none; transform: translateY(16px) scale(.85); }

/* ---------- WhatsApp guided chat panel ---------- */
.wachat {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: 322px; max-width: calc(100vw - 36px);
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26), 0 4px 14px rgba(0, 0, 0, .14);
  animation: waPop .26s var(--ease);
}
.wachat[hidden] { display: none; }
@keyframes waPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wachat__head { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: var(--dark); color: #fff; }
.wachat__ava { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25d366; }
.wachat__ava svg { width: 22px; height: 22px; fill: #fff; }
.wachat__who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.wachat__who b { font-family: var(--din); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.wachat__who span { font-size: 11.5px; color: rgba(255, 255, 255, .72); }
.wachat__x { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .8); font-size: 22px; line-height: 1; transition: background .2s, color .2s; }
.wachat__x:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.wachat__body { padding: 16px; }
.wachat__hi { font-size: 13.5px; line-height: 1.55; color: #333; background: var(--soft); padding: 12px 14px; border-radius: 4px 14px 14px 14px; margin-bottom: 14px; }
.wachat__opts { display: flex; flex-direction: column; gap: 8px; }
.wachat__opt { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.wachat__opt > span { font-size: 16px; line-height: 1; }
.wachat__opt:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .wachat { animation: none; } }
@media (max-width: 900px) and (max-height: 740px) { .hero__lede { padding-bottom: 0; } }

@media (max-width: 900px) {
  .filters { flex-wrap: nowrap; }
  .filters > * { min-width: 0; }
  .filters__selects { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .swipe-hint { display: flex; } }

/* ==========================================================================
   ZUSLY ADDITIONS
   ========================================================================== */

/* Project status dots (reusing Bert's pitem__status) */
.pitem__status[data-s="Featured"] i { background: var(--brand); }
.pitem__status[data-s="Completed"] i { background: var(--dark); }

/* Leadership & structure grid (About page) */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 8px; }
.team__item { background: var(--paper); padding: 30px 28px 34px; display: flex; flex-direction: column; min-height: 210px; }
.team__no { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 20px; }
.team__icon { width: 34px; height: 34px; stroke: var(--dark); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.team h3 { font-family: var(--wide); font-weight: 400; font-size: 15px; line-height: 1.45; margin: 26px 0 10px; }
.team p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* Client roster */
.clients-wrap { border-top: 1px solid var(--line-2); margin-top: 8px; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.clients-grid span {
  display: flex; align-items: center; min-height: 92px; padding: 18px 24px;
  font-family: var(--wide); font-size: 13px; letter-spacing: .01em; color: #3a3a3a;
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.clients-grid span:nth-child(4n) { border-right: 0; }
@media (max-width: 900px) { .clients-grid { grid-template-columns: 1fr 1fr; } .clients-grid span:nth-child(4n) { border-right: 1px solid var(--line-2); } .clients-grid span:nth-child(2n) { border-right: 0; } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: 1fr; } .clients-grid span { border-right: 0 !important; } }

/* Scope-of-work panel (Project page - replaces floor plans) */
.scope-panel { background: var(--soft); padding: 34px 32px 38px; }
.scope-panel h3 { font-family: var(--wide); font-weight: 400; font-size: 15px; letter-spacing: .01em; margin-bottom: 22px; }
.scope-list { display: flex; flex-direction: column; }
.scope-list li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; color: #333; }
.scope-list li:first-child { border-top: 0; }
.scope-list li::before {
  content: ""; flex: 0 0 auto; margin-top: 7px; width: 9px; height: 9px;
  background: linear-gradient(var(--brand), var(--brand)) center / 100% 1.4px no-repeat,
              linear-gradient(var(--brand), var(--brand)) center / 1.4px 100% no-repeat;
}

/* Intro / page lede under inner pageheads */
.page-intro { max-width: 620px; margin: 10px 0 20px; font-size: 16px; line-height: 1.7; color: #4a4a4a; }

/* ==========================================================================
   HERO CLIENT MARQUEE (draggable, auto-flowing logo strip - no chips)
   ========================================================================== */
.hero__marquee {
  display: flex; align-items: center; gap: 28px;
  padding: 22px var(--gutter) 62px;        /* generous gap to the hero's bottom edge */
}
.hero__marquee-label {
  flex: 0 0 auto;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.marquee {
  position: relative; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; }
.marquee__track { display: flex; align-items: center; gap: 46px; width: max-content; }
.logo-chip { flex: 0 0 auto; display: inline-flex; align-items: center; user-select: none; }
.logo-chip img {
  height: 40px; width: auto; max-width: 170px; object-fit: contain; display: block;
  opacity: .95; transition: opacity .3s var(--ease);
  pointer-events: none; -webkit-user-drag: none;
}
.logo-chip:hover img { opacity: 1; }

@media (max-width: 900px) {
  .hero__marquee { gap: 0; padding: 16px var(--gutter) 44px; }
  .hero__marquee-label { display: none; }
  .logo-chip img { height: 32px; max-width: 142px; }
  .marquee__track { gap: 36px; }
}

/* ==========================================================================
   MOBILE HEADER CONTROLS - quick search, burger, and drawer close button
   ========================================================================== */
.navsearch { display: none; width: 42px; height: 44px; align-items: center; justify-content: center; }
.navsearch svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topnav__right .navsearch { color: #fff; }

.header__ctrl { display: none; align-items: center; gap: 2px; justify-self: end; }
.header__ctrl .navsearch, .header__ctrl .burger { color: var(--ink); }
.menu-open .header__ctrl .navsearch, .menu-open .header__ctrl .burger { color: #fff; }

.drawer__close {
  position: absolute; top: 20px; right: calc(var(--gutter) - 6px);
  width: 46px; height: 46px; display: grid; place-items: center; color: #fff;
}
.drawer__close svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }

@media (max-width: 900px) {
  .navsearch { display: inline-flex; }
  .header__ctrl { display: flex; }
  /* Desktop cluster wrapper has no visible content on mobile; drop it so the
     grid keeps logo and the search/menu controls on one aligned row. */
  .header__right { display: none; }
  .header__bar { grid-template-columns: 1fr auto; }
  .header__logo { display: inline-flex; align-items: center; }
}

/* ==========================================================================
   ABOUT - editorial studio hero
   ========================================================================== */
.studio-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 24px;
  display: flex; align-items: flex-end;
  min-height: clamp(380px, 54vh, 580px);
  padding: clamp(36px, 6vw, 84px) clamp(26px, 5vw, 72px);
  background-size: cover; background-position: center 38%;
  color: #fff;
}
.studio-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 43, 82, .5) 0%, rgba(0, 30, 58, .34) 42%, rgba(0, 18, 36, .9) 100%);
}
.studio-hero__intro { max-width: 700px; padding-bottom: 2px; }
.studio-hero__intro .label { display: block; padding: 0; margin-bottom: 20px; color: var(--brand); font-weight: 600; }
.studio-hero__title {
  font-family: var(--wide); text-align: left; text-transform: uppercase; color: #fff;
  font-size: clamp(34px, 4.8vw, 66px); font-weight: 800; line-height: 1.02; letter-spacing: -.005em;
  margin-bottom: 24px;
}
.studio-hero__intro .lead { max-width: 560px; color: rgba(255, 255, 255, .92); }
.studio-hero__intro .lead strong { color: #fff; }
.studio-hero__intro .lead a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.studio-hero__intro .lead a:hover { color: var(--brand); text-decoration-color: var(--brand); }

.studio-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  margin-top: clamp(40px, 6vw, 64px);
}
.studio-facts > div { padding: 26px 24px 30px 0; border-right: 1px solid var(--line-2); }
.studio-facts > div + div { padding-left: 24px; }
.studio-facts > div:last-child { border-right: 0; }
.studio-facts dt { font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: #8c8c8c; margin-bottom: 12px; }
.studio-facts dd { margin: 0; font-family: var(--wide); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.3; }

@media (max-width: 900px) {
  .studio-hero { min-height: clamp(340px, 60vh, 460px); padding: 34px 22px; }
  .studio-facts { grid-template-columns: 1fr 1fr; }
  .studio-facts > div:nth-child(2) { border-right: 0; }
  .studio-facts > div { padding: 22px 18px 24px 0; }
  .studio-facts > div:nth-child(even) { padding-left: 18px; }
}
@media (max-width: 560px) {
  .studio-facts { grid-template-columns: 1fr; }
  .studio-facts > div { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 18px 0; }
  .studio-facts > div:last-child { border-bottom: 0; }
}

/* ==========================================================================
   CONTACT - plain map frame (no survey crosshairs)
   ========================================================================== */
.map-frame { aspect-ratio: 1.6; overflow: hidden; background: #e9e9e9; border: 1px solid var(--line-2); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER - geometric "cornered" architectural treatment
   (replaces the crenel + contour patterns)
   ========================================================================== */
.deco--corners { --pat: url(../img/patterns/corners.svg) 0 0 / 46px 46px repeat; }
.deco--at-footer { opacity: .06; }

.footer { position: relative; }
.footer::before, .footer::after {
  content: ""; position: absolute; top: 44px; width: 22px; height: 22px;
  border: 1px solid rgba(255, 255, 255, .32); pointer-events: none;
}
.footer::before { left: var(--gutter); border-right: 0; border-bottom: 0; }
.footer::after  { right: var(--gutter); border-left: 0; border-bottom: 0; }
@media (max-width: 640px) { .footer::before, .footer::after { top: 34px; } }

/* ==========================================================================
   PHOSPHOR DUOTONE ICONS - sizing per context (colour inherits / is set)
   The webfont renders a solid primary layer + a lighter secondary layer.
   ========================================================================== */
.ph-duotone { line-height: 1; vertical-align: middle; }

/* Home feature-stack */
.feature .ficon { font-size: 34px; color: var(--dark); display: block; }
.feature .ficon .zi { width: 36px; height: 36px; }
.feature--dark .ficon { color: #fff; }

/* Property-card + lead spec rows */
.card__specs span i, .flead__meta i { font-size: 18px; color: #6b7a86; }
.flead__meta i { color: var(--dark); }

/* Header location pin + quick-search (inner pages / topnav) */
.header__loc i { font-size: 15px; }
.navsearch i { font-size: 22px; }

/* Leadership grid (About) - icon wrapper now holds a Phosphor glyph */
.team__icon { width: auto; height: auto; stroke: none; font-size: 34px; color: var(--dark); line-height: 1; }

/* ==========================================================================
   FEATURED - large lead project card on top
   ========================================================================== */
.flead {
  display: grid; grid-template-columns: 1.12fr .88fr;
  min-height: 440px; margin-bottom: 24px;
  background: var(--soft); overflow: hidden;
}
.flead__media { position: relative; overflow: hidden; background: var(--soft); }
.flead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.flead:hover .flead__media img { transform: scale(1.045); }
.flead__body { padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.flead__kicker { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.flead__name { font-family: var(--wide); font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.22; letter-spacing: .005em; }
.flead__sum { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.flead__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: #444; }
.flead__meta span { display: inline-flex; align-items: center; gap: 8px; }
.flead .textlink { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) {
  .flead { grid-template-columns: 1fr; min-height: 0; }
  .flead__media { aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   DESIGN & DETAIL - technical drawings on blueprint sheets
   ========================================================================== */
.designs .section__head { margin-bottom: 32px; }
.design-grid {
  display: flex; gap: 24px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
  scroll-padding-inline: var(--gutter);
}
.design-grid::-webkit-scrollbar { display: none; }
.design { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; }
.design__sheet {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--line-2); background: #fff;
  background-image:
    linear-gradient(rgba(0, 43, 82, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 43, 82, .05) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
  display: grid; place-items: center;
}
.design__sheet::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background: var(--brand); opacity: .5;
  --x: url(../img/patterns/cross.svg);
  -webkit-mask: var(--x) left top / 14px no-repeat, var(--x) right top / 14px no-repeat, var(--x) left bottom / 14px no-repeat, var(--x) right bottom / 14px no-repeat;
          mask: var(--x) left top / 14px no-repeat, var(--x) right top / 14px no-repeat, var(--x) left bottom / 14px no-repeat, var(--x) right bottom / 14px no-repeat;
}
.design__sheet img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.design:hover .design__sheet img { transform: scale(1.04); }
.design figcaption { padding: 18px 2px 0; }
.design__no { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.design h3 { font-family: var(--wide); font-weight: 400; font-size: 16px; line-height: 1.4; margin: 10px 0 8px; }
.design p { font-size: 14px; color: var(--muted); line-height: 1.6; }
/* Mobile: narrower cards + tighter gap so ~a quarter of the next card peeks,
   signalling the strip scrolls sideways. */
@media (max-width: 640px) {
  .design-grid { gap: 16px; }
  .design { flex: 0 0 62%; }
}

/* Curtain-wall module pattern (band + design section) */
.deco--curtain { --pat: url(../img/patterns/curtainwall.svg) 0 0 / 52px 78px repeat; }
.deco--at-designs { top: 0; bottom: 0; right: 0; width: 46%; opacity: .05; --fade: linear-gradient(90deg, transparent, #000 72%); }
.deco--curtain.deco--at-band { opacity: .14; }

/* ==========================================================================
   SMALL DETAILS - artful architectural tag badge (top-left of media cards)
   A navy block with a concentrated curtain-wall grid baked in + orange edge.
   ========================================================================== */
.cardtag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: stretch; overflow: hidden;
  font-family: var(--wide); color: #fff; border-radius: 3px;
  background: rgba(8, 20, 32, .40);
  -webkit-backdrop-filter: blur(11px) saturate(1.15); backdrop-filter: blur(11px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .26);
}
.cardtag__cat { display: inline-flex; align-items: center; padding: 7px 12px; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; line-height: 1; }
.cardtag__yr { display: inline-flex; align-items: center; padding: 7px 11px; font-size: 9px; letter-spacing: .12em; font-weight: 600; color: #fff; background: var(--brand); }

/* ==========================================================================
   FEATURED CARDS - colourful, enhanced small components
   ========================================================================== */
.card { position: relative; }
.card__body { border-top: 2px solid var(--accent, var(--line)); padding: 16px 2px 0; }
.card__top { align-items: center; }
.card__area { display: inline-flex; align-items: center; gap: 7px; }
.card__area i { font-size: 15px; color: var(--accent, #9aa7b4); }
.card__go {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--accent, var(--dark));
  opacity: 0; transform: translateX(-6px) rotate(-8deg);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__go { opacity: 1; transform: none; }
.card__go svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.card__specs { align-items: center; }
.card__specs .chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; line-height: 1; }
.card__specs .chip--cat {
  font-weight: 500; color: var(--accent, var(--dark));
  background: color-mix(in srgb, var(--accent, #35373A) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #35373A) 28%, transparent);
}
.card__specs .chip--yr { color: #555; }
.card__specs .chip--yr i { font-size: 15px; color: var(--accent, #6b7a86); }

/* Architectural drafting-grid behind the Featured heading */
.deco--blueprint { --pat: url(../img/patterns/blueprint.svg) 0 0 / 44px 44px repeat; }
.deco--blueprint.deco--at-featured { opacity: .08; }
.deco--at-spec { inset: -30px calc(-1 * var(--gutter)) -30px auto; width: 46%; opacity: .07; --fade: linear-gradient(90deg, transparent, #000 60%); }

/* Design strip scroll hint (shown on all breakpoints for the designs row) */
.designs__hint { display: flex; margin: -4px 0 16px; }

/* ==========================================================================
   SERVICES - colourful feature cards
   ========================================================================== */
.svc__no {
  align-self: flex-start; display: inline-flex; align-items: center;
  font-family: var(--wide); font-size: 11px; letter-spacing: .04em; text-transform: none;
  color: #fff; background: var(--accent, var(--dark)); padding: 6px 11px; border-radius: 2px;
}
.svc__feats li {
  font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid transparent;
  color: color-mix(in srgb, var(--accent, #35373A) 70%, #1c1c1c);
  background: color-mix(in srgb, var(--accent, #35373A) 10%, #fff);
  border-color: color-mix(in srgb, var(--accent, #35373A) 26%, transparent);
  transition: background .25s, color .25s;
}
.svc__item:hover .svc__feats li { background: color-mix(in srgb, var(--accent, #35373A) 17%, #fff); }
.svc__media { border-top: 3px solid var(--accent, transparent); }

/* ==========================================================================
   CLIENTS - logo wall (About · "Trusted on landmark work")
   ========================================================================== */
.clients-grid .client-logo { justify-content: center; }
.client-logo img {
  height: 40px; width: auto; max-width: 152px; object-fit: contain;
  opacity: .9; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.client-logo:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 480px) { .client-logo img { height: 36px; } }

/* ==========================================================================
   OUR WORK - status badge upgraded to the same artful architectural tag
   ========================================================================== */
.pitem__status {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; overflow: hidden; isolation: isolate;
  color: #fff; font-family: var(--wide);
  font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400;
  background: linear-gradient(142deg, #014a84 0%, #002338 100%);
  box-shadow: 0 6px 18px rgba(0, 20, 40, .3);
}
.pitem__status::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: .13;
  -webkit-mask: url(../img/patterns/curtainwall.svg) 0 0 / 11px 16px repeat;
          mask: url(../img/patterns/curtainwall.svg) 0 0 / 11px 16px repeat;
}
.pitem__status::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--brand); }
.pitem__status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0; vertical-align: 0; background: var(--brand); box-shadow: 0 0 0 3px rgba(242, 102, 3, .22); }
.pitem__status[data-s="Featured"] i { background: var(--brand); box-shadow: 0 0 0 3px rgba(242, 102, 3, .22); }
.pitem__status[data-s="Completed"] i { background: #9fb6cc; box-shadow: 0 0 0 3px rgba(159, 182, 204, .18); }
.pitem__status[data-s="Under construction"] i { background: #e0b43a; box-shadow: 0 0 0 3px rgba(224, 180, 58, .2); }

/* ==========================================================================
   HERO CLIENT MARQUEE - detail-preserving greyscale (legible on dark)
   grayscale keeps each colour's tonal detail; invert lifts it onto the dark
   hero so every mark stays recognisable without its original colour.
   ========================================================================== */
.logo-chip img {
  filter: grayscale(1) invert(1) contrast(.9) brightness(1.08);
  opacity: .92;
}
.logo-chip:hover img { opacity: 1; filter: grayscale(1) invert(1) contrast(.95) brightness(1.15); }

/* ==========================================================================
   CUSTOM SELECT - replaces the native dropdown everywhere, keeps the
   underlying <select> for form submission, values and change events.
   ========================================================================== */
.has-cselect::after { display: none !important; }        /* hide native chevron of host wrappers */
.cselect { position: relative; width: 100%; }
.cselect__native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cselect__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; font: inherit; color: inherit; background: transparent; cursor: pointer; text-align: left;
}
.cselect__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__chev { flex: 0 0 auto; display: inline-flex; opacity: .8; transition: transform .25s var(--ease); }
.cselect__chev svg { width: 12px; height: 8px; display: block; }
.cselect__btn:hover .cselect__chev { opacity: 1; }
.cselect__btn[aria-expanded="true"] .cselect__chev { transform: rotate(180deg); }

/* floating options panel (appended to <body>, position:fixed) */
.cselect__panel {
  position: fixed; top: 0; left: 0; z-index: 1200;
  min-width: 172px; max-height: min(300px, 55vh); overflow-y: auto;
  padding: 6px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 22px 48px rgba(0, 30, 60, .18), 0 2px 8px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.cselect__panel.open { opacity: 1; visibility: visible; transform: none; }
.cselect__panel::-webkit-scrollbar { width: 8px; }
.cselect__panel::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid #fff; }
.cselect__opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; font-family: var(--sans); font-size: 14px; color: var(--ink);
  text-align: left; border-radius: 5px; cursor: pointer; transition: background .15s, color .15s;
}
.cselect__opt:hover, .cselect__opt.active { background: var(--soft); }
.cselect__opt[aria-selected="true"] { color: var(--brand); font-weight: 500; }
.cselect__opt[aria-selected="true"]::after {
  content: ""; margin-left: auto; width: 15px; height: 15px; flex: 0 0 auto; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Context: hero search (light text on dark hero) */
.search__select .cselect__btn { color: rgba(255, 255, 255, .82); font-size: 13px; padding: 2px 0; }
.search__select .cselect__btn:hover, .search__select .cselect.open .cselect__btn { color: #fff; }

/* Context: projects filters (compact, dark text, content-width) */
.fselect .cselect { width: auto; }
.fselect .cselect__btn { gap: 10px; font-size: 13px; }

/* Context: contact form field (ruled underline like the inputs) */
.field .cselect__btn { border-bottom: 1px solid var(--line-2); padding: 10px 0; font-size: 15px; transition: border-color .25s; }
.field .cselect.open .cselect__btn { border-color: var(--ink); }
@media (max-width: 900px) { .field .cselect__btn { font-size: 16px; } }

/* ==========================================================================
   FLOATING WHATSAPP - custom, in the brand colours (navy body, orange ring)
   ========================================================================== */
.wa__btn { background: var(--dark); }
.wa__btn::before { border-color: var(--brand); }
.wa:hover .wa__btn { background: #013b6e; }
.wa__dot {
  position: absolute; top: 9px; right: 9px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--brand); border: 2px solid var(--dark);
}
.wa__label { background: var(--dark); }

/* ==========================================================================
   Google reviews + client avatar clusters
   ========================================================================== */
.stars { color: #f5a623; letter-spacing: 1.5px; font-size: 13px; line-height: 1; white-space: nowrap; }
.g-mark { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; }

/* Concentrated, overlapping avatar cluster */
.avstack { display: inline-flex; align-items: center; }
.avstack .av {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; margin-left: -12px;
  border: 2px solid #fff; background: #d8dee6; flex: 0 0 auto;
  box-shadow: 0 1px 4px rgba(0, 20, 45, .18);
}
.avstack .av:first-child { margin-left: 0; }
.avstack .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avstack .av--more {
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
  color: #fff; background: var(--brand);
}

/* ---- Reviews section ---- */
.reviews { margin-top: 40px; }

/* Slim Google summary bar */
.rev-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
  background: var(--dark); color: #fff; border-radius: 12px; padding: 18px 26px;
  position: relative; overflow: hidden; isolation: isolate;
}
.rev-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 140% at 100% 0, rgba(242, 102, 3, .20), transparent 52%);
}
.rev-bar__score { display: flex; align-items: center; gap: 13px; }
.rev-bar__g { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.rev-bar__score b { font-family: var(--wide); font-size: 28px; font-weight: 400; line-height: 1; }
.rev-bar__stars { font-size: 15px; }
.rev-bar__sub { font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.rev-bar__right { display: flex; align-items: center; gap: 20px; }
.rev-bar__right .avstack .av { width: 38px; height: 38px; border-color: #0a3157; }
.rev-bar__cta { flex: 0 0 auto; height: 44px; padding: 0 20px; }
/* Narrow screens: stack the bar and let the button sit full-width so it is
   never clipped by the card's rounded overflow. */
@media (max-width: 600px) {
  .rev-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .rev-bar__score { flex-wrap: wrap; row-gap: 6px; }
  .rev-bar__right { flex-wrap: wrap; gap: 14px 16px; justify-content: space-between; }
  .rev-bar__cta { flex: 1 0 100%; justify-content: center; }
}

/* Symmetrical review-card grid */
.rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 1000px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .rev-grid { grid-template-columns: 1fr; } }

.rev-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease);
}
.rev-card:hover { box-shadow: 0 16px 38px rgba(0, 30, 60, .1); transform: translateY(-3px); border-color: #d4dae1; }
.rev-card__g { position: absolute; top: 20px; right: 18px; width: 17px; height: 17px; opacity: .9; }
.rev-card__stars { font-size: 13px; }
.rev-card__text { font-size: 15px; line-height: 1.5; color: var(--ink); flex: 1 1 auto; margin: 0; padding-right: 22px; }
.rev-card__person { display: flex; align-items: center; gap: 11px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.rev-card__av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #d8dee6; }
.rev-card__id { display: flex; flex-direction: column; min-width: 0; }
.rev-card__id b { font-size: 14.5px; letter-spacing: -.01em; }
.rev-card__id small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.deco--at-reviews { top: 0; left: 0; right: 0; height: 340px; opacity: .05; --fade: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); }

/* ---- Trust block inside the mobile drawer ---- */
.navproof {
  display: flex; align-items: center; gap: 14px; padding: 18px 0; margin: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.navproof .avstack .av { width: 36px; height: 36px; border-color: var(--dark); }
.navproof__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.navproof__meta b { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: #fff; }
.navproof__meta small { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }

/* ---- Compact avatar cluster in the desktop nav ---- */
.navcluster { display: inline-flex; align-items: center; gap: 10px; }
.navcluster .avstack .av { width: 30px; height: 30px; margin-left: -10px; box-shadow: 0 1px 3px rgba(0, 20, 45, .22); }
.navcluster__meta { display: inline-flex; flex-direction: column; line-height: 1.1; }
.navcluster__meta b { font-size: 14px; font-weight: 600; color: var(--ink); }
.navcluster__meta .stars { font-size: 9px; letter-spacing: .5px; }
.topnav__right .navcluster__meta b { color: #fff; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header__right .navcluster .avstack .av { border-color: #fff; }
@media (max-width: 900px) { .header__right { display: none; } }
@media (max-width: 900px) { .navcluster { display: none !important; } }

/* ==========================================================================
   Careers / vacancies
   ========================================================================== */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line-2); background: #fff; padding: 26px 26px 18px;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
@media (hover: hover) { .role:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0, 30, 60, .08); border-color: #cdd4dc; } }
.role__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.role__title { font-family: var(--wide); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.role__type { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--brand); white-space: nowrap; }
.role__sum { flex: 1; font-size: 14px; line-height: 1.6; color: #555; }
.role__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.role__meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #777; }
.role__meta i { color: var(--brand); }
.role__apply { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--dark); transition: gap var(--dur-2) var(--ease), color var(--dur-1); }
.role__apply:hover { gap: 12px; color: var(--brand); }
.role__apply i { font-size: 14px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

/* ---------- In-text cross-links (autoLink) ---------- */
a.xlink {
  color: var(--brand);
  text-decoration: underline; text-decoration-style: dotted;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 60%, transparent);
  border-radius: 3px; padding: 0 1px;
  transition: color .2s var(--ease), background .2s var(--ease), text-decoration-color .2s var(--ease), text-decoration-thickness .2s var(--ease);
}
a.xlink:hover {
  color: var(--brand-hover);
  text-decoration-style: solid; text-decoration-thickness: 2px;
  text-decoration-color: var(--brand-hover);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
}
.xlink__ico { width: 11px; height: 11px; margin-left: 2px; vertical-align: -1px; display: inline-block; }

/* External-exit confirmation toast */
.xtoast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  z-index: 2200; width: 420px; max-width: calc(100vw - 32px);
  background: var(--dark); color: #fff; border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.xtoast.is-in { opacity: 1; transform: translate(-50%, 0); }
.xtoast p { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.xtoast p b { font-weight: 700; }
.xtoast__act { display: flex; justify-content: flex-end; gap: 10px; }
.xtoast__act button { height: 36px; padding: 0 16px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.xtoast__cancel { color: rgba(255, 255, 255, .75); }
.xtoast__cancel:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.xtoast__go { background: var(--brand); color: #fff; }
.xtoast__go:hover { background: var(--brand-hover); }
@media (prefers-reduced-motion: reduce) { .xtoast { transition: opacity .2s linear; } }

/* ---------- Social links (footer) ---------- */
.social { display: flex; gap: 10px; margin-top: 20px; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255, 255, 255, .22);
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.social__link i { font-size: 18px; }
.social__link:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   DOWNLOADS PAGE
   ========================================================================== */
.dl-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.dl-feature__cover {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  background: var(--soft); box-shadow: 0 24px 60px rgba(20, 20, 20, .14);
  aspect-ratio: 16 / 9; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.dl-feature__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-feature__cover:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(20, 20, 20, .2); }
.dl-feature__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--brand); color: #fff; font-family: var(--din); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 4px;
}
.dl-feature__body h2 { margin-bottom: 18px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; list-style: none; }
.dl-meta li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--din); font-size: 14px; color: var(--ink-2); }
.dl-meta i { font-size: 20px; color: var(--brand); }

.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.dl-card__icon { font-size: 34px; color: var(--brand); line-height: 1; }
.dl-card h3 { font-family: var(--din); font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2); }
.dl-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.dl-card__tag {
  align-self: flex-start; margin-top: 4px; font-family: var(--din); font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--steel);
  background: var(--soft); border-radius: 20px; padding: 5px 12px;
}
@media (hover: hover) { .dl-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20, 20, 20, .09); border-color: var(--line-2); } }

.dl-help {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--soft); border-radius: 14px; padding: 40px clamp(24px, 4vw, 54px);
}

@media (max-width: 880px) {
  .dl-feature { grid-template-columns: 1fr; gap: 28px; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-help { flex-direction: column; align-items: flex-start; }
}
