/* ============================================================
   BLACK & NOBLE — Design System & Responsive Stylesheet
   Palette drawn from corporate profile: charcoal / cream / signal-orange
   ============================================================ */

:root {
  --ink: #14141a;
  --ink-soft: #1f1f27;
  --charcoal: #2a2a33;
  --slate: #6b6b74;
  --slate-light: #9a99a3;
  --cream: #f5f3ef;
  --cream-dark: #ebe8e2;
  --paper: #fbfaf8;
  --white: #ffffff;
  --orange: #ff3300;
  --orange-deep: #d92900;
  --amber: #e87722;
  --line: #e4e1da;
  --line-dark: rgba(245, 243, 239, 0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;

  --shadow-soft: 0 20px 60px -20px rgba(20, 20, 26, 0.25);
  --shadow-card: 0 10px 40px -12px rgba(20, 20, 26, 0.12);

  --container: 1240px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-word;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

section {
  position: relative;
  width: 100%;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Eyebrow / Kicker labels ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}
.kicker--light {
  color: var(--amber);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  touch-action: manipulation;
}
.btn i {
  font-size: 13px;
  transition: transform 0.25s ease;
}
.btn:hover i {
  transform: translateX(3px);
}
.btn--primary {
  background: #ff3300;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(255, 51, 0, 0.55);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: rgba(20, 20, 26, 0.2);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn--ghost-light {
  border-color: rgba(245, 243, 239, 0.35);
  color: var(--cream);
  background: transparent;
}
.btn--ghost-light:hover {
  border-color: var(--cream);
  background: rgba(245, 243, 239, 0.1);
}
.btn--sm {
  padding: 10px 20px;
  min-height: 42px;
  font-size: 13.5px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 243, 239, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.3s ease, border-color 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-mobile-active {
  background: rgba(16, 16, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(245, 243, 239, 0.12);
  height: 72px;
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 768px) {
  .site-header__inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    padding: 0 16px;
    gap: 12px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}
.brand__mark {
  display: inline-flex;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
}
.brand__sub {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .brand__name {
    font-size: 15px;
  }
  .brand__sub {
    font-size: 9.5px;
  }
  .brand__mark img {
    width: 32px !important;
    height: 32px !important;
  }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(245, 243, 239, 0.82);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 243, 239, 0.25);
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--cream);
  display: block;
  transition: all 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(16, 16, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(245, 243, 239, 0.12);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.mobile-nav.is-open {
  max-height: 520px;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 10px 20px 24px;
}
.mobile-nav li {
  width: 100%;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 6px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid rgba(245, 243, 239, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--orange);
  padding-left: 10px;
}
.mobile-nav a.is-active {
  color: var(--orange);
  font-weight: 600;
}
.mobile-nav__cta {
  color: var(--orange) !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  margin-top: 8px;
  padding-top: 14px !important;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 990;
  animation: fadeInBackdrop 0.25s ease;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 940px) {
  :root {
    --header-h: 72px;
  }
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions .btn--primary.btn--sm {
    display: none;
  }
}

/* ============================================================
   HERO (dark, image-backed)
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  color: var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 14, 18, 0.6) 0%, rgba(14, 14, 18, 0.76) 45%, rgba(14, 14, 18, 0.96) 100%),
    linear-gradient(100deg, rgba(14, 14, 18, 0.88) 0%, rgba(14, 14, 18, 0.45) 55%, rgba(14, 14, 18, 0.25) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 243, 239, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 40px) 0 70px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--orange);
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  line-height: 1.08;
  font-weight: 600;
  max-width: 16ch;
  color: var(--cream);
}
.hero h1 em {
  font-style: italic;
  color: #F26820;
  font-weight: 500;
}
.hero__lede {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: rgba(245, 243, 239, 0.82);
  max-width: 48ch;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  width: 100%;
}
.hero__stats .stat {
  padding: 24px 28px;
  border-right: 1px solid var(--line-dark);
}
.hero__stats .stat:last-child {
  border-right: none;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.1;
}
.stat__num .accent {
  color: var(--orange);
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 6px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.6);
}
.scroll-cue__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(245, 243, 239, 0.7), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }
  .hero__content {
    padding: calc(var(--header-h) + 24px) 0 44px;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stats .stat {
    padding: 20px 18px;
  }
  .hero__stats .stat:nth-child(1),
  .hero__stats .stat:nth-child(2) {
    border-bottom: 1px solid var(--line-dark);
  }
  .hero__stats .stat:nth-child(2) {
    border-right: none;
  }
  .hero__stats .stat:nth-child(4) {
    border-right: none;
  }
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__stats .stat {
    padding: 16px 14px;
  }
  .stat__num {
    font-size: 1.5rem;
  }
  .stat__label {
    font-size: 11px;
  }
}

/* ============================================================
   PAGE HERO (secondary pages — shorter)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 52vh;
  min-height: 52svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.6) 0%, rgba(14, 14, 18, 0.88) 75%, rgba(14, 14, 18, 1) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 40px) 0 60px;
  width: 100%;
}
.page-hero .page-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: rgba(245, 243, 239, 0.12);
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  z-index: 1;
  font-weight: 600;
  user-select: none;
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  max-width: 22ch;
  line-height: 1.14;
}
.page-hero__lede {
  margin-top: 16px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(245, 243, 239, 0.78);
  max-width: 54ch;
  line-height: 1.65;
}
.breadcrumb {
  font-size: 13px;
  color: var(--slate-light);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb a {
  color: var(--amber);
}
.breadcrumb i {
  font-size: 10px;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 42vh;
  }
  .page-hero__content {
    padding: calc(var(--header-h) + 20px) 0 44px;
  }
  .page-hero .page-num {
    font-size: 3.5rem;
    opacity: 0.08;
    right: 16px;
    top: 20px;
    transform: none;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
  padding: 100px 0;
}
.section--tight {
  padding: 70px 0;
}
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--cream {
  background: var(--cream);
}
.section-head {
  max-width: 760px;
  margin-bottom: 50px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  margin-top: 16px;
  line-height: 1.16;
}
.section-head p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
}
.section--dark .section-head p {
  color: rgba(245, 243, 239, 0.72);
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .section--tight {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .section-head h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  }
  .section-head p {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }
  .section--tight {
    padding: 38px 0;
  }
}

/* ============================================================
   ABOUT SNAPSHOT (home & about page)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-grid__media {
  position: relative;
}
.about-grid__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.about-grid__badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--orange);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 20px 45px -14px rgba(255, 51, 0, 0.55);
}
.about-grid__badge .big {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}
.about-grid__badge .small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.about-grid__body .kicker {
  margin-bottom: 16px;
}
.about-grid__body h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 20px;
}
.about-grid__body p {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 30px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}
.about-list i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid__media img {
    height: clamp(260px, 55vw, 420px);
  }
  .about-grid__badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
  }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 24px;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-card__icon {
  background: var(--orange);
  color: #fff;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.6;
}
.service-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream-dark);
  font-weight: 600;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 28px 22px;
  }
}

/* Full detail service blocks (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail:nth-child(even) .service-detail__media {
  order: 2;
}
.service-detail__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.service-detail__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 12px;
}
.service-detail__body h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-detail__body > p {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}

@media (max-width: 860px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }
  .service-detail:nth-child(even) .service-detail__media {
    order: 0;
  }
  .service-detail__media img {
    height: clamp(220px, 50vw, 320px);
  }
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-card {
  background: var(--white);
  padding: 38px 24px;
  text-align: left;
  transition: background 0.3s ease;
}
.value-card:hover {
  background: var(--ink);
  color: var(--cream);
}
.value-card:hover p {
  color: rgba(245, 243, 239, 0.7);
}
.value-card:hover .value-card__icon {
  background: var(--orange);
  color: #fff;
}
.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.value-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-card {
    padding: 26px 20px;
  }
}

/* ============================================================
   MISSION / VISION
   ============================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mv-card {
  background: var(--ink-soft);
  padding: 50px 42px;
}
.mv-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.mv-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--cream);
  margin-bottom: 18px;
}
.mv-card p {
  color: rgba(245, 243, 239, 0.74);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .mv-card {
    padding: 34px 24px;
  }
}

/* ============================================================
   STRENGTHS (about page / home)
   ============================================================ */
.strength-list {
  display: grid;
  gap: 20px;
}
.strength-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.strength-item:last-child {
  border-bottom: none;
}
.strength-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.strength-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.strength-item p {
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .strength-item {
    gap: 14px;
    padding: 16px 0;
  }
  .strength-item__icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* ============================================================
   SPLIT MEDIA BLOCK
   ============================================================ */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-media.reverse .split-media__media {
  order: 2;
}
.split-media__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .split-media {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split-media.reverse .split-media__media {
    order: 0;
  }
  .split-media__media img {
    height: clamp(240px, 55vw, 400px);
  }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats-strip .stat-box {
  background: var(--ink-soft);
  padding: 36px 24px;
  text-align: center;
}
.stats-strip .stat-box .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--orange);
  font-weight: 700;
  line-height: 1.1;
}
.stats-strip .stat-box .label {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.65);
}

@media (max-width: 760px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip .stat-box {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .stats-strip .stat-box {
    padding: 18px 12px;
  }
  .stats-strip .stat-box .num {
    font-size: 1.6rem;
  }
  .stats-strip .stat-box .label {
    font-size: 11px;
  }
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  touch-action: manipulation;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.cert-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}
.cert-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.cert-card p {
  color: var(--slate);
  font-size: 0.9rem;
}
.cert-card__view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .cert-card {
    padding: 24px 18px;
  }
}

/* QHSE policy pillars */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.policy-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-left: 4px solid var(--orange);
}
.policy-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.policy-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .policy-card {
    padding: 24px 20px;
  }
}

/* Lightbox for certificates */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.94);
  padding: 20px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: min(760px, 94vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  background: #fff;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 243, 239, 0.3);
  background: rgba(20, 20, 26, 0.8);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3010;
  touch-action: manipulation;
}
.lightbox__close:hover {
  background: var(--orange);
}

