/* ===========================================================================
   HKN GROUPS — DESIGN SYSTEM
   Land · Development · Construction — Lahore, Pakistan
   ---------------------------------------------------------------------------
   Architectural, restrained, mobile-first. No framework, no external
   requests, no webfont round-trips. Everything below is one stylesheet.
   Sections:
     1. Tokens        6. Header & navigation
     2. Reset         7. Sections & blocks
     3. Typography    8. Cards & lists
     4. Layout        9. Forms
     5. Buttons      10. Footer, floating actions, utilities
   =========================================================================== */

/* --- 1. TOKENS ---------------------------------------------------------- */
:root {
  /* Brand — deep charcoal, warm ivory, restrained bronze */
  --ink:          #0F1113;
  --ink-raised:   #16191C;
  --ink-line:     #272B2F;
  --ink-muted:    #9A958C;
  --ink-soft:     #C6C1B8;

  --ivory:        #F8F5F0;
  --ivory-deep:   #EFEAE2;
  --ivory-line:   #E2DBD0;
  --ivory-strong: #CEC5B6;

  --bronze:       #A9793F;   /* brand accent */
  --bronze-deep:  #855C2B;   /* accessible on ivory for small text */
  --bronze-light: #CB9E62;   /* accessible on ink */
  --bronze-wash:  rgba(169, 121, 63, 0.10);

  --text:         #191B1D;
  --text-muted:   #63605A;
  --white:        #FFFFFF;
  --whatsapp:     #1B7F63;

  /* Typography — system stacks: zero network cost, no layout shift.
     To self-host Archivo/Inter instead, see README → "Typography". */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, "Liberation Sans",
                  system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
                  "Liberation Sans", Helvetica, Arial, sans-serif;
  --font-mono:    "SFMono-Regular", "DejaVu Sans Mono", Menlo, Consolas, monospace;

  /* Fluid type scale */
  --fs-hero:    clamp(2.15rem, 0.95rem + 5.6vw, 6.2rem);
  --fs-display: clamp(2.05rem, 1.42rem + 2.7vw, 3.9rem);
  --fs-title:   clamp(1.6rem, 1.3rem + 1.35vw, 2.5rem);
  --fs-h3:      clamp(1.18rem, 1.08rem + 0.45vw, 1.5rem);
  --fs-h4:      clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  --fs-lead:    clamp(1.06rem, 1.0rem + 0.34vw, 1.32rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.14vw, 1.075rem);
  --fs-small:   0.9375rem;
  --fs-micro:   0.75rem;

  /* Spacing */
  --gutter:      clamp(1.15rem, 4.2vw, 3.25rem);
  --section-y:   clamp(4.25rem, 8.5vw, 8.5rem);
  --section-y-s: clamp(3.25rem, 6vw, 5.5rem);
  --max:         1320px;
  --max-narrow:  60rem;
  --max-text:    44rem;

  --radius: 2px;
  --hair: 1px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
}

/* --- 2. RESET ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}
h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
[hidden] { display: none !important; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 1px;
}
.dark :focus-visible, .band--ink :focus-visible { outline-color: var(--bronze-light); }
::selection { background: var(--bronze); color: var(--white); }

.skip-link {
  position: absolute; left: 0.75rem; top: -100%;
  z-index: 200; background: var(--ink); color: var(--ivory);
  padding: 0.85rem 1.25rem; font-size: var(--fs-small);
  letter-spacing: 0.04em; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }
.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;
}

/* --- 3. TYPOGRAPHY ------------------------------------------------------ */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.t-hero {
  font-size: var(--fs-hero);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.t-display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; }
.t-title   { font-size: var(--fs-title); line-height: 1.1; }
.t-h3      { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.t-h4      { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.005em; font-weight: 650; }
.t-lead    {
  font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted);
  letter-spacing: -0.005em; font-family: var(--font-body); font-weight: 400;
  text-wrap: pretty;
}
.t-body    { font-size: var(--fs-body); color: var(--text-muted); text-wrap: pretty; }
.t-small   { font-size: var(--fs-small); line-height: 1.6; }
.measure   { max-width: var(--max-text); }
.measure-wide { max-width: 54rem; }
p + p { margin-top: 1.05em; }

/* Eyebrow — the small tracked label that opens every section */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin: 0 0 1.35rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: var(--bronze);
  flex: none;
}
.band--ink .eyebrow { color: var(--bronze-light); }
.band--ink .eyebrow::before { background: var(--bronze-light); opacity: 0.75; }
.eyebrow--plain::before { display: none; }

/* The index numeral used across services, process and values */
.index {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  color: var(--bronze-deep);
  font-weight: 500;
}
.band--ink .index { color: var(--bronze-light); }

.rule { height: 1px; background: var(--ivory-line); border: 0; }
.band--ink .rule { background: var(--ink-line); }

