/* ==========================================================================
   9FLRE — Future Life Real Estate
   Front-end design system + homepage.  Mobile-first.
   Built to the approved mockup: light header, photographic hero,
   navy consulting band, founder as a major credibility block.
   Every visible word lives in the HTML for now and moves to the database
   when this front end is wired into Django.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --navy-900: #0a1c2e;
  --navy-800: #0e2740;
  --navy-700: #143252;
  --navy-600: #1b3d5f;

  --paper-0:   #ffffff;
  --paper-50:  #fbfaf7;
  --paper-100: #f5f2ec;
  --paper-200: #ece7dd;

  --gold-600: #a67c25;
  --gold-500: #b8912f;
  --gold-400: #c9a548;
  --gold-300: #ddc07c;

  --ink:       #12293f;
  --ink-muted: #5a6b7c;
  --ink-invert: #f7f4ee;
  --ink-invert-muted: rgba(247, 244, 238, 0.70);

  --rule-light: rgba(18, 41, 63, 0.13);
  --rule-dark:  rgba(247, 244, 238, 0.18);

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.66rem, 0.64rem + 0.10vw, 0.72rem);
  --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.02rem);
  --step-1:  clamp(1.10rem, 1.04rem + 0.32vw, 1.28rem);
  --step-2:  clamp(1.35rem, 1.20rem + 0.75vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.42rem + 1.60vw, 2.85rem);
  --step-4:  clamp(2.20rem, 1.60rem + 3.00vw, 4.00rem);

  --gutter: clamp(1.15rem, 3.5vw, 3.25rem);
  --section-y: clamp(4rem, 8.5vw, 7.5rem);
  --measure: 58ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4.9rem;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
/* An img carries width/height attributes as presentational hints. Those beat a CSS
   aspect-ratio and the picture ends up stretched. Default every image to height:auto;
   fill layers (hero, cards, markets) set height explicitly and override this. */
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy-900); color: var(--ink-invert); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.shell { width: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--navy { background: var(--navy-900); color: var(--ink-invert); }
.section--tint { background: var(--paper-100); }
.section--white { background: var(--paper-0); }

/* ---------- 4. Type ------------------------------------------------------ */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.06; letter-spacing: -0.012em; }
.display--xl { font-size: var(--step-4); }
.display--l  { font-size: var(--step-3); }
.display--m  { font-size: var(--step-2); }

.eyebrow {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: var(--step--2); letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); white-space: nowrap;
}
.eyebrow em { font-style: normal; color: var(--gold-600); }
.eyebrow::after { content: ""; height: 1px; width: clamp(2rem, 5vw, 4rem); background: var(--gold-500); opacity: 0.55; flex: none; }
.section--navy .eyebrow { color: var(--ink-invert); }
.section--navy .eyebrow em { color: var(--gold-300); }
.section--navy .eyebrow::after { background: var(--gold-300); opacity: 0.5; }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-muted); max-width: var(--measure); }
.section--navy .lede { color: var(--ink-invert-muted); }

.prose { max-width: var(--measure); color: var(--ink-muted); }
.prose p + p { margin-top: 1.05em; }
.section--navy .prose { color: var(--ink-invert-muted); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: var(--step--1); letter-spacing: 0.05em; font-weight: 500;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease);
}
.btn--solid { background: var(--gold-600); color: #fff; border-color: var(--gold-600); }
.btn--solid:hover { background: var(--gold-500); border-color: var(--gold-500); transform: translateY(-1px); }

.btn--outline { border-color: var(--gold-500); color: var(--gold-600); background: transparent; }
.btn--outline:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; transform: translateY(-1px); }

.btn--quiet { border-color: var(--rule-light); color: var(--ink); }
.btn--quiet:hover { border-color: var(--gold-500); color: var(--gold-600); }

.section--navy .btn--quiet { border-color: var(--rule-dark); color: var(--ink-invert); }
.section--navy .btn--quiet:hover { border-color: var(--gold-300); color: var(--gold-300); }

