/* ==========================================================================
   Cal Phillips Portfolio Stylesheet
   Design system: Warm and sharp
   ========================================================================== */

:root {
  /* Core palette */
  --ink: #0F1117;
  --ink-panel: #181B24;
  --ink-raised: #20242F;
  --sand: #F4EBDD;
  --coral: #FF5E45;
  --coral-hover: #FF715B;
  --lagoon: #27A39B;

  /* Positive outcome tokens (achievement stats in the experience sheets) */
  --positive: #4ADE80;
  --positive-rgb: 74, 222, 128;
  --positive-soft: rgba(74, 222, 128, 0.12);
  --positive-line: rgba(74, 222, 128, 0.35);

  /* Text tokens */
  --text-light: #F5F1EA;
  --text-muted: #9AA0AE;
  --text-dark: #0F1117;
  --text-dark-muted: #3F4450;

  /* Hairlines */
  --line-dark: rgba(245, 241, 234, 0.11);
  --line-dark-strong: rgba(245, 241, 234, 0.22);
  --line-light: rgba(15, 17, 23, 0.14);

  /* Brand screen accents */
  --brand-doordash: #EB1700;
  --brand-yellowbird: #FFC933;
  --brand-radix: #5B5BD6;
  --brand-carvana: #00AEEF;

  /* Typography */
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Two radii only (sharp 0px for headshot) */
  --radius-lg: 28px;
  --radius-sm: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Layout */
  --container-max: 1360px;
  --header-height: 82px;
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background-color: var(--ink);
  color: var(--text-light);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--ink);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

/* Accessible focus rings */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.band-coral :focus-visible,
.btn-coral:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Containers and Bands
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.band {
  width: 100%;
  position: relative;
}

.band-ink {
  background-color: var(--ink);
  color: var(--text-light);
}

.band-sand {
  background-color: var(--sand);
  color: var(--text-dark);
}

.band-coral {
  background-color: var(--coral);
  color: var(--text-dark);
}

/* ==========================================================================
   Buttons and Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 1rem;
}

.btn-coral {
  background-color: var(--coral);
  color: var(--ink);
  font-weight: 500;
}

.btn-coral:hover {
  background-color: var(--coral-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--line-dark-strong);
}

.btn-outline:hover {
  border-color: var(--text-light);
  background-color: rgba(245, 241, 234, 0.06);
}

.btn-ghost {
  background-color: var(--ink-panel);
  color: var(--text-light);
  border: 1.5px solid var(--line-dark);
}

.btn-ghost:hover {
  background-color: var(--ink-raised);
  border-color: var(--line-dark-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-light);
  padding: 12px 4px;
  border-bottom: 1.5px solid rgba(245, 241, 234, 0.3);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.text-link:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.inline-arrow {
  transition: transform 0.2s var(--ease-out);
}

.text-link:hover .inline-arrow,
.btn:hover .inline-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Sticky Top Header and Mobile Overlay
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: rgba(15, 17, 23, 0.35);
  border-bottom: 1px solid transparent;
  transition: background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), backdrop-filter 0.28s var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(15, 17, 23, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.brand-role {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-block: 6px;
  transition: color 0.2s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-light);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-light);
}

/* Mobile Full-Screen Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background-color: var(--ink);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding: 20px 24px 36px;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  font-weight: 500;
  color: var(--text-light);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 36px;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-light);
  padding-block: 4px;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--coral);
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-cta {
  width: 100%;
}

.mobile-menu-note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */

.hero-section {
  padding-top: clamp(22px, 3.2vw, 44px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.hero-container {
  max-width: var(--container-max);
  container-type: inline-size;
}

.hero-top-row {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--lagoon);
  box-shadow: 0 0 0 4px rgba(39, 163, 155, 0.22);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5.1cqi, 10rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-light);
  margin-bottom: clamp(36px, 5vw, 68px);
}

.hero-word {
  display: inline-block;
  margin-right: 0.16em;
  transform: translateY(14px);
  animation: heroWordRise 0.56s var(--ease-out) forwards;
}

.hero-word:last-child {
  margin-right: 0;
}

.hero-word:nth-child(1) { animation-delay: 0.02s; }
.hero-word:nth-child(2) { animation-delay: 0.08s; }
.hero-word:nth-child(3) { animation-delay: 0.14s; }
.hero-word:nth-child(4) { animation-delay: 0.2s; }

@keyframes heroWordRise {
  to {
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-subline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--sand);
  margin-bottom: 20px;
}

.hero-intro {
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

/* Creative Square Headshot Stage */
.hero-visual {
  display: flex;
  justify-content: center;
  padding: 28px 18px 36px;
}

.photo-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
}

.photo-layer {
  position: absolute;
  inset: 0;
  border-radius: 0;
  transition: transform 0.45s var(--ease-out);
}

.photo-layer-coral {
  background-color: var(--coral);
  transform: translate(0, 0);
  animation: coralLayerIn 0.8s var(--ease-out) 0.25s forwards;
  z-index: 1;
}

.photo-layer-lagoon {
  background-color: var(--lagoon);
  transform: translate(0, 0);
  animation: lagoonLayerIn 0.8s var(--ease-out) 0.32s forwards;
  z-index: 0;
}

@keyframes coralLayerIn {
  to {
    transform: translate(16px, 16px);
  }
}

@keyframes lagoonLayerIn {
  to {
    transform: translate(-14px, -14px);
  }
}

.photo-stage:hover .photo-layer-coral {
  transform: translate(24px, 22px);
}

.photo-stage:hover .photo-layer-lagoon {
  transform: translate(-22px, -20px);
}

.photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--ink-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.headshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.headshot-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: var(--ink-raised);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 10vw, 7rem);
  letter-spacing: -0.04em;
}

/* Hand-drawn arrow and caption */
.hand-note {
  position: absolute;
  top: -54px;
  left: -34px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--sand);
  pointer-events: none;
  opacity: 0;
  animation: fadeSlideIn 0.6s var(--ease-out) 0.48s forwards;
}

.hand-caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transform: rotate(-5deg);
  margin-bottom: 2px;
  order: -1;
}

.hand-arrow {
  width: 68px;
  height: 42px;
  color: var(--coral);
  transform: rotate(180deg) scaleX(-1);
  margin-left: 16px;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Overlapping rotated stickers */
.sticker-group {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.sticker-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: scale(0.78) rotate(var(--sticker-rot, 0deg));
  animation: stickerPop 0.55s var(--ease-spring) var(--sticker-delay, 0.5s) forwards;
}

.sticker-chip[data-tone="sand"] {
  background-color: var(--sand);
  top: 22px;
  right: -24px;
  --sticker-rot: 3.5deg;
  --sticker-delay: 0.48s;
}

.sticker-chip[data-tone="coral"] {
  background-color: var(--coral);
  bottom: 26px;
  left: -26px;
  --sticker-rot: -3.5deg;
  --sticker-delay: 0.58s;
}

.sticker-chip[data-tone="lagoon"] {
  background-color: var(--lagoon);
  bottom: -18px;
  right: 18px;
  --sticker-rot: 2.5deg;
  --sticker-delay: 0.68s;
}

@keyframes stickerPop {
  to {
    opacity: 1;
    transform: scale(1) rotate(var(--sticker-rot, 0deg));
  }
}

/* Optional Bentley Polaroid */
.bentley-polaroid {
  background-color: #FFFFFF;
  color: var(--ink);
  padding: 10px 10px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  width: 148px;
}

.bentley-polaroid-hero {
  position: absolute;
  top: -20px;
  right: -40px;
  z-index: 6;
  transform: rotate(6deg);
}

.bentley-polaroid-who {
  width: 210px;
  transform: rotate(-3deg);
  flex-shrink: 0;
}

.polaroid-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--sand);
}