/* --- 4. LAYOUT ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--max-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-s); }
.section--flush-top { padding-top: 0; }

.band--ink { background: var(--ink); color: var(--ivory); }
.band--ink .t-lead, .band--ink .t-body { color: var(--ink-soft); }
.band--ink .t-small { color: var(--ink-muted); }
.band--deep { background: var(--ivory-deep); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
/* Editorial split: heading column + content column */
.split { display: grid; gap: clamp(1.75rem, 4vw, 4.5rem); align-items: start; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--sticky > :first-child { position: sticky; top: 7.5rem; }
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-head--wide { max-width: 58rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* --- 5. BUTTONS --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: var(--hair) solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform 0.3s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--bronze); color: #16110A; border-color: var(--bronze); }
.btn--primary:hover { background: #97682F; border-color: #97682F; }

.btn--dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--dark:hover { background: #24282C; border-color: #24282C; }

.btn--outline { border-color: var(--ivory-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }

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

.btn--outline-light { border-color: rgba(248,245,240,0.32); color: var(--ivory); }
.btn--outline-light:hover { border-color: var(--ivory); background: rgba(248,245,240,0.08); }

.btn--whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: #166B54; border-color: #166B54; }

.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Text link with an animated rule beneath */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.02em;
  color: var(--text); padding-bottom: 0.3rem; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: 0.28;
  transform-origin: left; transform: scaleX(1);
  transition: opacity 0.3s var(--ease);
}
.link-arrow:hover::after { opacity: 1; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.band--ink .link-arrow { color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 419px) { .btn-row .btn { width: 100%; } }

/* --- 6. HEADER & NAVIGATION -------------------------------------------- */
.header {
  /* Above .mobile-nav (95) so the close button stays reachable when the
     menu is open. */
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 17, 19, 0);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: var(--hair) solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: 4.75rem;
}
@media (min-width: 1024px) { .header__inner { min-height: 5.5rem; } }

/* Transparent over the hero, solid once scrolled or on inner pages */
.header--solid, .header--inner {
  background: rgba(15, 17, 19, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--ink-line);
}
.header a, .header button { color: var(--ivory); }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
}
.nav__link {
  position: relative; font-size: var(--fs-small); font-weight: 500;
  letter-spacing: 0.01em; padding: 0.4rem 0; color: rgba(248,245,240,0.78);
  transition: color 0.25s var(--ease);
}
.nav__link:hover { color: var(--ivory); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ivory); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header .btn { min-height: 2.7rem; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Logo lockup */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo__mark { flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.19rem; letter-spacing: 0.055em; text-transform: uppercase;
}
.logo__sub {
  font-size: 0.5625rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze-light); margin-top: 0.34rem; font-weight: 600;
}
.logo--ink .logo__name { color: var(--ink); }
.logo--ink .logo__sub { color: var(--bronze-deep); }
/* The descriptor line would wrap on small phones — the wordmark stands alone. */
@media (max-width: 539px) { .logo__sub { display: none; } .logo__mark { width: 34px; height: 34px; } }
@media (min-width: 540px) { .logo__name { font-size: 1.31rem; } }

/* Mobile menu */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 2.9rem; height: 2.9rem; align-items: center;
  border: var(--hair) solid rgba(248,245,240,0.24); border-radius: var(--radius);
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span {
  display: block; width: 17px; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column;
  padding: 5.75rem var(--gutter) 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__link {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 1.05rem 0; border-bottom: var(--hair) solid var(--ink-line);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.mobile-nav__link .index { font-size: 0.6875rem; }
.mobile-nav__link[aria-current="page"] { color: var(--bronze-light); }
.mobile-nav__foot { margin-top: auto; padding-top: 2.25rem; display: grid; gap: 0.7rem; }
.mobile-nav__meta {
  margin-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-muted);
  display: grid; gap: 0.35rem;
}
body[data-lock="true"] { overflow: hidden; }
/* Menu open: the header sits on the panel, so give it the same solid ground. */
body[data-lock="true"] .header { background: var(--ink); border-bottom-color: var(--ink-line); }

/* --- 7. HERO & SECTION BLOCKS ------------------------------------------ */
.hero {
  position: relative; background: var(--ink); color: var(--ivory);
  margin-top: -4.75rem; padding-top: 4.75rem;
  min-height: min(94vh, 920px);
  display: flex; align-items: stretch;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { margin-top: -5.5rem; padding-top: 5.5rem; } }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img, .hero__media svg {
  width: 100%; height: 100%; object-fit: cover;
  /* Keeps the tower cluster and the boulevard in frame as the crop narrows. */
  object-position: 50% 42%;
}
@media (max-width: 699px) { .hero__media img { object-position: 50% 50%; } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Directional: heavy where the copy sits, light where the architecture is,
     so the buildings stay clearly visible and the text stays clearly legible. */
  background:
    linear-gradient(90deg,
      rgba(12,14,16,0.92) 0%,
      rgba(12,14,16,0.78) 28%,
      rgba(12,14,16,0.42) 58%,
      rgba(12,14,16,0.24) 100%),
    linear-gradient(180deg,
      rgba(12,14,16,0.62) 0%,
      rgba(12,14,16,0.18) 34%,
      rgba(12,14,16,0.34) 72%,
      rgba(12,14,16,0.78) 100%);
}
@media (max-width: 699px) {
  /* Portrait crop: the copy runs full width, so the base carries the weight. */
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(12,14,16,0.74) 0%,
      rgba(12,14,16,0.42) 26%,
      rgba(12,14,16,0.66) 56%,
      rgba(12,14,16,0.93) 100%);
  }
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.25rem, 4vw, 3.25rem);
}
.hero__title { max-width: 16ch; }
.hero__title .line { display: block; }
.hero__title .accent { color: var(--bronze-light); }
/* Over photography the supporting line needs to be brighter than it is over a
   flat dark band, plus a soft shadow so it holds against any part of the frame. */
