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

:root {
  --imperial-dark: #121315;
  --imperial-slate: #2d3035;
  --imperial-gray: #9da7a6;
  --imperial-light-gray: #e3eae5;
  --imperial-accent: #5a73ff;
  --imperial-light-blue: #4477b2;
  --imperial-bright: #f8faf9;
  --imperial-white: #fff;
  --imperial-blue: #3c4ba0;
  --imperial-blue-dark: #222953;

  --cream: var(--imperial-bright);
  --ink: var(--imperial-dark);
  --warm-mid: var(--imperial-gray);
  --warm-light: var(--imperial-light-gray);
  --accent: var(--imperial-blue);
  --accent-light: rgba(90, 115, 255, 0.10);
  --border: rgba(18, 19, 21, 0.12);
  --tag-bg: var(--imperial-light-gray);
  --tag-text: var(--imperial-slate);

  --font-heading: 'League Spartan', sans-serif;
  --font-title: 'League Spartan', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'League Spartan', sans-serif;
  --spartan: 'League Spartan', sans-serif;

  --spacing-unit: 8px;
  --scrollbarWidth: 15px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

#app {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

p {
  font-size: 18px;
  color: var(--tag-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

a {
  color: var(--imperial-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--imperial-accent);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

/* ============================================================
   LOADING / ERROR
   ============================================================ */
.loader {
  padding: 60px 20px;
  text-align: center;
  color: var(--imperial-gray);
  font-weight: 500;
}

.error-message {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #f8d7da;
  color: #721c24;
  border-radius: 4px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.error-message button {
  margin-top: 16px;
  padding: 10px 28px;
  background: var(--imperial-dark);
  color: var(--imperial-white);
  font-weight: 600;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: opacity 0.2s;
}

.error-message button:hover {
  opacity: 0.8;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--spartan);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--spartan);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--spartan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.btn-ghost:hover {
  opacity: 0.7;
}

.btn-ghost-light {
  color: var(--cream) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border: 1.5px solid rgba(248, 250, 249, 0.4);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s;
  display: inline-block;
}

.btn-ghost-light:hover {
  background: rgba(248, 250, 249, 0.1);
}

/* ============================================================
   NAVIGATION – STICKY + BLUR
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1200px;
  padding: 1.5rem 2.5rem;
  margin: 0 auto;
  width: 100%;
  background: rgba(248, 250, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--imperial-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: background 0.2s;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--imperial-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--imperial-accent);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--tag-text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--imperial-accent);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--imperial-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 26px;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--imperial-dark);
  border-radius: 2px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-toggle span:nth-child(2) {
  width: 80%;
  margin-left: auto;
  background: var(--imperial-gray);
}

.nav-toggle.open span:first-child {
  transform: translateY(10px) rotate(45deg);
  background: var(--imperial-accent);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-16px);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  background: var(--imperial-accent);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--imperial-bright);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--imperial-dark);
  color: var(--imperial-white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: opacity 0.2s;
  line-height: 1;
}

.mobile-menu .close-btn:hover {
  opacity: 0.7;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--imperial-dark);
  padding: 0.6rem 1.5rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s, transform 0.4s, color 0.2s;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.active a:nth-child(3) {
  transition-delay: 0.18s;
}

.mobile-menu.active a:nth-child(4) {
  transition-delay: 0.26s;
}

.mobile-menu.active a:nth-child(5) {
  transition-delay: 0.34s;
}

.mobile-menu.active a:nth-child(6) {
  transition-delay: 0.42s;
}

.mobile-menu a:hover {
  color: var(--imperial-accent);
  transform: translateX(4px);
}

.mobile-menu .mobile-close-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 19, 21, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   FOOTER – STACKED & CENTERED
   ============================================================ */
#footer {
  flex-shrink: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

#footer .footer-wrapper .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#footer .footer-wrapper .footer-content .footer-logo-wrapper {
  text-align: center;
  border-top: 2px solid var(--imperial-slate);
  border-bottom: 2px solid var(--imperial-slate);
  padding: 1.5rem 0;
  line-height: 0;
  width: 100%;
}

#footer .footer-wrapper .footer-content .footer-logo-wrapper .footer-logo {
  display: block;
  line-height: 0;
}

#footer .footer-wrapper .footer-content .footer-logo-wrapper .footer-logo img {
  width: 250px;
  max-width: 90%;
  text-align: center;
  line-height: 0;
  /* will-change: transform; */
  height: auto;
}

#footer .footer-wrapper .footer-content .footer-link-rows {
  background-color: var(--imperial-slate);
  display: flex;
  flex-direction: column;
  width: 100%;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row:first-child {
  padding: 1rem 0;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a {
  color: var(--imperial-white);
  margin: 0 1rem;
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a:hover {
  opacity: 0.6;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row.social-links-row {
  padding: 0;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row .social-links {
  padding: 1rem 0;
  background-color: var(--imperial-light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul.social-links {
  background-color: var(--imperial-light-gray);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a svg {
  width: 40px;
  height: auto;
  display: block;
  color: var(--imperial-slate);
  transition: opacity 0.2s;
}

#footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a svg:hover {
  opacity: 0.6;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  background: var(--imperial-bright);
}

.footer-bottom p {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-text);
  opacity: 0.7;
  margin:0px;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
/* Hero */
.hero {
  padding: 7rem 2.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: var(--spartan);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

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

.hero-desc {
  font-size: 17px;
  color: var(--tag-text);
  max-width: 540px;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-photo-card {
  background: rgba(90, 115, 255, 0.08);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(90, 115, 255, 0.18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hero-photo-card img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

.hero-photo-badge {
  background: white;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  z-index: 1;
  font-family: var(--spartan);
  letter-spacing: 0.02em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hero-photo-badge span {
  display: block;
  font-weight: bold;
  font-size: 13px;
  color: var(--tag-text);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Credentials strip */
.credentials {
  max-width: 1200px;
  margin: -2rem auto 4rem;
  padding: 0 2.5rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.credential-item {
  background: var(--imperial-white);
  padding: 1.5rem;
  text-align: center;
}

.credential-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--imperial-accent);
}

.credential-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tag-text);
  margin-top: 2px;
}

/* Teasers */
.teaser-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.teaser-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: flex;
  flex-direction: column;
}

.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.teaser-card .teaser-visual {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  width: 100%;
  flex-shrink: 0;
}

.teaser-card .teaser-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teaser-card .teaser-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.teaser-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.teaser-body .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90, 115, 255, 0.12);
  color: var(--imperial-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 0.6rem;
  font-family: var(--spartan);
}

.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--imperial-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.teaser-body h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.teaser-body p {
  font-size: 14px;
  color: var(--tag-text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex: 1;
}

.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--imperial-accent);
  text-decoration: none;
  font-family: var(--spartan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  align-self: flex-start;
  margin-top: auto;
}

.teaser-link:hover {
  color: var(--ink);
}

.teaser-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.visual-lingua {
  background: #222953;
}

.visual-onboard {
  background: #2d3035;
}

.visual-jobaid {
  background: #1a1f2e;
}

/* CTA Section */
.cta-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--imperial-white);
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.cta-section p {
  font-size: 16px;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
  font-size: 16px;
  padding: 16px 40px;
}

/* Skills (home) */
.skills-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2.5rem;
}

.skills-section h2 {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1.5px solid var(--ink);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

.skill-cell {
  background: white;
  padding: 2rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.skill-cell-icon {
  width: 40px;
  height: 40px;
  background: rgba(90, 115, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.skill-cell-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--imperial-accent);
  fill: none;
  stroke-width: 1.5;
}

.skill-cell h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

.skill-cell p {
  font-size: 15px;
  color: var(--tag-text);
  line-height: 1.6;
  font-weight: 400;
}

/* Testimonials */
.testimonials {
  background: var(--imperial-slate);
  padding: 5rem 2.5rem;
  margin: 5rem auto;
  max-width: 1200px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials h2 {
  font-family: var(--spartan);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 249, 0.7);
  margin-bottom: 2.75rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.testimonial-card {
  border-top: 1.5px solid rgba(248, 250, 249, 0.15);
  padding-top: 1.75rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--cream);
  letter-spacing: -0.01em;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 15px;
  color: rgba(248, 250, 249, 0.7);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

/* About (home) */
.about-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-section h2 {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1.5px solid var(--ink);
}

.about-section p {
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.about-tools {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.about-tools h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tag-text);
  margin-bottom: 1.25rem;
  font-family: var(--spartan);
}

.tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--warm-light);
  font-size: 15px;
}

.tool-row:last-child {
  border-bottom: none;
}

.tool-name {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--spartan);
  letter-spacing: 0.02em;
}

.tool-level {
  font-size: 12px;
  font-weight: 700;
  color: var(--imperial-accent);
  background: rgba(90, 115, 255, 0.10);
  padding: 5px 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 7rem 2.5rem 7rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.about-hero .hero-eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: var(--spartan);
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-hero h1 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.about-hero .hero-desc {
  font-size: 17px;
  color: var(--tag-text);
  max-width: 700px;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 2rem;
}

.about-hero .hero-cta-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.career-imgs {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  transform-style: preserve-3d;
  margin: -8rem auto 0;
  z-index: 2;
  padding: 0 2.5rem;
  max-width: 1200px;
}

.career-imgs .img-wrapper {
  position: relative;
  width: 280px;
  transform-style: preserve-3d;
  transition: transform .6s;
  --slope: 20px;
}

.career-imgs .img-wrapper:first-child {
  height: 415px;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0% 100%);
}

.career-imgs .img-wrapper:nth-child(2) {
  height: 440px;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0% 100%);
}

.career-imgs .img-wrapper:nth-child(3) {
  height: 465px;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0% 100%);
}

.career-imgs .img-wrapper:nth-child(4) {
  height: 490px;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0% 100%);
}

.career-imgs .img-wrapper .career-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: .6s;
}

.career-imgs .img-wrapper .career-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: .6s;
}

.career-imgs .img-wrapper:hover .career-img img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.about-story {
  background: var(--imperial-slate);
  padding: 8rem 2.5rem 5rem;
  margin: -4rem auto 0;
  max-width: 1200px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.about-story .story-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-story .section-label {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 249, 0.5);
  margin-bottom: 1.5rem;
}

.about-story h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.about-story h2 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.about-story-grid p {
  font-size: 16px;
  color: rgba(248, 250, 249, 0.85);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-story-grid p strong {
  color: var(--cream);
}

.differentiator-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2.5rem;
}

.differentiator-section .section-label {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
}

.differentiator-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.differentiator-section h2 em {
  font-style: italic;
  color: var(--imperial-accent);
}

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

.differentiator-card {
  background: var(--imperial-white);
  border: 1px solid var(--border);
  padding: 2rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.22s, box-shadow 0.22s;
}

.differentiator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.differentiator-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.differentiator-card h4 {
  font-family: var(--spartan);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.differentiator-card p {
  font-size: 15px;
  color: var(--tag-text);
  line-height: 1.6;
}

.differentiator-card .role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--spartan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--imperial-accent);
  background: rgba(90, 115, 255, 0.10);
  padding: 4px 10px;
  margin-top: 0.75rem;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  align-self: flex-start;
}