.bentley-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}

/* ==========================================================================
   2. Experience Section (Showpiece + Dot Grid Texture)
   ========================================================================== */

.experience-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 6vw, 96px);
}

.experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(39, 163, 155, 0.08) 0%, rgba(39, 163, 155, 0) 48%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='rgba(245,241,234,0.05)'/%3E%3C/svg%3E");
  background-size: auto, 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.experience-section > .container {
  position: relative;
  z-index: 1;
}

.experience-header {
  position: relative;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}

.experience-heading {
  color: var(--text-light);
}

.accent-period {
  color: var(--coral);
}

.experience-subhead {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 58ch;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 32px);
}

.exp-panel {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  text-align: left;
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  transition: transform 0.32s var(--ease-out), border-color 0.32s var(--ease-out), background-color 0.32s var(--ease-out);
}

.exp-panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-dark-strong);
  background-color: #1B1F2A;
}

.exp-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.exp-meta-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-company {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-light);
}

.exp-role {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--sand);
}

.exp-dates {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.exp-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.exp-number {
  display: inline-flex;
  align-items: center;
}

/* Status Chips (CURRENT / PRIOR) */
.exp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.exp-status-chip.is-current {
  background-color: rgba(39, 163, 155, 0.16);
  border: 1px solid rgba(39, 163, 155, 0.45);
  color: var(--sand);
}

.exp-status-chip.is-prior {
  background-color: transparent;
  border: 1px solid var(--line-dark-strong);
  color: var(--text-muted);
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lagoon);
  box-shadow: 0 0 0 0 rgba(39, 163, 155, 0.55);
  animation: livePulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 163, 155, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(39, 163, 155, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 163, 155, 0);
  }
}

.tap-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.exp-panel:hover .tap-chip {
  background-color: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}

/* Realistic Current-Generation iPhone Pro (CSS + Inline SVG) */
.exp-phone-stage {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  perspective: 1100px;
}

.phone-device {
  position: absolute;
  top: 4px;
  right: -14px;
  width: min(100%, 290px);
  aspect-ratio: 9 / 19.5;
  padding: 4px;
  border-radius: 46px;
  background: linear-gradient(
    145deg,
    #636976 0%,
    #353A45 18%,
    #252932 52%,
    #3B404C 82%,
    #1B1E26 100%
  );
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.36),
    inset -1px -1.5px 0 rgba(0, 0, 0, 0.65),
    -24px 32px 64px rgba(0, 0, 0, 0.62),
    -6px 10px 22px rgba(0, 0, 0, 0.38);
  transform: rotate(-4deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.24s var(--ease-out);
  will-change: transform;
}

.exp-panel:hover .phone-device {
  transform: rotate(-2.5deg) translateY(-10px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* Side Hardware Buttons */
.iphone-btn {
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #5A606D 0%, #2A2E38 50%, #4A505D 100%);
  pointer-events: none;
}

.iphone-btn-action {
  left: -3px;
  top: 17%;
  height: 22px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn-vol-up {
  left: -3px;
  top: 24.5%;
  height: 40px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn-vol-down {
  left: -3px;
  top: 33.5%;
  height: 40px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn-power {
  right: -3px;
  top: 27%;
  height: 58px;
  border-radius: 0 2px 2px 0;
}

.iphone-bezel {
  width: 100%;
  height: 100%;
  padding: 9px;
  border-radius: 42px;
  background-color: #07080B;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  padding: 12px 14px 12px;
  background-color: var(--screen-bg, var(--ink-raised));
  color: var(--screen-text, var(--text-light));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-status-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  margin-bottom: 12px;
  color: var(--screen-text, var(--text-light));
}

.phone-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  justify-self: start;
}

.phone-dynamic-island {
  position: relative;
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background-color: #06070A;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
}

.phone-island-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2E4266 0%, #101521 55%, #05060A 100%);
  box-shadow: inset 0 0 1.5px rgba(130, 175, 255, 0.45);
}

.phone-status-icons {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
}

.phone-safe-area {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.phone-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-status-chip {
  padding: 5px 8px;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.phone-status-chip.is-current {
  background-color: rgba(15, 17, 23, 0.72);
  border-color: rgba(39, 163, 155, 0.6);
  color: var(--sand);
}

.phone-status-chip.is-prior {
  background-color: rgba(15, 17, 23, 0.16);
  border-color: currentColor;
  color: var(--screen-text, var(--text-light));
  opacity: 0.85;
}

.phone-tiles {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.phone-tile {
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  background-color: var(--screen-tile-bg, rgba(15, 17, 23, 0.18));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-tile-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.phone-tile-label {
  font-size: 0.82rem;
  line-height: 1.28;
  font-weight: 500;
  opacity: 0.94;
}

.phone-tile-single {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.phone-home-indicator {
  position: relative;
  z-index: 2;
  width: 38%;
  height: 4px;
  border-radius: 999px;
  background-color: var(--screen-text, var(--text-light));
  opacity: 0.4;
  margin: auto auto 2px;
}

.phone-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    128deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 36%,
    rgba(255, 255, 255, 0) 56%
  );
}

/* ==========================================================================
   Experience Bottom Sheet Dialog
   ========================================================================== */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  background-color: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 16px 0;
  opacity: 0;
  transition: opacity 0.24s var(--ease-out);
}

.sheet-backdrop.is-open {
  opacity: 1;
}

.sheet-dialog {
  --sheet-brand: var(--coral);
  --sheet-brand-rgb: 255, 94, 69;
  --sheet-accent-text: var(--coral);
  width: 100%;
  max-width: 860px;
  max-height: 90dvh;
  background-color: var(--ink-panel);
  color: var(--text-light);
  border: 1px solid var(--line-dark-strong);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(36px);
  transition: transform 0.3s var(--ease-out);
}

.sheet-backdrop.is-open .sheet-dialog {
  transform: translateY(0);
}

.sheet-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 36px) 15px;
  border-bottom: 1px solid var(--line-dark);
  flex-shrink: 0;
}

.sheet-number {
  display: inline-flex;
  align-items: center;
}

.sheet-close {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.sheet-close:hover {
  background-color: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}

.sheet-scroll {
  overflow-y: auto;
  padding: 0 clamp(20px, 4vw, 36px) clamp(24px, 4vw, 36px);
  flex: 1;
}

.sheet-header {
  position: relative;
  margin-inline: calc(clamp(20px, 4vw, 36px) * -1);
  margin-bottom: 26px;
  padding: clamp(24px, 4vw, 34px) clamp(20px, 4vw, 36px) 24px;
  background-image:
    radial-gradient(circle at 92% 16%, rgba(var(--sheet-brand-rgb), 0.24) 0%, rgba(var(--sheet-brand-rgb), 0) 58%),
    linear-gradient(180deg, rgba(var(--sheet-brand-rgb), 0.14) 0%, rgba(24, 27, 36, 0) 100%);
  border-bottom: 1px solid var(--line-dark);
}

.sheet-company {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-light);
}

.sheet-role {
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--sand);
}

.sheet-dates-location {
  margin-top: 4px;
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* Outcome-focused Detail Layout (DoorDash) */
.sheet-detail-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.sheet-scope {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--sand);
}

.sheet-org {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.sheet-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
}

.sheet-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sheet-kpi-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--positive);
}

.sheet-kpi-item.is-neutral .sheet-kpi-value {
  color: var(--sand);
}

