/* ============================================================
   INNOVATELUTION — Design System
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --bg: #F0F3F7;
  --bg-section: #E8ECF2;
  --dark: #0C1422;
  --navy: #182640;
  --navy-mid: #284068;
  --blue: #3B6EA5;
  --blue-light: #8AAFD4;
  --blue-fog: #C8D8EA;
  --white: #FFFFFF;
  --text: #182640;
  --text-muted: #6B7D94;
  --border: rgba(24, 38, 64, 0.1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 80px;
  --gutter: clamp(1.5rem, 4vw, 4rem);

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  8rem;
  --sp-2xl: 14rem;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.is-transitioning {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ---- Custom Cursor ---- */
.cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor__dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
  top: 0;
  left: 0;
}

.cursor__outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s ease;
  top: 0;
  left: 0;
}

.cursor.is-hovering .cursor__dot {
  width: 16px;
  height: 16px;
}

.cursor.is-hovering .cursor__outline {
  width: 64px;
  height: 64px;
}

.cursor.is-clicking .cursor__dot {
  transform: translate(-50%, -50%) scale(0.8);
}

/* ---- Container ---- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Typography Utilities ---- */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
  flex-shrink: 0;
}

.section-label--light {
  color: rgba(255,255,255,0.5);
}

.section-label--light::before {
  background: rgba(255,255,255,0.35);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: gap 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  cursor: none;
}

.btn:hover {
  gap: 1.25rem;
}

.btn--primary {
  background: var(--white);
  color: var(--dark);
}

.btn--primary:hover {
  background: var(--blue-fog);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-mid);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.nav.is-scrolled {
  background: rgba(240, 243, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  flex-shrink: 0;
  cursor: none;
}

.nav__logo svg {
  width: 22px;
  height: 26px;
  color: var(--navy);
}

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

.nav__link {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__link.is-active {
  color: var(--navy);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__cta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.nav__cta:hover {
  background: var(--navy-mid);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: none;
  position: relative;
  z-index: 1100;
}

.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--navy);
  transition: transform 0.4s var(--ease), opacity 0.3s ease, width 0.3s ease;
}

.nav__hamburger span:nth-child(1) { width: 24px; }
.nav__hamburger span:nth-child(2) { width: 16px; }

.nav.is-open .nav__hamburger span:nth-child(1) {
  width: 22px;
  transform: translateY(3px) rotate(45deg);
}

.nav.is-open .nav__hamburger span:nth-child(2) {
  width: 22px;
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--nav-height) + 2rem) var(--gutter) 4rem;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.nav.is-open .nav__mobile-menu {
  transform: translateY(0);
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  overflow: hidden;
  display: block;
}

.nav__mobile-link:hover {
  opacity: 1;
}

.nav__mobile-footer {
  margin-top: auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__mobile-footer-email {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ---- Hero (Homepage) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--navy);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--blue);
}

.hero__title-line {
  overflow: hidden;
  display: block;
  padding-bottom: 0.05em;
}

.hero__title-inner {
  display: block;
  transform: translateY(110%);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
  opacity: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
}

.hero__scroll-line {
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--navy);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* ---- Marquee ---- */
.marquee {
  background: var(--navy);
  padding: 1.125rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.marquee__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

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

/* ---- Intro Section ---- */
.intro {
  padding: var(--sp-2xl) 0;
  background: var(--bg);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.intro__display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  grid-column: 1 / 2;
}

.intro__display em {
  font-style: italic;
  color: var(--blue);
}

.intro__aside {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 36ch;
  margin-left: auto;
}

/* ---- Services Section ---- */
.services {
  background: var(--dark);
  padding: var(--sp-xl) 0;
}

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
}

.services__count {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.service-card {
  background: var(--dark);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  text-decoration: none;
  cursor: none;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width 0.5s var(--ease);
}

.service-card:hover {
  background: var(--navy);
}

.service-card:hover::after {
  width: 100%;
}

.service-card__number {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.service-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.service-card__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 44ch;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.service-card__list li {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  padding-left: 1rem;
  position: relative;
}

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
}

.service-card__arrow {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3.5rem);
  right: clamp(2rem, 4vw, 3.5rem);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__arrow {
  transform: rotate(45deg);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ---- Work Section ---- */
.work {
  background: var(--bg);
  padding: var(--sp-xl) 0;
}

.work__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}

.work__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.work__view-all {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, gap 0.3s var(--ease);
}

.work__view-all:hover {
  color: var(--navy);
  gap: 1rem;
}

.work__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s ease;
  position: relative;
}

.work-item:hover .work-item__name {
  color: var(--blue);
}

.work-item:hover .work-item__arrow {
  transform: rotate(45deg);
}

.work-item__thumb {
  width: 80px;
  height: 56px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.work-item:hover .work-item__thumb {
  transform: scale(1.04);
}

.work-item__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.work-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
}

.work-item__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.work-item__tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 1px;
}

.work-item__year {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.work-item__arrow {
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.3s ease;
  flex-shrink: 0;
}

.work-item:hover .work-item__arrow {
  color: var(--navy);
}

/* ---- Numbers Section ---- */
.numbers {
  background: var(--bg-section);
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.number-item {
  background: var(--bg-section);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.number-item__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.number-item__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Philosophy Section ---- */
.philosophy {
  background: var(--bg);
  padding: var(--sp-xl) 0;
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: var(--sp-md);
}

.philosophy__text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.philosophy__principles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--sp-lg);
}

.philosophy__principle {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  text-transform: uppercase;
}

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

.philosophy__canvas-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
}