.tools-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2.5rem;
}

.tools-section .section-label {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
}

.tools-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
}

.tools-section h2 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

.tool-item {
  background: var(--imperial-white);
  padding: 1.5rem 2rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-item .tool-name {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--spartan);
  letter-spacing: 0.02em;
}

.tool-item .tool-level {
  font-size: 12px;
  font-weight: 700;
  color: var(--imperial-accent);
  background: rgba(90, 115, 255, 0.10);
  padding: 5px 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

/* Tippy dark theme */
.tippy-box[data-theme~='dark'] {
  background: var(--imperial-dark);
  color: var(--imperial-white);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tippy-box[data-theme~='dark'] .tippy-arrow {
  color: var(--imperial-dark);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero-wrapper {
  background: transparent;
}

.services-hero {
  padding: 7rem 2.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: var(--cream);
}

.services-hero .hero-eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: var(--spartan);
}

.services-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.services-hero h1 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.services-hero .hero-desc {
  font-size: 17px;
  color: var(--tag-text);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  font-weight: 400;
}

.services-hero .hero-cta {
  justify-content: center;
}

/* What Learn */
.what-learn-wrapper {
  background: transparent;
}

.what-learn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.what-learn-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.what-learn-left {
  flex: 1;
  text-align: left;
  padding: 0 0 4rem;
  min-width: 0;
}

.intro-block {
  margin-bottom: 2rem;
  text-align: left;
}

.intro-block h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}

.intro-block .highlight-blue {
  color: var(--imperial-blue);
}

.intro-block p {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: var(--tag-text);
}

.skills-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-block {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  clip-path: polygon(2rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%, 0 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
}

.skill-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.skill-block .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.skill-block .icon svg {
  width: 50px;
  height: 50px;
  fill: var(--imperial-blue);
  stroke: var(--imperial-blue);
  stroke-width: 1.5;
}

.skill-block h4 {
  color: var(--imperial-blue);
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  font-family: var(--spartan);
  flex-shrink: 0;
}

.skill-block p {
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  color: var(--tag-text);
  flex-grow: 1;
}

.what-learn-right {
  flex: 0 550px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.pointing-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  border-radius: 12px;
  z-index: 2;
  display: block;
}

/* Why Me */
.why-me-wrapper {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.why-me-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem 0rem;
  background: var(--imperial-light-gray);
  position: relative;
  z-index: 1;
}

.why-me-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-style: solid;
  border-color: transparent transparent transparent var(--imperial-gray);
  border-width: 30rem 0 0 30rem;
  height: 0;
  width: 0;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.why-me-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-end;
}

.why-me-right {
  text-align: left;
  padding-bottom: 4rem;
}

.why-me-left {
  position: relative;
  z-index: 2;
}

.why-me-left img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  border-radius: 12px;
  z-index: 2;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: block;
  margin: 0 auto;
}

