:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --text: #f0ece4;
  --muted: #9c968b;
  --line: #2b2b2b;
  --accent: #ff8a3d;
  --accent-2: #ffd0ad;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, #27201a 0%, transparent 33%),
    radial-gradient(circle at 100% 0%, #1c2426 0%, transparent 28%),
    linear-gradient(180deg, #101010 0%, var(--bg) 48%, #090909 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: screen;
  opacity: 0.08;
  z-index: -2;
  animation: grainShift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.36) 100%);
  z-index: -1;
  animation: vignettePulse 14s ease-in-out infinite;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.wrapper {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(13, 13, 13, 0.62);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  transition: background 360ms ease, border-color 360ms ease;
}

nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  transition: min-height 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.scrolled header {
  background: rgba(13, 13, 13, 0.82);
  border-bottom-color: #323232;
}

body.scrolled nav {
  min-height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 9px;
  order: 2;
  margin-left: auto;
}

.brand {
  position: relative;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
  animation: none;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(40px, 4.2vw, 56px);
  max-width: min(56vw, 340px);
}

.brand::after {
  display: none;
}

.nav-sep {
  color: #6a6761;
  font-size: 0.8rem;
  line-height: 1;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #b7b2a9;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.nav-icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-link:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.menu {
  display: flex;
  order: 1;
  gap: 20px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 140ms ease, border-color 140ms ease;
}

.menu a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero {
  padding: 70px 0 36px;
  display: grid;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 28px;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  padding-left: clamp(18px, 2.2vw, 34px);
  padding-right: clamp(18px, 2.2vw, 34px);
}

.home-hero .hero-grid {
  min-width: 0;
}

.home-hero .hero-copy {
  max-width: min(60ch, 56%);
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 166, 101, 0.2) 0%, rgba(255, 166, 101, 0) 44%),
    url("/assets/dumbo23.png"),
    linear-gradient(132deg, #111111 0%, #151515 46%, #111111 100%);
  background-size: cover, 145% auto, cover;
  background-repeat: no-repeat;
  background-position: center, 0% 100%, center;
  background-blend-mode: screen, normal, normal;
  opacity: 1;
  filter: saturate(1.08) contrast(1.03) brightness(1.24);
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
  animation: heroImageDrift 18s ease-in-out infinite;
  z-index: 0;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0) 0%,
      rgba(8, 8, 8, 0.12) 18%,
      rgba(8, 8, 8, 0.38) 32%,
      rgba(8, 8, 8, 0.72) 48%,
      rgba(8, 8, 8, 0.92) 68%,
      rgba(8, 8, 8, 0.985) 100%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 18px
    );
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
  animation: heroGridShift 16s linear infinite;
  z-index: 0;
}

.hero .kicker,
.hero h1,
.hero p,
.hero .actions {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
}

body.page-loaded .hero .kicker,
body.page-loaded .hero h1,
body.page-loaded .hero p,
body.page-loaded .hero .actions {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.page-loaded .hero .kicker {
  transition: opacity 720ms ease, transform 980ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-loaded .hero h1 {
  transition: opacity 920ms ease 90ms, transform 1200ms cubic-bezier(0.16, 1, 0.3, 1) 90ms;
}

body.page-loaded .hero p {
  transition: opacity 860ms ease 210ms, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) 210ms;
}

body.page-loaded .hero .actions {
  transition: opacity 860ms ease 280ms, transform 1050ms cubic-bezier(0.16, 1, 0.3, 1) 280ms;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}

h1 {
  margin: 0;
  font-family: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  max-width: 12ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.project-title-logo {
  max-width: none;
  line-height: 1;
  margin: 0;
  justify-self: center;
  width: min(82%, 360px);
}

.project-title-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.project-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.project-hero-copy {
  border-left: 1px solid #343434;
  padding-left: 30px;
}

.project-hero-copy p {
  margin: 0;
  max-width: none;
}

.home-hero h1 {
  display: grid;
  gap: 0.04em;
  max-width: 11.2ch;
}

.hero-headline-primary {
  display: block;
  font-size: 1em;
  line-height: 0.95;
}

.hero-headline-secondary {
  display: block;
  font-family: "Space Grotesk", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.36em;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: none;
  font-weight: 600;
  color: #ddd6c9;
  margin-top: 0.06em;
}

.hero-break {
  display: block;
  margin: 8px 0 14px;
  width: min(34rem, 82%);
}

.break-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 199, 157, 0.78) 0%, rgba(255, 199, 157, 0.2) 100%);
}

.hero p {
  max-width: 58ch;
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  text-decoration: none;
  border: 1px solid #393939;
  background: #181818;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease, border-color 260ms ease, box-shadow
    300ms ease;
}

.btn:hover {
  border-color: #5b5b5b;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.btn.primary {
  background: linear-gradient(120deg, #ff6a1a 0%, var(--accent) 100%);
  color: #2a1306;
  border-color: #ffab77;
}

.section {
  padding: 52px 0;
}

.logo-marquee {
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--line);
}

.logo-marquee h2 {
  margin: 0 0 14px;
}

