/* Pointe Noir Creative Studio: dark glossy digital agency */

:root {
  --bg: #070708;
  --bg-elevated: #121214;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-gloss: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --fg: rgba(248, 247, 244, 0.96);
  --fg-muted: rgba(248, 247, 244, 0.64);
  --fg-soft: rgba(248, 247, 244, 0.4);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent: #ece8df;
  --accent-soft: rgba(236, 232, 223, 0.12);
  --focus: #93c5fd;
  --hero-fg: rgba(252, 252, 251, 0.98);
  --hero-fg-muted: rgba(252, 252, 251, 0.78);
  --gloss-shine: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --gloss-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --space-xs: clamp(0.45rem, 1.8vw, 0.65rem);
  --space-sm: clamp(0.65rem, 2.2vw, 1rem);
  --space-md: clamp(1.15rem, 3.5vw, 2rem);
  --space-lg: clamp(2.25rem, 7vw, 5rem);
  --space-xl: clamp(3.5rem, 12vw, 8rem);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, ui-serif, serif;
  --text: clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
  --text-lg: clamp(1.1rem, 1rem + 0.45vw, 1.28rem);
  --display: clamp(2.5rem, 1.4rem + 4.5vw, 4.25rem);
  --display-sm: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem);
  --max: 72rem;
  --header-h: 5rem;
  --scroll-p: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

/* Glossy dark atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 50% at 50% -12%, rgba(255, 255, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 35% at 92% 18%, rgba(180, 200, 230, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 30% at 8% 72%, rgba(210, 190, 160, 0.05), transparent 50%),
    linear-gradient(180deg, #0d0d10 0%, #070708 52%, #050506 100%);
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: var(--space-sm);
  top: var(--space-sm);
  z-index: 1000;
  width: auto;
  height: auto;
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent);
  color: #0a0a0a;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  box-sizing: border-box;
}

.u-min0 {
  min-width: 0;
}

main,
.band,
.hero,
.page-hero,
.site-header,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: calc(var(--scroll-p) * 100%);
  background: linear-gradient(90deg, rgba(236, 232, 223, 0.25), var(--accent));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-soft), border-color 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border);
  box-shadow: var(--gloss-shine);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  box-sizing: border-box;
}

/* White logo reads clearly on dark UI */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.15rem 0;
}

.logo img {
  width: clamp(6.5rem, 16vw, 9.5rem);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shine);
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--fg);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--fg) !important;
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shine);
  transition: background 0.25s, border-color 0.25s;
}

.site-nav__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 42rem) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(8, 8, 10, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: var(--space-lg) var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
  }

  .site-nav a {
    font-size: 1.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shine);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--solid {
  background: linear-gradient(180deg, #f4f1ea 0%, #e4dfd4 100%);
  color: #121212;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn--solid:hover {
  background: linear-gradient(180deg, #ffffff 0%, #efebe3 100%);
  color: #121212;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0 var(--space-xl);
  overflow: hidden;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.62) 0%, rgba(6, 6, 8, 0.42) 40%, rgba(6, 6, 8, 0.84) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 20%, rgba(0, 0, 0, 0.52) 100%);
}

.hero__body {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 40rem;
  text-align: center;
  color: var(--hero-fg);
}

.hero--cast {
  align-items: center;
  min-height: min(100vh, 54rem);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #070708;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.62;
  filter: saturate(0.55) brightness(0.48) contrast(1.05);
  pointer-events: none;
}

.hero--cast::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 28% 45%, rgba(236, 232, 223, 0.1), transparent 68%),
    radial-gradient(ellipse 36% 32% at 78% 30%, rgba(160, 175, 200, 0.07), transparent 65%);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__cast {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding-block: clamp(5.5rem, 12vw, 7.5rem) clamp(2.5rem, 6vw, 4rem);
}

.hero--cast .hero__body {
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
  max-width: 34rem;
}

.hero--cast .hero__deck {
  margin-left: 0;
}

@media (min-width: 56rem) {
  .hero__cast {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 34rem);
  }
}

.page-hero--cast .page-hero__cast {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  width: 100%;
}

@media (min-width: 56rem) {
  .page-hero--cast .page-hero__cast {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
  }

  .page-hero--services .page-hero__cast {
    align-items: center;
  }
}