/* ============================================================
   TEAM / LEADERSHIP
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  touch-action: manipulation;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.team-card__photo {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--cream-dark);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}
.team-card__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 26, 0.75));
}
.team-card__tagline {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
}
.team-card__body {
  padding: 22px 24px 26px;
}
.team-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.team-card__body .role {
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.team-card__body .excerpt {
  color: var(--slate);
  font-size: 0.91rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card__more {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card__photo {
    height: clamp(260px, 60vw, 320px);
  }
}

/* Leadership modal */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}
.team-modal-overlay.is-open {
  display: flex;
}
.team-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
}
.team-modal__photo {
  height: 100%;
  min-height: 320px;
}
.team-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-modal__body {
  padding: 36px 32px;
}
.team-modal__body .role {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin: 6px 0 16px;
}
.team-modal__body h3 {
  font-size: 1.45rem;
}
.team-modal__body p {
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 12px;
}
.team-modal__body h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 18px 0 10px;
  color: var(--ink);
}
.team-modal__body ul {
  display: grid;
  gap: 8px;
}
.team-modal__body ul li {
  font-size: 0.86rem;
  color: var(--slate);
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.team-modal__body ul li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}
.team-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.team-modal__close:hover {
  background: var(--orange);
  color: #fff;
}

@media (max-width: 700px) {
  .team-modal {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .team-modal__photo {
    height: 220px;
    min-height: 220px;
  }
  .team-modal__body {
    padding: 24px 20px;
  }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-marquee {
  overflow: hidden;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: marquee 34s linear infinite;
  width: max-content;
}
.partners-track img {
  height: 38px;
  width: auto;
  object-fit: contain;
  
}
.partners-track img:hover {
  filter: grayscale(0) opacity(1);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .partners-track {
    gap: 40px;
  }
  .partners-track img {
    height: 30px;
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.partner-card img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .partner-card {
    height: 100px;
    padding: 16px 14px;
  }
  .partner-card img {
    max-height: 44px;
  }
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255, 51, 0, 0.16);
  line-height: 1;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  max-width: 48ch;
  position: relative;
  z-index: 1;
}
.quote-block cite {
  display: block;
  margin-top: 22px;
  font-size: 0.94rem;
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 700px) {
  .quote-block {
    padding: 40px 24px;
  }
  .quote-block::before {
    font-size: 6rem;
    left: 16px;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 22ch;
  color: #fff;
  line-height: 1.2;
}
.cta-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.6;
}
.cta-band .btn--dark {
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}
.cta-band .btn--dark:hover {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 760px) {
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 24px;
  }
  .cta-band h2,
  .cta-band p {
    max-width: 100%;
  }
  .cta-band .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.contact-info-card p {
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.55;
}

.contact-form {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--cream);
}
.contact-form h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.contact-form > p {
  color: rgba(245, 243, 239, 0.68);
  margin-bottom: 26px;
  font-size: 0.94rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(245, 243, 239, 0.06);
  border: 1px solid rgba(245, 243, 239, 0.16);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS Safari zoom */
  outline: none;
  min-height: 48px;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: rgba(245, 243, 239, 0.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-field select option {
  background: var(--ink);
  color: var(--cream);
}
.contact-form .btn--primary {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  min-height: 50px;
  font-size: 16px;
}
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(245, 243, 239, 0.5);
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 36px 10px;
}
.form-success.is-visible {
  display: block;
}
.form-success i {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 16px;
}
.form-success h4 {
  color: #14141a ;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.form-success p {
  color: rgba(0, 0, 0, 0.75);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid var(--line);
  height: 260px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form {
    padding: 30px 22px;
    border-radius: 18px;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(245, 243, 239, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
  touch-action: manipulation;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0 0;
}
.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.footer-brand__sub {
  font-size: 12px;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.footer-tagline {
  max-width: 420px;
  color: rgba(245, 243, 239, 0.65);
  font-size: 0.93rem;
  line-height: 1.6;
  text-align: right;
}

.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer-col ul {
  display: grid;
  gap: 12px;
}
.footer-col li,
.footer-col a {
  font-size: 0.91rem;
  color: rgba(245, 243, 239, 0.74);
  line-height: 1.5;
}
.footer-col a:hover {
  color: var(--orange);
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 243, 239, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  touch-action: manipulation;
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.footer-social a .fa-x-twitter,
.footer-social a[href*="x.com"] {
  color: #ffffff;
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: rgba(245, 243, 239, 0.55);
}
.footer-cert-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-cert-strip span {
  padding: 5px 12px;
  border: 1px solid rgba(245, 243, 239, 0.15);
  border-radius: 999px;
  font-size: 11.5px;
}

@media (max-width: 900px) {
  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 20px 32px;
  }
  .footer-tagline {
    text-align: left;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 36px 20px;
  }
  .site-footer__bottom {
    padding: 20px 20px 28px;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0 !important;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.divider--dark {
  background: var(--line-dark);
}
.eyebrow-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
}

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill-list li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Contents / process index (about page overview) */
.index-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.index-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
}
.index-item:hover {
  padding-left: 12px;
  background: var(--cream);
}
.index-item .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream-dark);
  font-weight: 700;
}
.index-item:hover .num {
  color: var(--orange);
}
.index-item h4 {
  font-size: 1.12rem;
}
.index-item p {
  color: var(--slate);
  font-size: 0.91rem;
  margin-top: 4px;
}
.index-item i {
  color: var(--slate-light);
  transition: transform 0.3s ease, color 0.3s ease;
}
.index-item:hover i {
  color: var(--orange);
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .index-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px 0;
  }
  .index-item i {
    display: none;
  }
}

/* Loading state fade-in for whole page */
body {
  animation: bodyFadeIn 0.5s ease;
}
@keyframes bodyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

::selection {
  background: var(--orange);
  color: #fff;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--slate-light);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ============================================================
   INSIGHTS HUB & EDITORIAL SYSTEM
   Consistent with Black & Noble design system
   ============================================================ */

/* Hero subnav pills */
.hero-subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 243, 239, 0.12);
  border: 1px solid rgba(245, 243, 239, 0.22);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-subnav-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* Section Header Compact */
.section-header-compact {
  margin-bottom: 28px;
}
.section-heading-h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--ink);
  margin-top: 6px;
}

