/* ============================================================
   PICTURE PROPERTY DEVELOPMENTS — Global Stylesheet
   Brand: Navy #2B3245 | Gold #C4A84E | Off-white #F7F5F0
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #2B3245;
  --navy-deep:  #1E2538;
  --navy-mid:   #3C4560;
  --gold:       #C4A84E;
  --gold-light: #D9C07A;
  --gold-pale:  #F0E8CC;
  --off-white:  #F7F5F0;
  --white:      #FFFFFF;
  --text-dark:  #1A1F2E;
  --text-mid:   #4A5568;
  --text-light: #8A97AB;
  --border:     #E2E0DA;
  --border-dark:#C8C4BC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 100px 0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 500; }

p { font-size: 1rem; line-height: 1.8; color: var(--text-mid); font-weight: 300; }
p + p { margin-top: 1.2em; }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--navy); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--off { background: var(--off-white); }

/* Gold rule divider */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* Section header pattern */
.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }
.section-header--center .gold-rule { margin-left: auto; margin-right: auto; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

.nav.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(196,168,78,0.2);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* SVG logo icon */
.nav__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.nav__logo-text strong {
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--gold); }

.nav__cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 0;
  transition: background var(--transition), color var(--transition) !important;
}

.nav__cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav__cta::after { display: none !important; }

/* ── Nav Dropdown ── */
.nav__has-dropdown {
  position: relative;
}

.nav__has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav__has-dropdown:hover .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--navy-deep);
  border: 1px solid rgba(196,168,78,0.25);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li a {
  display: block;
  padding: 13px 22px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__dropdown li:last-child a { border-bottom: none; }
.nav__dropdown li a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.nav__dropdown li a::after { display: none !important; }
.nav__dropdown li a.active { color: var(--gold); }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,168,78,0.25);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

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

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

/* ── Video background ── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__video.loaded { opacity: 1; }

/* Dark overlay — always present, tones down video */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(20, 25, 40, 0.82) 0%,
    rgba(27, 31, 46, 0.70) 50%,
    rgba(20, 25, 40, 0.80) 100%
  );
}

/* Subtle vignette at edges */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10,12,22,0.5) 100%);
  pointer-events: none;
}

/* Animated grid — fallback when no video, and subtle texture on top of video */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-pan 24s linear infinite;
  transition: opacity 1.4s ease;
}
/* When video loads, keep grid as subtle texture */
.hero.has-video .hero__grid { opacity: 0.025; }

@keyframes grid-pan {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* Animated gold orb — fallback / accent */
.hero__orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,168,78,0.07) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  z-index: 1;
  animation: orb-pulse 8s ease-in-out infinite;
  transition: opacity 1.4s ease;
}
.hero.has-video .hero__orb { opacity: 0.4; }

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.2); opacity: 0.6; }
}

/* Fallback gradient — shown before video loads */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #1a1f30 0%, #2b3245 50%, #1a1f30 100%);
  background-size: 400% 400%;
  animation: bg-shift 12s ease infinite;
}

@keyframes bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Gold bottom border on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  z-index: 3;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 40px 100px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fade-up 1s 0.5s forwards;
}

.hero__eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  color: var(--white);
  max-width: 860px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fade-up 1s 0.8s forwards;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.60);
  margin-bottom: 52px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 900px;
  opacity: 0;
  animation: fade-up 1s 1.1s forwards;
  line-height: 1.6;
}

.hero__tagline strong {
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s 1.4s forwards;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.10);
  opacity: 0;
  animation: fade-up 1s 1.7s forwards;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-value span { color: var(--white); }

.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 1s 2.2s forwards;
  cursor: pointer;
  text-decoration: none;
}

.hero__scroll-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(196,168,78,0.6), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(0.6); opacity: 1; }

}

/* ── Video placeholder (shown while no video file) ── */
.hero__video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.15;
}

.hero__video-placeholder::before,
.hero__video-placeholder::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

/* Simulated construction "crane" lines */
.hero__video-placeholder::before {
  width: 2px;
  height: 60%;
  top: 5%;
  left: 62%;
  animation: crane-v 4s ease-in-out infinite alternate;
}

.hero__video-placeholder::after {
  width: 35%;
  height: 2px;
  top: 22%;
  left: 40%;
  animation: crane-h 4s ease-in-out infinite alternate;
}

@keyframes crane-v {
  from { transform: rotate(-3deg); }
  to   { transform: rotate(3deg); }
}

@keyframes crane-h {
  from { transform: rotate(-3deg) translateX(0); }
  to   { transform: rotate(3deg) translateX(20px); }
}