.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- 6. Utility bar + header ------------------------------------- */
.utility {
  background: var(--paper-100);
  border-bottom: 1px solid var(--rule-light);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}
.utility__inner { display: flex; justify-content: flex-end; gap: 1.5rem; min-height: 2.1rem; align-items: center; }
.utility__tag { text-transform: none; letter-spacing: 0.08em; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-light);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 30px -22px rgba(10, 28, 46, 0.55); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--header-h);
}

/* Logo: three ascending bars + wordmark */
.logo { display: flex; align-items: center; gap: 0.85rem; }
.logo__bars { display: flex; align-items: flex-end; gap: 3px; height: 2.1rem; flex: none; }
.logo__bars i { display: block; width: 6px; background: var(--gold-500); border-radius: 1px; }
.logo__bars i:nth-child(1) { height: 45%; background: var(--gold-300); }
.logo__bars i:nth-child(2) { height: 72%; background: var(--gold-500); }
.logo__bars i:nth-child(3) { height: 100%; background: var(--navy-900); }
.logo__text { display: grid; gap: 1px; }
.logo__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.85rem + 0.9vw, 1.6rem);
  line-height: 1; letter-spacing: 0.02em; color: var(--ink);
}
.logo__sub {
  font-size: clamp(0.5rem, 0.44rem + 0.2vw, 0.6rem);
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink-muted);
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2rem); }
.nav__link { font-size: var(--step--1); color: var(--ink); padding-block: 0.35rem; position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: none; }

@media (min-width: 64em) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  width: 2.7rem; height: 2.7rem; display: grid; place-items: center;
  background: none; border: 1px solid var(--rule-light); border-radius: 2px; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block; width: 1.1rem; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper-50); color: var(--ink);
  padding: 7rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  transform: translateY(-100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__link {
  display: block; font-family: var(--font-display); font-size: var(--step-2);
  padding-block: 0.65rem; border-bottom: 1px solid var(--rule-light);
}
.drawer__link .idx { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold-600); margin-right: 0.85rem; vertical-align: 0.55em; }
@media (min-width: 64em) { .drawer { display: none; } }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--paper-100); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__wash {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,
    rgba(251,250,247,0.97) 0%,
    rgba(251,250,247,0.93) 17%,
    rgba(251,250,247,0.62) 28%,
    rgba(251,250,247,0.22) 38%,
    rgba(251,250,247,0.00) 50%);
}
@media (max-width: 52em) {
  .hero__wash { background: linear-gradient(180deg, rgba(251,250,247,0.95) 0%, rgba(251,250,247,0.86) 55%, rgba(251,250,247,0.55) 100%); }
}

.hero__inner { padding-block: clamp(3rem, 6.5vw, 5.5rem); min-height: clamp(27rem, 60vh, 37rem); display: flex; flex-direction: column; justify-content: center; }
.hero__title { max-width: 15ch; margin-top: 1.4rem; }
.hero__title .line { display: block; }
.hero__body { margin-top: 1.5rem; max-width: 46ch; color: var(--ink-muted); font-size: var(--step-0); line-height: 1.7; }
.hero__credibility {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem;
  font-size: var(--step--2); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
}
.hero__credibility .sep { color: var(--gold-500); }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__corners { display: none; }
@media (min-width: 62em) {
  .hero__corners {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 2rem; padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  }
  .hero__stamp {
    font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase;
    line-height: 2; color: var(--ink);
  }
  .hero__stamp--left { border-left: 2px solid var(--gold-500); padding-left: 0.9rem; }
  .hero__stamp--right { text-align: right; color: var(--navy-900); }
}

