/* ==========================================================================
   BLUELINE BESPOKE INTERIORS — Global Stylesheet
   ========================================================================== */

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

:root {
  --black:       #0d0d0d;
  --black-soft:  #141414;
  --white:       #fafafa;
  --cream:       #f5f0eb;
  --cream-dark:  #ede7e0;
  --red:         #b01c2e;
  --red-light:   #c8303f;
  --gold:        #c9a96e;
  --gold-light:  #dfc08a;
  --grey:        #6b6b6b;
  --grey-mid:    #9a9a9a;
  --grey-light:  #e2ddd8;
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --nav-h:       130px;
  --container:   1320px;
}

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

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

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

/* ── CSS SCROLL REVEAL (no JS) ── */
@supports (animation-timeline: view()) {
  .reveal {
    animation: fadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }
  .reveal-slow {
    animation: fadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}
@supports not (animation-timeline: view()) {
  .reveal, .reveal-slow { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}
.eyebrow--gold { color: var(--gold); }

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
}
.section-heading em { font-style: italic; }
.section-heading--white { color: var(--white); }

.section-lead {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--grey);
  max-width: 640px;
  margin-top: 1.4rem;
  letter-spacing: 0.02em;
}
.section-lead--white { color: rgba(255,255,255,0.52); }
.section-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 2rem 0;
}
.divider--gold  { background: var(--gold); }
.divider--center { margin-left: auto; margin-right: auto; }
.divider--white { background: rgba(255,255,255,0.3); }

section { padding: var(--section-pad) 6vw; }

.container { max-width: var(--container); margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.9rem 2.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-block;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 0.9rem 2.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
  padding: 0.9rem 2.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  min-height: 130px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo img { height: 110px; width: auto; display: block; margin-top: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--red); }

.nav-links a[aria-current="page"]::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--red);
  margin-top: 2px;
}

/* CSS-only dropdown */
.nav-dropdown-parent { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 2px solid var(--red);
  min-width: 240px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  z-index: 300;
}

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

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown a:hover { background: var(--cream); color: var(--red); }
.nav-dropdown a[aria-current="page"] { color: var(--red); background: var(--cream); }

.nav-arrow {
  display: inline-block;
  font-size: 0.5rem;
  margin-left: 0.3rem;
  vertical-align: middle;
  transition: transform 0.2s;
}
.nav-dropdown-parent:hover .nav-arrow { transform: rotate(180deg); }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 0.58rem 1.4rem !important;
  border-radius: 2px;
  letter-spacing: 0.16em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav using <details> */
.nav-mobile-toggle { display: none; }

/* ── MARQUEE ── */
.marquee-bar {
  background: var(--red);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}
.marquee-track .dot { color: rgba(255,255,255,0.35); letter-spacing: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── VIDEO HERO (homepage) ── */
.video-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--black);
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.55) 55%,
    rgba(13,13,13,0.2) 100%
  );
}

.video-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 4rem) 8vw 5rem;
  max-width: 820px;
}

.video-hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1.8rem;
}

.video-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7vw, 7.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 2rem;
}

.video-hero h1 em { font-style: italic; color: var(--gold); }

.video-hero-sub {
  font-size: 0.85rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.58);
  max-width: 480px;
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: var(--nav-h);
  min-height: 50vh;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.5) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 6vw 4rem;
  width: 100%;
}

.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

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

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  max-width: 800px;
}

.page-hero h1 em { font-style: italic; color: var(--gold); }

.page-hero-sub {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin-top: 1.4rem;
  letter-spacing: 0.02em;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--red);
  padding: 4.5rem 6vw;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

.stat-block .num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-block .label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
}

/* ── STORY SECTION ── */
.story-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.story-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-img-frame .frame-placeholder {
  width: 55%;
  opacity: 0.15;
}
.story-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(176,28,46,0.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.story-img-wrap { position: relative; }
.story-accent-box {
  position: absolute;
  bottom: -2rem; right: -2rem;
  width: 180px; height: 180px;
  border: 1px solid var(--red);
  z-index: -1;
}

.story-quote {
  margin-top: 2.2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--red);
}
.story-quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--grey);
  line-height: 1.65;
}
.story-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-style: normal;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--cream);
  padding: 3rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.service-card:hover                 { background: var(--black); }
.service-card:hover::before         { width: 100%; }
.service-card:hover .service-num    { color: var(--red); }
.service-card:hover .service-title  { color: var(--white); }
.service-card:hover .service-desc   { color: rgba(255,255,255,0.5); }
.service-card:hover .service-arrow  { color: var(--gold); opacity: 1; }

.service-num {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 300;
  margin-bottom: 1.4rem;
  letter-spacing: 0.12em;
  transition: color 0.3s;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.2;
  transition: color 0.3s;
}
.service-desc {
  font-size: 0.77rem;
  line-height: 1.88;
  color: var(--grey);
  transition: color 0.3s;
}
.service-arrow {
  display: block;
  margin-top: 1.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  opacity: 0;
  transition: color 0.3s, opacity 0.3s;
}

/* ── SERVICE DETAIL ── */
.service-detail {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 7rem;
  align-items: flex-start;
}

