/* ==========================================================================
   JAGAN Consulting — Brand Styles
   Premium editorial redesign. Brand palette preserved.
   ========================================================================== */

:root {
  /* Brand palette (unchanged) */
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --red: #8B1E24;
  --red-dark: #6E181D;

  /* Extended neutrals — warm, premium */
  --ink: #111011;
  --ink-2: #0A0A0B;
  --bg: #FBFAF8;          /* warm off-white page background */
  --stone: #F3F0EA;       /* warm section tint (replaces flat grey) */
  --stone-2: #ECE7DE;
  --line: #E4DED4;        /* hairline borders on warm bg */
  --line-dark: rgba(255,255,255,0.14);
  --grey: #F3F0EA;        /* legacy alias -> stone */
  --grey-mid: #E4DED4;    /* legacy alias -> line */
  --grey-text: #55524D;   /* warm body text */
  --muted: #8A857D;

  /* Type */
  --font-serif: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1240px;
  --header-height: 84px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17,16,17,0.04), 0 2px 8px rgba(17,16,17,0.04);
  --shadow-md: 0 6px 20px rgba(17,16,17,0.08), 0 2px 6px rgba(17,16,17,0.04);
  --shadow-lg: 0 24px 60px rgba(17,16,17,0.16), 0 8px 20px rgba(17,16,17,0.08);
  --shadow-red: 0 10px 30px rgba(139,30,36,0.28);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.7;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--red); color: var(--white); }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1.1rem; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 0.6rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.1rem; color: var(--grey-text); }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--grey-text); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--grey { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }
.section--dark p { opacity: 0.85; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--red);
  display: inline-block;
}

.section-header { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-header p { font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  --btn-bd: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}
.btn::after {
  content: '→';
  font-size: 1em;
  transform: translateX(-2px);
  opacity: 0.85;
  transition: transform var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); color: var(--btn-fg); }
.btn:hover::after { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 0.875rem; }

.btn--primary { --btn-bg: var(--red); --btn-fg: var(--white); --btn-bd: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-dark); --btn-bd: var(--red-dark); }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--red); --btn-bd: var(--red); }
.btn--secondary:hover { --btn-bg: var(--red); --btn-fg: var(--white); box-shadow: var(--shadow-md); }

.btn--white { --btn-bg: var(--white); --btn-fg: var(--charcoal); --btn-bd: var(--white); }
.btn--white:hover { --btn-bg: var(--stone); --btn-bd: var(--stone); --btn-fg: var(--charcoal); box-shadow: var(--shadow-lg); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.55); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--charcoal); --btn-bd: var(--white); }