.hero__lead {
  margin-top: clamp(1.35rem, 2.5vw, 1.9rem);
  max-width: 40rem;
  color: rgba(248, 245, 240, 0.95);
  text-shadow: 0 1px 20px rgba(10, 12, 14, 0.6);
}
.hero__title { text-shadow: 0 2px 28px rgba(10, 12, 14, 0.45); }
.hero__brand, .hero__foot { text-shadow: 0 1px 14px rgba(10, 12, 14, 0.6); }
.hero__cta { margin-top: clamp(1.9rem, 3.5vw, 2.75rem); }
/* Brand line above the headline — the first thing read, so it is the name. */
.hero__brand {
  font-family: var(--font-body);
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}
.hero__place {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248,245,240,0.78); font-weight: 600;
}
.hero__place::before {
  content: ""; width: 6px; height: 6px; background: var(--bronze-light);
  border-radius: 50%; flex: none;
}
.hero__tel {
  font-size: var(--fs-micro); letter-spacing: 0.16em; font-weight: 700;
  color: var(--ivory); text-transform: none;
}
.hero__tel:hover { color: var(--bronze-light); }
.hero__foot {
  position: relative; z-index: 2;
  border-top: var(--hair) solid rgba(248,245,240,0.14);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.35rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(248,245,240,0.62); font-weight: 600;
}
.hero__foot { justify-content: space-between; align-items: center; }
.hero__foot > * { display: inline-flex; align-items: center; }

/* Page header for inner pages */
.page-head {
  background: var(--ink); color: var(--ivory);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.75rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.page-head__art { position: absolute; inset: 0; opacity: 0.5; z-index: 0; }
.page-head__art img, .page-head__art svg { width: 100%; height: 100%; object-fit: cover; }
/*
 * A photograph carries far more light than the drawn banner artwork, so it is
 * dimmed further and given a scrim. Without this the headline and lead lose
 * contrast wherever the frame is bright — sky, roads, pale stonework.
 */
.page-head__art--photo { opacity: 0.42; }
.page-head__art--photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,19,0.45) 0%, rgba(15,17,19,0.78) 100%);
}
.page-head__inner { position: relative; z-index: 2; }
.page-head__title { max-width: 20ch; }
.page-head__lead { margin-top: 1.35rem; max-width: 46rem; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(248,245,240,0.6); margin-bottom: 1.75rem; font-weight: 600;
}
.crumbs a:hover { color: var(--ivory); }
.crumbs [aria-current] { color: var(--bronze-light); }
.crumbs__sep { opacity: 0.45; }

/* Statistics / capability band */
.stat-band { display: grid; gap: 0; border-top: var(--hair) solid var(--ink-line); }
@media (min-width: 560px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(0rem, 2vw, 2rem)
           clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: var(--hair) solid var(--ink-line);
}
@media (min-width: 560px) {
  .stat { border-right: var(--hair) solid var(--ink-line); padding-left: clamp(1rem, 2.5vw, 2.25rem); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:first-child { padding-left: 0; }
}
@media (min-width: 1000px) {
  .stat:nth-child(2n) { border-right: var(--hair) solid var(--ink-line); }
  .stat:last-child { border-right: 0; }
  .stat { border-bottom: 0; }
}
.stat__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--ivory);
}
.stat__value .suffix { color: var(--bronze-light); }
.stat__text {
  font-family: var(--font-display); font-weight: 650;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.22rem); line-height: 1.25;
  letter-spacing: -0.012em; color: var(--ivory); text-wrap: balance;
}
.stat__label {
  margin-top: 0.85rem; font-size: var(--fs-micro); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 600;
}
.stat__label--top { margin: 0 0 0.85rem; }

