/* ============================================================
   ETHOS ADVISORY — Design System
   Ground-up rebuild. Full dark. Grain as material.
   Inter for display, UI, and body text
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Surfaces — warm dark, not cold */
  --ink:   #09090c;   /* page base / darkest */
  --ink-1: #0d1014;   /* primary section bg */
  --ink-2: #11151a;   /* elevated section bg */
  --ink-3: #171c23;   /* panel / card surface */
  --ink-4: #1e242d;   /* hover / active panel */

  /* Text */
  --smoke:   #ede8de;               /* primary */
  --smoke-2: rgba(237,232,222,0.58); /* secondary */
  --smoke-3: rgba(237,232,222,0.36); /* tertiary / placeholder */

  /* Borders */
  --line:   rgba(237,232,222,0.08);
  --line-2: rgba(237,232,222,0.14);

  /* Accent — used sparingly */
  --gold:    #c09a50;
  --gold-hi: #d4b068;

  /* Typography */
  --serif: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Layout */
  --w: 1080px;                             /* container max-width */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);  /* snappy deceleration */

}


/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--smoke);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p, blockquote { margin-top: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }


/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--smoke);
}

/* Eyebrow / label — used above headings */
.eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Meta label — small label inside panels */
.meta-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--smoke);
}


/* ── 4. UTILITIES & ACCESSIBILITY ──────────────────────────── */
.sr-only, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus-visible {
  z-index: 9000;
  position: fixed;
  top: 1rem; left: 1rem;
  width: auto; height: auto;
  clip: auto;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  outline: none;
}

.container {
  width: min(var(--w), calc(100% - clamp(2.5rem, 8vw, 6rem)));
  margin-inline: auto;
}


/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;            /* very slight rounding — boardroom, not startup */
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease),
              color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: #0c0d10;
  border-color: var(--gold);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  box-shadow: 0 0 0 3px rgba(192,154,80,0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--smoke);
  border-color: var(--line-2);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: rgba(237,232,222,0.35);
  background: rgba(237,232,222,0.05);
}

.btn-outline {
  background: transparent;
  color: var(--smoke);
  border-color: var(--line-2);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

/* Inline text button — e.g. "Profile →" */
.btn-text {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}
.btn-text:hover, .btn-text:focus-visible { color: var(--gold-hi); }


/* ── 6. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  padding: 1.1rem 0;
  /*
    At rest: translucent with strong blur — the photo shows through
    gracefully on page load. On scroll: nearly opaque.
  */
  background: rgba(9,9,12,0.48);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 250ms ease, border-color 250ms ease, padding 250ms ease;
}

.site-header.scrolled {
  padding: 0.7rem 0;
  background: rgba(9,9,12,0.92);
  border-color: var(--line);
}

.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--w), calc(100% - clamp(2.5rem, 8vw, 6rem)));
  margin-inline: auto;
}

.hd-logo {
  display: inline-flex;
  flex-shrink: 0;
  width: clamp(180px, 20vw, 230px);
  text-decoration: none;
}

.ft-logo {
  display: inline-flex;
  flex-shrink: 0;
  width: clamp(150px, 16vw, 190px);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.logo-img-crop {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 295;
  overflow: hidden;
}

.logo-img-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.site-nav a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,232,222,0.78);
  text-decoration: none;
  transition: color 180ms ease;
}
.site-nav a:hover { color: var(--smoke); }

/* Underline hover — draws in from left */
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact pill */
.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(192,154,80,0.38);
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover, .nav-cta:focus-visible {
  background: rgba(192,154,80,0.1);
  border-color: var(--gold);
}

/* Mobile hamburger */
.hd-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  color: var(--smoke);
  cursor: pointer;
  transition: border-color 180ms ease;
}
.hd-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms ease;
}


/* ── 7. SECTION SHARED ─────────────────────────────────────── */
section { position: relative; }

