/* ==========================================================================
   House of Al Hadeetha — Real Estate & Investment
   ========================================================================== */

:root {
  --green: #14503c;            /* brand accent only — logo, eyebrows, fine details */
  --green-dark: #0f3a2c;
  --green-deep: #17181a;       /* dark surfaces: charcoal, JLL-style */
  --green-soft: #f0f1f2;
  --sand: #9aa0a4;             /* muted neutral accent */
  --ink: #1d2125;
  --grey: #5c6166;
  --grey-light: #f5f6f6;
  --line: #e3e5e6;
  --white: #ffffff;
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-script: "Great Vibes", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: only light; background-color: #ffffff; }
:root { color-scheme: only light; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  color-scheme: only light;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(20, 80, 60, 0.15));
  margin-left: 0.9rem;
  vertical-align: middle;
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin-bottom: 1.2rem;
}

.section-title strong {
  font-weight: 600;
  color: var(--ink);
}

.lead {
  font-size: 1.08rem;
  color: var(--grey);
  max-width: 64ch;
}

.script-accent {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green);
  font-weight: 400;
}

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #1d6b50 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f3d2e 0%, var(--green) 100%);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

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

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; }

.brand-logo { height: 66px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a.active { color: var(--green); font-weight: 500; }

.nav-cta {
  background: linear-gradient(135deg, var(--green) 0%, #1d6b50 100%);
  color: var(--white) !important;
  padding: 0.7rem 1.6rem !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: linear-gradient(135deg, #0f3d2e 0%, var(--green) 100%); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 6rem;
  color: var(--ink);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.35) 100%);
}

.hero-inner { position: relative; max-width: 760px; }

.hero .eyebrow { color: var(--green); }

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.hero h1 strong { font-weight: 600; }

.hero p {
  font-size: 1.12rem;
  color: var(--grey);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--grey);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  background: var(--grey);
  margin: 0.6rem auto 0;
  animation: drop 2s infinite;
}

@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (inner pages) */

.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 0 4rem;
  color: var(--ink);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 50%, rgba(255, 255, 255, 0.45) 100%);
}

.page-hero .container { position: relative; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--ink);
}

.page-hero h1 strong { font-weight: 600; }

.page-hero .eyebrow { color: var(--green); }

.page-hero p {
  color: var(--grey);
  max-width: 60ch;
  margin-top: 1rem;
}

/* Dark hero variant (for night building imagery) */
.page-hero.page-hero--dark { color: var(--white); }
.page-hero.page-hero--dark::before {
  background: linear-gradient(100deg, rgba(9, 43, 32, 0.9) 0%, rgba(9, 43, 32, 0.62) 52%, rgba(9, 43, 32, 0.32) 100%);
}
.page-hero.page-hero--dark h1 { color: var(--white); }
.page-hero.page-hero--dark .eyebrow { color: #cfe3d9; }
.page-hero.page-hero--dark .eyebrow::after { background: linear-gradient(90deg, #cfe3d9, rgba(207,227,217,0.15)); }
.page-hero.page-hero--dark p { color: rgba(255, 255, 255, 0.88); }

/* ---------- Spotlight stories ---------- */

.spotlight-band {
  position: relative;
  z-index: 5;
  margin-top: -78px;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.spotlight-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  padding: 2rem 2.4rem;
  display: flex;
  align-items: stretch;
  gap: 2.2rem;
}

.spotlight-label {
  flex-shrink: 0;
  width: 150px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green);
  align-self: center;
  text-decoration: none;
}
a.spotlight-label:hover { text-decoration: underline; text-underline-offset: 4px; }

.spotlight-items {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.spotlight-item {
  display: block;
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  border-left: 3px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.spotlight-item:hover { color: var(--green); border-color: var(--green); }

.spotlight-item.featured {
  background: #eef4f1;
  border-left-color: var(--green);
  border-radius: 6px;
}

/* ---------- Story cards (insights) ---------- */

.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.story-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-light); }

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.story-card:hover .story-media img { transform: scale(1.05); }

.story-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }

.story-meta {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.7rem;
}

.story-meta span { color: var(--grey); font-weight: 400; letter-spacing: 0.06em; }

.story-body h3 { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; }

.story-body p { font-size: 0.92rem; color: var(--grey); flex: 1; }

.story-body .card-link { margin-top: 1.2rem; }

/* ---------- Property cards + gallery ---------- */

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.prop-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12); }

.prop-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--grey-light);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.prop-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.04); }

.prop-zoom {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(9, 43, 32, 0.82));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prop-media::after {
  content: "";
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2314503c' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prop-card:hover .prop-zoom, .prop-card:hover .prop-media::after { opacity: 1; }

.prop-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prop-body h3 { font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.prop-meta { font-size: 0.9rem; color: var(--grey); margin-top: 0.35rem; }
.prop-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.prop-price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--green); }
.prop-enquire { padding: 0.6rem 1.3rem; font-size: 0.78rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 22, 17, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lb-stage {
  margin: 0;
  max-width: min(92vw, 900px);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.28); }