.sheet-kpi-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.sheet-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sheet-impact-card {
  /* Stat tint comes from the positive token, never the company brand color */
  --stat-rgb: var(--positive-rgb);
  --stat-tint: 0.08;
  --stat-glow: 0.14;
  --stat-edge: 0.55;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background-color: rgba(32, 36, 47, 0.72);
  background-image:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 20%), rgba(var(--stat-rgb), var(--stat-glow)), transparent 72%),
    linear-gradient(165deg, rgba(var(--stat-rgb), var(--stat-tint)) 0%, rgba(24, 27, 36, 0.6) 65%);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: sheetCardIn 0.42s var(--ease-out) calc(var(--stagger-idx, 0) * 60ms) forwards;
}

/* Neutral tone: sand number, no color tint */
.sheet-impact-card.is-neutral {
  --stat-rgb: 245, 241, 234;
  --stat-tint: 0;
  --stat-glow: 0.05;
  --stat-edge: 0.16;
}

.sheet-impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(var(--stat-rgb), var(--stat-edge)) 0%, rgba(245, 241, 234, 0.06) 55%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes sheetCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sheet-impact-metric {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--positive);
}

.sheet-impact-card.is-neutral .sheet-impact-metric {
  color: var(--sand);
}

.sheet-impact-metric-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sheet-impact-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--sand);
}

.sheet-impact-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.84);
}

.sheet-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 17, 23, 0.65);
  border: 1px solid var(--line-dark-strong);
}

.sheet-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 48ch;
}

.sheet-teaser-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-teaser-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 94, 69, 0.14);
  border: 1px solid rgba(255, 94, 69, 0.35);
  color: var(--coral);
  flex-shrink: 0;
}

.sheet-teaser-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.25;
  color: var(--sand);
}

.sheet-teaser-body {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Carvana Role Tabs */
.sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.sheet-tab {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.sheet-tab:hover {
  color: var(--text-light);
  border-color: var(--line-dark-strong);
}

.sheet-tab[aria-selected="true"] {
  background-color: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.sheet-tab-dates {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 2px;
}

.sheet-takeaways {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.sheet-takeaway {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
  color: var(--text-light);
  line-height: 1.55;
}

.sheet-takeaway strong {
  color: var(--sand);
  font-weight: 700;
  margin-right: 4px;
}

.sheet-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(244, 235, 221, 0.08);
  border: 1px solid var(--line-dark);
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 500;
}

.sheet-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px clamp(20px, 4vw, 36px) 20px;
  border-top: 1px solid var(--line-dark);
  background-color: var(--ink-panel);
  flex-shrink: 0;
}

.sheet-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark);
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.sheet-nav-next {
  align-items: flex-end;
  text-align: right;
}

.sheet-nav-btn:hover {
  border-color: var(--coral);
  background-color: #252A37;
}

.sheet-nav-dir {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sheet-nav-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
}

/* ==========================================================================
   3. Who I Am (Sand Band)
   ========================================================================== */

.who-section {
  padding-block: clamp(48px, 5.5vw, 84px);
}

.section-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.who-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.04em;
}

.who-line {
  display: block;
}

.who-line-accent {
  position: relative;
  display: inline-block;
  color: #CF4F3C;
  color: color-mix(in srgb, var(--coral) 80%, var(--ink) 20%);
  padding-bottom: 12px;
}

.who-underline-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  color: currentColor;
  overflow: visible;
  pointer-events: none;
}

.who-underline-path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 0.9s var(--ease-out) 0.25s;
}

.who-top.is-visible .who-underline-path {
  stroke-dashoffset: 0;
}

.who-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(28px, 3.6vw, 42px);
}

.who-main {
  max-width: 820px;
}

.who-copy {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
  color: var(--text-dark);
}

.tagalog-callout {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.lagoon-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--lagoon);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.tagalog-note {
  color: var(--text-dark-muted);
  font-weight: 500;
  max-width: 56ch;
}

/* Marquee (Two Opposing Rows of Interactive Chips) */
.marquee-block {
  padding-block: 22px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.marquee-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark-muted);
  margin-bottom: 14px;
}

.marquee-viewport {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 8px;
}

.marquee-row-wrap {
  overflow: hidden;
  width: 100%;
  padding-block: 6px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-track--reverse {
  animation: marqueeScrollReverse 38s linear infinite;
}

.marquee-row-wrap:hover .marquee-track,
.marquee-row-wrap:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: rotate(var(--chip-rot, 0deg));
  transition: transform 0.24s var(--ease-spring), box-shadow 0.24s var(--ease-out);
  cursor: default;
}

.marquee-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marquee-item[data-chip-tone="ink"] {
  background-color: var(--ink);
  color: var(--sand);
  border: 1.5px solid var(--ink);
  --chip-shadow: rgba(15, 17, 23, 0.28);
}

.marquee-item[data-chip-tone="coral"] {
  background-color: var(--coral);
  color: var(--ink);
  border: 1.5px solid var(--coral);
  --chip-shadow: rgba(255, 94, 69, 0.4);
}

.marquee-item[data-chip-tone="lagoon"] {
  background-color: var(--lagoon);
  color: var(--ink);
  border: 1.5px solid var(--lagoon);
  --chip-shadow: rgba(39, 163, 155, 0.4);
}

.marquee-item[data-chip-tone="outline"] {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  --chip-shadow: rgba(15, 17, 23, 0.22);
}

.marquee-item:hover,
.marquee-item:focus-visible {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 0 10px 24px var(--chip-shadow, rgba(15, 17, 23, 0.2));
}

/* How I lead (Numbered Ink Cards on Sand) */
.leadership-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark-muted);
  margin-bottom: 16px;
}

.leadership-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
}

.leadership-item {
  background-color: var(--ink);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid rgba(15, 17, 23, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.leadership-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 17, 23, 0.22);
}

.leadership-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--coral);
}

.leadership-item-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--sand);
}

.leadership-item-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 235, 221, 0.82);
}

/* ==========================================================================
   4. Industries (Ink Band, Interactive Accordion)
   ========================================================================== */

.industries-section {
  padding-block: clamp(56px, 6vw, 96px);
}

.section-intro {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-title-muted {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--text-muted);
}

.industries-list {
  border-top: 1px solid var(--line-dark);
}

.industry-row {
  border-bottom: 1px solid var(--line-dark);
  transition: border-color 0.25s var(--ease-out);
}

.industry-row.is-open {
  border-bottom-color: var(--line-dark-strong);
}

.industry-trigger {
  width: 100%;
  display: block;
  text-align: left;
  padding-block: clamp(20px, 2.8vw, 32px);
}

.industry-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.industry-head-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.industry-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-light);
  transition: color 0.25s var(--ease-out);
}

.industry-detail {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.45;
}

.industry-indicator {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  color: var(--text-muted);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.industry-trigger:hover .industry-label,
.industry-trigger:focus-visible .industry-label,
.industry-row.is-open .industry-label {
  color: var(--coral);
}

.industry-trigger:hover .industry-indicator,
.industry-trigger:focus-visible .industry-indicator,
.industry-row.is-open .industry-indicator {
  background-color: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}

.industry-row.is-open .industry-indicator {
  transform: rotate(45deg);
}

.industry-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}

.industry-row.is-open .industry-panel {
  grid-template-rows: 1fr;
}

.industry-panel-inner {
  overflow: hidden;
}

.industry-panel-body {
  padding-bottom: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.industry-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 72ch;
}

.industry-point {
  position: relative;
  padding-left: 18px;
  color: var(--sand);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.industry-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--coral);
}

.industry-meta-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding-top: 8px;
}

.industry-meta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-meta-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-company-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark-strong);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.industry-company-pill:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
  background-color: var(--ink-raised);
}