/* All sections get padding */
section:not(.s-hero) {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

/*
  Section backgrounds alternate subtly for depth.
  Every other section is a step "elevated" from the base ink.
  The grain is applied via background-image blend — it's IN the surface.
*/
.s-engage, .s-mandates, .s-team {
  background-color: var(--ink-1);
}

.s-about, .s-industries, .s-cases, .s-contact {
  background-color: var(--ink-2);
}

/* Section intro — heading block before section content */
.section-intro {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-intro--center {
  margin-inline: auto;
  text-align: center;
}
.section-intro p:not(.eyebrow) {
  color: var(--smoke-2);
  max-width: 560px;
}
.section-intro--center p:not(.eyebrow) {
  margin-inline: auto;
}




/* ── 8. HERO ───────────────────────────────────────────────── */
/*
  Hero: High-end architectural / abstract aesthetic.
  Deep clarity emerging from complexity.
*/
.s-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center; /* Vertically center content elegantly */
  overflow: hidden;
  background-color: var(--ink);
  padding-top: clamp(6rem, 10vh, 7.5rem); /* More compact stable breathing room */
  padding-bottom: clamp(3.5rem, 6vh, 4.5rem);
}

.s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-bg.webp");
  background-size: cover;
  background-position: center center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/*
  Veil: Dramatic spotlight effect.
  Deep shadow at the bottom left to anchor the typography perfectly,
  feathering away so the beautiful macro image breathes in the upper right.
*/
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 90%, rgba(9,9,12,0.92) 0%, rgba(9,9,12,0.65) 45%, transparent 85%),
    linear-gradient(to top, var(--ink) 0%, rgba(9,9,12,0.4) 30%, transparent 60%),
    linear-gradient(to right, rgba(9,9,12,0.4) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px; /* Expanded from 640px to let the longer copy breathe horizontally */
  padding-top: clamp(2rem, 7vh, 4.5rem);
}

/* Refined eyebrow spacing */
.eyebrow-hero {
  max-width: min(100%, 34rem);
  line-height: 1.45;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem; /* Precise 12px gap */
  text-shadow: 0 2px 10px rgba(0,0,0,0.4); /* Enhance contrast against image */
  text-wrap: balance;
}

@media (max-height: 760px) and (min-width: 769px) {
  .s-hero {
    align-items: flex-start;
  }

  .hero-content {
    padding-top: clamp(2rem, 7vh, 4.5rem);
  }
}

/* 
  Headline: Immaculate serif typography. 
  Instead of a flat white, we use a subtle, polished gradient 
  to catch the "light" like brushed metal. 
*/
.hero-title {
  position: relative;
  font-size: clamp(2.8rem, 4.4vw, 4.6rem); /* Balanced to create vertical breathing room */
  line-height: 1.1; /* Tighter line-height to prevent vertical bloat */
  margin-bottom: 1.45rem; /* Clean 20px vertical gap */
  letter-spacing: -0.015em;
  color: #fff;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
  overflow: hidden;
}
.hero-title::after {
  content: "";
  position: absolute;
  inset: -8% auto -8% 0;
  width: 34%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(192, 154, 80, 0) 20%,
    rgba(226, 196, 126, 0.56) 48%,
    rgba(255, 238, 184, 0.82) 52%,
    rgba(192, 154, 80, 0) 80%,
    transparent 100%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-140%) skewX(-14deg);
}

.hero-sub {
  max-width: 680px; /* Widened from 520px to dramatically reduce text lines and height */
  margin-bottom: 1.75rem; /* Cleaned up 28px vertical gap */
  color: rgba(237,232,222,0.85);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem); /* More elegant, sharp text scale */
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem; /* Reduced from 2.75rem for tighter vertical flow */
}

/* Custom premium hover states for hero buttons */
.btn-hero {
  padding: 1rem 1.8rem;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}
.btn-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}
.btn-hero:hover::after {
  left: 160%;
  transition: left 850ms var(--ease);
}

/* Frosted Glass Credential Strip - Structured Grid */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem 2.5rem; /* More compact grid gap */
  padding: 1rem 1.5rem; /* Tightened from 1.25rem 1.75rem */
  background: rgba(17, 21, 26, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(237,232,222,0.08);
  border-left: 3px solid var(--gold); /* Fully opaque gold for a sharp, confident accent */
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  max-width: max-content;
}

.hero-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem; /* Space between dot indicator and text */
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,232,222,0.75);
}

.hero-strip span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ── 9. WHEN TO ENGAGE ─────────────────────────────────────── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.engage-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 1.2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* Clip to grid — no card hover lift (avoids overflow issues on grid layout) */
  transition: background 220ms ease;
}
.engage-item:hover { background: rgba(237,232,222,0.028); }
.engage-item:nth-child(even) { border-right: 0; }
.engage-item:nth-last-child(-n+2) { border-bottom: 0; }