.why-me-right h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

.why-me-right h3 .highlight-blue {
  color: var(--imperial-blue);
}

.why-me-right p {
  font-size: 17px;
  color: var(--tag-text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.why-me-right .impact-text {
  font-weight: 500;
  color: var(--imperial-blue);
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.why-me-right .impact-text strong {
  font-weight: 700;
}

.why-me-right .hero-cta {
  justify-content: flex-start;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.exp-column h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--imperial-blue);
  margin-bottom: 0.8rem;
  font-family: var(--spartan);
}

.tick-list {
  list-style: none;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.4;
}

.tick-list li::before {
  content: "\2713\00a0";
  position: absolute;
  left: 0;
  color: var(--imperial-blue);
  font-weight: 700;
}

/* Programs */
.programs-wrapper {
  background: transparent;
}

.programs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  background: var(--cream);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: white;
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s;
}

.program-card:hover {
  transform: translateY(-3px);
}

.program-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--imperial-blue);
}

.program-card.featured .program-header h3,
.program-card.featured .program-header .price,
.program-card.featured .target,
.program-card.featured .features li {
  color: var(--cream);
}

.program-card.featured .features li::before {
  color: var(--imperial-accent);
}

.program-card .program-header .package-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--imperial-accent);
}

.program-card .program-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--ink);
}

.program-card .program-header .price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--imperial-blue);
  margin-bottom: 1rem;
}

.program-card .target {
  font-size: 15px;
  color: var(--tag-text);
  margin-bottom: 1rem;
}

.program-card .features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  flex-grow: 1;
}

.program-card .features li {
  padding: 0.8rem 0;
  font-size: 0.95rem;
  color: var(--tag-text);
  border-bottom: 1px solid var(--border);
}

.program-card .features li:last-child {
  border-bottom: none;
}

.program-card .features li::before {
  content: "\2713\00a0";
  color: var(--imperial-accent);
  font-weight: 700;
}

.program-card .bundle-offers {
  margin-bottom: 1rem;
}