/* 3D character stages (transparent cutouts) */
.character-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  min-height: 24rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.character-stage::before {
  display: none;
}

.character-stage__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: clamp(28rem, 68vw, 44rem);
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.42));
  animation: character-float 5.5s ease-in-out infinite;
  transform-origin: center bottom;
}

.character-stage--hero {
  min-height: clamp(26rem, 62vw, 40rem);
}

.character-stage--hero .character-stage__img {
  max-height: clamp(28rem, 70vw, 46rem);
  width: 118%;
  max-width: none;
  margin-left: -9%;
}

.character-stage--panel,
.character-stage--cta,
.character-stage--contact,
.character-stage--page-hero,
.character-stage--why {
  min-height: clamp(24rem, 54vw, 36rem);
  border: 0;
  box-shadow: none;
  background: transparent;
}

.character-stage--panel .character-stage__img,
.character-stage--why .character-stage__img,
.character-stage--contact .character-stage__img,
.character-stage--page-hero .character-stage__img {
  max-height: clamp(26rem, 60vw, 42rem);
  width: 112%;
  max-width: none;
  margin-left: -6%;
  object-position: center bottom;
}

.character-stage--panel {
  min-height: 0;
  align-self: end;
}

.character-stage--page-hero {
  min-height: 0;
  align-self: end;
}

.character-stage--contact {
  aspect-ratio: auto;
  max-height: none;
  min-height: 24rem;
}

@media (min-width: 52rem) {
  .contact-layout .character-stage--contact {
    position: relative;
    align-self: stretch;
    height: auto;
    min-height: 0;
  }

  .contact-layout .character-stage--contact .character-stage__img,
  .contact-layout .character-stage--contact.character-stage--bust .character-stage__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center bottom;
  }
}

.character-stage--bust .character-stage__img {
  object-position: center center;
  width: 120%;
  margin-left: -10%;
  max-height: clamp(26rem, 62vw, 42rem);
}

.character-stage--panel.character-stage--bust .character-stage__img,
.character-stage--page-hero.character-stage--bust .character-stage__img {
  object-position: center bottom;
}

@keyframes character-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.85rem);
  }
}

.cast-band {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: end;
}

@media (min-width: 56rem) {
  .cast-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  }

  .cast-band--flip {
    grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  }

  .cast-band--flip > .character-stage {
    order: -1;
  }
}

.cast-band__copy {
  min-width: 0;
}

.cast-band__copy .band__header {
  margin-bottom: 1.35rem;
}

.why-band {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .why-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  }

  .why-band--flip {
    grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  }

  .why-band--flip > .character-stage {
    order: -1;
  }
}

.why-band__copy {
  min-width: 0;
}

.why-band__copy .band__header {
  margin-bottom: 1.35rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.why-list__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
}

.why-list__text {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36rem;
}

.service-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-rail__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index text";
  column-gap: 0.9rem;
  row-gap: 0.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}

.service-rail__item:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(3px);
}

.service-rail__index {
  grid-area: index;
  align-self: start;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding-top: 0.25rem;
}

.service-rail__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.service-rail__text {
  grid-area: text;
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cta-split--cast {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: visible;
}

@media (min-width: 52rem) {
  .cta-split--cast {
    grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
  }

  .cta-split--cast.cta-split--flip {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  }

  .cta-split--cast.cta-split--flip > .character-stage {
    order: -1;
  }
}

.cta-split--cast .character-stage--cta {
  min-height: 0;
  overflow: visible;
  align-self: end;
}

.cta-split--cast .character-stage--cta .character-stage__img {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  height: auto;
  max-height: clamp(30rem, 72vw, 50rem);
  object-fit: contain;
  object-position: center bottom;
}

@media (prefers-reduced-motion: reduce) {
  .character-stage__img {
    animation: none;
  }
}

.hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--hero-fg);
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.95s var(--ease-out) 0.12s forwards;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hero-fg);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 0.9s var(--ease-out) 0.2s forwards;
}

.hero__deck {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: var(--text-lg);
  color: var(--hero-fg-muted);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 0.9s var(--ease-out) 0.28s forwards;
}

.hero .btn-group {
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-in 0.85s var(--ease-out) 0.42s forwards;
}

.hero--cast .btn-group {
  justify-content: flex-start;
}