.industry-platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background-color: rgba(245, 241, 234, 0.05);
  border: 1px solid var(--line-dark);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ==========================================================================
   Brand Logo System (Shared across Experience, Toolkit, Industries, Endorsements)
   ========================================================================== */

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo--tile {
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.brand-logo--tile.brand-logo--xs {
  padding: 4px 6px;
}

.brand-logo--tile.brand-logo--sm {
  padding: 8px 10px;
  min-width: 42px;
  min-height: 40px;
}

.brand-logo--tile.brand-logo--md {
  padding: 8px 10px;
  min-height: 40px;
}

.brand-logo--tile.brand-logo--lg {
  padding: 9px 12px;
  min-height: 48px;
}

.brand-logo--tile-light {
  background-color: var(--sand);
  box-shadow: 0 2px 10px rgba(15, 17, 23, 0.14);
}

.brand-logo--tile-dark {
  background-color: var(--ink);
  border: 1px solid rgba(245, 241, 234, 0.16);
  box-shadow: 0 2px 10px rgba(15, 17, 23, 0.24);
}

.brand-logo-img {
  display: block;
  width: auto;
  height: var(--logo-h, 24px);
  max-width: var(--logo-max-w, 136px);
  object-fit: contain;
}

.brand-logo--xs {
  --logo-h: 16px;
  --logo-max-w: 68px;
}

.brand-logo--sm {
  --logo-h: 22px;
  --logo-max-w: 108px;
}

.brand-logo--md {
  --logo-h: 24px;
  --logo-max-w: 118px;
}

.brand-logo--lg {
  --logo-h: 30px;
  --logo-max-w: 168px;
}

.brand-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--logo-color, currentColor);
}

.brand-logo-monogram {
  display: inline-grid;
  place-items: center;
  width: var(--logo-h, 24px);
  height: var(--logo-h, 24px);
  border-radius: var(--radius-sm);
  background-color: var(--logo-badge-bg, rgba(245, 241, 234, 0.12));
  border: 1px solid var(--logo-badge-border, rgba(245, 241, 234, 0.2));
  color: var(--logo-badge-text, currentColor);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(var(--logo-h, 24px) * 0.56);
  flex-shrink: 0;
}

.brand-logo-wordmark {
  font-size: calc(var(--logo-h, 24px) * 0.65);
  white-space: nowrap;
}

.phone-brand-logo {
  display: inline-flex;
  align-items: center;
}

.phone-brand-logo .brand-logo-fallback {
  color: var(--screen-text, var(--text-light));
}

.phone-brand-logo .brand-logo-monogram {
  background-color: var(--screen-tile-bg, rgba(15, 17, 23, 0.18));
  border-color: currentColor;
  color: var(--screen-text, var(--text-light));
}

.sheet-logo-wrap {
  margin-bottom: 14px;
}

/* ==========================================================================
   5. What I'm Building (Full-Bleed Coral Band + Noise and Dot Texture)
   ========================================================================== */

.building-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 6vw, 96px);
}

.building-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='rgba(15,17,23,0.10)'/%3E%3C/svg%3E");
  background-size: 140px 140px, 24px 24px;
}

.building-section > .container {
  position: relative;
  z-index: 1;
}

.building-header {
  max-width: 820px;
  margin-bottom: clamp(28px, 3.6vw, 44px);
}

.building-lead {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 46ch;
}

.building-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 24px);
  margin-bottom: clamp(28px, 3.6vw, 40px);
}

.building-card {
  background-color: var(--ink);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 28px);
  border: 1px solid rgba(15, 17, 23, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(15, 17, 23, 0.18);
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.building-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 17, 23, 0.28);
}

.building-card-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--coral);
}

.building-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.18rem, 1.65vw, 1.4rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--sand);
}

.building-card-body {
  color: rgba(244, 235, 221, 0.84);
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.55;
}

.building-card-leverage {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.building-leverage-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(39, 163, 155, 0.16);
  border: 1px solid rgba(39, 163, 155, 0.38);
  color: var(--lagoon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.building-leverage-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.38;
}

/* Proven Leverage Proof Strip */
.proof-strip {
  background-color: rgba(15, 17, 23, 0.10);
  border: 1.5px solid rgba(15, 17, 23, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(28px, 3.6vw, 40px);
}

.proof-strip-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.proof-stat-label {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.proof-stat-company {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
}

/* Phone-style App Dock */
.toolkit-dock {
  background-color: var(--ink);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.8vw, 38px);
  box-shadow: 0 24px 60px rgba(15, 17, 23, 0.24);
}

.dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dock-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.dock-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dock-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-group-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dock-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.dock-tile {
  min-height: 98px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.24s var(--ease-out), border-color 0.24s var(--ease-out), background-color 0.24s var(--ease-out);
}

.dock-tile:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
  background-color: var(--ink-raised);
}

.dock-tile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dock-tile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-light);
}

.dock-tile-caption {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Optional Side Projects */
.side-projects {
  margin-top: 40px;
}

.side-projects-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--ink);
}

.side-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.side-project-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 17, 23, 0.08);
  border: 1.5px solid rgba(15, 17, 23, 0.2);
  color: var(--ink);
}

/* ==========================================================================
   6. Licenses & Certifications (Sand Band)
   ========================================================================== */

.credentials-section {
  padding-block: clamp(48px, 5.5vw, 84px);
}

.credentials-header {
  max-width: 760px;
  margin-bottom: clamp(24px, 3.2vw, 38px);
}

.credentials-heading {
  color: var(--text-dark);
}

.credentials-subhead {
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 500;
  color: var(--text-dark-muted);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 24px);
}

.credential-card {
  background-color: var(--ink);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(15, 17, 23, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 34px rgba(15, 17, 23, 0.14);
}

.credential-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.credential-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 94, 69, 0.14);
  border: 1px solid rgba(255, 94, 69, 0.32);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.credential-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--sand);
}

.credential-issuer {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--lagoon);
}

.credential-issued {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.credential-id-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.credential-id-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.credential-id-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.credential-id-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  color: var(--text-light);
  word-break: break-all;
}

.credential-copy-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.credential-copy-btn {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark-strong);
  color: var(--sand);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.credential-copy-btn:hover {
  border-color: var(--coral);
  background-color: var(--coral);
  color: var(--ink);
}

.credential-copy-status {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lagoon);
}

/* ==========================================================================
   7. Let's Talk About It (Ink Band, Interactive Form) and Footer
   ========================================================================== */

.contact-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 6.5vw, 96px);
}

.contact-thankyou {
  position: relative;
  text-align: center;
  padding-block: clamp(16px, 3vw, 36px) clamp(44px, 6vw, 76px);
  margin-bottom: clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line-dark);
  isolation: isolate;
}

.contact-thankyou::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 68% at 50% 48%,
    rgba(39, 163, 155, 0.16) 0%,
    rgba(39, 163, 155, 0.04) 48%,
    rgba(39, 163, 155, 0) 76%
  );
}

.thankyou-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--sand);
}

.thankyou-caption {
  margin: clamp(16px, 2vw, 24px) auto 0;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--text-light);
  max-width: 44ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-content {
  max-width: 580px;
}

.contact-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.contact-copy {
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 28px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-error-summary {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 94, 69, 0.14);
  border: 1px solid var(--coral);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.form-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sand);
}

.field-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.field-hint.is-ready {
  color: var(--lagoon);
}

.form-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-raised);
  border: 1.5px solid var(--line-dark);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.form-input::placeholder {
  color: rgba(154, 160, 174, 0.65);
}

.form-input:hover {
  border-color: var(--line-dark-strong);
}

.form-input:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 2px;
  border-color: var(--lagoon);
}

.form-input[aria-invalid="true"] {
  border-color: var(--coral);
  background-color: rgba(255, 94, 69, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23F4EBDD' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 112px;
}

.field-error {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--coral);
  line-height: 1.35;
}