/* Featured Insight Card */
.section--featured-insight {
  padding-top: 50px;
  padding-bottom: 10px;
}
.featured-insight-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}
.featured-insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 51, 0, 0.35);
}
.featured-insight-card__media {
  position: relative;
  min-height: 380px;
  background: var(--charcoal);
  overflow: hidden;
}
.featured-insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-insight-card:hover .featured-insight-card__media img {
  transform: scale(1.04);
}
.featured-badge-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}
.featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 51, 0, 0.4);
}
.featured-insight-card__body {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}
.featured-insight-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 14px;
}
.featured-insight-meta .category-tag {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}
.featured-insight-meta .meta-separator {
  color: var(--slate-light);
}
.featured-insight-meta .meta-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.featured-insight-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.28;
  margin-bottom: 14px;
  color: var(--ink);
  transition: color 0.25s ease;
}
.featured-insight-card:hover .featured-insight-title {
  color: var(--orange);
}
.featured-insight-excerpt {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 16px;
}

@media (max-width: 960px) {
  .featured-insight-card {
    grid-template-columns: 1fr;
  }
  .featured-insight-card__media {
    height: 280px;
    min-height: auto;
  }
  .featured-insight-card__body {
    padding: 28px 24px;
  }
}

/* Controls & Filter Bar */
.section--insights-grid {
  padding-top: 40px;
  padding-bottom: 60px;
}
.insights-controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.insights-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--cream);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-tab:hover {
  background: var(--cream-dark);
  color: var(--ink);
}
.filter-tab.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.filter-tab__count {
  font-size: 0.78rem;
  opacity: 0.8;
}
.filter-tab.is-active .filter-tab__count {
  color: var(--amber);
}