.logo-marquee-window {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(165deg, #151515 0%, #111111 50%, #171717 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 12px 24px rgba(0, 0, 0, 0.24);
}

.logo-marquee-window::before,
.logo-marquee-window::after {
  content: "";
  position: absolute;
  top: 0;
  width: 78px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-window::before {
  left: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0) 100%);
}

.logo-marquee-window::after {
  right: 0;
  background: linear-gradient(270deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0) 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  min-width: 100%;
  padding: 14px 10px;
  animation: logoMarquee 22s linear infinite;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 4px 2px;
  white-space: nowrap;
}

.logo-pill-image {
  display: block;
  width: auto;
  height: 44px;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 0.98;
}

.section h2 {
  margin: 0 0 20px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7b2a7;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 550ms cubic-bezier(0.16, 1, 0.3, 1), border-color
    400ms ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 0%;
}

.card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 176, 127, 0.35) 0%, rgba(255, 176, 127, 0) 34%),
    radial-gradient(circle at 90% 100%, rgba(126, 140, 143, 0.16) 0%, rgba(126, 140, 143, 0) 44%);
  opacity: 0;
  transition: opacity 380ms ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  transform: skewX(-14deg);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.card:hover,
.card.is-hovered {
  transform: perspective(900px) translateY(-10px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.01);
  border-color: #575757;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
}

.card:hover::before,
.card.is-hovered::before {
  opacity: 0.35;
}

.card:hover::after,
.card.is-hovered::after {
  left: 155%;
}

.card h3 {
  margin: 14px 0 8px;
  font-family: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.45rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease;
}

.card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease;
}

.card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d5d0c4;
  text-decoration: none;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease;
}

.card:hover h3,
.card.is-hovered h3 {
  transform: translateX(2px);
  color: #fff8ee;
}

.card:hover p,
.card.is-hovered p {
  transform: translateX(1px);
  color: #c7bfb2;
}

.card:hover a:not(.card-overlay-link),
.card.is-hovered a:not(.card-overlay-link) {
  transform: translateX(3px);
}

.card .cta-pop {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: #04201d;
  padding: 8px 12px;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 148, 0.88);
  background: linear-gradient(120deg, rgba(255, 173, 120, 0.95) 0%, rgba(255, 138, 61, 0.98) 100%);
  box-shadow: 0 0 0 rgba(255, 138, 61, 0);
  animation: ctaPulse 1.6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.card .cta-pop::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -32%;
  width: 24%;
  height: 180%;
  transform: rotate(16deg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: ctaSweep 2.1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.card:hover .cta-pop,
.card.is-hovered .cta-pop {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 28px rgba(255, 138, 61, 0.45);
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 10px;
}

.card-overlay-link:focus-visible {
  outline: 2px solid #ffbf93;
  outline-offset: 3px;
}

.card .cta-pop {
  position: relative;
  z-index: 7;
  pointer-events: none;
}

.thumb {
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  overflow: hidden;
  background: #141414;
}

.thumb-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  image-rendering: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 450ms ease;
  will-change: transform;
  filter: saturate(1.01) contrast(1.01);
}

.thumb-media--placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 138, 61, 0.25) 0%, transparent 45%),
    linear-gradient(135deg, #1c1c1c 0%, #111111 50%, #242424 100%);
}

.card:hover .thumb-media {
  transform: translate3d(0, -2px, 0) scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}

.contact-box {
  background: linear-gradient(150deg, #151515 0%, #1d1d1d 100%);
  color: var(--text);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--line);
}

.contact-box p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-box a {
  color: var(--text);
}

.contact-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b5aea2;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid #353535;
  border-radius: 8px;
  background: #121212;
  color: #efe9dd;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff8d45;
  box-shadow: 0 0 0 3px rgba(255, 141, 69, 0.2);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-submit {
  width: fit-content;
  margin-top: 2px;
}

.contact-meta {
  margin-top: 12px;
  font-size: 0.88rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

#about {
  padding-top: 44px;
  padding-bottom: 28px;
}

.about-shell {
  border: 1px solid #2b2b2b;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 138, 61, 0.16) 0%, transparent 35%),
    linear-gradient(160deg, #151515 0%, #111111 48%, #171717 100%);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-areas: "media intro points";
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-intro {
  grid-area: intro;
}

.about-media {
  grid-area: media;
  position: relative;
  align-self: center;
  justify-self: center;
  width: clamp(132px, 13vw, 176px);
  aspect-ratio: 1;
  margin-left: 0;
}

.about-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: url("/assets/backdrop3.png");
  background-size: cover;
  background-position: center 24%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  opacity: 0.95;
}

.about-circle-ring {
  display: none;
}

.about-intro h2 {
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.about-lead {
  margin: 0;
  color: #ddd7cc;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  line-height: 1.58;
  max-width: 31ch;
  position: relative;
  z-index: 1;
}

.about-points {
  grid-area: points;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.about-point {
  border: 1px solid #313131;
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(22, 22, 22, 0.7);
}

.about-point-label {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ff995c;
  margin-bottom: 6px;
}

.about-point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #bfb8ac;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.insight-item h2 {
  margin-bottom: 12px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.footer-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(32, 28, 24, 0.45) 0%, rgba(20, 20, 20, 0.2) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 6px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 20px;
  max-width: min(40vw, 220px);
}

.footer-logo:hover {
  border-color: rgba(255, 138, 61, 0.45);
  transform: translateY(-1px);
}

.footer-center {
  text-align: center;
}

.icon-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  color: #f0ece4;
  background: rgba(16, 16, 16, 0.85);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255, 138, 61, 0.35);
}