.form-submit-btn {
  width: 100%;
  margin-top: 4px;
}

.form-submit-btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.form-microcopy {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

/* Contact Success State */
.contact-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 12px;
}

.contact-success-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  color: var(--sand);
}

.contact-success-body {
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.copy-status {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lagoon);
  min-height: 1.2em;
}

/* Live Mini Clocks */
.clocks-strip {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.clocks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.clock-card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.clock-city {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-muted);
}

.clock-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-inner {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 18px;
}

.footer-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 2px;
  border-radius: 8px;
  transition: color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.footer-credit:hover {
  color: var(--sand);
}

.footer-credit:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  color: var(--sand);
}

.footer-credit-label {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.footer-logo-picture {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Scroll Reveals
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Noscript fallback */
.noscript-banner {
  padding: 20px;
  background-color: var(--coral);
  color: var(--ink);
  text-align: center;
  font-weight: 500;
}

.print-only {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints (tested at 375, 768, 1280, 1440, 1920 px)
   ========================================================================== */

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-headline {
    font-size: clamp(3rem, 7.6vw, 5.4rem);
  }

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

  .building-items {
    grid-template-columns: 1fr;
  }

  .proof-strip-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .hero-headline {
    font-size: clamp(3rem, 12vw, 4.75rem);
    line-height: 1.04;
  }

  .hero-word {
    display: block;
    margin-right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    padding: 40px 12px 20px;
  }

  .photo-stage {
    width: min(100%, 310px);
  }

  .hand-note {
    top: -56px;
    left: -8px;
  }

  .sticker-chip[data-tone="sand"] {
    right: -12px;
  }

  .sticker-chip[data-tone="coral"] {
    left: -12px;
  }

  .exp-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px 0;
    gap: 24px;
  }

  .exp-left {
    padding-right: 0;
    gap: 24px;
  }

  .exp-phone-stage {
    height: 390px;
    min-height: 0;
    padding-top: 12px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }

  .phone-device {
    position: relative;
    top: 0;
    right: auto;
    bottom: auto;
    margin-top: 0;
    width: min(100%, 272px);
    transform: rotate(-2deg);
  }

  .exp-panel:hover .phone-device {
    transform: rotate(-1deg) translateY(-6px);
  }

  .who-top {
    flex-direction: column;
  }

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

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

  /* Mobile bottom sheet fills most of the screen */
  .sheet-backdrop {
    padding: 12px 0 0;
  }

  .sheet-dialog {
    max-height: 92dvh;
    border-inline: 0;
  }

  .sheet-impact-grid {
    grid-template-columns: 1fr;
  }

  .sheet-kpi-strip {
    grid-template-columns: 1fr;
  }

  .sheet-teaser-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .brand-role {
    display: none;
  }

  .leadership-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .dock-tile {
    min-height: 86px;
    padding: 12px 13px;
  }

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

  .exp-panel {
    padding: 24px 18px 0;
  }

  .exp-phone-stage {
    height: 365px;
    padding-top: 10px;
  }

  .phone-device {
    width: min(100%, 256px);
    border-radius: 42px;
  }

  .iphone-bezel {
    border-radius: 38px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 30px;
    padding: 10px 12px 10px;
  }

  .phone-dynamic-island {
    width: 76px;
    height: 22px;
  }
}

/* ==========================================================================
   Reduced Motion & High Contrast
   ========================================================================== */

@media (prefers-contrast: more) {
  .experience-section::before,
  .building-section::before,
  .endorsements-section::before,
  .contact-thankyou::before {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-word,
  .hand-note,
  .sticker-chip,
  .photo-layer-coral,
  .photo-layer-lagoon,
  .status-live-dot,
  .sheet-impact-card {
    animation: none !important;
    opacity: 1 !important;
  }

  .hero-word,
  .sheet-impact-card {
    transform: none !important;
  }

  .phone-device,
  .exp-panel:hover .phone-device {
    transform: none !important;
  }

  .photo-layer-coral {
    transform: translate(16px, 16px) !important;
  }

  .photo-layer-lagoon {
    transform: translate(-14px, -14px) !important;
  }

  .sticker-chip {
    transform: rotate(var(--sticker-rot, 0deg)) !important;
  }

  .who-underline-path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-viewport {
    gap: 10px;
  }

  .marquee-row-wrap {
    overflow: visible;
    padding-block: 0;
  }

  .marquee-track,
  .marquee-track--reverse {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    transform: none !important;
  }

  .marquee-item {
    transform: none !important;
  }

  .marquee-item:hover,
  .marquee-item:focus-visible {
    transform: none !important;
  }

  .marquee-item[aria-hidden="true"] {
    display: none;
  }

  .leadership-item:hover,
  .building-card:hover {
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Print Stylesheet (Clean One-Page Executive Summary)
   ========================================================================== */

@media print {
  @page {
    margin: 0.5in;
    size: letter portrait;
  }

  * {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 10pt;
    line-height: 1.35;
  }

  .skip-link,
  .site-header,
  .mobile-menu,
  .hero-visual,
  .hero-actions,
  .status-pill,
  .experience-list,
  .marquee-block,
  .clocks-strip,
  .contact-thankyou,
  .contact-actions,
  .contact-form-card,
  .credential-copy-btn,
  .credential-copy-status,
  .sheet-backdrop,
  .reader-backdrop,
  .bentley-polaroid,
  .industry-indicator,
  .experience-section::before,
  .building-section::before,
  .endorsements-section::before,
  .who-underline-svg {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .band,
  .hero-section,
  .experience-section,
  .who-section,
  .industries-section,
  .building-section,
  .credentials-section,
  .contact-section,
  .site-footer {
    padding: 0 !important;
    margin-bottom: 12pt !important;
  }

  .hero-headline {
    font-size: 20pt !important;
    margin-bottom: 4pt !important;
  }

  .hero-word {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-grid,
  .contact-layout {
    display: block !important;
  }

  .hero-subline,
  .hero-intro {
    font-size: 10pt !important;
    margin-bottom: 4pt !important;
  }

  .section-display,
  .contact-display {
    font-size: 13pt !important;
    margin-bottom: 4pt !important;
  }

  .experience-subhead {
    font-size: 9pt !important;
    margin-bottom: 6pt !important;
  }

  .print-only {
    display: block !important;
  }

  .print-role {
    margin-bottom: 8pt;
    page-break-inside: avoid;
  }

  .print-role-header {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10.5pt;
  }

  .print-role-bullets {
    margin-top: 2pt;
    padding-left: 14pt;
    list-style: disc;
  }

  .print-role-bullets li {
    margin-bottom: 2pt;
  }

  .leadership-row,
  .building-items,
  .credentials-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8pt !important;
  }

  .leadership-item,
  .building-card,
  .credential-card {
    border: 0 !important;
    border-top: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 4pt 0 0 !important;
    font-size: 9.5pt !important;
  }

  .industry-row {
    padding: 4pt 0 !important;
    border-bottom: 0.5pt solid #ccc !important;
  }

  .industry-trigger {
    padding: 0 !important;
  }

  .industry-label {
    font-size: 10.5pt !important;
  }

  .industry-panel {
    display: block !important;
  }

  .industry-detail {
    padding-top: 2pt !important;
    font-size: 9.5pt !important;
  }

  .toolkit-dock {
    padding: 6pt 0 !important;
  }

  .dock-tiles {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6pt !important;
  }

  .dock-tile {
    min-height: 0 !important;
    padding: 2pt 6pt !important;
    border: 0.5pt solid #999 !important;
    font-size: 8.5pt !important;
  }

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

/* ==========================================================================
   Endorsements (Ink Band: Atmospheric Blobs, Voices Rail & Detail Reader)
   ========================================================================== */

.endorsements-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 6vw, 96px);
  border-bottom: 1px solid var(--line-dark);
}

.endorsements-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 24%, rgba(255, 94, 69, 0.10) 0%, rgba(255, 94, 69, 0) 44%),
    radial-gradient(circle at 86% 74%, rgba(39, 163, 155, 0.10) 0%, rgba(39, 163, 155, 0) 46%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='2' cy='2' r='1.35' fill='rgba(245,241,234,0.035)'/%3E%3C/svg%3E");
  background-size: auto, auto, 28px 28px;
}

.endorsements-section > .container {
  position: relative;
  z-index: 1;
}

.endorsements-header {
  max-width: 820px;
  margin-bottom: clamp(24px, 3.2vw, 38px);
}

.endorsements-heading {
  color: var(--text-light);
}

.endorsements-subhead {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 58ch;
}

/* AI Consensus Card */
.endorsements-consensus {
  position: relative;
  overflow: hidden;
  background-color: rgba(24, 27, 36, 0.84);
  background-image: linear-gradient(
    165deg,
    rgba(245, 241, 234, 0.04) 0%,
    rgba(24, 27, 36, 0.7) 60%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 36px);
  margin-bottom: clamp(22px, 3vw, 32px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.endorsements-consensus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--lagoon) 100%);
}

.endorsements-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.endorsements-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(39, 163, 155, 0.16);
  border: 1px solid rgba(39, 163, 155, 0.42);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
}

.badge-sparkle {
  color: var(--lagoon);
  flex-shrink: 0;
}

.endorsements-overview {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-light);
  max-width: 78ch;
}