.engage-n {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(192,154,80,0.28);     /* gold, very muted — decorative only */
  padding-top: 0.15rem;
  user-select: none;
}

.engage-body h3 {
  color: var(--smoke);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.engage-body p {
  margin-bottom: 0.85rem;
  color: var(--smoke-2);
  font-size: 0.93rem;
}
.engage-body em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--smoke-3);
  border-left: 2px solid rgba(192,154,80,0.3);
  padding-left: 0.75rem;
}


/* ── 10. ABOUT ─────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about-left .eyebrow { margin-bottom: 1.4rem; }

.about-left blockquote {
  padding-left: 1.4rem;
  border-left: 2px solid rgba(192,154,80,0.32);
}

.about-right p { color: var(--smoke-2); }
.about-right .lead {
  color: var(--smoke);
  margin-bottom: 1.2rem;
}
.about-experience {
  color: var(--gold) !important;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  line-height: 1.55;
  border-left: 2px solid rgba(192, 154, 80, 0.38);
  padding-left: 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.2rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.15rem;
  background-color: var(--ink-3);
  border: 1px solid rgba(237, 232, 222, 0.03);
  border-radius: 2px;
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}
.pillar:hover {
  background-color: var(--ink-4);
}
.pillar-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.pillar-icon svg {
  width: 1.95rem;
  height: 1.95rem;
  transition: transform 300ms var(--ease), filter 300ms ease;
}
.pillar:hover .pillar-icon svg {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 2px 8px rgba(192, 154, 80, 0.38));
}
.pillar strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--smoke);
  letter-spacing: 0.02em;
}
.pillar span {
  font-size: 0.78rem;
  color: var(--smoke-3);
  line-height: 1.4;
}


/* ── 11. CONSOLE — shared by Mandates and Industries ───────── */
.console {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: 1px;
  border: 1px solid rgba(237, 232, 222, 0.05);
  background: rgba(13, 16, 20, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* MANDATES SPECIFIC 2-COLUMN GRID & DETAILS STACK */
.console--mandates {
  grid-template-columns: 1.2fr 1fr;
}

.console-grid-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: transparent;
}

.c-tile-tab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1.6rem, 2.5vw, 2.4rem) clamp(1.4rem, 2vw, 2rem);
  background-color: rgba(9, 9, 12, 0.2);
  border: 0;
  border-right: 1px solid rgba(237, 232, 222, 0.04);
  border-bottom: 1px solid rgba(237, 232, 222, 0.04);
  cursor: pointer;
  text-align: left;
  transition: background-color 300ms var(--ease);
  position: relative;
  min-height: 185px;
}

.c-tile-tab:nth-child(even) {
  border-right: 0;
}
.c-tile-tab:nth-last-child(-n+2) {
  border-bottom: 0;
}

/* Active state vertical left accent line and underglow */
.c-tile-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 300ms var(--ease);
  box-shadow: 0 0 10px rgba(192, 154, 80, 0.6);
  z-index: 3;
}
.c-tile-tab:hover::before,
.c-tile-tab.active::before {
  transform: scaleY(1);
  transform-origin: center top;
}

/* Background hover/active radial gold glow */
.c-tile-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(192, 154, 80, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 350ms var(--ease);
  pointer-events: none;
  z-index: 1;
}
.c-tile-tab:hover::after,
.c-tile-tab.active::after {
  opacity: 1;
}

.c-tile-tab:hover,
.c-tile-tab.active {
  background-color: rgba(23, 28, 35, 0.5);
  outline: none;
}

.tile-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 232, 222, 0.16);
  transition: color 350ms var(--ease), -webkit-text-stroke 350ms var(--ease), transform 450ms var(--ease);
  z-index: 2;
}
.c-tile-tab:hover .tile-num,
.c-tile-tab.active .tile-num {
  color: var(--gold);
  -webkit-text-stroke: 1px transparent;
  transform: scale(1.08) translateY(-3px);
  text-shadow: 0 0 15px rgba(192, 154, 80, 0.25);
}

.tile-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(237, 232, 222, 0.6);
  margin-top: auto;
  transition: color 300ms var(--ease);
  z-index: 2;
}
.c-tile-tab:hover .tile-title,
.c-tile-tab.active .tile-title {
  color: #fff;
}

.console-details-stack {
  display: flex;
  flex-direction: column;
  background: transparent;
  gap: 0;
}

.console-details-stack .console-visual {
  height: 240px;
  width: 100%;
}