/* ── Pillars / feature grid ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.pillar {
  background: var(--white);
  padding: 48px 36px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.pillar:hover::before { transform: scaleX(1); }
.pillar:hover { background: var(--off-white); }

.pillar__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 20px;
}

.pillar__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.4;
}

.pillar__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ── Feature callout ── */
.callout {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.callout__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.callout__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.callout__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.callout__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.callout__text {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.85;
}

.callout__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.callout__meta-item {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.callout__meta-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.callout__meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Map / location visual placeholder */
.callout__visual {
  position: relative;
  border: 1px solid rgba(196,168,78,0.2);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.callout__visual-placeholder {
  text-align: center;
}

.callout__visual-placeholder p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
}

/* Construction animation bars */
.construction-anim {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.c-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 0;
  animation: build-bar 2s ease-in-out infinite;
}

.c-bar:nth-child(1) { width: 100%; animation-delay: 0s; }
.c-bar:nth-child(2) { width: 70%; animation-delay: 0.3s; }
.c-bar:nth-child(3) { width: 85%; animation-delay: 0.6s; }
.c-bar:nth-child(4) { width: 55%; animation-delay: 0.9s; }
.c-bar:nth-child(5) { width: 90%; animation-delay: 1.2s; }

@keyframes build-bar {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── Page Banner (inner pages) ── */
.page-banner {
  background: var(--navy-deep);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-banner__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.page-banner h1 { color: var(--white); }
.page-banner .gold-rule { margin: 16px 0 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a, .breadcrumb span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); font-size: 0.6rem; }
.breadcrumb .current { color: var(--gold); }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}

.about-stat {
  background: var(--off-white);
  padding: 32px 24px;
  text-align: center;
}

.about-stat__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat__value span { color: var(--gold); }

.about-stat__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.team-card {
  background: var(--white);
  overflow: hidden;
  transition: background var(--transition);
}

.team-card:hover { background: var(--off-white); }

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
}

.team-card__photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.15;
}

.team-card__photo-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card__body {
  padding: 36px 32px 40px;
  border-top: 2px solid var(--gold);
}

.team-card__role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.team-card__bio {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.team-card__specialisms {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.team-card__specialisms-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── Project cards ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.project-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.project-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.project-card__image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.15;
}

.project-card__image-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.project-card__status {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--navy);
}

.project-card__body {
  padding: 36px 36px 40px;
  border-top: 2px solid var(--gold);
}

.project-card__location {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-card__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.project-card__stats {
  display: flex;
  gap: 28px;
}

.project-stat-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 3px;
}

.project-stat-lbl {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.contact-info__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--navy);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: 0;
  appearance: none;
}

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

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  padding: 0;
}

.footer__cta {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer__cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer__cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 12px;
  font-weight: 300;
}

.footer__cta-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto 36px;
}