.program-card .bundle-offers .bundle-item span {
  font-size: 14px;
  font-weight: 700;
}

.coming-soon-badge {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--imperial-blue);
  margin-top: 1rem;
}

.program-card .btn-primary {
  align-self: flex-start;
}

/* Process (services) */
.process-wrapper {
  background: transparent;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 4rem;
  background: var(--cream);
}

.process-steps-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--ink);
}

.process-flow {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.flow-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--imperial-blue);
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  margin-bottom: 1.5rem;
  font-family: var(--spartan);
}

.step-text strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-text p {
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.4;
}

.step-text p a {
  text-decoration: underline;
  color: var(--imperial-blue);
}

/* Decision Guide */
.decision-wrapper {
  background: transparent;
}

.decision-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  background: var(--imperial-light-gray);
}

.decision-container h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
  text-align: center;
}

.decision-container h2 .highlight-accent {
  color: var(--imperial-accent);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.decision-box {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.decision-box h4 {
  font-family: var(--spartan);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}

.decision-box ul {
  list-style: none;
  padding: 0;
}

.decision-box ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.4;
}

.decision-box ul li::before {
  content: "\2192\00a0";
  position: absolute;
  left: 0;
  color: var(--imperial-accent);
  font-weight: 700;
}

/* FAQ */
.faq-wrapper {
  background: transparent;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  background: var(--cream);
  text-align: center;
}

.faq-container h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-container h2 .highlight-blue {
  color: var(--imperial-blue);
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-align: center;
  flex: 1 1 400px;
  max-width: 500px;
}

.faq-item h4 {
  font-family: var(--spartan);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--imperial-blue);
  margin-bottom: 0.75rem;
  text-align: center;
}

.faq-item p {
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.6;
  text-align: center;
}

.faq-item p a {
  text-decoration: underline;
  color: var(--imperial-blue);
}

/* Terms page */
.terms-page #jumbo.simple .hero-wrapper .hero-copy {
  padding: 4rem 2rem 2rem;
}

.terms-page #jumbo.simple .hero-wrapper .hero-content {
  margin: 0;
  flex-direction: column;
}

.terms-section {
  width: 100%;
  z-index: 1;
}

.terms-wrapper {
  margin: 0 auto;
}

.terms-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--imperial-light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  font-size: .95rem;
  color: var(--imperial-slate);
}

.terms-meta p {
  margin: 0;
}

.terms-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--imperial-light-gray);
  text-align: left;
}

.terms-block:last-child {
  border-bottom: none;
}

.terms-block h2 {
  font-size: 2rem;
  color: var(--imperial-dark);
}

.terms-block h3 {
  color: var(--imperial-blue);
  font-weight: 700;
  font-size: 1.3rem;
}

.terms-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .75rem;
  text-align: left;
  color: var(--imperial-slate);
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.terms-list li {
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--imperial-slate);
}

.terms-list li::before {
  content: "\2192\00a0";
  position: absolute;
  left: 0;
  color: var(--imperial-blue);
  font-weight: 700;
}

.terms-divider {
  border-top: 3px solid var(--imperial-blue);
  margin: 3rem 0;
}

/* ============================================================
   PORTFOLIO / PROJECTS PAGE
   ============================================================ */
.cv-hero {
  padding: 4rem 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cv-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.cv-hero h1 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.cv-hero p {
  font-size: 17px;
  color: var(--tag-text);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cv-cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cv-cta-group .btn-primary svg,
.cv-cta-group .btn-secondary svg {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Section header (shared) */
.section-header {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.9rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-header .view-all {
  font-family: var(--spartan);
  font-size: 13px;
  font-weight: 600;
  color: var(--imperial-accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.section-header .view-all:hover {
  color: var(--ink);
}

.section-header .count {
  font-size: 14px;
  color: var(--tag-text);
  font-weight: 600;
  font-family: var(--spartan);
  letter-spacing: 0.05em;
}

.bento-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bento-featured,
.bento-tall,
.bento-wide,
.bento-grid>.bento-card:nth-child(4),
.bento-grid>.bento-card:nth-child(5) {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
}

.bento-tall,
.bento-wide {
  grid-template-columns: none;
}

.bento-card .bento-visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
  flex-shrink: 0;
}

.bento-card .bento-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.bento-card .bento-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bento-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  flex: 1;
}

.bento-body-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-body-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.bento-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.25rem;
}

.bento-body p {
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.65;
  font-weight: 400;
}

.project-type-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--imperial-accent);
  background: rgba(90, 115, 255, 0.10);
  padding: 6px 12px;
  margin-bottom: 0.75rem;
  font-family: var(--spartan);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90, 115, 255, 0.12);
  color: var(--imperial-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 0.8rem;
  font-family: var(--spartan);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.5rem;
}

.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 13px;
  padding: 5px 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.75rem;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  font-family: var(--spartan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s, color 0.2s;
}

.project-link:hover {
  background: var(--ink);
  color: var(--cream);
}

.project-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bento-grid>.bento-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
.cs-hero {
  /* display: grid; */
  /* grid-template-columns: 2fr 1fr; */
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.hero-left {
  background-color: var(--imperial-blue);
  padding: 5rem 3rem 4rem 3rem;
}

.cs-hero-inner {
  max-width: 100%;
  margin: 0;
}

.hero-right {
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  align-self: stretch;
  border-right: 1.5px solid #000;
}

.cs-type-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.cs-badge {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  font-family: var(--spartan);
}

.cs-badge-type {
  background: rgba(255, 255, 255, 0.1);
  color: var(--imperial-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cs-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--cream);
  max-width: 880px;
  margin-bottom: 1.5rem;
}

.cs-hero-sub {
  font-size: 17px;
  color: var(--imperial-white);
  /* max-width: 600px; */
  line-height: 1.7;
  font-weight: 400;
  font-family: var(--font-body);
}

.cs-meta-strip {
  background: white;
  max-width: 1200px;
  margin: 0 auto;
}

.cs-meta-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1.5px solid var(--ink);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.cs-meta-cell {
  padding: 1.75rem 2rem;
  border-right: 1.5px solid var(--ink);
}

.cs-meta-label {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--imperial-accent);
  margin-bottom: 8px;
  font-family: var(--spartan);
}

.cs-meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--spartan);
  line-height: 1.4;
}