/* ---------- 8. Split section head --------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 62em) {
  .split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.split__title { margin-top: 1.2rem; max-width: 14ch; }
.split__body { margin-top: 1.2rem; }
.split__cta { margin-top: 1.75rem; }

/* ---------- 9. Journey cards + timeline --------------------------------- */
.journey-cards { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 34em) { .journey-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .journey-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.jcard { display: flex; flex-direction: column; }
.jcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-200); }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.04); }
.jcard__when { margin-top: 1.1rem; font-weight: 500; font-size: var(--step-0); }
.jcard__where { color: var(--ink-muted); font-size: var(--step--1); }
.jcard__what { margin-top: 0.35rem; font-weight: 500; font-size: var(--step--1); line-height: 1.45; }
.jcard__dot {
  margin-top: 1rem; position: relative; height: 1px; background: var(--rule-light);
}
.jcard__dot::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%); border-radius: 50%;
  background: var(--paper-50); border: 1.5px solid var(--gold-500);
}
.jcard__text { margin-top: 1rem; color: var(--ink-muted); font-size: var(--step--1); line-height: 1.65; }

/* ---------- 10. Consulting icon grid ------------------------------------ */
.services {
  display: grid; gap: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 34em) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service { display: flex; flex-direction: column; gap: 0.7rem; }
.service__icon { width: 1.7rem; height: 1.7rem; color: var(--gold-300); flex: none; }
.service__icon svg { width: 100%; height: 100%; }
.service__title { font-size: var(--step-0); font-weight: 500; line-height: 1.3; }
.service__text { font-size: var(--step--1); line-height: 1.65; color: var(--ink-invert-muted); }

.services--ruled .service:nth-child(n + 5) {
  border-top: 1px solid var(--rule-dark);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: calc(-1 * clamp(1.75rem, 3.5vw, 2.5rem) + clamp(1.75rem, 3.5vw, 2.5rem));
}
@media (max-width: 33.99em) {
  .services--ruled .service:nth-child(n + 5) { border-top: 0; padding-top: 0; margin-top: 0; }
}

/* ---------- 11. Founder -------------------------------------------------- */
.founder { display: grid; gap: clamp(2rem, 5vw, 3.25rem); align-items: start; }
@media (min-width: 56em) { .founder { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); } }
@media (min-width: 82em) { .founder { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 1fr); } }

.founder__name { margin-top: 1.1rem; }
.founder__role { margin-top: 0.3rem; color: var(--ink-muted); font-size: var(--step-1); }
.founder__bio { margin-top: 1.25rem; }
.founder__tags {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  font-size: var(--step--2); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted);
}
.founder__tags .sep { color: var(--gold-500); }

.founder__portrait { position: relative; }
.founder__portrait img {
  /* The file is already cropped 4:5, so let it size itself. Never set
     aspect-ratio here: the img's own height attribute beats it and the
     picture ends up cropped to a single feature. */
  width: 100%; height: auto; background: var(--paper-200);
}
.founder__portrait::after {
  content: ""; position: absolute; left: -0.65rem; bottom: -0.65rem;
  width: 42%; height: 32%; border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500);
  pointer-events: none;
}

.founder__quote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.28; font-style: italic; }
.founder__quote .mark { color: var(--gold-500); font-style: normal; }
.founder__attrib {
  margin-top: 1.1rem; font-size: var(--step--2); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-muted);
}
.chain {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem;
  font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}
.chain .arrow { color: var(--gold-500); }

/* ---------- 12. Brokerage pillars --------------------------------------- */
.pillars {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--rule-light); border: 1px solid var(--rule-light);
}
@media (min-width: 44em) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { background: var(--paper-50); padding: clamp(1.4rem, 3vw, 2rem) 1rem; text-align: center; }
.pillar__word { font-family: var(--font-display); font-size: var(--step-2); }
.pillar__note { margin-top: 0.3rem; font-size: var(--step--2); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- 13. Markets -------------------------------------------------- */
.markets { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1px; background: var(--rule-dark); }
@media (min-width: 44em) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .markets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.market {
  position: relative; isolation: isolate; background: var(--navy-800);
  min-height: clamp(16rem, 30vw, 24rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2.8vw, 2rem); overflow: hidden;
}
.market__art { position: absolute; inset: 0; z-index: -2; }
.market__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.market:hover .market__art img { transform: scale(1.05); }
.market::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,28,46,0.30) 0%, rgba(10,28,46,0.88) 74%);
}
.market__tag { position: absolute; top: clamp(1.2rem, 2.5vw, 1.7rem); left: clamp(1.4rem, 2.8vw, 2rem); font-size: var(--step--2); letter-spacing: 0.2em; color: var(--gold-300); }
.market__name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.market__note { margin-top: 0.55rem; font-size: var(--step--1); line-height: 1.6; color: var(--ink-invert-muted); max-width: 26ch; }