.category-filter-wrapper {
  display: flex;
  align-items: center;
}
.category-select-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.category-select-container .filter-icon {
  position: absolute;
  left: 14px;
  color: var(--slate);
  pointer-events: none;
}
.category-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 36px 8px 34px;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.category-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.15);
}

/* Insight Search Input */
.insight-search-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.insight-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.insight-search-input-wrapper .search-icon {
  position: absolute;
  left: 18px;
  color: var(--slate);
  pointer-events: none;
}
.insight-search-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 44px 14px 48px;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.insight-search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 51, 0, 0.12);
}
.search-clear-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.search-clear-btn:hover {
  background: var(--cream);
  color: var(--ink);
}
.search-result-feedback {
  font-size: 0.88rem;
  color: var(--slate);
  padding-left: 6px;
}

/* Grid & Cards */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1060px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 680px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 51, 0, 0.3);
}
.insight-card__media {
  position: relative;
  height: 220px;
  background: var(--charcoal);
  overflow: hidden;
}
.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.insight-card:hover .insight-card__media img {
  transform: scale(1.06);
}
.insight-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1;
}
.badge--blog {
  background: #1e3a8a;
  color: #dbeafe;
}
.badge--post {
  background: #701a75;
  color: #fae8ff;
}
.badge--news {
  background: #065f46;
  color: #d1fae5;
}
.badge--category {
  background: rgba(20, 20, 26, 0.8);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.insight-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.meta-dot {
  color: var(--slate-light);
}
.insight-card__title {
  font-size: 1.16rem;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.insight-card:hover .insight-card__title {
  color: var(--orange);
}
.insight-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  gap: 12px;
}

/* Author Profile */
.insight-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.insight-author__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.insight-author__info {
  display: flex;
  flex-direction: column;
}
.insight-author__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.insight-author__role {
  font-size: 0.75rem;
  color: var(--slate);
  line-height: 1.2;
}
.insight-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.insight-card__read-more .arrow-icon {
  transition: transform 0.25s ease;
}
.insight-card:hover .insight-card__read-more .arrow-icon {
  transform: translateX(4px);
}

/* Empty State */
.insights-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  margin: 20px 0;
}
.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.empty-state-title {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state-text {
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 460px;
  margin: 0 auto 20px;
}

/* Pagination */
.insights-pagination-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.load-more-container {
  display: flex;
  justify-content: center;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
}
.load-more-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--cream);
}
.numbered-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-num-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-num-btn:hover {
  background: var(--cream);
  border-color: var(--slate-light);
}
.page-num-btn.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.pagination-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pagination-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-arrow-btn:not(:disabled):hover {
  background: var(--cream);
  color: var(--orange);
}