/* Process — numbered architectural steps */
.process { display: grid; gap: 0; border-top: var(--hair) solid var(--ivory-line); }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process__step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 2rem) clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: var(--hair) solid var(--ivory-line);
}
@media (min-width: 700px) {
  .process__step { padding-left: clamp(1.25rem, 2.5vw, 2.25rem); border-right: var(--hair) solid var(--ivory-line); }
  .process__step:nth-child(2n) { border-right: 0; }
  .process__step:nth-child(2n+1) { padding-left: 0; }
}
@media (min-width: 1080px) {
  .process__step:nth-child(2n) { border-right: var(--hair) solid var(--ivory-line); }
  .process__step:nth-child(3n) { border-right: 0; }
  .process__step:nth-child(2n+1) { padding-left: clamp(1.25rem, 2.5vw, 2.25rem); }
  .process__step:nth-child(3n+1) { padding-left: 0; }
}
.process__step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 2.75rem; height: 2px;
  background: var(--bronze);
}
@media (min-width: 700px) {
  .process__step:nth-child(2n)::before { left: clamp(1.25rem, 2.5vw, 2.25rem); }
}
@media (min-width: 1080px) {
  .process__step:nth-child(2n)::before,
  .process__step:nth-child(3n)::before { left: clamp(1.25rem, 2.5vw, 2.25rem); }
  .process__step:nth-child(3n+1)::before { left: 0; }
}
.process__num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem;
  line-height: 1; letter-spacing: -0.04em; color: var(--ivory-strong);
  margin-bottom: 1rem;
}
.process__title { margin-bottom: 0.6rem; }

/* Split feature blocks (landowner / investor) */
.feature {
  display: grid; gap: 0; align-items: stretch;
  border: var(--hair) solid var(--ivory-line);
}
@media (min-width: 900px) { .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature__art { position: relative; min-height: 15rem; background: var(--ink); overflow: hidden; }
.feature__art picture { display: block; width: 100%; height: 100%; }
.feature__art img, .feature__art svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .feature__art { aspect-ratio: 3 / 2; min-height: 0; } }
@media (min-width: 900px) { .feature__art { min-height: 100%; } }
.feature__body { padding: clamp(1.85rem, 4vw, 3.75rem); display: flex; flex-direction: column; justify-content: center; }
/* A comfortable measure — and it keeps line ends clear of the floating
   WhatsApp button on tablet widths, where the row is a single column. */
.feature__body > p { max-width: 54ch; }
.feature--ink { border-color: var(--ink-line); }
.feature--reverse .feature__art { order: -1; }
@media (min-width: 900px) { .feature--reverse .feature__art { order: 2; } }

/* Callout / final CTA */
.cta-final { position: relative; overflow: hidden; }
.cta-final__art { position: absolute; inset: 0; }
.cta-final__art picture { display: block; width: 100%; height: 100%; }
.cta-final__art img, .cta-final__art svg {
  width: 100%; height: 100%; object-fit: cover;
  /* Anchors on the illuminated buildings; the dark side of the frame falls
     under the copy, which is why this photograph needs so little overlay. */
  object-position: 70% 50%;
}
@media (max-width: 699px) { .cta-final__art img { object-position: 50% 45%; } }
.cta-final__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(10,12,14,0.9) 0%,
      rgba(10,12,14,0.74) 34%,
      rgba(10,12,14,0.42) 66%,
      rgba(10,12,14,0.3) 100%),
    linear-gradient(180deg,
      rgba(10,12,14,0.5) 0%,
      rgba(10,12,14,0.2) 40%,
      rgba(10,12,14,0.62) 100%);
}
@media (max-width: 699px) {
  .cta-final__scrim {
    background: linear-gradient(180deg,
      rgba(10,12,14,0.72) 0%,
      rgba(10,12,14,0.5) 30%,
      rgba(10,12,14,0.8) 70%,
      rgba(10,12,14,0.94) 100%);
  }
}
.cta-final__inner { position: relative; z-index: 2; }
/* All the copy sits on the dark side of the frame, which is what the
   photograph's negative space is for. */
.cta-final__body {
  max-width: 46rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.cta-final__inner .t-lead { color: rgba(248, 245, 240, 0.95); }
.cta-final__meta { color: rgba(248, 245, 240, 0.82); }
.cta-final__inner .t-display,
.cta-final__inner .t-lead,
.cta-final__meta { text-shadow: 0 2px 24px rgba(10, 12, 14, 0.6); }

/* Quote / testimonial */
.quote { border-left: 2px solid var(--bronze); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.quote__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.95rem); line-height: 1.3;
  letter-spacing: -0.02em; text-wrap: pretty;
}
.quote__by { margin-top: 1.5rem; font-size: var(--fs-small); }
.quote__name { font-weight: 650; }
.quote__role { color: var(--text-muted); }