#philCanvas {
  width: 100%;
  height: 100%;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--navy);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section__ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 300;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.cta-section__eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.cta-section__title em {
  font-style: italic;
  color: var(--blue-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  padding-top: var(--sp-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__logo svg {
  width: 18px;
  height: 22px;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.footer__nav-col h4,
.footer__legal-col h4 {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer__nav-links,
.footer__legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-links a,
.footer__legal-links a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
  letter-spacing: 0.03em;
}

.footer__nav-links a:hover,
.footer__legal-links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.footer__legal-bottom {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-bottom a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer__legal-bottom a:hover {
  color: rgba(255,255,255,0.6);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--sp-xl));
  padding-bottom: var(--sp-xl);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.page-hero__title em {
  font-style: italic;
  color: var(--blue);
}

/* ---- Services Detail Page ---- */
.services-detail {
  padding: var(--sp-xl) 0;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-item:first-child {
  padding-top: 0;
}

.service-detail-item__label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.service-detail-item__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.0;
  letter-spacing: -0.02em;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.service-detail-item__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.service-detail-item__desc {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 56ch;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.deliverable-item {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.deliverable-item:hover {
  background: var(--bg-section);
  color: var(--navy);
}

/* Remove extra borders */
.deliverable-item:nth-child(even) {
  border-right: none;
}

/* ---- Process Section ---- */
.process {
  background: var(--dark);
  padding: var(--sp-xl) 0;
}

.process__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.process-step {
  background: var(--dark);
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process-step__number {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}

.process-step__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ---- Work Grid Page ---- */
.work-grid {
  padding: var(--sp-xl) 0;
  background: var(--bg);
}

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

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: none;
  text-decoration: none;
  display: block;
}

.work-card--wide {
  grid-column: span 2;
}

.work-card__bg {
  aspect-ratio: 4 / 3;
  transition: transform 0.6s var(--ease);
}

.work-card--wide .work-card__bg {
  aspect-ratio: 21 / 9;
}

.work-card:hover .work-card__bg {
  transform: scale(1.04);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,16,30,0.85) 0%, rgba(10,16,30,0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(to top, rgba(10,16,30,0.75) 0%, transparent 100%);
}

.work-card__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.work-card__tag {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.work-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.work-card__year {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.375rem;
}

.work-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  font-weight: 300;
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--bg-section);
  padding: var(--sp-xl) 0;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}

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

.testimonial-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.5;
  flex: 1;
}

.testimonial-card__author {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.testimonial-card__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.testimonial-card__company {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---- About Page ---- */
.about-story {
  padding: var(--sp-xl) 0;
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.about-story__sticky {
  position: sticky;
  top: calc(var(--nav-height) + 3rem);
}

.about-story__label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-story__label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.about-story__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.about-story__opening {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-md);
}

.about-story__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-story__para {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
}

/* About Values */
.about-values {
  background: var(--dark);
  padding: var(--sp-xl) 0;
}

.about-values__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.value-card {
  background: var(--dark);
  padding: clamp(2rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card__number {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}

.value-card__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ---- Contact Page ---- */
.contact-section {
  padding: var(--sp-xl) 0;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-lg);
}

.contact-info__detail {
  margin-bottom: var(--sp-md);
}

.contact-info__label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.contact-info__value {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--navy);
}

.contact-info__note {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
}

.contact-info__note + .contact-info__note {
  border-top: none;
  padding-top: 0.5rem;
  margin-top: -0.75rem;
}

.contact-form-wrap {
  background: var(--bg-section);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.form-field label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-field select {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7D94' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 0.75rem;
  text-align: center;
}

/* ---- Legal Pages ---- */
.legal-content {
  padding: var(--sp-xl) 0;
  max-width: 860px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

.legal-content h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: var(--sp-md);
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li,
.legal-content ol li {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content .last-updated {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}

/* Placeholder spans */
.placeholder {
  display: inline-block;
  padding: 0.1em 0.5em;
  border: 1px dashed var(--blue);
  color: var(--blue);
  border-radius: 1px;
  font-size: 0.875em;
  font-style: italic;
}

/* Cookie table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.cookie-table th {
  background: var(--bg-section);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.cookie-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 300;
  vertical-align: top;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
  background: var(--dark);
  padding: 1.75rem 2rem;
  max-width: 380px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner__text {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cookie-banner__text a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner__accept {
  flex: 1;
  padding: 0.625rem 1rem;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 1px;
  cursor: none;
  transition: background 0.2s ease;
}

.cookie-banner__accept:hover {
  background: var(--blue-fog);
}

.cookie-banner__decline {
  padding: 0.625rem 1rem;
  background: transparent;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1px;
  cursor: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__decline:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.35);
}

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal-item] {
  opacity: 0;
  transform: translateY(30px);
}

[data-reveal-item].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ---- Page Transition ---- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ---- Responsive ---- */

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

  .footer__brand {
    grid-column: span 2;
  }
}

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

  .intro__aside {
    margin-left: 0;
    max-width: 100%;
  }

  .about-story__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-story__sticky {
    position: static;
  }

  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-item__title {
    position: static;
    font-size: clamp(2rem, 5vw, 4rem);
  }

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

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

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

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

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hide custom cursor on mobile */
  .cursor {
    display: none;
  }

  a, button {
    cursor: pointer;
  }

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

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

  .philosophy__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy__canvas-wrap {
    aspect-ratio: 16 / 9;
  }

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

  .work-card--wide {
    grid-column: span 1;
  }

  .work-card--wide .work-card__bg {
    aspect-ratio: 4 / 3;
  }

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

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

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

  .work-item__meta,
  .work-item__arrow {
    display: none;
  }

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

  .deliverable-item {
    border-right: none;
  }

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

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    max-width: none;
    bottom: 1rem;
  }
}

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

  .hero__title {
    font-size: clamp(3rem, 11vw, 4.5rem);
  }
}