.console-details-stack .console-visual-inner {
  min-height: auto;
  height: 100%;
}

.console-details-stack .console-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.console-visual {
  position: relative;
  background-color: var(--ink);
  overflow: hidden;
  display: block;
  border-bottom: 1px solid rgba(237, 232, 222, 0.04);
  border-left: 1px solid rgba(237, 232, 222, 0.04);
}

/* Exquisite gold metallic corner brackets */
.console-visual::before,
.console-visual::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(192, 154, 80, 0.45);
  z-index: 6;
  pointer-events: none;
  transition: border-color 300ms ease;
}
.console-visual::before {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
}
.console-visual::after {
  bottom: 14px;
  right: 14px;
  border-left: 0;
  border-top: 0;
}

.console-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.console-visual-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 500ms var(--ease), transform 600ms var(--ease);
  pointer-events: none;
}

.console-visual-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.console-visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cinematic Spotlight vignette */
.console-visual-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(9, 9, 12, 0.25) 0%, rgba(9, 9, 12, 0.85) 100%),
    linear-gradient(to top, rgba(9, 9, 12, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.console-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(237, 232, 222, 0.05);
  pointer-events: none;
  z-index: 5;
}

.console-visual-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid rgba(192, 154, 80, 0.28);
  padding: 0.25rem 0.5rem;
  border-radius: 1px;
  background: rgba(9, 9, 12, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4;
}

/* INDUSTRIES: single column flex list of tabs for desktop symmetry */
.industry-tabs {
  display: flex;
  flex-direction: column;
}

/* Shared tab button */
.c-tab {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border: 0;
  border-left: 2px solid transparent;
  background: rgba(13,16,20,0.95);
  color: rgba(237,232,222,0.62);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.3;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  /* No translateX — no layout shift on hover */
}
.c-tab:hover {
  background: rgba(237,232,222,0.04);
  color: var(--smoke);
}
.c-tab.active {
  background: rgba(192,154,80,0.08);
  border-left-color: var(--gold);
  color: var(--smoke);
}
/* Industry grid tabs need border between columns */
.industry-tabs .c-tab {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Panel — right side of console */
.console-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 4vw, 3rem);
  background-color: rgba(13, 16, 20, 0.25);
  border-left: 1px solid rgba(237, 232, 222, 0.04);
}

/* Fluid hardware-accelerated text transition */
.console-panel > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.console-panel.switching > * {
  opacity: 0;
  transform: translateY(4px);
}

.console-count {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.console-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 1rem;
}

.console-panel > p:not(.console-count) {
  color: var(--smoke-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.console-meta {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 2.2rem;
  background: transparent;
  border: 0;
}
.console-meta > div {
  flex: 1;
  padding: 0;
  background: transparent;
}
.console-meta > div:first-child {
  border-right: 1px solid rgba(192, 154, 80, 0.22);
  padding-right: 2rem;
}
.console-meta p {
  margin-bottom: 0;
  color: var(--smoke-2);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Premium outline CTA button with dynamic glowing fill */
.console-panel .btn-gold {
  background: transparent;
  color: var(--gold);
  border-color: rgba(192, 154, 80, 0.45);
  box-shadow: none;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: all 300ms var(--ease);
  width: max-content;
}
.console-panel .btn-gold:hover,
.console-panel .btn-gold:focus-visible {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 100%);
  border-color: var(--gold-hi);
  color: #0c0d10;
  box-shadow: 0 4px 20px rgba(192, 154, 80, 0.25);
  transform: translateY(-1px);
}

/* Industry tag row */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
}
.tag {
  display: inline-block;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--line-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke-3);
  border-radius: 1px;
}


/* ── 12. TEAM ──────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  background-color: rgba(13,16,20,0.95);
  /* Gold top border appears on hover — reveals upward */
  border-top: 2px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}
.team-card:hover {
  background: rgba(237,232,222,0.03);
  border-top-color: var(--gold);
}