.footnote { margin-top: 1.6rem; font-size: var(--step--1); color: var(--ink-invert-muted); max-width: var(--measure); }

/* ---------- 14. Six-step process ---------------------------------------- */
.steps { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.step {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.25rem, 2.5vw, 1.9rem);
  border-top: 1px solid var(--rule-light); align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--rule-light); }
.step__no { font-family: var(--font-display); font-size: var(--step-2); color: var(--gold-600); }
.step__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.step__text { color: var(--ink-muted); margin-top: 0.25rem; }
@media (min-width: 56em) {
  .step { grid-template-columns: 4.5rem minmax(0, 11rem) minmax(0, 1fr); }
  .step__text { margin-top: 0; }
}

/* ---------- 15. Why grid ------------------------------------------------- */
.why { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: clamp(1.6rem, 3.5vw, 2.5rem) clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 44em) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 74em) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why__item { padding-top: 1.1rem; border-top: 1px solid var(--rule-light); }
.why__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.why__text { margin-top: 0.4rem; color: var(--ink-muted); font-size: var(--step--1); line-height: 1.65; }

/* ---------- 16. Teasers -------------------------------------------------- */
.teasers { display: grid; gap: 1px; background: var(--rule-light); border-block: 1px solid var(--rule-light); }
@media (min-width: 50em) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.teaser { background: var(--paper-50); padding: clamp(1.9rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.teaser__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.08; }
.teaser__text { color: var(--ink-muted); max-width: 40ch; }
.teaser .btn { margin-top: 0.4rem; }

/* ---------- 17. Enquiry -------------------------------------------------- */
.enquiry { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 62em) { .enquiry { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: start; } }

.field-set { border: 0; padding: 0; margin: 0 0 clamp(1.6rem, 3vw, 2.25rem); }
.field-set__legend { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.9rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: 0.58rem 1.05rem; border: 1px solid var(--rule-dark);
  border-radius: 999px; font-size: var(--step--1); color: var(--ink-invert-muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.chip input:hover + span { border-color: var(--gold-300); color: var(--ink-invert); }
.chip input:checked + span { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-300); outline-offset: 2px; }

.grid-2 { display: grid; gap: 1.2rem; }
@media (min-width: 40em) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--step--2); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-invert-muted); }
.field input, .field textarea {
  font: inherit; font-size: var(--step-0); color: var(--ink-invert);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-dark);
  padding: 0.55rem 0; border-radius: 0; transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247,244,238,0.32); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-300); }
.field textarea { resize: vertical; min-height: 5.5rem; }

.form__submit { margin-top: clamp(1.6rem, 3vw, 2.25rem); }
.form__note { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-invert-muted); }

.contact-list { display: grid; gap: 1.4rem; margin-top: 1.9rem; }
.contact-list dt { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.25rem; }
.contact-list dd { margin: 0; font-size: var(--step-1); }

/* ---------- 18. Footer --------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--ink-invert); padding-block: clamp(3rem, 6vw, 4.75rem) 1.75rem; }
.footer__top { display: grid; gap: clamp(2rem, 4.5vw, 3.25rem); }
@media (min-width: 56em) { .footer__top { grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); } }
.footer .logo__name { color: var(--ink-invert); }
.footer .logo__sub { color: var(--ink-invert-muted); }
.footer .logo__bars i:nth-child(3) { background: var(--paper-50); }
.footer__col h4 { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.9rem; }
.footer__col li + li { margin-top: 0.5rem; }
.footer__col a { color: var(--ink-invert-muted); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--ink-invert); }
.footer__bottom {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem); padding-top: 1.4rem;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
  font-size: var(--step--1); color: var(--ink-invert-muted);
}

/* ---------- 19. Awaiting content ---------------------------------------- */
.awaiting {
  margin-top: clamp(2rem, 4vw, 3rem); border: 1px dashed var(--rule-dark);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); display: grid; gap: 0.5rem;
}
.awaiting__label { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); }
.awaiting__text { color: var(--ink-invert-muted); max-width: var(--measure); font-size: var(--step--1); line-height: 1.65; }