.cs-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0rem 0rem;
}

.cs-section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-mid);
  font-family: var(--spartan);
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 2rem;
}

.cs-section {
  margin-bottom: 4rem;
}

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cs-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.cs-prose p {
  font-size: 17px;
  color: var(--tag-text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.cs-blockquote {
  border-left: 4px solid var(--ink);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: white;
}

.cs-blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink) !important;
  line-height: 1.55;
  margin: 0 !important;
}

.cs-problem-card {
  background: var(--ink);
  padding: 2rem;
  color: var(--cream);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cs-problem-card .cs-section-label {
  border-bottom-color: rgba(248, 250, 249, 0.2);
}

.cs-problem-card h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.cs-problem-card p {
  font-size: 16px;
  color: var(--warm-light);
  line-height: 1.7;
}

.cs-audience-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cs-audience-card h3 {
  font-family: var(--spartan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.cs-audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.cs-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--imperial-accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.cs-process {
  display: flex;
  flex-direction: column;
}

.cs-process-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--border);
}

.cs-process-step:last-child {
  border-bottom: 1px solid var(--border);
}

.cs-process-phase {
  padding: 1.25rem 1rem 1.25rem 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tag-text);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cs-process-phase.active {
  color: var(--imperial-accent);
}

.phase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-process-phase.active .phase-dot {
  background: var(--imperial-accent);
}

.cs-process-content {
  padding: 1.25rem 0 1.25rem 1.25rem;
}

.cs-process-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs-process-content p {
  font-size: 16px;
  color: var(--tag-text);
  line-height: 1.6;
}

.cs-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cs-tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--spartan);
}

.cs-decision-card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cs-decision-card:nth-child(1) {
  background-color: var(--imperial-light-blue);
}

.cs-decision-card:nth-child(1) h4,
.cs-decision-card:nth-child(1) .label,
.cs-decision-card:nth-child(1) p {
  color: var(--imperial-white);
}

.cs-decision-card:nth-child(2) {
  background: var(--imperial-dark);
}

.cs-decision-card:nth-child(2) h4,
.cs-decision-card:nth-child(2) .label,
.cs-decision-card:nth-child(2) p {
  color: var(--imperial-bright);
}

.cs-decision-card:nth-child(3) {
  background-color: var(--imperial-blue);
}

.cs-decision-card:nth-child(3) h4,
.cs-decision-card:nth-child(3) .label,
.cs-decision-card:nth-child(3) p {
  color: var(--imperial-white);
}

.cs-decision-card .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cs-decision-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cs-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cs-outcome-cell {
  background: white;
  padding: 1.75rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cs-outcome-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.cs-outcome-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-text);
  margin-bottom: 10px;
}

.cs-outcome-desc {
  font-size: 15px;
  color: var(--tag-text);
  line-height: 1.6;
}

.cs-reflection {
  background: rgba(90, 115, 255, 0.07);
  padding: 2rem;
  border: 1px solid rgba(90, 115, 255, 0.15);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cs-reflection .cs-section-label {
  color: var(--imperial-accent);
  border-bottom-color: rgba(90, 115, 255, 0.2);
}

.cs-reflection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.cs-reflection h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--imperial-blue);
  margin-bottom: 0.9rem;
}

.cs-reflection p {
  font-size: 16px;
  color: var(--imperial-blue);
  line-height: 1.65;
  opacity: 0.85;
}

.cs-tools-footer {
  border-top: 1.5px solid var(--ink);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cs-tools-footer .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tag-text);
}

.cs-tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-next {
  background: var(--ink);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.cs-next-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 249, 0.4);
  margin-bottom: 0.6rem;
}