/*
  Photo card variant — full-width portrait header.
  Photo breaks out of card padding at the top, then
  content resumes with normal padding below.
*/
.team-card--photo {
  padding-top: 0;
}
.team-photo-wrap {
  /* Bleed to card edges by inverting card's clamp padding */
  margin-left: calc(-1 * clamp(1.3rem, 2.5vw, 1.8rem));
  margin-right: calc(-1 * clamp(1.3rem, 2.5vw, 1.8rem));
  overflow: hidden;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(192,154,80,0.18);
  position: relative;
}
/* Fade the bottom of the photo into the card surface */
.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,16,20,0.72) 100%);
  pointer-events: none;
}
.team-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.team-top {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.team-role {
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.team-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 400;
  color: var(--smoke);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.team-creds {
  margin-bottom: 0;
  font-size: 0.74rem;
  color: var(--smoke-3);
  letter-spacing: 0.03em;
}

.team-bio {
  flex: 1;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: var(--smoke-2);
  line-height: 1.55;
}

.team-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: auto;
}
.team-foot .btn-text {
  align-self: flex-start;
  text-align: left;
}
.team-email {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--smoke-3);
  text-decoration: none;
  word-break: break-all;
  transition: color 180ms ease;
}
.team-top .team-email {
  margin-top: 0.55rem;
}
.team-email:hover { color: var(--gold); }


/* ── 13. CASES ─────────────────────────────────────────────── */
.s-cases {
  position: relative;
  background-color: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cases-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.cases-left p:not(.eyebrow) {
  color: var(--smoke-2);
  margin-top: 1rem;
  max-width: 440px;
}

.cases-right {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background-color: var(--ink-3);
  border-radius: 2px;
}

.cases-status-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.cases-status-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--smoke);
  margin-bottom: 0.8rem;
}
.cases-note {
  font-size: 0.85rem;
  color: var(--smoke-2);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


/* ── 15. CONTACT ───────────────────────────────────────────── */
.s-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(192,154,80,0.18), transparent 32rem),
    linear-gradient(135deg, #07090c 0%, #111114 48%, #08090b 100%);
  border-top: 1px solid rgba(192,154,80,0.24);
  border-bottom: 1px solid rgba(192,154,80,0.22);
}
.s-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237,232,222,0.035) 1px, transparent 1px),
    linear-gradient(rgba(237,232,222,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  pointer-events: none;
}
.s-contact .container {
  position: relative;
  z-index: 1;
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-left h2 { margin-bottom: 1rem; }
.contact-left .lead {
  margin-bottom: 1.5rem;
  color: var(--smoke-2);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--smoke-2);
}
.contact-list li::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background-color: var(--ink-3);
  border-radius: 2px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 1px;
  background: rgba(9,9,12,0.5);
  color: var(--smoke);
  font-size: 0.9rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 180ms ease;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--smoke-3); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.form-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--smoke-3);
  line-height: 1.5;
}
.form-note:empty {
  display: none;
}
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ── 16. FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0;
  background-color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--smoke-3);
  max-width: 260px;
  line-height: 1.5;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-nav a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke-3);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--gold); }

.footer-legal {
  text-align: right;
}
.footer-legal p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--smoke-3);
  line-height: 1.7;
}
/* Goldhar link — present for SEO, visually understated */
.footer-legal a {
  color: rgba(192,154,80,0.55);
  text-decoration: underline;
  text-decoration-color: rgba(192,154,80,0.28);
  transition: color 180ms ease;
}
.footer-legal a:hover { color: var(--gold); }

.footer-bottom-credit {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(237, 232, 222, 0.38);
  line-height: 1.6;
}
.footer-bottom-credit a {
  color: rgba(192,154,80,0.55);
  text-decoration: underline;
  text-decoration-color: rgba(192,154,80,0.28);
  transition: color 180ms ease;
}
.footer-bottom-credit a:hover { color: var(--gold); }


/* ── 17. PROFILE MODAL ─────────────────────────────────────── */