.endorsements-filters,
.reader-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.endorsements-filters {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.endorsement-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(32, 36, 47, 0.76);
  border: 1px solid var(--line-dark);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.endorsement-filter-pill:hover {
  color: var(--text-light);
  border-color: var(--line-dark-strong);
}

.endorsement-filter-pill[aria-pressed="true"] {
  background-color: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.endorsement-filter-count {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.76;
}

/* Rail Controls */
.endorsements-rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.endorsements-live-status {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.rail-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rail-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
  background-color: var(--ink-panel);
  border: 1px solid var(--line-dark-strong);
  color: var(--text-light);
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.rail-nav-btn:hover:not(:disabled) {
  background-color: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}

.rail-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Compact Voices Rail */
.endorsements-rail-shell {
  position: relative;
  margin-inline: -4px;
}

.endorsements-rail-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 14px;
  width: 56px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 17, 23, 0) 0%, rgba(15, 17, 23, 0.92) 100%);
  z-index: 2;
}

.endorsements-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 48px 18px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-dark-strong) transparent;
}

.endorsements-rail::-webkit-scrollbar {
  height: 6px;
}

.endorsements-rail::-webkit-scrollbar-track {
  background: transparent;
}

.endorsements-rail::-webkit-scrollbar-thumb {
  background-color: var(--line-dark-strong);
  border-radius: 999px;
}

.rail-item {
  flex: 0 0 326px;
  scroll-snap-align: start;
  display: flex;
}

/* Premium Glass Endorsement Card */
.endorsement-card {
  --card-tone: var(--lagoon);
  --card-tone-rgb: 39, 163, 155;
  --mx: 50%;
  --my: 24%;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: rgba(24, 27, 36, 0.78);
  background-image:
    radial-gradient(280px circle at var(--mx) var(--my), rgba(var(--card-tone-rgb), 0.16), transparent 70%),
    linear-gradient(165deg, rgba(var(--card-tone-rgb), 0.12) 0%, rgba(24, 27, 36, 0.72) 56%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-top: 3px solid var(--card-tone);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  overflow: hidden;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.26s var(--ease-out);
  transition-delay: calc(var(--stagger-idx, 0) * 40ms);
}

.endorsement-card.is-visible {
  transition-delay: 0ms;
}

.endorsement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(var(--card-tone-rgb), 0.52) 0%,
    rgba(var(--card-tone-rgb), 0.12) 48%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.endorsement-card[data-tone="coral"] {
  --card-tone: var(--coral);
  --card-tone-rgb: 255, 94, 69;
}

.endorsement-card[data-tone="lagoon"] {
  --card-tone: var(--lagoon);
  --card-tone-rgb: 39, 163, 155;
}

.endorsement-card[data-tone="sand"] {
  --card-tone: var(--sand);
  --card-tone-rgb: 244, 235, 221;
}

.endorsement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--card-tone-rgb), 0.42);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.rail-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* Tone-Gradient Avatar Ring */
.endorsement-avatar-ring {
  --ring-tone: var(--lagoon);
  --ring-tone-2: rgba(244, 235, 221, 0.55);
  width: 42px;
  height: 42px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ring-tone) 0%, var(--ring-tone-2) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.endorsement-avatar-ring[data-tone="coral"] {
  --ring-tone: var(--coral);
}

.endorsement-avatar-ring[data-tone="lagoon"] {
  --ring-tone: var(--lagoon);
}

.endorsement-avatar-ring[data-tone="sand"] {
  --ring-tone: var(--sand);
  --ring-tone-2: rgba(255, 94, 69, 0.55);
}

.endorsement-avatar-ring.avatar-sm {
  width: 34px;
  height: 34px;
}

.endorsement-avatar-ring.avatar-lg {
  width: 48px;
  height: 48px;
}

.endorsement-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--ink-panel);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
}

.avatar-sm .endorsement-avatar-inner {
  font-size: 0.72rem;
}

.avatar-lg .endorsement-avatar-inner {
  font-size: 0.94rem;
}

.rail-card-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.endorsement-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--sand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-card-rel {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-card-badge-row {
  margin-bottom: 14px;
}

.endorsement-company-badge {
  --badge-rgb: 39, 163, 155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: var(--radius-sm);
  background-color: rgba(var(--badge-rgb), 0.14);
  border: 1px solid rgba(var(--badge-rgb), 0.34);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1.15;
  max-width: 100%;
}

.endorsement-company-badge[data-tone="coral"] {
  --badge-rgb: 255, 94, 69;
}

.endorsement-company-badge[data-tone="lagoon"] {
  --badge-rgb: 39, 163, 155;
}

.endorsement-company-badge[data-tone="sand"] {
  --badge-rgb: 244, 235, 221;
}

.endorsement-badge-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.endorsement-field-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: rgba(var(--badge-rgb), 0.2);
  color: var(--sand);
  flex-shrink: 0;
}

.endorsement-rel-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background-color: rgba(var(--card-tone-rgb, 39, 163, 155), 0.14);
  border: 1px solid rgba(var(--card-tone-rgb, 39, 163, 155), 0.38);
  color: var(--card-tone, var(--lagoon));
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.15;
}

.rail-card-body {
  position: relative;
  flex: 1;
  margin-bottom: 16px;
}

.endorsement-quote-mark {
  position: absolute;
  top: -22px;
  left: -4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: rgba(var(--card-tone-rgb), 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.rail-card-highlight {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.54;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--card-tone);
  transition: gap 0.2s var(--ease-out);
}

.endorsement-card:hover .rail-card-cta {
  gap: 10px;
}

.endorsements-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 3.2vw, 34px);
}

.endorsements-caption {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Endorsements Detail Reader Dialog
   ========================================================================== */

.reader-backdrop {
  position: fixed;
  inset: 0;
  z-index: 960;
  background-color: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.24s var(--ease-out);
}

.reader-backdrop.is-open {
  opacity: 1;
}

.reader-dialog {
  width: 100%;
  max-width: 1060px;
  height: min(86dvh, 780px);
  background-color: var(--ink-panel);
  color: var(--text-light);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
  transform: translateY(24px);
  transition: transform 0.28s var(--ease-out);
}

.reader-backdrop.is-open .reader-dialog {
  transform: translateY(0);
}

.reader-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-dark);
  flex-shrink: 0;
}