.btn--outline-white { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.55); }
.btn--outline-white:hover { --btn-bg: var(--white); --btn-fg: var(--charcoal); --btn-bd: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(251,250,248,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(251,250,248,0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo { display: inline-flex; align-items: center; line-height: 0; position: relative; z-index: 101; }
.logo-img { width: min(172px, 42vw); height: auto; display: block; transition: filter var(--transition); }

/* Full-screen overlay menu (all breakpoints). Opening darkens + blurs the
   page behind it; links are white, the current/hovered one red. */
.nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
body.nav-open .nav { opacity: 1; visibility: visible; }

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 2.75rem);
  list-style: none;
}

.nav__link {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: color var(--transition), opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
body.nav-open .nav__link { opacity: 1; transform: none; }
body.nav-open .nav__list li:nth-child(1) .nav__link { transition-delay: 0.08s; }
body.nav-open .nav__list li:nth-child(2) .nav__link { transition-delay: 0.14s; }
body.nav-open .nav__list li:nth-child(3) .nav__link { transition-delay: 0.20s; }
body.nav-open .nav__list li:nth-child(4) .nav__link { transition-delay: 0.26s; }

.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  width: 0;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { width: 2.5rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav-toggle.is-active span { background: var(--white); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* When the overlay is open: lock scroll, clear the header bar, whiten the logo */
body.nav-open { overflow: hidden; }
body.nav-open .site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  border-color: transparent;
}
body.nav-open .logo-img { filter: brightness(0) invert(1); }

/* --------------------------------------------------------------------------
   HERO — unified system
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.35) 55%, rgba(10,10,11,0.55) 100%),
    linear-gradient(to right, rgba(10,10,11,0.75) 0%, rgba(10,10,11,0.15) 60%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  max-width: 60rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--red);
}

.hero__title {
  color: var(--white);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 20ch;
  text-wrap: balance;
}

.hero__lead {
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  max-width: 46ch;
  margin-top: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Home — full, cinematic */
.hero--home { min-height: min(92vh, 900px); align-items: center; }
.hero--home .hero__inner { padding-top: clamp(6rem, 12vh, 9rem); }

/* Interior pages — refined dark band, no image needed */
.hero--page { min-height: clamp(340px, 46vh, 460px); align-items: center; }
.hero--page .hero__scrim {
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(139,30,36,0.28) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero--page .hero__inner { text-align: center; margin-inline: auto; }
.hero--page .hero__eyebrow { justify-content: center; }
.hero--page .hero__title { margin-inline: auto; }
.hero--page .hero__lead { margin-inline: auto; }

/* Project detail — image-backed */
.hero--project { min-height: clamp(420px, 62vh, 620px); }
.hero--project .hero__title { max-width: 24ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero__meta-item { font-size: 1rem; color: rgba(255,255,255,0.92); font-weight: 500; }
.hero__meta-item strong {
  display: block;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.25rem;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.card__icon { width: 42px; height: 3px; background: var(--red); margin-bottom: 1.5rem; }
.card h3 { font-size: 1.3rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.card--link { color: inherit; display: block; }
.card--link:hover h3 { color: var(--red); }

/* Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.credential {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.credential:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.credential__abbr {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.credential__title { font-weight: 600; color: var(--charcoal); margin-bottom: 0.6rem; }
.credential__desc { font-size: 0.875rem; color: var(--grey-text); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}
.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  transition: opacity var(--transition), transform 0.6s var(--ease-out);
  z-index: -1;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.95) 8%, rgba(10,10,11,0.25) 55%, rgba(10,10,11,0.35) 100%);
  z-index: -1;
}
.project-card:hover .project-card__bg { opacity: 0.75; transform: scale(1.06); }

.project-card__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}
.project-card__sector {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E7A9AD;
  margin-bottom: 0.6rem;
}
.project-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.project-card__content::after {
  content: 'View project →';
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.project-card:hover .project-card__content::after { opacity: 0.95; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Split (media + content)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__content { order: 1; }
.split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

/* Values list */
.values-list { list-style: none; display: grid; gap: 1.75rem; }
.values-list li {
  padding-left: 1.75rem;
  border-left: 2px solid var(--red);
}
.values-list strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Sector filter (projects index)
   -------------------------------------------------------------------------- */
.sector-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.sector-nav__btn {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}
.sector-nav__btn:hover { border-color: var(--red); color: var(--red); }
.sector-nav__btn.is-active { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: var(--shadow-red); }

.sector-group { margin-bottom: 4rem; }
.sector-group__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sector-group__title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 60px;
  height: 2px;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Project detail content
   -------------------------------------------------------------------------- */
.project-section { max-width: 800px; }
.project-section + .project-section {
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  border-top: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.facts-grid .fact {
  padding: 1.75rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.fact__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.fact__value { font-weight: 600; color: var(--charcoal); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 4.5rem); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,30,36,0.12);
}
.form-group textarea { min-height: 170px; resize: vertical; }

.contact-detail { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-detail__icon {
  width: 46px;
  height: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 9vw, 6rem) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 140% at 50% 0%, rgba(139,30,36,0.35) 0%, transparent 60%);
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto 2.25rem; font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--stone);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}
.trust-strip__header { text-align: center; max-width: 680px; margin: 0 auto clamp(2.25rem, 4vw, 3rem); }
.trust-strip__header h2 { margin-bottom: 0; }
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2.5vw, 2rem);
  align-items: center;
  justify-items: center;
  list-style: none;
}
.trust-strip__logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity var(--transition), filter var(--transition);
}
.trust-strip__logo--tfl { height: 36px; }
.trust-strip__logo:hover { opacity: 1; filter: grayscale(0%); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,0.72);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand .logo { margin-bottom: 1.25rem; display: inline-block; }
.footer-brand .logo-img { width: min(150px, 35vw); height: auto; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.55); max-width: 340px; }
.footer-nav h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.65rem; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--white); }
.footer-rics { margin-top: 1.75rem; }
.footer-rics img { height: 50px; width: auto; opacity: 0.9; }
.footer-bottom {
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* --------------------------------------------------------------------------
   Content lists
   -------------------------------------------------------------------------- */
.content-list { list-style: none; margin: 1.25rem 0; display: grid; gap: 0.85rem; }
.content-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--grey-text);
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media, .split--reverse .split__content { order: unset; }
  .split__media { max-width: 460px; }
  .hero--project .hero__meta { gap: 1.25rem 2rem; }
}

@media (max-width: 768px) {
  .hero__meta { gap: 1.25rem 2rem; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