.footer__main {
  padding: 60px 0 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.footer__col-links a:hover { color: var(--gold); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

.footer__tm {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ── Placeholder page ── */
.coming-soon {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon__inner {
  max-width: 480px;
}

.coming-soon__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 32px;
  opacity: 0.2;
}

.coming-soon h2 {
  margin-bottom: 16px;
  color: var(--navy);
}

.coming-soon p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Mobile utility classes (applied in HTML) ── */

/* .mob-stack: any inline-grid that should be 1-column on mobile */
/* .mob-hide:  divider elements (2px bars) hidden on mobile */
/* .team-bio-card: 340px + content layout → stacks on mobile */

.team-bio-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 2px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .callout__inner { grid-template-columns: 1fr; gap: 48px; }
  .callout__visual { height: 280px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .team-bio-card { grid-template-columns: 280px 1fr; }
}

@media (max-width: 768px) {
  /* ── Base layout ── */
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .section { padding: 60px 0; }

  /* ── Navigation ── */
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    bottom: 0;
    background: var(--navy-deep);
    padding: 20px 24px 40px;
    gap: 0;
    border-top: 1px solid rgba(196,168,78,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links.open { display: flex; }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__links a {
    display: flex;
    align-items: center;
    padding: 16px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8) !important;
    min-height: 44px;
  }
  /* On mobile, show dropdown items inline below parent */
  .nav__has-dropdown > a .nav__chevron { display: none; }
  .nav__has-dropdown > a { display: flex !important; justify-content: center; }
  .nav__dropdown {
    display: block !important;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
    box-shadow: none;
  }
  .nav__dropdown li a {
    font-size: 0.75rem;
    padding: 12px 0;
    color: rgba(255,255,255,0.55) !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav__dropdown li:last-child a { border-bottom: none; }
  .nav__links a.nav__cta {
    margin-top: 16px;
    border: 1px solid var(--gold);
    padding: 14px 20px;
    text-align: center;
    justify-content: center;
    display: flex;
    min-height: 48px;
  }
  .nav__toggle {
    display: flex;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

  /* ── Hero ── */
  .hero__content { padding: 120px 20px 80px; }
  .hero__tagline {
    font-size: clamp(1.1rem, 5vw, 1.8rem) !important;
    margin-bottom: 36px;
  }
  .hero__title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .hero__stats {
    gap: 20px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    padding-top: 36px;
  }
  .hero__stat-value { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* On mobile, video still plays (muted autoplay works on iOS with playsinline) */
  .hero__video { object-position: center center; }
  .hero__scroll { bottom: 24px; }

  /* ── Grid utility classes ── */
  .mob-stack {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    background: transparent !important;
  }
  /* team teaser cards in mob-stack */
  .mob-stack > [style*="background:var(--white)"] {
    border-bottom: 1px solid var(--border);
  }
  .mob-stack > [style*="background:var(--white)"]:last-child {
    border-bottom: none;
  }
  .mob-hide { display: none !important; }

  /* stat-strip-inner: stacked items need visible borders */
  .stat-strip-inner.mob-stack > [style*="text-align:center"] {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0 !important;
  }
  .stat-strip-inner.mob-stack > [style*="text-align:center"]:last-child {
    border-bottom: none;
  }

  /* Team bio cards */
  .team-bio-card {
    grid-template-columns: 1fr !important;
  }
  .team-bio-card > div:first-child {
    min-height: 240px !important;
  }
  .team-bio-card > div:last-child {
    padding: 32px 24px !important;
  }

  /* ── Pillars ── */
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 36px 24px; }

  /* ── Team grid ── */
  .team-grid { grid-template-columns: 1fr; gap: 32px; }

  /* ── Projects ── */
  .projects-grid { grid-template-columns: 1fr; }
  .project-card__stats { flex-wrap: wrap; gap: 16px 24px; }

  /* ── About ── */
  .about-stat-row { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  /* Contact form padding on mobile — handled by .contact-form-box class in contact.html */

  /* ── Callout ── */
  .callout__inner { padding: 48px 20px; gap: 36px; }
  .callout__meta { grid-template-columns: 1fr 1fr; }

  /* ── Page banner ── */
  .page-banner { padding: 120px 0 48px; }
  .page-banner__inner { padding: 0 20px; }

  /* ── Buttons ── */
  .btn { padding: 14px 24px; font-size: 0.7rem; min-height: 44px; }

  /* ── Footer ── */
  .footer__inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }
  .footer__cta { padding: 56px 20px; }
  .footer__cta-text { font-size: 1.4rem; }
  .footer__bottom { padding: 20px; flex-direction: column; text-align: center; gap: 8px; }

  /* ── Stat strip sections ── */
  .stat-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* ── Gallery arrows — larger touch targets on mobile ── */
  .gallery__btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.5rem !important;
  }
  .gallery__btn--prev { left: 8px !important; }
  .gallery__btn--next { right: 8px !important; }

  /* ── Coming soon ── */
  .coming-soon__inner { padding: 0 8px; }
  .coming-soon__inner [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── Services grid override ── */
  .mob-stack[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* ── team-rupert / mahmoud / will "other directors" grid ── */
  /* Handled in each page's own <style> block via .other-directors-grid class */

  /* ── Completed projects: card body padding reduction ── */
  .projects-grid .project-card__body { padding: 24px 20px 28px; }

  /* ── About page: process steps tighter on mobile ── */
  .process-step { gap: 14px !important; padding: 20px 0 !important; }

  /* ── Bio portrait layout at 768px → collapse handled in page styles (900px) ── */

  /* ── Current projects: intro text margin ── */
  .container > .reveal[style*="max-width:720px"] { margin-bottom: 40px !important; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .hero__stat-value { font-size: 1.7rem; }
  .hero__tagline { font-size: clamp(1rem, 4.5vw, 1.5rem) !important; }
  .about-stat-row { grid-template-columns: 1fr; }
  .callout__meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pillar { padding: 28px 20px; }
  .team-card__body { padding: 28px 20px 32px; }
  .coming-soon__inner [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .coming-soon__inner [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Section header less top spacing on very small screens */
  .section-header { margin-bottom: 40px; }
  /* Contact form padding — handled by .contact-form-box class in contact.html */
  /* "Other directors" grid on smallest screens → handled by .other-directors-grid class in team pages */
  /* Project card stats — prevent overflow */
  .project-card__stats { flex-wrap: wrap; gap: 16px; }
  /* Nav logo text — slightly tighter */
  .nav__logo-text { font-size: 0.65rem; }
  /* Completed projects: card body padding */
  .projects-grid .project-card__body { padding: 20px 16px 24px; }
  /* Current projects: horizontal card body */
  .project-card__body { padding: 24px 16px 28px !important; }
}