.reader-top-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.reader-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--sand);
}

.reader-counter {
  font-size: 0.88rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.reader-filters-bar {
  padding: 12px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-dark);
  background-color: rgba(15, 17, 23, 0.35);
  flex-shrink: 0;
}

.reader-body {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.reader-sidebar {
  border-right: 1px solid var(--line-dark);
  overflow-y: auto;
  padding: 12px;
  background-color: rgba(15, 17, 23, 0.28);
}

.reader-selector-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reader-selector-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-align: left;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.reader-selector-btn:hover {
  background-color: rgba(245, 241, 234, 0.05);
}

.reader-selector-btn.is-active {
  background-color: var(--ink-raised);
  border-color: var(--line-dark-strong);
}

.reader-selector-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.reader-selector-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader-selector-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader-main {
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
}

.reader-article {
  --card-tone: var(--lagoon);
  --card-tone-rgb: 39, 163, 155;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 62ch;
}

.reader-article[data-tone="coral"] {
  --card-tone: var(--coral);
  --card-tone-rgb: 255, 94, 69;
}

.reader-article[data-tone="lagoon"] {
  --card-tone: var(--lagoon);
  --card-tone-rgb: 39, 163, 155;
}

.reader-article[data-tone="sand"] {
  --card-tone: var(--sand);
  --card-tone-rgb: 244, 235, 221;
}

.reader-article-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.reader-quote-wrap {
  position: relative;
}

.reader-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--card-tone);
  opacity: 0.75;
  margin-bottom: 10px;
  user-select: none;
}

.reader-full-quote {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.72;
  color: var(--text-light);
}

.reader-author-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.reader-author-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reader-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--sand);
}

.reader-author-title {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.reader-author-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.reader-theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-theme-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(245, 241, 234, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.reader-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px clamp(20px, 3vw, 32px) 18px;
  border-top: 1px solid var(--line-dark);
  background-color: var(--ink-panel);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .reader-backdrop {
    padding: 0;
  }

  .reader-dialog {
    height: 100dvh;
    max-width: 100%;
    border-radius: 0;
    border: 0;
  }

  .reader-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .reader-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 16px;
  }

  .reader-selector-list {
    flex-direction: row;
    gap: 8px;
  }

  .reader-selector-item {
    flex: 0 0 auto;
  }

  .reader-selector-btn {
    width: auto;
    max-width: 220px;
    padding: 8px 12px;
  }
}

@media (max-width: 720px) {
  .rail-item {
    flex: 0 0 82vw;
  }

  .endorsements-rail {
    padding-right: 24px;
  }

  .endorsements-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .endorsement-card,
  .endorsement-card:hover {
    transform: none !important;
    transition: none !important;
  }

  .endorsements-rail {
    scroll-behavior: auto;
  }

  .reader-backdrop,
  .reader-dialog {
    transition: none !important;
  }
}

@media print {
  .endorsements-section {
    padding: 0 !important;
    margin-bottom: 12pt !important;
    border-bottom: 0 !important;
  }

  .endorsements-header {
    margin-bottom: 4pt !important;
  }

  .endorsements-subhead {
    margin-top: 2pt !important;
    font-size: 9pt !important;
  }

  .endorsements-consensus {
    padding: 4pt 0 !important;
    margin-bottom: 4pt !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .endorsements-consensus::before {
    display: none !important;
  }

  .endorsements-badge {
    padding: 0 !important;
    font-size: 9pt !important;
    font-weight: 700 !important;
  }

  .endorsements-overview {
    margin-top: 4pt !important;
    font-size: 9.5pt !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
  }

  .endorsements-filters,
  .endorsements-rail-controls,
  .endorsements-rail-shell,
  .endorsements-actions {
    display: none !important;
  }
}

/* ==========================================================================
   V6 Polish: Scroll Progress, Back to Top, Marquee Pause, Toolkit Stage,
   CLS Reservations, and Noscript Summary
   ========================================================================== */

/* 1. Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 600;
  background-color: var(--coral);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform;
}

/* 2. Back to Top Button */
.back-to-top {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--btt-lift, 0px));
  z-index: 480;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--coral);
  border: 1.5px solid rgba(245, 241, 234, 0.36);
  box-shadow: 0 12px 28px rgba(15, 17, 23, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--coral);
  background-color: var(--ink-raised);
  transform: translateY(-2px);
}

body.no-scroll .back-to-top {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* 3. Marquee Header & Pause Control */
.marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.marquee-header .marquee-label {
  margin-bottom: 0;
}

.marquee-pause-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 17, 23, 0.28);
  background-color: rgba(15, 17, 23, 0.05);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.marquee-pause-btn:hover {
  background-color: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
}

.marquee-pause-btn[aria-pressed="true"] {
  background-color: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
}

.marquee-viewport.is-paused .marquee-track {
  animation-play-state: paused !important;
}

/* 4. Optional-metric Experience Impact Cards */
.sheet-impact-card--no-metric {
  justify-content: flex-start;
  padding-top: 22px;
}

/* 5. Premium Redesign: My Toolkit Stage */
.toolkit-stage {
  position: relative;
  background-color: var(--ink);
  background-image:
    radial-gradient(520px circle at var(--mx, 20%) var(--my, 18%), rgba(255, 94, 69, 0.12), transparent 65%),
    radial-gradient(480px circle at 14% 12%, rgba(255, 94, 69, 0.14), transparent 62%),
    radial-gradient(520px circle at 88% 84%, rgba(39, 163, 155, 0.16), transparent 64%),
    radial-gradient(rgba(245, 241, 234, 0.055) 1px, transparent 1px);
  background-size: auto, auto, auto, 22px 22px;
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 28px 70px rgba(15, 17, 23, 0.34);
  overflow: hidden;
}

.toolkit-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 94, 69, 0.45) 0%,
    rgba(245, 241, 234, 0.14) 48%,
    rgba(39, 163, 155, 0.42) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Override coral band ink focus ring inside the ink toolkit stage */
.toolkit-stage :focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.toolkit-stage-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.toolkit-stage-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-light);
}

.toolkit-stage-subhead {
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.5;
}

.toolkit-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

/* Left: Spotlight Card */
.toolkit-spotlight {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: 22px;
  background-color: rgba(24, 27, 36, 0.88);
  background-image: radial-gradient(
    320px circle at 18% 12%,
    rgba(var(--tool-rgb, 255, 94, 69), 0.14),
    transparent 68%
  );
  border: 1px solid rgba(245, 241, 234, 0.13);
  transition: opacity 0.22s var(--ease-out);
}

.toolkit-spotlight.is-fading {
  opacity: 0;
}

.toolkit-spotlight-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.toolkit-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #FBF6EE 0%, var(--sand) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(15, 17, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.toolkit-logo-plate--lg {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  padding: 16px;
}

.toolkit-logo-plate--sm {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  padding: 8px;
}

.toolkit-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.toolkit-logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.02em;
}

.toolkit-spotlight-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.toolkit-spotlight-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(var(--tool-rgb, 255, 94, 69), 0.16);
  border: 1px solid rgba(var(--tool-rgb, 255, 94, 69), 0.36);
  color: var(--sand);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toolkit-spotlight-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.38rem, 2.1vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-light);
}

.toolkit-spotlight-blurb {
  font-size: 1.02rem;
  line-height: 1.58;
  color: rgba(245, 241, 234, 0.88);
}