/* Legal Pages */
.legal-page {
  background: var(--ink);
  color: var(--smoke);
}
.legal-shell {
  padding: 8rem 0 5rem;
}
.legal-header {
  max-width: 920px;
  margin-bottom: 3rem;
}
.legal-header h1 {
  margin-bottom: 0.8rem;
}
.legal-meta {
  color: var(--smoke-3);
  font-size: 0.86rem;
  line-height: 1.7;
}
.legal-content {
  max-width: 920px;
  border-top: 1px solid var(--line);
}
.legal-section {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.legal-section h2 {
  margin-bottom: 0.8rem;
  color: var(--smoke);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.legal-section h3 {
  margin: 1rem 0 0.45rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-section p,
.legal-section li {
  color: var(--smoke-2);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal-section p + p {
  margin-top: 0.9rem;
}
.legal-section ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}
.legal-section li + li {
  margin-top: 0.25rem;
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.legal-content a {
  color: var(--gold);
}
.profile-modal {
  position: fixed;
  inset: 0;
  width: min(720px, calc(100% - 2rem));
  max-height: min(640px, calc(100vh - 4rem));
  margin: auto;
  border: 1px solid rgba(192,154,80,0.28);
  border-radius: 2px;
  background-color: var(--ink-3);
  color: var(--smoke);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0,0,0,0.55);
}
.profile-modal::backdrop {
  background: rgba(9,9,12,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--line-2);
  border-radius: 1px;
  background: transparent;
  color: var(--smoke-3);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}
.modal-close:hover { color: var(--smoke); border-color: var(--smoke-3); }

.profile-modal h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
  color: #fff;
}
.modal-copy p {
  color: var(--smoke-2);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.modal-copy p:last-child { margin-bottom: 0; }


/* ── 18. SCROLL REVEAL ─────────────────────────────────────── */
.reveal-up {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.motion-ready .hero-content.reveal-up {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── 19. KEYFRAMES ─────────────────────────────────────────── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes line-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes h1-gold-sweep {
  0%   { opacity: 0; transform: translateX(-140%) skewX(-14deg); }
  18%  { opacity: 0.82; }
  100% { opacity: 0; transform: translateX(355%) skewX(-14deg); }
}
@keyframes eyebrow-in {
  from { opacity: 0; letter-spacing: 0.28em; }
  to   { opacity: 1; letter-spacing: 0.13em; }
}


/* ── 19b. TYPOGRAPHY & BG ANIMATIONS ───────────────────────── */

@keyframes hero-bg-entrance {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}

.motion-ready .s-hero::before {
  animation: hero-bg-entrance 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/*
  Hero content siblings stagger:
  eyebrow (0.05s) -> title (0.14s) -> sub (0.54s) -> actions (0.68s) -> strip (0.82s)
*/
.motion-ready .hero-content.is-visible .eyebrow      { transition-delay: 0.05s; }
.motion-ready .hero-content.is-visible .hero-sub     { transition-delay: 0.54s; }
.motion-ready .hero-content.is-visible .hero-actions { transition-delay: 0.68s; }
.motion-ready .hero-content.is-visible .hero-strip   { transition-delay: 0.82s; }

.motion-ready .hero-content > *:not(.hero-title) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.motion-ready .hero-content.is-visible > *:not(.hero-title) {
  opacity: 1;
  transform: translateY(0);
}

.hero-title-line {
  display: block;
  position: relative;
  overflow: visible;
  line-height: 1.15;
}
.motion-ready .hero-title {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 720ms ease,
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}
.motion-ready .hero-content.is-visible .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.motion-ready .hero-title::after {
  opacity: 0;
}
.motion-ready .hero-content.is-visible .hero-title::after {
  animation: h1-gold-sweep 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}
.hero-title-inner {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(237,232,222,0.88) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #fff;
}

/*
  Eyebrow — letter-spacing settles in when parent section-intro is visible.
  The gold color means the tracking animation reads as a "stamp" effect.
*/
.motion-ready .section-intro.is-visible .eyebrow,
.motion-ready .about-split.is-visible .eyebrow,
.motion-ready .cases-split.is-visible .eyebrow {
  animation: eyebrow-in 0.55s var(--ease) both;
}

/*
  Eyebrow gold underline — draws in left to right after eyebrow appears.
*/
.eyebrow::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 0.55rem;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0.4;
}
.motion-ready .section-intro.is-visible .eyebrow::after,
.motion-ready .about-split.is-visible .eyebrow::after,
.motion-ready .cases-split.is-visible .eyebrow::after {
  animation: line-draw 0.5s var(--ease) 0.45s both;
}

/*
  Section-intro children stagger:
  eyebrow (0) → h2 (90ms) → p (180ms)
*/
.motion-ready .section-intro > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.motion-ready .section-intro.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready .section-intro.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.motion-ready .section-intro.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.motion-ready .section-intro.is-visible > *:nth-child(3) { transition-delay: 0.20s; }
.motion-ready .section-intro.is-visible > *:nth-child(4) { transition-delay: 0.30s; }

/*
  Sibling stagger for grid children — team cards, engage items.
  JS sets --stagger-i on each element; CSS uses it as a delay multiplier.
*/
.motion-ready .reveal-up[style*="--stagger-i"] {
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}


/* ── 20. RESPONSIVE — 1060px (tablet landscape) ────────────── */
@media (max-width: 1060px) {
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-pillars { grid-template-columns: 1fr; }

  .console { grid-template-columns: 1fr; }
  .console--mandates { grid-template-columns: 1fr !important; }
  .console-visual { display: none; }
  
  /* OVERHAUL: Swipeable horizontal card-tiles row for Mandates */
  .console-grid-tabs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 12px !important;
    padding: 12px clamp(1.25rem, 5vw, 3rem) !important;
    margin-left: calc(-1 * clamp(1.25rem, 5vw, 3rem)) !important;
    margin-right: calc(-1 * clamp(1.25rem, 5vw, 3rem)) !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
  .console-grid-tabs::-webkit-scrollbar {
    display: none !important;
  }
  
  .c-tile-tab {
    flex: 0 0 168px !important;
    min-height: 110px !important;
    height: auto !important;
    border: 1px solid rgba(237, 232, 222, 0.05) !important;
    border-radius: 4px !important;
    padding: 1rem 1.25rem !important;
    scroll-snap-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    background-color: rgba(9, 9, 12, 0.3) !important;
  }
  
  .c-tile-tab .tile-num {
    font-size: 1.5rem !important;
    margin-bottom: 0.4rem !important;
    transform: none !important;
  }
  .c-tile-tab:hover .tile-num,
  .c-tile-tab.active .tile-num {
    transform: scale(1.08) !important;
  }
  .c-tile-tab .tile-title {
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
  }

  /* OVERHAUL: Swipeable horizontal rounded pills for Industry Sectors */
  .industry-tabs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px !important;
    padding: 12px clamp(1.25rem, 5vw, 3rem) !important;
    margin-left: calc(-1 * clamp(1.25rem, 5vw, 3rem)) !important;
    margin-right: calc(-1 * clamp(1.25rem, 5vw, 3rem)) !important;
    -webkit-overflow-scrolling: touch !important;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
  .industry-tabs::-webkit-scrollbar {
    display: none !important;
  }
  
  .industry-tabs .c-tab {
    flex: 0 0 auto !important;
    border-radius: 24px !important;
    padding: 0.5rem 1.25rem !important;
    border: 1px solid rgba(237, 232, 222, 0.08) !important;
    background: rgba(13, 16, 20, 0.65) !important;
    color: rgba(237, 232, 222, 0.7) !important;
    scroll-snap-align: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .industry-tabs .c-tab.active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #0c0d10 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(192, 154, 80, 0.25) !important;
  }

  .console-panel {
    min-height: auto !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(237, 232, 222, 0.04) !important;
    padding: 1.8rem 1.25rem !important;
  }
  
  .console-meta {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-nav { display: none; } /* Collapse footer nav on mid-size */
  .footer-legal { text-align: left; }
}


/* ── 21. RESPONSIVE — 768px (tablet portrait) ──────────────── */
@media (max-width: 768px) {
  .hd-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1.25rem, 5vw, 3rem) 1rem;
    background: rgba(9,9,12,0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 240ms var(--ease), visibility 240ms ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    border: 0; border-radius: 0;
    color: var(--gold) !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .hero-content {
    padding-top: 0; /* Let flex centering manage vertical position */
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }
  .hero-strip {
    grid-template-columns: repeat(2, auto);
    gap: 0.8rem 2rem;
    padding: 1rem 1.25rem;
  }

  .console-meta {
    flex-direction: column;
    gap: 1.5rem;
  }
  .console-meta > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(192, 154, 80, 0.2);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .engage-grid {
    grid-template-columns: 1fr;
  }
  .engage-item {
    border-right: 0;
  }
  .engage-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .engage-item:last-child { border-bottom: 0; }

  .cases-split { grid-template-columns: 1fr; gap: 2rem; }

  .contact-split { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-legal { text-align: left; }
}


/* ── 22. RESPONSIVE — 500px (mobile) ───────────────────────── */
@media (max-width: 500px) {
  h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }

  .hero-strip {
    grid-template-columns: 1fr; /* Stack elements cleanly in a single column on mobile */
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    max-width: none;
    width: 100%;
  }

  .team-grid { grid-template-columns: 1fr; }

  .contact-form .btn { width: 100%; }
}


/* ── 23. REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Collapse durations to near-zero rather than none —
     preserves focus-visible ring transitions for keyboard nav */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