.hero .btn {
  color: var(--hero-fg);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero .btn--solid {
  background: linear-gradient(180deg, #f7f4ee 0%, #e6e1d6 100%);
  color: #121212;
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__brand,
  .hero__deck,
  .hero .btn-group {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Page heroes with photography */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(18rem, 42vw, 26rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 12vw, 7rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 40% at 22% 48%, rgba(236, 232, 223, 0.09), transparent 68%),
    radial-gradient(ellipse 34% 30% at 82% 28%, rgba(160, 175, 200, 0.06), transparent 62%);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.page-hero__media {
  --hero-plate: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: #0c0c0e;
  background-image: none;
}

.page-hero__media::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 0;
  background-color: #0c0c0e;
  background-image: var(--hero-plate);
  background-size: cover;
  background-position: center center;
  filter: saturate(0.58) brightness(0.52) contrast(1.06);
  transform-origin: 55% 40%;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.42) 0%, rgba(7, 7, 8, 0.76) 55%, rgba(7, 7, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 7, 8, 0.62), transparent 58%);
}

.page-hero--services .page-hero__media {
  --hero-plate: url("../assets/images/whatweoffer.jpg");
}

.page-hero--about .page-hero__media {
  --hero-plate: url("../assets/images/about.jpg");
}

.about-copy__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;
}

.about-copy__text {
  margin: 0 0 1rem;
  color: var(--fg-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 38rem;
}

.about-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.about-points__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.about-points__text {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-hero--contact .page-hero__media {
  --hero-plate: url("../assets/images/page-contact.jpg");
}

@keyframes hero-kenburns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, -0.8%, 0);
  }
}

@keyframes hero-drift {
  from {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(2.5%, -1.5%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__backdrop {
    background:
      linear-gradient(160deg, #101014 0%, #070708 48%, #0c0d12 100%),
      url("../assets/images/hero-nature-poster.jpg");
    background-size: cover;
    background-position: center center;
    filter: saturate(0.55) brightness(0.42);
  }

  .page-hero__media::before {
    animation: none;
    inset: 0;
    transform: none;
  }

  .hero--cast::before,
  .page-hero::before {
    animation: none;
    opacity: 0.75;
    transform: none;
  }
}

.page-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.page-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-hero__deck {
  margin: 0;
  max-width: 36rem;
  font-size: var(--text-lg);
  color: var(--fg-muted);
}

/* Bands */
.band {
  padding: var(--space-xl) 0;
}

.band--tight {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
}

.band--cta {
  border-top: 1px solid var(--border);
}

.band--media {
  position: relative;
}

.band__header {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 38rem;
}

.band__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.band__deck {
  margin: 0;
  color: var(--fg-muted);
  font-size: var(--text-lg);
}

.band__footer-cta {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Home services with image cards */
.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.5rem);
}

@media (min-width: 48rem) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shadow), var(--gloss-shine);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #151518;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  opacity: 0.92;
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
  opacity: 1;
}

.service-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.service-card__index {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.service-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.65rem);
  font-weight: 500;
}

.service-card__text {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* Services detail rows with photography */
.service-feature {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  border-bottom: 1px solid var(--border);
}

.service-feature:first-of-type {
  border-top: 1px solid var(--border);
}

@media (min-width: 48rem) {
  .service-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .service-feature--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .service-feature--flip .service-feature__media {
    order: 2;
  }

  .service-feature--flip .service-feature__content {
    order: 1;
  }
}

.service-feature__media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--gloss-shadow);
  aspect-ratio: 16 / 11;
  background: #151518;
}

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

.service-feature__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 500;
}

.service-feature__text {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  color: var(--fg-muted);
  font-size: var(--text-lg);
}

.service-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-feature__tags li {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shine);
}

/* Client work slide strip */
.work-strip {
  position: relative;
  margin-top: 0.35rem;
  max-width: 100%;
  overflow: hidden;
}

.work-strip__viewport {
  overflow: hidden;
  padding: 0.15rem 0;
  max-width: 100%;
}

.work-strip__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  width: max-content;
  will-change: transform;
  animation: work-marquee 35s linear infinite;
}

.work-strip:hover .work-strip__track,
.work-strip:focus-within .work-strip__track {
  animation-play-state: paused;
}

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

.work-strip__slide {
  flex: 0 0 5.5rem;
}