.cs-next-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Jumbotron & Video Components */
.mini-jumbotron {
  position: relative;
  background-size: cover;
  background-position: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.mini-jumbotron:hover {
  filter: brightness(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mini-jumbotron::after {
  content: "⤢";
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  pointer-events: none;
  font-family: system-ui, sans-serif;
}

.mini-jumbotron.link::after {
  display: none;
}

.mini-jumbotron .click-hint {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  width: fit-content;
  margin: 0 auto;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.mini-jumbotron:hover .click-hint {
  opacity: 1;
}

.jumbo-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 2rem 1.5rem 1.5rem;
  width: 100%;
  color: white;
}

.jumbo-caption p {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--spartan);
  margin-bottom: 0.6rem;
  color: white;
}

.jumbo-caption span {
  font-size: 0.95rem;
  font-family: var(--font-body);
  opacity: 0.9;
  display: block;
  line-height: 1.5;
}

.video-preview-wrapper {
  margin-top: 1rem;
  background: white;
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.video-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.video-thumb {
  position: relative;
  background: #f0f2f5;
  min-height: 280px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.video-thumb:hover {
  opacity: .8;
}

.thumb-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-overlay {
  width: 80px;
  height: 80px;
  transition: transform 0.2s ease;
}

.play-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.video-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.video-copy h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.video-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tag-text);
  margin-bottom: 1rem;
}

.demo-note {
  font-size: 0.9rem;
  color: var(--tag-text);
  font-style: italic;
}

/* PDF Modal */
.pdf-modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.pdf-modal-content {
  background-color: #1a1c1e;
  margin: auto;
  padding: 0;
  width: 90%;
  max-height: 90dvh;
  height: 100%;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #111214;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pdf-modal-title {
  font-family: var(--spartan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.pdf-modal-actions {
  display: flex;
  gap: 8px;
}

.pdf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pdf-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pdf-icon-btn svg {
  width: 18px;
  height: 18px;
}

.pdf-modal-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  flex: 1;
}

.pdf-modal-content:fullscreen .pdf-fs-enter,
.pdf-modal-content:-webkit-full-screen .pdf-fs-enter {
  display: none;
}

.pdf-modal-content:fullscreen .pdf-fs-exit,
.pdf-modal-content:-webkit-full-screen .pdf-fs-exit {
  display: flex;
}

.pdf-fs-exit {
  display: none;
}

.pdf-fs-enter {
  display: flex;
}

/* ============================================================
   CONTACT PAGE — FIXED FOR MOBILE
   ============================================================ */
.contact-section {
  position: relative;
  padding: 4rem 15px;
  text-align: center;
  background: var(--cream);
  color: var(--ink);
}

.contact-section h2 {
  color: var(--ink);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.contact-section h2 em {
  font-style: italic;
  color: var(--imperial-accent);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  text-align: left;
}

/* LEFT COLUMN */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.contact-left .simple-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.contact-left .simple-buttons .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  background: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s, color 0.2s;
  font-family: var(--spartan);
  max-width: 45%;
  width: 100%;
}

.contact-left .simple-buttons .contact-link:hover {
  background: var(--ink);
  color: var(--cream);
}

.contact-left .simple-buttons .contact-link .contact-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--imperial-accent);
  flex-shrink: 0;
}

.contact-left .contact-content {
  min-width: 0;
}

.contact-left .contact-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.contact-left .contact-content p {
  color: var(--tag-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.contact-left .contact-info {
  background: var(--tag-bg);
  padding: 1.5rem;
  margin: 1rem 0;
  clip-path: polygon(1rem 0, 100% 0, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0 100%, 0 1rem);
  overflow: hidden;
}

.contact-left .contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--tag-text);
  word-break: break-word;
}

.contact-left .contact-info p strong {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.contact-left .social-links {
  min-width: 0;
}

.contact-left .social-links h4 {
  color: var(--ink);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--spartan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-left .social-links .social-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-left .social-links .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tag-bg);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  width: 60px;
  height: 60px;
  color: var(--tag-text);
  transition: background 0.3s, transform 0.3s, color 0.3s;
  flex-shrink: 0;
}

.contact-left .social-links .social-icons a:hover {
  background: var(--imperial-accent);
  transform: translateY(-3px);
  color: var(--cream);
}

.contact-left .social-links .social-icons a svg {
  width: 30px;
  height: auto;
}

/* RIGHT COLUMN (FORM) */
.contact-right {
  min-width: 0;
}

.contact-right .form-wrapper {
  background: var(--imperial-white);
  padding: 2rem;
  border: 1px solid var(--border);
  clip-path: polygon(2rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%, 0 2rem);
  overflow: hidden;
}

.contact-right .form-wrapper .contact-form #form-pass {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-right .form-wrapper .contact-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.contact-right .form-wrapper .contact-form .form-group label {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-family: var(--spartan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-right .form-wrapper .contact-form .form-group input,
.contact-right .form-wrapper .contact-form .form-group select,
.contact-right .form-wrapper .contact-form .form-group textarea {
  color: var(--ink);
  background-color: var(--cream);
  padding: 0.75rem;
  border: 2px solid var(--border);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s;
  appearance: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-right .form-wrapper .contact-form .form-group input:focus,
.contact-right .form-wrapper .contact-form .form-group select:focus,
.contact-right .form-wrapper .contact-form .form-group textarea:focus {
  outline: 0;
  border-color: var(--imperial-accent);
}

.contact-right .form-wrapper .contact-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-right .form-wrapper .contact-form .btn {
  margin-top: 1rem;
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--spartan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.contact-right .form-wrapper .contact-form .btn:hover {
  opacity: 0.8;
  background: var(--imperial-accent);
}

.contact-right .form-wrapper .contact-form #form-success-msg {
  color: var(--imperial-accent);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 0;
}

#form-fail {
  color: #d9534f;
  font-size: 14px;
  margin-top: 0.5rem;
}

.form-privacy-note {
  font-size: 13px;
  color: var(--tag-text);
  margin-top: 1rem;
  text-align: center;
  opacity: 0.7;
}

#whatsapp-fixed-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: white;
}

#whatsapp-fixed-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

#whatsapp-fixed-btn svg {
  width: 34px;
  height: 34px;
}

/* ============================================================
   CONTACT WRAPPER - Container fix
   ============================================================ */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