/* --- 8. CARDS & LISTS --------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: var(--hair) solid var(--ivory-line);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.card:hover { border-color: var(--ivory-strong); }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -30px rgba(15,17,19,0.5); }
.band--ink .card { background: var(--ink-raised); border-color: var(--ink-line); }
.band--ink .card:hover { border-color: #3A4046; }

/* Service card */
.service-card {
  padding: clamp(1.5rem, 3vw, 2.25rem); background: transparent;
  display: flex; flex-direction: column; height: 100%;
}
.service-card > :last-child { margin-top: auto; padding-top: 1.35rem; }
.service-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.service-card__title { margin-bottom: 0.7rem; }
.service-card__mark {
  width: 1.6rem; height: 1.6rem; flex: none; opacity: 0.55;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover .service-card__mark { opacity: 1; transform: translate(2px, -2px); }

/* Service grid with architectural hairlines rather than boxes */
.service-grid { display: grid; gap: 0; border-top: var(--hair) solid var(--ivory-line); }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-grid > * { border-bottom: var(--hair) solid var(--ivory-line); }
@media (min-width: 700px) {
  .service-grid > * { border-right: var(--hair) solid var(--ivory-line); }
  .service-grid > *:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1080px) {
  .service-grid > *:nth-child(2n) { border-right: var(--hair) solid var(--ivory-line); }
  .service-grid > *:nth-child(3n) { border-right: 0; }
}

/* Project card */
.project-card { overflow: hidden; background: var(--white); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.project-card__media img, .project-card__media svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
a.project-card:hover .project-card__media img,
a.project-card:hover .project-card__media svg { transform: scale(1.04); }
.project-card__body { padding: clamp(1.15rem, 2.5vw, 1.65rem); display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.project-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.project-card__foot { margin-top: auto; padding-top: 0.9rem; }

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.32rem 0.6rem; border: var(--hair) solid var(--ivory-line);
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted); background: var(--ivory);
}
.tag--status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }
.tag--ongoing::before { background: var(--bronze); }
.tag--completed::before { background: #4E7A5E; }
.tag--upcoming::before { background: var(--ivory-strong); }
.tag--placeholder {
  background: var(--bronze-wash); border-color: rgba(169,121,63,0.4);
  color: var(--bronze-deep);
}

.notice {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem 1.15rem; border: var(--hair) solid rgba(169,121,63,0.38);
  background: var(--bronze-wash); font-size: var(--fs-small);
  color: var(--text); line-height: 1.55;
}
.notice svg { flex: none; margin-top: 0.15rem; color: var(--bronze-deep); }
.band--ink .notice { color: var(--ink-soft); border-color: rgba(203,158,98,0.32); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  padding: 0.6rem 1.05rem; border: var(--hair) solid var(--ivory-line);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.02em;
  background: transparent; color: var(--text-muted); border-radius: var(--radius);
  transition: all 0.25s var(--ease); min-height: 2.75rem;
}
.filter:hover { border-color: var(--ink); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* Definition-style list used for project details and hours */
.deflist { display: grid; gap: 0; border-top: var(--hair) solid var(--ivory-line); }
.deflist > div {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem;
  justify-content: space-between; padding: 0.9rem 0;
  border-bottom: var(--hair) solid var(--ivory-line);
}
.deflist dt { font-size: var(--fs-small); color: var(--text-muted); }
.deflist dd { font-size: var(--fs-small); font-weight: 600; text-align: right; }
.band--ink .deflist, .band--ink .deflist > div { border-color: var(--ink-line); }
.band--ink .deflist dt { color: var(--ink-muted); }

/* Bulleted list with bronze ticks. Block flow so inline <strong> reads normally. */
.ticks { display: grid; gap: 0.8rem; }
.ticks li {
  position: relative; padding-left: 1.6rem;
  font-size: var(--fs-small); line-height: 1.6;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.62rem; height: 0.36rem;
  border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}
.band--ink .ticks li::before { border-color: var(--bronze-light); }

/* Numbered steps inline (service process) */
.steps { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.steps li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted);
}
.steps li:not(:last-child)::after { content: "→"; color: var(--bronze); margin-left: 0.35rem; }

/* Pillar (why HKN) */
.pillar { padding: clamp(1.4rem, 2.5vw, 2rem) 0; }
.pillar__title { margin: 0.85rem 0 0.55rem; }

/* Value list on About */
.value-grid { display: grid; gap: 0; border-top: var(--hair) solid var(--ivory-line); }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-grid > * {
  border-bottom: var(--hair) solid var(--ivory-line);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1rem, 2vw, 2rem) clamp(1.4rem, 3vw, 2.1rem) 0;
}
@media (min-width: 640px) {
  .value-grid > * { border-right: var(--hair) solid var(--ivory-line); padding-left: clamp(1.25rem, 2.5vw, 2rem); }
  .value-grid > *:nth-child(2n) { border-right: 0; }
  .value-grid > *:nth-child(2n+1) { padding-left: 0; }
}
@media (min-width: 1000px) {
  .value-grid > *:nth-child(2n) { border-right: var(--hair) solid var(--ivory-line); }
  .value-grid > *:nth-child(3n) { border-right: 0; }
  .value-grid > *:nth-child(2n+1) { padding-left: clamp(1.25rem, 2.5vw, 2rem); }
  .value-grid > *:nth-child(3n+1) { padding-left: 0; }
}