/* ---------- 20. Reveal --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .jcard__media img, .market__art img, .btn { transition: none; }
}

/* ---------- 21. Office / premises ---------------------------------------- */
.office { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 62em) { .office { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); } }

.office__plate { position: relative; }
.office__plate img { width: 100%; height: auto; background: var(--paper-200); }
.office__plate figcaption {
  margin-top: 0.85rem; font-size: var(--step--1); line-height: 1.6; color: var(--ink-muted);
}

.registry { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--rule-light); }
.registry__row {
  display: grid; gap: 0.15rem 1.5rem;
  padding-block: 0.95rem; border-bottom: 1px solid var(--rule-light);
}
@media (min-width: 40em) { .registry__row { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.registry__name { font-weight: 500; }
.registry__meta { font-size: var(--step--1); color: var(--ink-muted); letter-spacing: 0.02em; }

.office__strip {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; gap: clamp(0.75rem, 1.5vw, 1.1rem);
}
@media (min-width: 34em) { .office__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .office__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.office__shot { margin: 0; }
.office__shot img { width: 100%; height: auto; background: var(--paper-200); }
.office__shot figcaption {
  margin-top: 0.5rem; font-size: var(--step--2); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-muted);
}

/* two addresses side by side: head office and registered office */
.addr-pair { margin-top: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
@media (min-width: 46em) { .addr-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addr-pair__label {
  font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 0.4rem;
}

/* ---------- 22. Inner-page head + breadcrumbs ---------------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.25rem, 5vw, 4rem); }
.page-hero.section--tint { background: var(--paper-100); }
.page-hero.section--navy { background: var(--navy-900); color: var(--ink-invert); }
.page-hero__title { margin-top: 1.1rem; max-width: 18ch; }
.page-hero__lede { margin-top: 1.25rem; }

.crumbs { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; font-size: var(--step--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.7rem; color: var(--gold-500); }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--gold-600); }
.crumbs [aria-current] { color: var(--ink); }
.section--navy .crumbs a, .section--navy .crumbs ol { color: var(--ink-invert-muted); }
.section--navy .crumbs [aria-current] { color: var(--ink-invert); }

.nav__link[aria-current], .drawer__link[aria-current] { color: var(--gold-600); }
.nav__link[aria-current]::after { transform: scaleX(1); }

/* ---------- 23. CTA band -------------------------------------------------- */
.cta-band { background: var(--navy-900); color: var(--ink-invert); padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band__inner { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 56em) { .cta-band__inner { grid-template-columns: minmax(0,1fr) auto; align-items: center; } }
.cta-band__title { max-width: 20ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 24. Simple prose page + empty states ------------------------- */
.stack > * + * { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.lede--wide { max-width: 68ch; }

.empty-state {
  border: 1px dashed var(--rule-light);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; gap: 0.75rem; justify-items: start;
  background: var(--paper-0);
}
.section--navy .empty-state { border-color: var(--rule-dark); background: transparent; }
.empty-state__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.empty-state__text { color: var(--ink-muted); max-width: 54ch; }
.section--navy .empty-state__text { color: var(--ink-invert-muted); }

/* ---------- 25. Definition rows (market facts) --------------------------- */
.facts { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule-light); }
.facts__row { display: grid; gap: 0.2rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule-light); }
@media (min-width: 44em) { .facts__row { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); } }
.facts__k { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-600); }
.facts__v { color: var(--ink-muted); }