.work-strip__nav {
  display: none;
}

.work-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

a.work-item:hover .work-item__title {
  color: var(--accent);
}

.work-strip .work-item__meta {
  display: none;
}

.work-item__go {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.work-item__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: none;
  overflow: hidden;
}

.work-item__media img {
  width: 100%;
  height: 100%;
  max-width: 5.75rem;
  max-height: 5.75rem;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transition: transform 0.45s var(--ease-out);
}

.work-item:hover .work-item__media img {
  transform: scale(1.06);
}

.work-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 0;
}

.work-item__domain {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.work-item__text {
  margin: 0.3rem 0 0;
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 42rem) {
  .work-strip__slide {
    flex-basis: 4.75rem;
  }

  .work-strip__track {
    gap: 1.25rem;
    animation-duration: 28s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-strip__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 1rem;
  }

  .work-strip__track .work-strip__slide[data-clone] {
    display: none;
  }
}

.work-item__status {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 52rem) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .contact-layout--flip {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .contact-layout--flip > .character-stage {
    order: 1;
  }
}

.contact-visual {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--gloss-shadow);
  aspect-ratio: 4 / 5;
  max-height: 36rem;
  background: #151518;
}

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

.contact-options {
  display: grid;
  gap: 1rem;
}

.contact-option {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shine);
}

.contact-option__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.contact-option__text {
  margin: 0 0 0.85rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.contact-option__cta {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-option__cta:hover {
  border-bottom-color: rgba(236, 232, 223, 0.45);
}

.contact-card {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-gloss);
  box-shadow: var(--gloss-shadow), var(--gloss-shine);
}

.contact-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.contact-card__label + .contact-card__label,
.contact-card__label + p.contact-card__label {
  margin-top: 1.25rem;
}

.contact-card__email {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
}

.contact-card__email:hover {
  color: var(--accent);
}

.contact-card__address {
  margin: 0;
  font-style: normal;
  color: var(--fg-muted);
}

.contact-card__address a {
  color: var(--accent);
  text-decoration: none;
}

.contact-card__note {
  color: var(--fg-soft);
  font-size: 0.9em;
}

/* CTA panel with optional image strip */
.cta-panel {
  max-width: 36rem;
}

.cta-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .cta-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.cta-split__media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--gloss-shadow);
  aspect-ratio: 16 / 10;
  background: #151518;
}

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

.cta-panel__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: 500;
}

.cta-panel__text {
  margin: 0 0 1.35rem;
  color: var(--fg-muted);
  font-size: var(--text-lg);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 0.85rem 0 1rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
}

.site-footer__inner {
  display: grid;
  gap: 0.65rem 1.25rem;
  align-items: end;
}

@media (min-width: 40rem) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.site-footer__brand {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.site-footer__aside {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  text-align: right;
}

.site-footer__copy,
.site-footer__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--fg-soft);
  line-height: 1.35;
}

.site-footer__meta {
  max-width: none;
}

@media (max-width: 39.99rem) {
  .site-footer__aside {
    justify-items: start;
    text-align: left;
  }
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.78rem;
}

.site-footer__legal a {
  color: var(--fg-muted);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--fg);
}

.canada-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.canada-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.canada-badge:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.canada-badge img {
  width: clamp(8.5rem, 28vw, 11rem);
  height: auto;
}

/* 404 */
.error-page {
  min-height: calc(100svh - var(--header-h) - 6rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-page__code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 6vw, 6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--fg-soft);
}

.error-page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: 500;
}

.error-page__text {
  margin: 0 0 1.5rem;
  color: var(--fg-muted);
}

/* Legal pages */
.legal-doc {
  max-width: 44rem;
}

.legal-doc__updated {
  margin: 0 0 1.5rem;
  color: var(--fg-soft);
  font-size: 0.85rem;
}

.legal-doc h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  font-weight: 500;
}

.legal-doc p,
.legal-doc li {
  color: var(--fg-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-doc p {
  margin: 0 0 0.85rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-doc a {
  color: var(--accent);
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .service-card__media img,
  .work-item__media img {
    transition: none;
  }
}

.back-to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(22, 22, 26, 0.92);
  color: var(--fg);
  box-shadow: var(--gloss-shine), 0 12px 28px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: rgba(40, 40, 46, 0.95);
}