.lb-close { top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lb-prev { left: clamp(0.6rem, 3vw, 2.5rem); }
.lb-next { right: clamp(0.6rem, 3vw, 2.5rem); }
.lb-bar {
  position: absolute;
  left: 0; right: 0; bottom: 1.4rem;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.lb-count { font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; }

@media (max-width: 1024px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .prop-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
}

/* ---------- Insight cards (LinkedIn) ---------- */

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.insight-card:hover::before { transform: scaleX(1); }
.insight-tag {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.insight-card h3 { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 0.8rem 0 0.6rem; }
.insight-card p { font-size: 0.92rem; color: var(--grey); flex: 1; }
.insight-card .card-link { margin-top: 1.4rem; }

/* ---------- Oman Story (magazine) ---------- */

.mos-wordmark {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.mos-wordmark .mos-my { display: block; font-style: italic; font-size: 1.1em; font-weight: 300; }
.mos-wordmark .mos-oman { display: block; font-size: 2.1em; font-weight: 600; color: var(--green); letter-spacing: 0.02em; }
.mos-wordmark .mos-story { display: block; font-style: italic; font-size: 1.3em; margin-top: -0.1em; }

/* Featured story (hub) */
.mos-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.mos-feature .mos-media { align-self: stretch; }
.mos-feature .mos-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.mos-feature .mos-body { padding: clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) 0; }
.mos-feature .mos-issue {
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sand);
}
.mos-feature h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; color: var(--ink); margin: 0.8rem 0 0.4rem; }
.mos-feature .mos-author { font-style: italic; color: var(--green); margin-bottom: 1.2rem; }
.mos-feature p { color: var(--grey); margin-bottom: 1.6rem; }

/* "Share your story" / coming soon tiles */
.mos-tile {
  border: 1px dashed var(--line);
  background: var(--grey-light);
  padding: 2.4rem 2rem;
  text-align: center;
}
.mos-tile h3 { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; }
.mos-tile p { font-size: 0.92rem; color: var(--grey); margin-bottom: 1.2rem; }

.mos-tagline-band {
  background: var(--green-deep);
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 2.2rem 0;
}
.mos-tagline-band .tagline {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Magazine cover hero */
.mos-cover {
  background: linear-gradient(180deg, #eef3f0 0%, #ffffff 100%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.mos-cover .mos-kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.6rem;
}
.mos-cover img {
  width: auto;
  max-width: 100%;
  max-height: 92vh;
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 34px 80px rgba(9, 43, 32, 0.28);
}

/* Two-column article spread */
.mos-spread-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.mos-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1080px;
  margin: 0 auto;
}
.mos-col p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.mos-photo {
  position: relative;
  margin-bottom: 1.8rem;
}
.mos-photo img { width: 100%; display: block; }
.mos-photo .mos-photo-mark {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.mos-photo-mark .m1 { display: block; font-style: italic; font-size: 1rem; }
.mos-photo-mark .m2 { display: block; font-size: 1.7rem; font-weight: 600; color: #2f8f6b; }
.mos-photo-mark .m3 { display: block; font-style: italic; font-size: 1.15rem; }

.mos-spread h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 1.3rem;
}
.mos-col p.dropcap::first-letter {
  float: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 0.78;
  padding: 0.35rem 0.55rem 0 0;
  color: var(--green);
}

/* inline pull-quote (left column) */
.mos-pull {
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.4;
  color: var(--green);
  margin: 1.6rem 0;
}

/* framed feature quote (top of right column) */
.mos-framed {
  text-align: center;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 1.8rem 0.5rem;
  margin: 0 0 1.8rem;
}
.mos-framed p {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.45;
  color: var(--green-dark);
  margin: 0;
}

/* italic green subhead */
.mos-subhead {
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  color: var(--green);
  margin: 1.8rem 0 1.1rem;
}
.mos-tight { line-height: 1.5 !important; margin-bottom: 0.2rem !important; }

.mos-signoff {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--green);
  margin-top: 1.8rem;
}
.mos-signoff .mos-name { font-style: normal; font-weight: 600; display: block; margin-top: 0.3rem; }

@media (max-width: 860px) {
  .mos-feature { grid-template-columns: 1fr; }
  .mos-feature .mos-media img { min-height: 280px; }
  .mos-feature .mos-body { padding: 1.8rem; }
  .mos-spread { grid-template-columns: 1fr; gap: 0.5rem; }
  .mos-photo { max-width: 420px; }
}

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--grey-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 3.6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
}

.stat-value span { color: var(--green); }

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.4rem;
}

