/* Bobin Thomas — Portfolio design system */

:root {
  color-scheme: dark;
  --ink: #0c0c0e;
  --ink2: #111115;
  --cream: #f2ede6;
  --cream2: #e8e2d9;
  --muted: #7a7672;
  --rule: rgba(242, 237, 230, 0.1);
  --accent: #c8a96e;
  --accent2: #9b7d4a;
  --backdrop: rgba(12, 12, 14, 0.85);
  --nav-border: rgba(242, 237, 230, 0.2);
  --btn-ghost-border: rgba(242, 237, 230, 0.25);
  --hover-gold: rgba(200, 169, 110, 0.04);
  --stat-sub: rgba(122, 118, 114, 0.7);
  --work-badge-border: rgba(242, 237, 230, 0.2);
  --work-tag-border: rgba(122, 118, 114, 0.3);
  --mock-bar: rgba(242, 237, 230, 0.08);
  --mock-card-bg: rgba(242, 237, 230, 0.06);
  --mock-card-border: rgba(242, 237, 230, 0.06);
  --mock-metric: rgba(242, 237, 230, 0.05);
  --ai-num-strong: rgba(200, 169, 110, 0.32);
  --ai-num: rgba(200, 169, 110, 0.2);
  --text-link-border: rgba(242, 237, 230, 0.25);
  --watermark: rgba(255, 255, 255, 0.02);
  --philosophy-num: rgba(200, 169, 110, 0.15);
  --how-row-alt: rgba(200, 169, 110, 0.03);
  --lead-num: rgba(200, 169, 110, 0.15);
  --noise-opacity: 0.4;
  --btn-primary-bg: var(--cream);
  --btn-primary-fg: var(--ink);
  --btn-primary-hover-fg: var(--ink);
  --btn-ghost-hover: var(--cream);
  --nav-resume-hover-fg: var(--accent);
}