.to-top {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(20, 20, 20, 0.72) 100%);
  color: #e8e2d7;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.to-top:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 189, 148, 0.6);
  box-shadow: 0 0 20px rgba(255, 138, 61, 0.28);
}

.motion-item {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 920ms ease, transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1000ms ease;
  transition-delay: var(--stagger, 0ms);
  filter: blur(4px);
  will-change: transform, opacity, filter;
}

.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.parallax-layer {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-0.16%, 0.1%);
  }
  50% {
    transform: translate(0.12%, -0.12%);
  }
  75% {
    transform: translate(0.14%, 0.06%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes vignettePulse {
  0% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.95;
  }
  100% {
    opacity: 0.85;
  }
}

@keyframes brandPulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 6px 16px rgba(0, 0, 0, 0.25);
  }
  50% {
    border-color: rgba(255, 138, 61, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 22px rgba(0, 0, 0, 0.35);
  }
}

@keyframes brandSweep {
  0% {
    left: -44%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    left: 118%;
    opacity: 0;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes heroImageDrift {
  0%,
  100% {
    transform: scale(1.02) translateX(0);
  }
  50% {
    transform: scale(1.06) translateX(1.5%);
  }
}

@keyframes heroGridShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1.6%, -1.2%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 138, 61, 0), 0 0 0 0 rgba(255, 138, 61, 0.3);
    border-color: rgba(255, 196, 148, 0.72);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 138, 61, 0.45), 0 0 0 6px rgba(255, 138, 61, 0.14);
    border-color: rgba(255, 223, 201, 0.95);
  }
}

@keyframes ctaSweep {
  0% {
    left: -34%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    left: 124%;
    opacity: 0;
  }
  100% {
    left: 124%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .motion-item,
  .hero .kicker,
  .hero h1,
  .hero p,
  .hero .actions,
  .card .cta-pop {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 680px) {
  nav {
    min-height: 66px;
  }

  .menu {
    gap: 10px;
    font-size: 0.62rem;
  }

  .nav-left {
    gap: 6px;
  }

  .brand img {
    height: clamp(30px, 7vw, 38px);
    max-width: min(62vw, 300px);
  }

  .nav-sep,
  .nav-icon-link {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .project-hero-split {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .project-title-logo img {
    width: min(280px, 88vw);
  }

  .project-hero-copy {
    border-left: 0;
    border-top: 1px solid #343434;
    padding-left: 0;
    padding-top: 14px;
  }

  .section {
    padding: 36px 0;
  }

  .logo-marquee {
    padding-top: 14px;
  }

  .logo-marquee-window::before,
  .logo-marquee-window::after {
    width: 34px;
  }

  .logo-marquee-track {
    padding: 10px 8px;
    gap: 10px;
  }

  .logo-pill {
    min-width: 200px;
    padding: 4px 2px;
  }

  .logo-pill-image {
    height: 34px;
  }

  .grid {
    gap: 16px;
  }

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

  .home-hero::before {
    inset: 0;
    opacity: 0.92;
    background-size: cover, 190% auto, cover;
    background-position: center, 0% 100%, center;
  }

  .home-hero::after {
    opacity: 0.62;
  }

  .home-hero .hero-copy {
    max-width: 100%;
    gap: 10px;
  }

  .home-hero {
    margin-top: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-break {
    width: 100%;
    margin: 6px 0 10px;
  }

  #about {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .about-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "media"
      "points";
    gap: 16px;
    align-items: start;
  }

  .about-media {
    justify-self: center;
    width: 118px;
    margin-top: 2px;
  }

  .about-lead {
    max-width: 100%;
  }

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

  .footer-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .footer-logo img {
    height: 18px;
  }

  .footer-center {
    grid-column: 1 / -1;
    order: 3;
    text-align: left;
    margin-top: 2px;
  }

  .to-top {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 14px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .about-shell {
    grid-template-columns: minmax(96px, 128px) minmax(0, 0.95fr) minmax(0, 1fr);
    grid-template-areas:
      "media intro points";
    align-items: center;
    gap: 16px;
  }

  .about-media {
    width: clamp(104px, 12vw, 132px);
  }

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

  .home-hero::before {
    inset: 0;
    background-size: cover, 165% auto, cover;
    background-position: center, 0% 100%, center;
  }

  .home-hero::after {
    opacity: 0.56;
  }

  .home-hero .hero-copy {
    max-width: min(68ch, 72%);
  }
}