/* Newsletter Section */
.newsletter-section {
  padding: 60px 0;
}
.newsletter-card {
  background: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
}
.newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.newsletter-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 12px;
}
.newsletter-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.75);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-input-group {
  display: flex;
  gap: 10px;
}
.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}
.newsletter-input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.25);
}
.newsletter-input.is-invalid {
  border-color: #ef4444;
}
.newsletter-submit-btn {
  white-space: nowrap;
  padding: 14px 24px;
}
.newsletter-error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fca5a5;
  font-size: 0.84rem;
}
.newsletter-disclaimer {
  font-size: 0.78rem;
  color: rgba(245, 243, 239, 0.5);
}
.newsletter-success-box {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.newsletter-success-box .success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.success-heading {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}
.success-message {
  font-size: 0.88rem;
  color: rgba(245, 243, 239, 0.85);
  line-height: 1.5;
  margin-bottom: 12px;
}
.newsletter-sub-again-btn {
  background: transparent;
  border: none;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 860px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
}

/* ============================================================
   ARTICLE DETAIL PAGE STYLING
   ============================================================ */
.article-header {
  padding: 130px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.article-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 24px;
}
.article-breadcrumbs a {
  color: var(--ink);
  transition: color 0.2s ease;
}
.article-breadcrumbs a:hover {
  color: var(--orange);
}
.breadcrumb-separator {
  color: var(--slate-light);
}
.breadcrumb-current {
  color: var(--slate);
}

.article-header__meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.source-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}
.article-header__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 960px;
}
.article-header__dek {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 30px;
  max-width: 900px;
}
.article-header__author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-author-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.author-name-text {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.author-role-text {
  display: block;
  font-size: 0.82rem;
  color: var(--slate);
}

.article-meta-specs {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-light);
  font-weight: 700;
}
.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* Article Share Bar */
.article-share-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.share-bar-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.share-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-btn:hover {
  background: var(--cream);
  border-color: var(--slate);
}
.share-btn--linkedin:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5;
}
.share-btn--twitter:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
.share-btn--copy.is-copied {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
}