/* ---------- Section heads ---------- */

.section-head { max-width: 720px; margin-bottom: 3rem; }

.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Cards / services ---------- */

.bg-light { background: var(--grey-light); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: #f3f8f5;
  border: 1px solid #dbe8e2;
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
}

.service-card:hover {
  transform: translateY(-6px);
  background: #e8f1ec;
  box-shadow: 0 18px 40px rgba(20, 80, 60, 0.16);
}

.service-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  background: var(--green);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1rem 0 0.7rem;
  color: var(--green);
}

.service-card p { font-size: 0.95rem; color: var(--grey); }

.card-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.card-link::after {
  content: "\2192";
  margin-left: 0.5rem;
  transition: margin-left 0.3s ease;
}

.card-link:hover::after { margin-left: 0.9rem; }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split.reverse > .split-media { order: 2; }

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--sand);
  z-index: -1;
}

.split.reverse .split-media::after {
  inset: 1.4rem 1.4rem -1.4rem -1.4rem;
}

.split-content .lead { margin-bottom: 1.6rem; }

/* ---------- Checklists ---------- */

.check-list { list-style: none; display: grid; gap: 0.7rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg) scale(0.85);
}

.check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

.gap-list li::before {
  border-color: var(--sand);
}

/* ---------- Segments ---------- */

.segment-card {
  background: var(--white);
  border-top: 3px solid var(--green);
  padding: 2.4rem 2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.segment-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

.segment-card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.segment-card ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--grey);
}

.segment-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--sand);
}

.segment-need {
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  color: var(--ink);
}

.segment-need strong { color: var(--green); font-weight: 600; }

/* ---------- Values / ethos ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.value-card {
  text-align: center;
  padding: 2.6rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.value-card:hover { border-color: var(--ink); transform: translateY(-4px); }

.value-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
}

.value-card h3 { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.value-card p { font-size: 0.88rem; color: var(--grey); margin-top: 0.6rem; }

/* ---------- Sector chips ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

.chip {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--grey-light);
}

/* ---------- Group company links (uniform green tabs) ---------- */

.company-links { display: grid; gap: 0.65rem; margin-top: 1.6rem; }

.company-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.3rem;
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.company-link:hover {
  background: var(--green-dark);
  transform: translateX(5px);
  box-shadow: 0 8px 22px rgba(20, 80, 60, 0.18);
}

.company-link .company-arrow {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.company-link:hover .company-arrow { transform: translate(3px, -3px); opacity: 1; }

/* ---------- Quote / positioning band ---------- */

.quote-band {
  background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), var(--quote-img, none);
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.5;
}

.quote-band blockquote strong { font-weight: 600; color: var(--green-dark); }

.quote-band .script-accent { color: var(--green); display: block; margin-top: 1.6rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #eef4f1 0%, #ffffff 60%);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--ink);
  max-width: 24ch;
}

.cta-inner h2 strong { font-weight: 600; color: var(--green-dark); }

/* ---------- Detail rows (services page) ---------- */

.detail-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child { border-bottom: none; }

.detail-index {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 300;
  color: var(--sand);
}

.detail-row h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.detail-row p { color: var(--grey); max-width: 70ch; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
}

.contact-item h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a { color: var(--grey); font-size: 0.97rem; }
.contact-item a:hover { color: var(--green); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--grey-light);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.map-embed {
  margin-top: 4rem;
  border: 1px solid var(--line);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.5);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--grey-light);
  border-top: 1px solid var(--line);
  color: var(--grey);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.6rem;
  padding-bottom: 3rem;
}

.footer-logo { height: 96px; width: auto; display: block; }

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--green);
  margin-top: 1rem;
  max-width: 34ch;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1.2rem;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }

.footer-col a, .footer-col li {
  font-size: 0.92rem;
  color: var(--grey);
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8a9094;
}

.footer-bottom .script-accent { font-size: 1.3rem; color: var(--green); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav a { color: var(--ink); font-size: 1.2rem; }
  .main-nav a.active { color: var(--green); }

  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .split-media::after { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .form-row { grid-template-columns: 1fr; }

  .spotlight-card { flex-direction: column; gap: 1.2rem; padding: 1.6rem; }
  .spotlight-label { width: auto; align-self: flex-start; }
  .spotlight-items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .card-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 52px; }
  .hero { min-height: 80vh; }
  .hero-scroll { display: none; }
  .spotlight-items { grid-template-columns: 1fr; }
}

/* ---------- Contact form status note ---------- */
.form-note {
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}
.form-note--ok {
  background: #e7f3ee;
  border: 1px solid #bfe0d2;
  color: var(--green-dark);
}
.form-note--err {
  background: #fdeceb;
  border: 1px solid #f3c6c3;
  color: #b3261e;
}