/* Media frame with bronze corner datum */
.frame { position: relative; background: var(--ink); overflow: hidden; }
.frame::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 3.5rem; height: 2px; background: var(--bronze); z-index: 2;
}
.frame img, .frame svg { width: 100%; height: 100%; object-fit: cover; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 3 / 4; }
@media (max-width: 639px) { .frame--tall { aspect-ratio: 4 / 3; } }

/* --- 9. FORMS ----------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: 0.45rem; }
.field__label {
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted);
}
.field__req { color: var(--bronze-deep); }
.field__hint { font-size: 0.8125rem; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 3.1rem; padding: 0.8rem 0.95rem;
  background: var(--white); color: var(--text);
  border: var(--hair) solid var(--ivory-strong); border-radius: var(--radius);
  font-size: 1rem; /* 16px minimum — stops iOS zooming on focus */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--bronze); box-shadow: 0 0 0 3px var(--bronze-wash); outline: none;
}
.select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2363605A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: #A3402F; }
.field__error { font-size: 0.8125rem; color: #A3402F; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }
.form-status { padding: 1rem 1.15rem; border: var(--hair) solid; font-size: var(--fs-small); }
.form-status--ok { border-color: #3E6B52; background: rgba(62,107,82,0.08); color: #2E5340; }
.form-status--err { border-color: #A3402F; background: rgba(163,64,47,0.07); color: #8C3627; }

.band--ink .input, .band--ink .select, .band--ink .textarea {
  background: var(--ink-raised); border-color: var(--ink-line); color: var(--ivory);
}
.band--ink .field__label { color: var(--ink-muted); }

/* Pathway chooser on Land & Investment */
.path-tabs { display: grid; gap: 0; border: var(--hair) solid var(--ivory-line); margin-bottom: 2.5rem; }
@media (min-width: 620px) { .path-tabs { grid-template-columns: repeat(2, 1fr); } }
.path-tab {
  padding: clamp(1.25rem, 3vw, 1.85rem); text-align: left;
  border-bottom: var(--hair) solid var(--ivory-line);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
  background: var(--white);
}
@media (min-width: 620px) {
  .path-tab { border-bottom: 0; border-right: var(--hair) solid var(--ivory-line); }
  .path-tab:last-child { border-right: 0; }
}
.path-tab[aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.path-tab[aria-selected="true"] .path-tab__sub { color: var(--ink-soft); }
.path-tab[aria-selected="true"] .index { color: var(--bronze-light); }
.path-tab__title { margin: 0.75rem 0 0.4rem; }
.path-tab__sub { font-size: var(--fs-small); color: var(--text-muted); }

/* --- 10. FOOTER, FLOATING ACTIONS, UTILITIES --------------------------- */
.footer { background: var(--ink); color: var(--ivory); padding-block: clamp(3.25rem, 6vw, 5rem) 0; }
.footer__top { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
@media (min-width: 760px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.footer__heading {
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-light); font-weight: 600; margin-bottom: 1.35rem;
}
.footer__links { display: grid; gap: 0.75rem; }
.footer__links a { font-size: var(--fs-small); color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--ivory); }
.footer__bio { font-size: var(--fs-small); color: var(--ink-soft); max-width: 30rem; margin-top: 1.5rem; }
.footer__contact { display: grid; gap: 0.85rem; font-size: var(--fs-small); color: var(--ink-soft); }
.footer__contact a:hover { color: var(--ivory); }
.footer__contact strong { color: var(--ivory); font-weight: 600; display: block; margin-bottom: 0.15rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.footer__social a {
  width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center;
  justify-content: center; border: var(--hair) solid var(--ink-line);
  border-radius: var(--radius); color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.footer__social a:hover { border-color: var(--bronze); color: var(--bronze-light); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: var(--hair) solid var(--ink-line);
  padding-block: 1.5rem 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem;
  justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: var(--ink-muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer__legal a:hover { color: var(--ivory); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(0.85rem, 3vw, 1.75rem);
  bottom: clamp(0.85rem, 3vw, 1.75rem); z-index: 80;
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 3.25rem; padding: 0 1.05rem;
  background: var(--whatsapp); color: var(--white);
  border-radius: 999px; font-size: var(--fs-small); font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(15,17,19,0.55);
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease);
}
.wa-float:hover { background: #166B54; transform: translateY(-2px); }
.wa-float__label { display: none; }
@media (min-width: 560px) { .wa-float__label { display: inline; } }
@media (max-width: 559px) { .wa-float { width: 3.25rem; padding: 0; justify-content: center; } }

/* Mobile sticky contact bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--ink); border-top: var(--hair) solid var(--ink-line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.4rem; color: var(--ivory); font-size: var(--fs-small); font-weight: 600;
}
.mobile-bar a + a { border-left: var(--hair) solid var(--ink-line); }
@media (max-width: 767px) {
  /* Reserve the bar's height (plus the home-indicator inset) so nothing at the
     foot of the page can end up permanently behind it. */
  body { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(3.4rem + 0.85rem + env(safe-area-inset-bottom)); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.75s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.no-js .reveal, .reveal.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities */
.u-hide { display: none !important; }
.u-center { text-align: center; }
.u-mt-s { margin-top: 1rem; }
.u-mt { margin-top: 1.75rem; }
.u-mt-l { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.u-mb { margin-bottom: 1.75rem; }
.u-bronze { color: var(--bronze-deep); }
.band--ink .u-bronze { color: var(--bronze-light); }
.u-flow > * + * { margin-top: 1.05em; }
.u-nowrap { white-space: nowrap; }

/* Print */
@media print {
  .header, .footer, .wa-float, .mobile-bar, .mobile-nav, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .band--ink, .hero, .page-head { background: #fff !important; color: #000 !important; }
}

/* --- 11. AREAS OF EXPERIENCE ------------------------------------------- */
/* A large lead feature with the photograph carrying the section, then two
   supporting cards. Locations, not projects — so no index numbering. */
.area-lead {
  position: relative; display: block; overflow: hidden;
  background: var(--ink); color: var(--ivory);
  border: var(--hair) solid var(--ink-line);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
a.area-lead:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(15,17,19,0.6); }
.area-lead picture, .area-lead img { display: block; width: 100%; height: 100%; object-fit: cover; }
.area-lead__media { position: relative; aspect-ratio: 4 / 3; }
@media (max-width: 699px) {
  .area-lead__scrim {
    background: linear-gradient(180deg,
      rgba(15,17,19,0.3) 0%,
      rgba(15,17,19,0.18) 22%,
      rgba(15,17,19,0.68) 46%,
      rgba(15,17,19,0.94) 100%);
  }
}
@media (min-width: 700px)  { .area-lead__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) { .area-lead__media { aspect-ratio: 21 / 8; } }
.area-lead__media img { transition: transform 0.9s var(--ease); }
a.area-lead:hover .area-lead__media img { transform: scale(1.035); }
.area-lead__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,17,19,0.4) 0%, rgba(15,17,19,0) 30%, rgba(15,17,19,0.56) 62%, rgba(15,17,19,0.94) 100%),
    linear-gradient(90deg, rgba(15,17,19,0.74) 0%, rgba(15,17,19,0.28) 48%, rgba(15,17,19,0) 100%);
}
.area-lead__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1.35rem, 3.5vw, 3rem);
  max-width: 46rem;
}
.area-lead__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.02;
  letter-spacing: -0.032em; text-transform: uppercase;
}
.area-lead__text {
  margin-top: 0.85rem; font-size: var(--fs-small); line-height: 1.6;
  color: var(--ink-soft); max-width: 40rem;
}
.area-lead .eyebrow { color: var(--bronze-light); margin-bottom: 0.9rem; }
.area-lead .eyebrow::before { background: var(--bronze-light); }
.area-lead__foot { margin-top: 1.25rem; }
.area-lead .link-arrow { color: var(--ivory); }

/* Supporting cards, two up */
.area-pair { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 760px) { .area-pair { grid-template-columns: repeat(2, 1fr); } }

/* Locations where HKN Groups has worked. Deliberately NOT numbered — these
   are places, not a sequence, and numbering them would imply an order that
   does not exist. */
.area-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 760px)  { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }

.area-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: var(--hair) solid var(--ivory-line);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
a.area-card:hover {
  border-color: var(--ivory-strong); transform: translateY(-4px);
  box-shadow: 0 24px 50px -34px rgba(15, 17, 19, 0.55);
}
.area-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
/* Phones get more height so a photograph still reads as photography */
@media (max-width: 759px) { .area-card__media { aspect-ratio: 4 / 3; } }
.area-card__media picture { display: block; width: 100%; height: 100%; }
.area-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
a.area-card:hover .area-card__media img { transform: scale(1.045); }
.area-card__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem; background: var(--bronze); color: #16110A;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.area-card__body { padding: clamp(1.25rem, 2.5vw, 1.85rem); display: flex; flex-direction: column; flex: 1; }
.area-card__place {
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-deep); font-weight: 600; margin-bottom: 0.7rem;
}
.area-card__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem); line-height: 1.1;
  letter-spacing: -0.025em;
}
.area-card__text { margin-top: 0.7rem; font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.area-card__foot { margin-top: auto; padding-top: 1.15rem; }

/* Full-width editorial photograph band */
.editorial { position: relative; overflow: hidden; background: var(--ink); }
.editorial picture, .editorial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial__media { position: relative; aspect-ratio: 4 / 5; }
@media (min-width: 700px)  { .editorial__media { aspect-ratio: 16 / 7; } }
@media (min-width: 1200px) { .editorial__media { aspect-ratio: 21 / 7; } }
.editorial__scrim {
  position: absolute; inset: 0;
  /* Keeps the sunset visible on the right while the text side stays legible. */
  background:
    linear-gradient(90deg, rgba(15,17,19,0.9) 0%, rgba(15,17,19,0.72) 34%, rgba(15,17,19,0.24) 68%, rgba(15,17,19,0.04) 100%),
    linear-gradient(180deg, rgba(15,17,19,0.3) 0%, rgba(15,17,19,0.06) 42%, rgba(15,17,19,0.42) 100%);
}
@media (max-width: 699px) {
  /* Portrait crop: the text needs a full-width base to sit on. */
  .editorial__scrim {
    background: linear-gradient(180deg,
      rgba(15,17,19,0.34) 0%,
      rgba(15,17,19,0.2) 20%,
      rgba(15,17,19,0.66) 44%,
      rgba(15,17,19,0.9) 100%);
  }
  .editorial__body { align-items: flex-end; padding-block: clamp(1.5rem, 5vw, 2.5rem); }
}
.editorial__body {
  position: absolute; inset: 0; display: flex; align-items: center;
  color: var(--ivory);
}
.editorial__inner { max-width: 40rem; }
.editorial .eyebrow { color: var(--bronze-light); }
.editorial .eyebrow::before { background: var(--bronze-light); }

/* Caption under an image, used to label a location photograph honestly */
.media-caption {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 0.6rem;
  letter-spacing: 0.02em;
}
.band--ink .media-caption { color: var(--ink-muted); }

/* Contact strip — office, phone and hours, side by side on desktop */
.contact-strip {
  display: grid; gap: 0;
  border: var(--hair) solid var(--ivory-line); background: var(--white);
}
@media (min-width: 860px) { .contact-strip { grid-template-columns: repeat(3, 1fr); } }
.contact-strip > * { padding: clamp(1.4rem, 3vw, 2.25rem); }
.contact-strip > * + * { border-top: var(--hair) solid var(--ivory-line); }
@media (min-width: 860px) {
  .contact-strip > * + * { border-top: 0; border-left: var(--hair) solid var(--ivory-line); }
}
.contact-strip a { text-decoration: none; }
.contact-strip a:hover { color: var(--bronze-deep); }

/* --- 12. FIGURE PANEL & LIGHTBOX ---------------------------------------- */
/* A photograph in a feature row is not cropped to fill a column taller than
   its own proportions. It keeps its aspect ratio and sits centred, so the
   whole frame — people, desk, view — stays in the picture. */
/* 4:3 at every width — the source ratio — so the frame is never cropped. */
.feature__art--photo { aspect-ratio: 4 / 3; min-height: 0; }
@media (min-width: 900px) { .feature__art--photo { align-self: center; } }

/* An infographic is not a photograph: it must never be cropped, and at half
   the width of a feature row its lettering is too small to read. So it is
   shown whole on a light ground, with a control that opens it full size. */
.feature__art--figure {
  aspect-ratio: auto;
  min-height: 0;
  background: var(--ivory-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(0.75rem, 1.5vw, 1.15rem);
}
.feature__art--figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Sits below the diagram, never over it — the whole point is that nothing
   in the graphic gets covered. */
.figure-zoom {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.6rem; padding: 0 0.95rem;
  background: rgba(15, 17, 19, 0.88); color: var(--ivory);
  border: var(--hair) solid rgba(248, 245, 240, 0.22);
  border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease);
}
.figure-zoom:hover { background: var(--ink); border-color: var(--bronze); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: rgba(9, 10, 12, 0.96);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem clamp(0.85rem, 3vw, 1.75rem);
  background: var(--ink);
  border-bottom: var(--hair) solid rgba(248, 245, 240, 0.14);
  color: var(--ivory); flex: none;
}
.lightbox__title {
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.lightbox__close {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: 2.9rem; min-height: 2.9rem; padding: 0 0.9rem;
  color: var(--ivory); border: var(--hair) solid rgba(248, 245, 240, 0.24);
  border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600;
}
.lightbox__close:hover { border-color: var(--bronze); color: var(--bronze-light); }
.lightbox__stage {
  flex: 1; overflow: auto; -webkit-overflow-scrolling: touch;
  padding: clamp(0.75rem, 2vw, 1.75rem);
  display: grid; place-items: center;
}
.lightbox__stage img {
  display: block;
  max-width: 100%;
  /* Percentages do not resolve against an auto-height grid track, so the
     available height is expressed against the viewport minus the bar. */
  max-height: calc(100dvh - 8rem);
  width: auto; height: auto;
  border-radius: var(--radius);
  background: var(--ivory);
}
/* On a phone the infographic is readable only wider than the screen, so it is
   shown at a legible width inside a scrollable stage rather than shrunk. */
@media (max-width: 767px) {
  .lightbox__stage { place-items: start; }
  .lightbox__stage img { max-width: none; max-height: none; width: 200vw; height: auto; }
}
.lightbox__hint {
  flex: none; padding: 0.6rem clamp(0.85rem, 3vw, 1.75rem) calc(0.6rem + env(safe-area-inset-bottom));
  font-size: 0.75rem; color: var(--ink-muted); text-align: center;
  border-top: var(--hair) solid rgba(248, 245, 240, 0.1);
}
@media (min-width: 768px) { .lightbox__hint { display: none; } }