.toolkit-used-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.toolkit-used-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.toolkit-company-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolkit-company-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background-color: var(--ink-raised);
  border: 1px solid var(--line-dark-strong);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-light);
}

.toolkit-ask-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-block: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--coral);
  transition: color 0.2s var(--ease-out);
}

.toolkit-ask-link:hover {
  color: var(--sand);
}

.toolkit-ask-link:hover .inline-arrow {
  transform: translateX(4px);
}

/* Right: Tabs + Bento Grid */
.toolkit-browser {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.toolkit-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px;
  border-radius: 999px;
  background-color: rgba(245, 241, 234, 0.05);
  border: 1px solid var(--line-dark);
  max-width: 100%;
}

.toolkit-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.toolkit-tab:hover {
  color: var(--text-light);
}

.toolkit-tab.is-active {
  background-color: var(--sand);
  color: var(--ink);
}

.toolkit-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: rgba(245, 241, 234, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  color: inherit;
}

.toolkit-tab.is-active .toolkit-tab-count {
  background-color: rgba(15, 17, 23, 0.12);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  transition: opacity 0.16s var(--ease-out);
}

.toolkit-grid.is-filtering {
  opacity: 0;
}

.toolkit-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 108px;
  padding: 15px 14px;
  border-radius: 16px;
  background-color: rgba(24, 27, 36, 0.86);
  border: 1.5px solid var(--line-dark);
  color: var(--text-light);
  text-align: left;
  transition:
    transform 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.toolkit-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 241, 234, 0.28);
  background-color: var(--ink-raised);
}

.toolkit-tile.is-selected {
  background-color: var(--ink-raised);
  border-color: rgba(var(--tool-rgb, 255, 94, 69), 0.92);
  box-shadow:
    0 0 0 2px rgba(var(--tool-rgb, 255, 94, 69), 0.32),
    0 12px 26px rgba(15, 17, 23, 0.38);
}

.toolkit-check-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--tool-color, var(--coral));
  box-shadow: 0 0 0 3px rgba(var(--tool-rgb, 255, 94, 69), 0.24);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.toolkit-tile.is-selected .toolkit-check-dot {
  opacity: 1;
  transform: scale(1);
}

.toolkit-tile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text-light);
}

/* 6. CLS Min-Height Reservations for JS-Hydrated Containers */
.hero-subline {
  min-height: 1.6em;
}

.hero-intro {
  min-height: 4.8em;
}

.experience-list {
  min-height: 360px;
}

.endorsements-rail {
  min-height: 260px;
}

.industries-list {
  min-height: 320px;
}

/* 7. Noscript Summary Styling */
.noscript-banner {
  background-color: var(--ink-panel);
  color: var(--text-light);
  border-top: 2px solid var(--coral);
  padding: 40px 0;
}

.noscript-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 72ch;
}

.noscript-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--sand);
}

.noscript-inner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--coral);
  margin-top: 8px;
}

.noscript-meta {
  color: var(--text-muted);
  font-weight: 500;
}

.noscript-roles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
  padding-left: 20px;
}

.noscript-links a {
  color: var(--coral);
  text-decoration: underline;
  font-weight: 500;
}

/* Responsive V6 Overrides */
@media (max-width: 960px) {
  .toolkit-layout {
    grid-template-columns: 1fr;
  }

  .toolkit-spotlight {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--btt-lift, 0px));
  }

  .marquee-pause-btn {
    min-height: 44px;
    padding: 8px 16px;
  }

  .toolkit-stage {
    padding: 22px 16px;
  }

  .toolkit-spotlight {
    padding: 20px 18px;
    gap: 16px;
  }

  .toolkit-logo-plate--lg {
    width: 72px;
    height: 72px;
    padding: 12px;
    border-radius: 16px;
  }

  .toolkit-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .toolkit-tabs::-webkit-scrollbar {
    display: none;
  }

  .toolkit-tab {
    scroll-snap-align: start;
  }

  .toolkit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .toolkit-tile {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 94px;
    padding: 12px 6px;
    gap: 8px;
    border-radius: 14px;
  }

  .toolkit-logo-plate--sm {
    width: 42px;
    height: 42px;
    padding: 7px;
  }

  .toolkit-tile-name {
    font-size: 0.78rem;
    line-height: 1.18;
    word-break: break-word;
  }

  .toolkit-check-dot {
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
  }
}

/* ==========================================================================
   V7 Additions: Carvana Tab Detail, AI Consensus Streaming, Mobile Footer Logo
   ========================================================================== */

.sheet-tab-title {
  display: block;
  font-weight: 600;
}

.sheet-tab-location {
  display: block;
  font-size: 0.78rem;
  opacity: 0.76;
  margin-top: 2px;
}

.sheet-tab-detail {
  margin-top: 0;
}

.endorsements-badge-row {
  justify-content: space-between;
}

.consensus-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 36px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.consensus-replay-btn:hover {
  color: var(--sand);
  border-color: var(--line-dark-strong);
  background-color: rgba(245, 241, 234, 0.06);
}

.consensus-replay-btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  color: var(--sand);
}

.endorsements-overview.is-streaming {
  cursor: pointer;
}

.endorsements-overview.is-streaming:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 6px;
  border-radius: 6px;
}

.consensus-thinking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.consensus-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.consensus-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--coral);
  opacity: 0.35;
  animation: consensusPulse 1.05s ease-in-out infinite;
}

.consensus-dot:nth-child(2) {
  animation-delay: 0.18s;
}

.consensus-dot:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes consensusPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.consensus-caret {
  display: inline-block;
  width: 2px;
  height: 1.08em;
  margin-left: 3px;
  vertical-align: -0.14em;
  background-color: var(--coral);
  border-radius: 1px;
  animation: consensusCaretBlink 0.72s steps(2, start) infinite;
  transition: opacity 0.38s var(--ease-out);
}

.consensus-caret.is-fading {
  animation: none;
  opacity: 0;
}

@keyframes consensusCaretBlink {
  0%, 49% {
    opacity: 0.9;
  }
  50%, 100% {
    opacity: 0.18;
  }
}

.endorsements-filters,
.endorsements-rail-controls,
.endorsements-rail-shell,
.endorsements-actions {
  transition: opacity 0.45s var(--ease-out);
}

.endorsements-filters.is-consensus-pending,
.endorsements-rail-controls.is-consensus-pending,
.endorsements-rail-shell.is-consensus-pending,
.endorsements-actions.is-consensus-pending {
  opacity: 0.14;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .footer-text {
    font-size: 0.88rem;
  }

  .footer-credit {
    gap: 8px;
  }

  .footer-credit-label {
    font-size: 0.82rem;
  }

  .footer-logo {
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .back-to-top,
  .toolkit-spotlight,
  .toolkit-grid,
  .toolkit-tile,
  .toolkit-check-dot,
  .endorsements-filters,
  .endorsements-rail-controls,
  .endorsements-rail-shell,
  .endorsements-actions,
  .consensus-caret {
    transition: none !important;
    animation: none !important;
  }

  .consensus-dot {
    animation: none !important;
    opacity: 0.8;
  }

  .endorsements-filters.is-consensus-pending,
  .endorsements-rail-controls.is-consensus-pending,
  .endorsements-rail-shell.is-consensus-pending,
  .endorsements-actions.is-consensus-pending {
    opacity: 1 !important;
  }

  .back-to-top,
  .back-to-top:hover,
  .toolkit-tile:hover {
    transform: none !important;
  }
}

/* 404 page */
.not-found-main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding-block: 64px;
}

.not-found-eyebrow {
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.not-found-copy {
  max-width: 44ch;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

@media print {
  .scroll-progress,
  .back-to-top,
  .marquee-pause-btn,
  .consensus-replay-btn {
    display: none !important;
  }
}