[data-theme="light"] {
  color-scheme: light;
  --ink: #f7f4ef;
  --ink2: #ebe4d8;
  --cream: #14120f;
  --cream2: #2c2823;
  --muted: #5c5650;
  --rule: rgba(20, 18, 15, 0.1);
  --accent: #7a5f2e;
  --accent2: #5c4a24;
  --backdrop: rgba(247, 244, 239, 0.9);
  --nav-border: rgba(20, 18, 15, 0.14);
  --btn-ghost-border: rgba(20, 18, 15, 0.2);
  --hover-gold: rgba(122, 95, 46, 0.08);
  --stat-sub: rgba(92, 86, 80, 0.75);
  --work-badge-border: rgba(20, 18, 15, 0.14);
  --work-tag-border: rgba(92, 86, 80, 0.28);
  --mock-bar: rgba(20, 18, 15, 0.1);
  --mock-card-bg: rgba(20, 18, 15, 0.06);
  --mock-card-border: rgba(20, 18, 15, 0.08);
  --mock-metric: rgba(20, 18, 15, 0.07);
  --ai-num-strong: rgba(122, 95, 46, 0.45);
  --ai-num: rgba(122, 95, 46, 0.28);
  --text-link-border: rgba(20, 18, 15, 0.18);
  --watermark: rgba(20, 18, 15, 0.035);
  --philosophy-num: rgba(122, 95, 46, 0.22);
  --how-row-alt: rgba(122, 95, 46, 0.06);
  --lead-num: rgba(122, 95, 46, 0.22);
  --noise-opacity: 0.22;
  --btn-primary-bg: #14120f;
  --btn-primary-fg: #f7f4ef;
  --btn-primary-hover-fg: #f7f4ef;
  --btn-ghost-hover: var(--cream);
  --nav-resume-hover-fg: var(--accent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: var(--noise-opacity);
}

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

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

/* —— Navigation —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.nav-logo__name {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav-logo__tag {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.nav-resume):not(.nav-pill-wrap) {
  font-family: Syne, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream2);
  transition: color 0.25s ease;
}

.nav-links a:not(.nav-resume):not(.nav-pill-wrap):hover,
.nav-links a:not(.nav-resume):not(.nav-pill-wrap).is-active {
  color: var(--accent);
}

.nav-resume {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--nav-border);
  padding: 7px 16px;
  border-radius: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-resume:hover {
  border-color: var(--accent);
  color: var(--nav-resume-hover-fg);
}

.nav-theme {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream2);
  background: transparent;
  border: 1px solid var(--nav-border);
  padding: 7px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.nav-theme:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-theme[aria-pressed="true"] {
  border-color: var(--accent2);
  color: var(--accent);
}

.nav-theme:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

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

.nav-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.nav-pill {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__copy {
  font-family: Syne, sans-serif;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.6;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__links a {
  font-family: Syne, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-footer__links a:hover {
  opacity: 1;
  color: var(--cream);
}

.site-footer__sep {
  opacity: 0.4;
  user-select: none;
}

/* —— Eyebrow —— */
.eyebrow {
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 64px;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 68px 48px 80px;
}

.hero-eyebrow {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

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

.hero-headline {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(64px, 9.5vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-headline .line-inner {
  display: block;
}

.hero-headline .line-inner em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-headline.is-animated .line-inner {
  animation: heroLineUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-headline .line:nth-child(1) .line-inner {
  animation-delay: 0.3s;
}

.hero-headline .line:nth-child(2) .line-inner {
  animation-delay: 0.45s;
}

.hero-headline .line:nth-child(3) .line-inner {
  animation-delay: 0.6s;
}

.hero-headline .line:nth-child(4) .line-inner {
  animation-delay: 0.75s;
}

@keyframes heroLineUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline:not(.is-animated) .line-inner {
  opacity: 0;
  transform: translateY(100%);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 48px;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 1s;
}

.hero-sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  padding: 14px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--btn-primary-hover-fg);
}

.btn-ghost {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--btn-ghost-border);
  padding: 14px 28px;
  border-radius: 2px;
  transition: border-color 0.25s ease;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--btn-ghost-hover);
}

/* —— Stat bar —— */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Keep all metrics in a consistent grid */
.stat-bar--editorial {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-bar__cell--lead {
  text-align: center;
  padding: 48px 16px;
  border-right: 1px solid var(--rule);
}

.stat-bar--editorial .stat-bar__cell--lead .stat-bar__value--lead {
  font-size: clamp(64px, 7.5vw, 104px);
  line-height: 0.95;
}

.stat-bar--editorial .stat-bar__cell--lead .stat-bar__label,
.stat-bar--editorial .stat-bar__cell--lead .stat-bar__sub {
  text-align: center;
}

.stat-bar__cell {
  text-align: center;
  padding: 48px 16px;
  border-right: 1px solid var(--rule);
  transition: background 0.3s ease;
}

.stat-bar__cell:last-child {
  border-right: none;
}

.stat-bar__cell:hover {
  background: var(--hover-gold);
}

.stat-bar__value {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 12px;
}

.stat-bar__label {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-bar__sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  font-style: italic;
  color: var(--stat-sub);
  margin: 0;
  line-height: 1.5;
}

.stat-bar--case-results {
  margin-top: 48px;
}

.case-section .stat-bar {
  margin-left: 0;
  margin-right: 0;
}

.next-case .eyebrow {
  margin-bottom: 16px;
}

/* —— Work section —— */
.section-work {
  padding: 120px 48px;
}

.section-work--page {
  padding-top: 0;
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-list.dim-hover .work-card {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.work-list.dim-hover .work-card:hover {
  opacity: 1;
}

.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding: 56px 0;
  color: inherit;
  transition: opacity 0.3s ease;
}

.work-card:last-child {
  border-bottom: 1px solid var(--rule);
}

.work-card__left {
  padding-right: 60px;
}

.work-card__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.work-badge {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream2);
  border: 1px solid var(--work-badge-border);
  padding: 5px 12px;
  border-radius: 2px;
}

.work-years {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

.work-role {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.work-card__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 20px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.work-tag {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--work-tag-border);
  padding: 4px 10px;
  border-radius: 2px;
}

.work-outcome {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 380px;
  margin: 0;
}

.work-outcome strong {
  color: var(--accent);
  font-weight: 400;
}

.work-card__sub-links {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.work-card__sub-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-card__sub-links a:hover {
  color: var(--cream);
}

.work-card__sub-links span {
  color: var(--muted);
  opacity: 0.4;
}

.work-card__arrow {
  font-family: Syne, sans-serif;
  font-size: 20px;
  color: var(--accent);
  margin-top: 32px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.work-card:hover .work-card__arrow {
  transform: translate(4px, -4px);
}

.work-card__right {
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-card__right--video {
  min-height: 0;
  background: #000;
  padding: 0;
}

.work-card__right--slideshow {
  min-height: 0;
  background: linear-gradient(180deg, #0a0f1e 0%, #0d1b3e 100%);
  padding: 0;
}

.work-slideshow {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.work-slideshow__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070e;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-slideshow__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.work-slideshow__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px 0;
}

.work-slideshow__counter {
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 3.5em;
  text-align: center;
}

.work-slideshow__btn {
  border: 1px solid rgba(242, 237, 230, 0.35);
  background: rgba(12, 12, 14, 0.55);
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.work-slideshow__btn:hover {
  background: rgba(12, 12, 14, 0.75);
  border-color: var(--accent);
}

.work-slideshow__btn--primary {
  border-color: rgba(205, 165, 97, 0.8);
}

.work-image-modal {
  position: fixed;
  inset: 0;
  z-index: 2001;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.work-image-modal[hidden] {
  display: none;
}

.work-image-modal__dialog {
  width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.work-image-modal__dialog .work-image-modal__close {
  align-self: flex-end;
}

.work-image-modal__close {
  flex-shrink: 0;
  border: 1px solid rgba(242, 237, 230, 0.35);
  background: rgba(12, 12, 14, 0.55);
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.work-image-modal__img {
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 900px);
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--rule);
  background: #000;
}

.work-video {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.work-video__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-video__controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.work-video__btn {
  border: 1px solid rgba(242, 237, 230, 0.35);
  background: rgba(12, 12, 14, 0.55);
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.work-video__btn:hover {
  background: rgba(12, 12, 14, 0.75);
  border-color: var(--accent);
}

.work-video__btn--primary {
  border-color: rgba(205, 165, 97, 0.8);
}

.work-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.work-video-modal[hidden] {
  display: none;
}

.work-video-modal__dialog {
  width: min(1100px, 100%);
  background: #050506;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.work-video-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(242, 237, 230, 0.35);
  background: transparent;
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.work-video-modal__media {
  width: 100%;
  max-height: min(78vh, 700px);
  display: block;
  border-radius: 6px;
  background: #000;
}

body.is-modal-open {
  overflow: hidden;
}


.mock-ui {
  width: 88%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-ui__bar {
  height: 8px;
  border-radius: 2px;
  background: var(--mock-bar);
}

.mock-ui__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-ui__card {
  height: 72px;
  border-radius: 2px;
  background: var(--mock-card-bg);
  border: 1px solid var(--mock-card-border);
}

.mock-ui__metrics {
  display: flex;
  gap: 8px;
}

.mock-ui__metric {
  flex: 1;
  height: 48px;
  border-radius: 2px;
  background: var(--mock-metric);
}

/* —— POV / Thinking —— */
.section-thinking {
  background: var(--ink2);
  padding: 120px 48px;
}

.thought-list.dim-hover .thought-item {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.thought-list.dim-hover .thought-item:hover {
  opacity: 1;
}

.thought-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  transition: padding-left 0.3s ease, opacity 0.3s ease;
}

.thought-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.thought-item:hover {
  padding-left: 8px;
}

.thought-slash {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.thought-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15;
  color: var(--cream);
  margin: 0;
}

.thought-text em {
  font-style: italic;
  color: var(--muted);
}

/* —— AI practice (editorial list) —— */
.section-ai {
  padding: 120px 48px;
}

.ai-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.ai-item {
  display: flex;
  align-items: flex-start;
  gap: 28px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease, padding-left 0.25s ease;
}

.ai-item:hover {
  background: var(--hover-gold);
  padding-left: 8px;
}

.ai-item--lead {
  padding-top: 40px;
  padding-bottom: 40px;
}

.ai-item--lead .ai-item__num {
  font-size: 56px;
  color: var(--ai-num-strong);
}

.ai-item--emphasis {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin-left: -2px;
}

.ai-item__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 44px;
  color: var(--ai-num);
  line-height: 1;
  flex-shrink: 0;
  min-width: 1.2em;
}

.ai-item__main {
  flex: 1;
  min-width: 0;
}

.ai-item__title {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 8px;
}

.ai-item__body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* —— Sectors —— */
.section-sectors {
  padding: 120px 48px;
}

.sectors-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-end;
  margin-bottom: 80px;
}

.sectors-headline {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  margin: 0;
  color: var(--cream);
}

.sectors-headline em {
  font-style: italic;
}

.sectors-intro {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}

.sector-grid.dim-hover .sector-item {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.sector-grid.dim-hover .sector-item:hover {
  opacity: 1;
}

.sector-item {
  background: var(--ink);
  padding: 36px 40px;
  border-left: 2px solid transparent;
  transition: border-left-color 0.25s ease, background 0.25s ease, padding-left 0.25s ease,
    opacity 0.3s ease;
}

.sector-item:hover {
  border-left-color: var(--accent);
  background: var(--hover-gold);
  padding-left: 48px;
}

.sector-item__name {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 6px;
}

.sector-item__detail {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* —— Contact CTA home —— */
.section-contact-cta {
  padding: 160px 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.section-contact-cta::before {
  content: "Let's";
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(120px, 22vw, 320px);
  color: var(--watermark);
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  white-space: nowrap;
}

.contact-cta-inner {
  position: relative;
  z-index: 1;
}

.contact-cta-inner--editorial {
  max-width: 640px;
  margin: 0;
}

.contact-cta-headline {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1;
  margin: 0;
  color: var(--cream);
}

.contact-cta-headline em {
  font-style: italic;
  color: var(--accent);
}

.contact-cta-sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 24px 0 56px;
  line-height: 1.75;
}

.contact-cta-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.text-link {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream2);
  border-bottom: 1px solid var(--text-link-border);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

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

/* —— Services (Off Menu–style: reel, two-col pillars, showcase cards) —— */
.page-services main {
  padding-bottom: 120px;
}

.services-hero {
  padding: 160px 48px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.services-hero .eyebrow {
  margin-bottom: 28px;
}

.services-hero__title {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  color: var(--cream);
}

.services-hero__title-line {
  display: block;
}

.services-hero__title-line--muted {
  color: var(--muted);
  font-weight: 500;
}

/* Rounded show reel (video + texture overlay, inspired by offmenu.design/services) */
.services-reel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink2);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.services-reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-reel__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.services-reel__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(circle at center, var(--cream) 0.5px, transparent 0.6px);
  background-size: 20px 20px;
}

.services-reel__mute {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 237, 230, 0.35);
  background: rgba(12, 12, 14, 0.55);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.services-reel__mute:hover {
  background: rgba(12, 12, 14, 0.75);
  border-color: var(--accent);
}

[data-theme="light"] .services-reel__mute {
  border-color: rgba(20, 18, 15, 0.2);
  background: rgba(247, 244, 239, 0.75);
  color: var(--cream);
}

.services-pillar {
  padding: 0 48px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.services-pillar__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  padding: 80px 0 0;
  align-items: start;
  border-top: 1px solid var(--rule);
}

.services-pillar__kicker {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.services-pillar__display {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0;
  max-width: 28ch;
}

.services-pillar__list-wrap {
  min-width: 0;
}

.services-pillar__label {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.services-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.services-list__item:hover {
  padding-left: 8px;
  background: var(--hover-gold);
}

.services-list__title {
  font-family: Syne, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--cream);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.services-list__num {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0.95;
}

/* Two-up showcase cards (Resonant / Utility–style) */
.services-pillar__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  padding: 48px 0 100px;
}

.services-showcase-card {
  margin: 0;
}

.services-showcase-card__frame {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mock-card-bg);
  border: 1px solid var(--mock-card-border);
}

.services-showcase-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.services-showcase-card:hover .services-showcase-card__frame img {
  transform: scale(1.03);
}

.services-showcase-card figcaption {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

.services-float-cta {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-float-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.services-float-cta__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}

.services-help {
  padding: 0 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.services-help__inner {
  border-top: 1px solid var(--rule);
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px 48px;
  align-items: start;
}

.services-help__lead {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
  max-width: 360px;
}

.services-help__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

a.services-help__pill {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--work-tag-border);
  color: var(--cream2);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

a.services-help__pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--hover-gold);
}

.services-help__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-help__links a {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream2);
  border-bottom: 1px solid var(--text-link-border);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.services-help__links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.services-cta {
  padding: 80px 48px 120px;
  border-top: 1px solid var(--rule);
}

.services-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-cta__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 28px;
  color: var(--cream);
}

.services-cta__sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 42ch;
  line-height: 1.75;
}

.services-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}

@media (max-width: 900px) {
  .services-float-cta {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    justify-content: center;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
  }

  .services-float-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

@media (max-width: 600px) {
  .services-float-cta {
    font-size: 10px;
    padding: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-showcase-card:hover .services-showcase-card__frame img {
    transform: none;
  }
}

/* —— Page headers —— */
.page-header {
  padding: 160px 48px 80px;
}

.page-header__eyebrow {
  margin-bottom: 24px;
}

.page-header__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  margin: 0;
  color: var(--cream);
}

.page-header__title em {
  font-style: italic;
}

.page-header__subtitle {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 720px;
  line-height: 1.75;
}

.page-header__subtitle--lead {
  font-size: clamp(20px, 2.5vw, 32px);
  max-width: 800px;
}

.page-header .eyebrow {
  margin-bottom: 24px;
}

.page-header__title--case {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
}

/* —— Case study —— */
.case-section {
  padding: 80px 48px;
}

.case-section__inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.case-section__inner--after-stats {
  margin-top: 48px;
}

.case-section__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--cream);
  margin: 0 0 24px;
}

.case-label {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 32px 0 12px;
}

.case-label:first-of-type {
  margin-top: 0;
}

.case-body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cream);
  margin: 0 0 20px;
}

.case-body strong {
  color: var(--accent);
  font-weight: 600;
}

.case-list {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.case-list li {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cream);
  margin-bottom: 12px;
  padding-left: 0;
}

.pull-quote {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin: 48px 0;
  line-height: 1.4;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cream);
  vertical-align: top;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td:first-child {
  width: 38%;
  color: var(--cream2);
  font-style: italic;
}

.next-case {
  border-top: 1px solid var(--rule);
  padding: 64px 48px;
}

.next-case__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0;
}

.next-case__title a {
  color: var(--cream);
  transition: color 0.25s ease;
}

.next-case__title a:hover {
  color: var(--accent);
}

/* Case study — embedded video + related suite links */
.case-video {
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--rule);
}

.case-video__media {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.case-video__caption {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

.case-section--media-top {
  padding-top: 48px;
}

.case-related {
  padding: 56px 48px 0;
  border-top: 1px solid var(--rule);
}

.case-related__title {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.case-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-related__list a {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-related__list a:hover {
  color: var(--cream);
}

.next-case__cta {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* —— About —— */
.about-header {
  padding: 160px 48px 80px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: start;
}

.about-opening {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  color: var(--cream);
  max-width: 680px;
  margin-bottom: 32px;
}

.about-sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
}

.roles-targeting {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
  padding-left: 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  object-fit: cover;
  background: var(--ink2);
}

.philosophy-list.dim-hover .philosophy-item {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.philosophy-list.dim-hover .philosophy-item:hover {
  opacity: 1;
}

.philosophy-item {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  transition: opacity 0.3s ease;
}

.philosophy-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.philosophy-item__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 64px;
  color: var(--philosophy-num);
  flex-shrink: 0;
  line-height: 0.9;
}

.philosophy-item__content {
  flex: 1;
  min-width: 0;
}

.philosophy-item__title {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 8px;
}

.philosophy-item__body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0;
}

.how-table {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.how-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 32px 40px;
  gap: 24px;
  align-items: start;
}

.how-row:nth-child(odd) {
  background: var(--how-row-alt);
}

.how-row__label {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-row__text {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--cream);
  line-height: 1.75;
  margin: 0;
}

.timeline {
  position: relative;
  padding-left: 20px;
  max-width: 720px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--rule);
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px 32px;
  padding-bottom: 36px;
  padding-left: 28px;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.35;
}

.timeline-entry__years {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.timeline-entry__main {
  min-width: 0;
}

.timeline-entry__co {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 4px;
}

.timeline-entry__role {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  border: 1px solid var(--rule);
  padding: 40px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.role-card:hover {
  border-color: var(--accent);
  background: var(--how-row-alt);
}

.role-card__title {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 12px;
}

.role-card__body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.role-cards-note {
  text-align: center;
  padding-top: 32px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* —— Leadership steps —— */
.lead-step {
  border-top: 1px solid var(--rule);
  padding: 48px 0;
}

.lead-step:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.lead-step__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 80px;
  line-height: 1;
  color: var(--lead-num);
  margin: 0 0 0;
}

.lead-step__title {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 8px;
}

.lead-step__body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0;
}

.section-narrow {
  max-width: 720px;
}

.section-narrow-680 {
  max-width: 680px;
}

/* —— Contact page —— */
.page-contact-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
}

.page-contact__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 48px 80px;
}

.page-contact__main::before {
  content: "Connect";
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(120px, 22vw, 320px);
  color: var(--watermark);
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  white-space: nowrap;
}

.page-contact__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-contact__inner--editorial {
  max-width: 640px;
  margin: 0;
  text-align: left;
}

.page-contact__eyebrow {
  font-family: Syne, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

.page-contact__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  margin: 0;
  color: var(--cream);
}

.page-contact__title em {
  font-style: italic;
  color: var(--accent);
}

.page-contact__sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 24px 0 0;
}

.page-contact__inner--editorial .page-contact__sub {
  margin-left: 0;
}

.page-contact__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.page-contact__inner--editorial .page-contact__row {
  justify-content: flex-start;
}

.page-contact__inner--editorial .page-contact__title {
  text-align: left;
}

.page-contact__loc {
  font-family: Syne, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 64px 0 0;
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

  .nav-pill-dot {
    animation: none !important;
  }

  .hero-eyebrow,
  .hero-bottom {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-headline .line-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

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

/* —— Responsive: tablet —— */
@media (max-width: 900px) {
  .site-nav {
    padding: 0 24px;
  }

  .hero {
    padding: 100px 24px 64px;
  }

  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 24px;
  }

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

  /* Stack as 2×2 like standard stats; soften lead emphasis on smaller screens */
  .stat-bar--editorial .stat-bar__cell--lead {
    grid-column: auto;
    text-align: center;
    padding: 48px 16px;
  }

  .stat-bar--editorial .stat-bar__cell--lead .stat-bar__value--lead {
    font-size: clamp(52px, 6vw, 80px);
  }

  .stat-bar--editorial .stat-bar__cell--lead .stat-bar__label,
  .stat-bar--editorial .stat-bar__cell--lead .stat-bar__sub {
    text-align: center;
  }

  .stat-bar__cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .stat-bar__cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .stat-bar__cell:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .section-work,
  .section-thinking,
  .section-ai,
  .section-sectors,
  .section-contact-cta,
  .page-header,
  .case-section,
  .about-header,
  .section-block {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-block {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-work,
  .section-thinking,
  .section-ai,
  .section-sectors {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-contact-cta {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card__left {
    padding-right: 0;
    margin-bottom: 32px;
  }

  .work-card__right {
    min-height: 220px;
  }

  .work-card__right--video {
    min-height: 0;
  }

  .work-card__right--video .work-video__media {
    object-fit: contain;
  }

  .work-video__controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .work-video__btn {
    font-size: 10px;
    padding: 7px 10px;
  }

  .work-slideshow__btn {
    font-size: 10px;
    padding: 7px 10px;
  }

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

  .sectors-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-header {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 32px 24px;
  }

  .next-case {
    padding: 48px 24px;
  }

  .page-header {
    padding-top: 140px;
  }

  .about-header {
    padding-top: 140px;
  }

  .services-hero {
    padding: 140px 24px 64px;
  }

  .services-pillar,
  .services-help,
  .services-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services-pillar__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
  }

  .services-pillar__cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 80px;
  }

  .services-reel {
    border-radius: 22px;
  }

  .services-help__inner {
    grid-template-columns: 1fr;
  }

  .case-section {
    padding: 64px 24px;
  }

  .case-related {
    padding-left: 24px;
    padding-right: 24px;
  }

  .stat-bar {
    margin: 0 24px;
  }
}

.section-block {
  padding: 80px 48px;
}

@media (max-width: 900px) {
  .role-cards {
    grid-template-columns: 1fr;
  }
}

/* —— Responsive: mobile —— */
@media (max-width: 600px) {
  .hero-headline {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    text-align: center;
    width: 100%;
  }

  .stat-bar {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0 24px;
  }

  .stat-bar__value {
    font-size: clamp(52px, 14vw, 80px) !important;
  }

  .stat-bar--editorial .stat-bar__cell--lead {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .stat-bar--editorial .stat-bar__cell--lead .stat-bar__label,
  .stat-bar--editorial .stat-bar__cell--lead .stat-bar__sub {
    text-align: center;
  }

  .stat-bar__cell {
    border-left: none !important;
    border-bottom: 1px solid var(--rule);
  }

  .stat-bar__cell:last-child {
    border-bottom: none;
  }

  .section-work,
  .section-thinking,
  .section-ai,
  .section-sectors,
  .section-contact-cta,
  .page-header,
  .case-section,
  .about-header,
  .section-block,
  .next-case,
  .services-hero,
  .services-pillar,
  .services-help,
  .services-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-hero {
    padding-top: 110px;
  }

  .services-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-work,
  .section-thinking,
  .section-ai,
  .section-sectors {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-contact-cta {
    padding: 80px 20px;
  }

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

  .nav-links {
    gap: 12px;
  }

  .nav-links .nav-text {
    display: none;
  }

  .site-nav {
    padding: 0 20px;
  }

  .page-contact__main {
    padding: 88px 20px 48px;
  }
}

/* —— Hamburger button —— */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--nav-border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--ink);
  border-bottom: 1px solid var(--nav-border);
  padding: 20px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  font-family: Syne, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  letter-spacing: 0.04em;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover,
.nav-drawer a.is-active {
  color: var(--accent);
}

/* —— Mobile nav & hero responsive (768px) —— */
@media (max-width: 768px) {

  /* FIX 5 — Nav */
  .site-nav {
    padding: 0 16px;
    height: 60px;
  }

  /* Logo takes all remaining space, never truncates */
  .nav-logo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .nav-logo__name {
    display: block;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hide tagline — keep "Bobin Thomas" name */
  .nav-logo__tag {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  /* Hide text nav links — in hamburger drawer instead */
  .nav-links .nav-text {
    display: none;
  }

  /* Hide pill — too wide, replaced by drawer */
  .nav-pill-wrap {
    display: none;
  }

  .nav-theme {
    display: none;
  }

  .nav-resume {
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  /* Show hamburger on mobile */
  .nav-hamburger {
    display: flex;
  }

  /* FIX 6 — Hero */
  .hero {
    padding: 80px 20px 60px;
    min-height: 100svh;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  .hero-headline {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.0;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a,
  .hero-ctas button {
    width: 100%;
    text-align: center;
  }

  /* FIX 7 — Stat bar */
  .stat-bar {
    grid-template-columns: 1fr 1fr;
  }

  .stat-bar__cell {
    border-left: none !important;
    border-bottom: 1px solid var(--rule);
    padding: 32px 16px;
  }

  .stat-bar__value {
    font-size: clamp(40px, 10vw, 64px);
  }

  /* FIX 8 — Work cards */
  .work-card {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .work-card__left {
    padding-right: 0;
  }

  .work-card__right {
    min-height: 200px;
    margin-top: 24px;
  }

  .work-card__right--video {
    min-height: 0;
  }

  .work-card__right--video .work-video__media {
    object-fit: contain;
  }

  .work-card__right--slideshow {
    min-height: 0;
  }

  .work-video__btn {
    flex: 1;
    text-align: center;
  }

  .work-slideshow__btn {
    flex: 1;
    text-align: center;
    min-width: 72px;
  }

  /* FIX 9 — General sections */
  .ai-list {
    grid-template-columns: 1fr;
  }

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

  .sections-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Stat bar single column */
  .stat-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .nav-logo {
    font-size: 12px;
    max-width: 50%;
  }

  .nav-pill-wrap {
    display: none;
  }
}

/* Standalone shared video page (screen-recording.html) */
.video-standalone-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink2);
  overflow-x: hidden;
  width: 100%;
}

.video-standalone-page__nav {
  flex-shrink: 0;
}

.video-standalone-page__main {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px 80px;
  box-sizing: border-box;
}

.video-standalone-page__header {
  margin-bottom: 28px;
}

.video-standalone-page__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--cream);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.video-standalone-page__meta {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.video-standalone-page__player {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.video-standalone-page__video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
  margin: 0 auto;
  object-fit: contain;
  background: #000;
}

.video-standalone-page__fallback {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--cream);
  padding: 24px;
  margin: 0;
}

.video-standalone-page__fallback a {
  color: var(--accent);
}

@media (max-width: 900px) {
  .video-standalone-page__main {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  /* This page has no hamburger — keep Portfolio + theme visible */
  .video-standalone-page .nav-links .nav-text {
    display: inline;
  }

  .video-standalone-page .nav-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .video-standalone-page__main {
    padding: 88px 16px 56px;
  }

  .video-standalone-page__video {
    max-height: min(72vh, 900px);
  }
}