/* Article Body Content */
.article-body-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  background: var(--charcoal);
}
.article-hero-media img {
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  object-fit: cover;
}
.article-hero-caption {
  padding: 12px 20px;
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--slate);
  border-top: 1px solid var(--line);
}

.article-content-container {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}
.article-lead-p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 4px solid var(--orange);
}
.article-section-block {
  margin-bottom: 38px;
}
.article-h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 36px 0 16px;
}
.article-h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 28px 0 14px;
}
.article-p {
  margin-bottom: 20px;
  color: #2d2d38;
}

.article-bullet-list {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.bullet-indicator {
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
}

.article-num-list {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-num-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.6;
}
.num-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Pullquote */
.article-pullquote {
  margin: 36px 0;
  padding: 34px 38px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 6px solid var(--orange);
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--orange);
  line-height: 0.6;
  margin-bottom: 10px;
  opacity: 0.4;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}
.quote-attribution {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-size: 0.88rem;
}
.quote-attribution strong {
  color: var(--ink);
}
.quote-attribution span {
  color: var(--slate);
}

/* Inline Figure */
.article-figure {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.article-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}
.figure-caption {
  padding: 12px 18px;
  background: var(--paper);
  font-size: 0.84rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.caption-icon {
  color: var(--orange);
}

/* Key Takeaways Box */
.article-takeaways-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-card);
}
.takeaways-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
  margin-bottom: 16px;
}
.takeaways-header h4 {
  font-size: 1.12rem;
  color: var(--ink);
}
.takeaways-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.takeaway-check {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Conclusion Box */
.article-conclusion-box {
  background: var(--ink-soft);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 32px 34px;
  margin: 40px 0;
}
.conclusion-heading {
  color: var(--amber);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.article-conclusion-box p {
  color: rgba(245, 243, 239, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}

/* Tags cloud */
.article-tags-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 36px 0;
}
.tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate);
}
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