/* ============================================================
   TERMS WRAPPER - Container fix
   ============================================================ */
.terms-wrapper-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  width: 100%;
}

.terms-page-section {
  background: var(--imperial-white);
  padding: 3rem;
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.terms-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.terms-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.terms-header p {
  font-size: 17px;
  color: var(--tag-text);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================================
   RESPONSIVE (combined)
   ============================================================ */
@media (max-width: 1200px) {

  .hero,
  .about-hero,
  .services-hero,
  .cv-hero,
  .cs-hero,
  .cs-meta-strip,
  .cs-body,
  .cs-next,
  .section-header,
  .teaser-grid,
  .bento-grid,
  .cta-section,
  .skills-section,
  .testimonials,
  .about-section,
  .differentiator-section,
  .tools-section,
  .what-learn-container,
  .why-me-container,
  .programs-container,
  .decision-container,
  .faq-container,
  .process-container,
  .contact-section,
  .credentials {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .career-imgs {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mini-jumbotron .click-hint {
    opacity: 1;
  }

  .contact-wrapper {
    padding: 0 1.5rem;
  }

  .terms-wrapper-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 250px;
    gap: 3rem;
  }

  .what-learn-flex {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .what-learn-left {
    width: 100%;
    padding: 0 0 2rem;
    text-align: center;
  }

  .what-learn-left .intro-block {
    text-align: center;
  }

  .skills-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
  }

  .what-learn-right {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
  }

  .what-learn-right .pointing-image {
    transform: scaleX(-1);
  }

  .why-me-flex {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
  }

  .why-me-right .hero-cta {
    justify-content: center;
  }

  .why-me-right {
    text-align: center;
    padding-bottom: 0;
  }

  .why-me-right .experience-grid {
    text-align: left;
  }

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

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

  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-flow::before {
    display: none;
  }

  .flow-item {
    width: 100%;
    max-width: 400px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-me-left img {
    max-width: 250px;
  }

  .why-me-container::before {
    border-width: 20rem 0 0 20rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .bento-grid>.bento-card:last-child:nth-child(odd) {
    max-width: 60%;
  }

  .career-imgs .img-wrapper {
    width: 22%;
  }

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

@media (max-width: 991px) {
  .career-imgs {
    flex-wrap: wrap;
    margin-top: -2rem;
    padding: 0 1rem;
    justify-content: center;
    display: none;
  }

  .career-imgs .img-wrapper {
    width: calc(50% - 20px);
    height: 464px !important;
  }

  .about-story {
    padding: 5rem 1.5rem 3rem;
    margin-top: -2rem;
  }
}

@media (max-width: 820px) {
  .cs-meta-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-meta-cell:nth-child(n+3) {
    border-top: 1.5px solid var(--ink);
  }

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

  nav {
    padding: 1rem 1.5rem;
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu .close-btn {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .mobile-menu a {
    font-size: 1.5rem;
  }

  #footer .footer-wrapper .footer-content .footer-logo-wrapper .footer-logo img {
    /* width: 280px; */
  }

  #footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul {
    gap: 0.5rem 1rem;
  }

  #footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a {
    margin: 0 0.75rem;
    font-size: 12px;
  }

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

  .terms-page-section {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cs-hero {
    /* grid-template-columns: 2fr 0fr; */
  }

  .hero-left {
    padding: 3rem 1.5rem 2.5rem;
    order: 1;
  }

  .hero-right {
    min-height: 240px;
    order: 2;
  }

  .cs-meta-inner {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .cs-meta-cell {
    border-right: none;
    padding: 1rem;
  }

  .cs-meta-cell:last-child {
    border-bottom: none;
  }

  .cs-meta-cell:nth-child(2) {
    border-top: 1.5px solid var(--ink);
  }

  .cs-two-col,
  .cs-three-col,
  .cs-reflection-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cs-outcome-grid {
    background: transparent;
    border: none;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cs-outcome-cell {
    border: 1px solid var(--border);
  }

  .cs-process-step {
    grid-template-columns: 1fr;
  }

  .cs-process-phase {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0 0.5rem 0;
  }

  .cs-process-content {
    padding: 0.75rem 0;
  }

  .video-preview-grid {
    grid-template-columns: 1fr;
  }

  .video-thumb {
    min-height: 220px;
  }

  .cs-outcome-num {
    font-size: 2.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-photo-card {
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
  }

  .about-hero {
    padding: 4rem 1.5rem 2rem;
    text-align: center;
  }

  .about-hero .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero .hero-cta-group {
    justify-content: center;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    gap: 1rem;
  }

  .tool-item {
    border: 1px solid var(--border);
  }

  .career-imgs .img-wrapper {
    width: 350px;
    height: auto !important;
    margin-bottom: 1rem;
  }

  .career-imgs .img-wrapper:nth-child(2) {
    display: none;
  }

  .career-imgs {
    margin: 0 0 1rem;
  }

  .career-imgs .img-wrapper .career-img img {
    transform: scale(1) !important;
    filter: grayscale(0%) !important;
  }

  .services-hero {
    padding: 4rem 1.5rem 2rem;
  }

  .skills-items-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

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

  .services-hero h1 {
    font-size: 2.5rem;
  }

  .decision-container h2,
  .faq-container h2 {
    font-size: 1.8rem;
  }

  .what-learn-container {
    padding: 2rem 1.5rem 0;
  }

  .skill-block {
    min-height: unset;
    padding: 1.2rem;
  }

  .why-me-container {
    padding: 3rem 1.5rem 0;
  }

  .programs-container {
    padding: 3rem 1.5rem;
  }

  .decision-container {
    padding: 3rem 1.5rem;
  }

  .faq-container {
    padding: 3rem 1.5rem;
  }

  .process-container {
    padding: 0 1.5rem 3rem;
  }

  .section-header {
    padding: 0 1.5rem;
  }

  .why-me-left img {
    max-width: 200px;
  }

  .faq-item {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .why-me-container::before {
    border-width: 15rem 0 0 15rem;
  }

  .cv-hero {
    padding: 3rem 1.5rem 1.5rem;
  }

  .cv-hero h1 {
    font-size: 2rem;
  }

  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .bento-grid>.bento-card:last-child:nth-child(odd) {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .bento-featured .bento-visual {
    min-height: 220px;
  }

  .cv-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cv-cta-group .btn-primary,
  .cv-cta-group .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    gap: 1rem;
  }

  .skill-cell {
    border: 1px solid var(--border);
  }

  .testimonials-grid,
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  /* CONTACT MOBILE FIXES */
  .contact-section {
    padding: 2.5rem 1.5rem;
  }

  .contact-section h2 {
    font-size: 1.9rem;
  }

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

  .contact-left {
    text-align: center;
  }

  .contact-left .simple-buttons {
    align-items: center;
  }

  .contact-left .simple-buttons .contact-link {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .contact-left .social-links .social-icons {
    justify-content: center;
  }

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

  #whatsapp-fixed-btn {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }

  #whatsapp-fixed-btn svg {
    width: 28px;
    height: 28px;
  }

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

  .contact-wrapper {
    padding: 0 1.5rem;
  }

  .terms-wrapper-container {
    padding: 2rem 1.5rem;
  }

  .terms-page-section {
    padding: 1.5rem;
  }

  .terms-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .teaser-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .about-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.75rem 1rem;
    height: 58px;
  }

  .nav-logo {
    font-size: 15px;
  }

  .nav-logo .logo-mark {
    width: 28px;
    height: 28px;
  }

  .mobile-menu a {
    font-size: 1.25rem;
    padding: 0.4rem 1rem;
  }

  .mobile-menu {
    padding: 1.5rem;
  }

  #footer .footer-wrapper .footer-content .footer-logo-wrapper {
    padding: 1rem 0;
  }

  #footer .footer-wrapper .footer-content .footer-logo-wrapper .footer-logo img {
    /* width: 200px; */
  }

  #footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a {
    margin: 0 0.5rem;
    font-size: 11px;
  }

  #footer .footer-wrapper .footer-content .footer-link-rows .footer-link-row ul li a svg {
    width: 32px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  .terms-page-section {
    padding: 1rem;
  }

  .terms-block h3 {
    font-size: 1.1rem;
  }

  .contact-left .simple-buttons .contact-link {
    padding: 12px 16px;
    font-size: 13px;
  }

  .contact-left .social-links .social-icons a {
    width: 48px;
    height: 48px;
  }

  .contact-left .social-links .social-icons a svg {
    width: 22px;
  }

  .contact-right .form-wrapper {
    padding: 1.25rem;
  }
}

@media (max-width: 440px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .cs-hero h1 {
    font-size: 1.9rem;
  }

  .cs-problem-card h2 {
    font-size: 1.4rem;
  }

  .about-hero h1 {
    font-size: 2.4rem;
  }

  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-section h2 {
    font-size: 1.6rem;
  }

  .contact-left .simple-buttons .contact-link {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 12px;
  }

  .contact-left .social-links .social-icons a {
    width: 44px;
    height: 44px;
  }

  .contact-left .social-links .social-icons a svg {
    width: 20px;
  }

  .contact-right .form-wrapper {
    padding: 1rem;
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .why-me-left img {
    max-width: 180px;
  }

  .why-me-container::before {
    border-width: 10rem 0 0 10rem;
  }

  .terms-header h1 {
    font-size: 1.6rem;
  }
}

/* ============================================================
   UTILITY / MISC
   ============================================================ */
.highlight-blue {
  font-weight: 700;
  color: var(--imperial-blue);
}

.highlight-accent {
  font-weight: 700;
  color: var(--imperial-accent);
}

/* Terms page overrides (keep) */
.terms-page #jumbo.simple .hero-wrapper .hero-copy {
  padding: 4rem 2rem 2rem;
}

.terms-page #jumbo.simple .hero-wrapper .hero-content {
  margin: 0;
  flex-direction: column;
}

/* ============================================================
   BACK BAR (under sticky nav)
   ============================================================ */
.back-bar {
  position: fixed;
  top: 68px;
  /* nav height */
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 89;
  background: var(--imperial-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.back-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.back-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream) !important;
  font-family: var(--spartan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
  padding: 4px 0;
}

.back-link:hover {
  opacity: 0.7;
}

.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Adjust for mobile nav height */
@media (max-width: 820px) {
  .back-bar {
    top: 64px;
    padding: 0.4rem 1rem;
  }

  .back-link {
    font-size: 11px;
  }

  .back-link svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .back-bar {
    top: 58px;
    padding: 0.3rem 0.75rem;
  }

  .back-link {
    font-size: 10px;
  }

  .back-link svg {
    width: 12px;
    height: 12px;
  }
}