.service-detail-media {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.media-frame {
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame--4-3 { aspect-ratio: 4/3; }
.media-frame--1-1 { aspect-ratio: 1/1; }
.media-frame--3-4 { aspect-ratio: 3/4; }
.media-frame--16-9 { aspect-ratio: 16/9; }

.media-frame-caption {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--grey-mid);
  margin-top: 0.8rem;
  text-transform: uppercase;
}

.service-features {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-feature {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-feature:first-child { border-top: 1px solid var(--grey-light); }

.feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--grey);
}

.service-nav-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* ── VALUES ── */
.values-section { background: var(--black); color: var(--white); }

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

.value-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.value-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
}
.value-text { font-size: 0.78rem; line-height: 1.92; color: rgba(255,255,255,0.48); }

/* ── VISION / MISSION ── */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.vm-panel { padding: var(--section-pad) 5vw; }
.vm-panel:first-child { background: var(--black); }
.vm-panel:first-child .section-heading { color: var(--white); }
.vm-panel:first-child .section-lead    { color: rgba(255,255,255,0.5); }
.vm-panel:first-child .divider         { background: var(--gold); }
.vm-panel:last-child  { background: var(--cream); }

/* ── DEPARTMENTS ── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 4rem;
}

.dept-card {
  background: var(--white);
  padding: 2.4rem 2.6rem;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  border: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dept-card:hover { border-color: var(--grey-light); box-shadow: 0 6px 30px rgba(0,0,0,0.06); }

.dept-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--grey-light);
  line-height: 1;
  min-width: 52px;
}
.dept-content { flex: 1; }
.dept-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.dept-text { font-size: 0.76rem; line-height: 1.88; color: var(--grey); }

/* ── PROJECTS GRID ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.project-card .media-frame {
  transition: transform 0.6s ease;
}
.project-card:hover .media-frame { transform: scale(1.04); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 300;
}
.project-sublabel {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25rem;
}

.project-card--wide  { grid-column: span 2; }
.project-card--tall  { grid-row: span 2; }

/* ── PROCESS ── */
.process-section { background: var(--cream); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: calc(12.5% + 1px);
  right: calc(12.5% + 1px);
  height: 1px;
  background: var(--grey-light);
}

.process-step { padding: 0 1.5rem; text-align: center; position: relative; }

.step-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step-dot-inner {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.7rem;
}

.step-text { font-size: 0.75rem; line-height: 1.85; color: var(--grey); }

/* ── CONTACT ── */
.contact-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 250px;
  transition: border-color 0.25s, background 0.25s;
}

.contact-card:hover { border-color: var(--red); background: rgba(176,28,46,0.06); }

.contact-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; fill: var(--gold); }

.contact-label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}
.contact-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold); }
.contact-note { font-size: 0.68rem; color: rgba(255,255,255,0.3); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--cream);
  text-align: center;
  padding: calc(var(--section-pad) * 0.7) 6vw;
}

.cta-section--dark { background: var(--black); }
.cta-section--dark .section-heading { color: var(--white); }

.cta-actions { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--white);
  padding: 5rem 6vw;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-divider-v { background: var(--grey-light); align-self: stretch; }

.intro-stat {
  text-align: center;
}

.intro-stat .num {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1;
}
.intro-stat .unit { color: var(--red); }
.intro-stat .lbl {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 0.4rem;
}

/* ── MD GREETING ── */
.greeting-section {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.greeting-img {
  background: var(--black-soft);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.greeting-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.greeting-img-placeholder {
  width: 40%;
  opacity: 0.1;
}

.greeting-content {
  padding: var(--section-pad) 5vw;
}

.greeting-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-top: 1.5rem;
}

.greeting-sig {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.greeting-sig .name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
}

.greeting-sig .title {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.25rem;
}

/* ── FOOTER ── */
footer.site-footer {
  background: #080808;
  padding: 4rem 6vw 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img {
  height: 40px;
  opacity: 0.65;
  filter: invert(1);
  margin-bottom: 1.4rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.footer-col ul { list-style: none; }

.footer-col li + li { margin-top: 0.7rem; }

.footer-col a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.footer-contact-label {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.footer-contact-val {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-val:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.22);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--red); }

/* ── SECTION SPACER ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.section-header-right {
  max-width: 340px;
  text-align: right;
}

/* ── FILTER TABS (CSS-only, projects) ── */
.filter-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--grey-light);
  width: fit-content;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.65rem 1.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  cursor: default;
  border-right: 1px solid var(--grey-light);
  transition: background 0.2s, color 0.2s;
}
.filter-tab:last-child { border-right: none; }
.filter-tab:hover  { background: var(--cream); color: var(--black); }
.filter-tab.active { background: var(--black); color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-steps::before { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--wide { grid-column: span 1; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  .nav-links          { display: none; }
  .nav-mobile-toggle  { display: block; }

  .video-hero h1      { font-size: clamp(2.8rem, 8vw, 5rem); }
  .story-section      { grid-template-columns: 1fr; gap: 3rem; }
  .story-img-wrap     { display: none; }
  .vision-mission     { grid-template-columns: 1fr; }
  .greeting-section   { grid-template-columns: 1fr; }
  .greeting-img       { min-height: 300px; }
  .dept-grid          { grid-template-columns: 1fr; }
  .stats-row          { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail     { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-media { position: static; }
  .section-header     { flex-direction: column; align-items: flex-start; }
  .section-header-right { text-align: left; }
  .intro-strip        { grid-template-columns: 1fr; max-width: 400px; }
  .intro-divider-v    { display: none; }
}

@media (max-width: 680px) {
  .services-grid    { grid-template-columns: 1fr; }
  .projects-grid    { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .contact-cards    { flex-direction: column; align-items: center; }
  .contact-card     { width: 100%; max-width: 340px; }
  .footer-top       { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
  .process-steps    { grid-template-columns: 1fr; }
}