/* Author Bio Card */
.article-author-bio-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 40px 0;
}
.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--cream-dark);
}
.bio-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.bio-name {
  font-size: 1.2rem;
  color: var(--ink);
  margin: 4px 0 2px;
}
.bio-role {
  font-size: 0.86rem;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 10px;
}
.bio-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
}

@media (max-width: 600px) {
  .article-author-bio-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }
}

/* Previous / Next Article Navigation */
.article-nav-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.article-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.article-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.article-nav-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.article-nav-card--next {
  text-align: right;
  align-items: flex-end;
}
.nav-direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.nav-title {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.article-nav-card.is-empty {
  visibility: hidden;
}

@media (max-width: 680px) {
  .article-nav-grid {
    grid-template-columns: 1fr;
  }
  .article-nav-card--next {
    text-align: left;
    align-items: flex-start;
  }
}

/* Related Insights Section */
.related-insights-section {
  padding: 60px 0;
  background: var(--cream);
}

/* ============================================================
   OPERATIONS CONSOLE & EXECUTIVE ADMIN SYSTEM
   Light theme unified with Black & Noble brand identity & tokens
   ============================================================ */

.ops-section {
  padding: 40px 0 80px;
  background: var(--cream);
  color: var(--ink);
  min-height: calc(100vh - 400px);
}

.ops-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 768px) {
  .ops-container {
    padding: 0 16px;
  }
}

/* Operations Hero Ribbon */
.ops-hero-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(245, 243, 239, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  margin-top: 24px;
}

.ops-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 51, 0, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 51, 0, 0.28);
}

.ops-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Operations Nav Tabs */
.ops-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.ops-tabs-nav::-webkit-scrollbar {
  height: 4px;
}
.ops-tabs-nav::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.ops-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-mid);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(20, 20, 26, 0.04);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ops-tab-btn:hover {
  background: #faf8f5;
  color: var(--ink);
  border-color: var(--ink-mid);
}

.ops-tab-btn.is-active {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(255, 51, 0, 0.28);
}

.ops-tab-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(20, 20, 26, 0.08);
  color: var(--ink-mid);
}

.ops-tab-btn.is-active .ops-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Operations Cards */
.ops-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(20, 20, 26, 0.04);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ops-card:hover {
  border-color: rgba(255, 51, 0, 0.3);
  box-shadow: 0 6px 18px rgba(20, 20, 26, 0.08);
}

.ops-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.ops-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.ops-card-subtitle {
  font-size: 0.82rem;
  color: var(--ink-mid);
  margin-top: 3px;
}

/* KPI Stat Cards */
.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

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

@media (max-width: 600px) {
  .ops-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.ops-kpi-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 20, 26, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ops-kpi-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255, 51, 0, 0.12);
}

.ops-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ops-kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.ops-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 51, 0, 0.08);
  color: var(--orange);
}

.ops-kpi-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.ops-kpi-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Operations Table */
.ops-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}

.ops-table th {
  background: #faf8f5;
  color: var(--ink-mid);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ops-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
}

.ops-table tbody tr:hover {
  background: #faf9f6;
}

/* Status Badges */
.ops-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ops-badge--orange {
  background: #fff1ec;
  color: #cc2a00;
  border: 1px solid #ffccba;
}

.ops-badge--amber {
  background: #fff8eb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.ops-badge--blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.ops-badge--emerald {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.ops-badge--slate {
  background: #f4f3f0;
  color: #52525e;
  border: 1px solid #dedad2;
}

/* Operations Inputs */
.ops-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ops-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12);
}

.ops-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 34px 10px 14px;
  color: var(--ink);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2352525e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ops-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12);
}

/* Modal Dialogs */
.ops-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 20, 26, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFade 0.2s ease;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ops-modal-dialog {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(20, 20, 26, 0.18);
  position: relative;
  color: var(--ink);
}

@media (max-width: 600px) {
  .ops-modal-dialog {
    padding: 24px;
  }
}


