/* Collingwood Web Design — site styles */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lato-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/lato-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/lato-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arial resized to Lato's metrics so text doesn't reflow when Lato arrives */
@font-face {
  font-family: "Lato Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT");
  size-adjust: 97.56%;
  ascent-override: 101.17%;
  descent-override: 21.83%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Lato Fallback";
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 93.46%;
  ascent-override: 105.61%;
  descent-override: 22.79%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Lato Fallback";
  font-weight: 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 95.15%;
  ascent-override: 103.73%;
  descent-override: 22.39%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/caveat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #c4121a;
  --red-deep: #9a1016;
  --black: #111111;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --paper: #ffffff;
  --fog: #f5f5f5;
  --max: 72rem;
  --header-h: 4.25rem;
  --font-display: "Lato", "Lato Fallback", sans-serif;
  --font-body: "Lato", "Lato Fallback", sans-serif;
  --font-logo: "Lato", "Lato Fallback", sans-serif;
  --font-script: "Caveat", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0.75rem);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  line-height: 1;
  font-family: var(--font-logo);
  letter-spacing: 0;
}

.logo-strong {
  font-family: var(--font-logo);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
}

.logo-rest {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.logo-web {
  color: var(--black);
  font-weight: 400;
}

.logo-design {
  color: var(--red);
  font-weight: 400;
}

.logo-accent {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--red);
  letter-spacing: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--black);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--black);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--red);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-ghost {
  color: var(--red);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--red);
  color: #fff;
}

.btn-fill-red {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(196, 18, 26, 0.22);
}

.btn-fill-red:hover {
  color: var(--red);
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-solid {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.btn-solid:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-light:hover {
  background: #fff;
  color: var(--black);
}

.btn-arrow::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep keyboard + maple leaf on the right; black field on the left for copy */
  object-position: right center;
  transform: scale3d(1.16, 1.16, 1);
  animation: heroKenBurns 12s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform;
  backface-visibility: hidden;
}

/* Light left scrim only — image already has black negative space + maple badge */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.18) 38%,
    rgba(0, 0, 0, 0) 62%
  );
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  position: static;
  font-family: var(--font-logo);
  z-index: 1;
}

.canada-badge {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  z-index: 2;
  width: clamp(7rem, 15vw, 10.5rem);
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: fadeInSlow 2.8s 0.4s ease-out forwards;
}

/* Tablet + phone hero: readable type over busy keyboard */
@media (max-width: 960px) {
  .hero {
    align-items: end;
    min-height: min(100svh - var(--header-h), 44rem);
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 42%,
        rgba(0, 0, 0, 0.82) 100%
      );
  }

  .hero-inner {
    position: relative;
    padding: 2.5rem 1.25rem 2.75rem;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
  }

  .canada-badge {
    position: static;
    display: block;
    width: clamp(9.5rem, 28vw, 13rem);
    margin: 0 0 1rem;
    top: auto;
    right: auto;
  }

  .hero-brand-top {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }

  .hero-brand-bottom {
    font-size: clamp(1.65rem, 7vw, 2.6rem);
  }

  .hero-sub {
    margin-top: 1.1rem;
    font-size: clamp(1rem, 3.6vw, 1.2rem);
    max-width: 22rem;
  }

  .hero-tags {
    margin-top: 1rem;
    gap: 0.45rem 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .btn-hero {
    background: rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .hero-media img {
    object-position: 62% 40%;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.5) 35%,
        rgba(0, 0, 0, 0.88) 100%
      );
  }

  .hero-inner {
    padding: 2.25rem 1.1rem 2.25rem;
  }

  .canada-badge {
    width: 9.5rem;
    margin-bottom: 0.9rem;
  }

  .hero-brand {
    max-width: none;
  }

  .hero-sub-line {
    display: inline;
  }

  .hero-sub-line:first-child::after {
    content: " ";
  }

  .hero-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.75rem;
    row-gap: 0.55rem;
    max-width: 22rem;
  }

  .hero-tags li {
    gap: 0.45rem;
  }

  .hero-tags li::after {
    display: none;
  }

  .hero-tags li::before {
    content: "";
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
  }

  .hero-cta {
    margin-top: 1.35rem;
  }

  .btn-hero {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-brand-top {
    font-size: 2rem;
  }

  .hero-brand-bottom {
    font-size: 1.55rem;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-tags {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .canada-badge {
    width: 8.5rem;
    margin-bottom: 0.75rem;
  }
}

.hero-brand {
  font-family: var(--font-logo);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  max-width: 12ch;
  opacity: 0;
  animation: fadeUp 1.75s 0.2s var(--hero-ease) forwards;
}

.hero-brand-top {
  display: block;
  color: #fff;
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-brand-bottom {
  display: inline-block;
  position: relative;
  margin-top: 0.05em;
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-web {
  color: #fff;
}

.hero-design {
  color: var(--red);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-family: var(--font-logo);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  opacity: 0;
  animation: fadeUp 1.75s 0.55s var(--hero-ease) forwards;
}

.hero-sub-line {
  display: block;
}

.hero-sub-line:last-child {
  font-weight: 700;
}

.hero-sub em {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 1.25rem;
  font-family: var(--font-logo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  list-style: none;
  opacity: 0;
  animation: fadeUp 1.75s 0.9s var(--hero-ease) forwards;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tags li:not(:last-child)::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero-cta {
  margin-top: 1.85rem;
  opacity: 0;
  animation: fadeUp 1.75s 1.25s var(--hero-ease) forwards;
}

.btn-hero {
  font-family: var(--font-logo);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  gap: 0.65rem;
}

.btn-hero:hover {
  background: #fff;
  color: var(--black);
}

.btn-hero:hover .btn-down {
  border-top-color: var(--black);
}

.btn-down {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--red);
  margin-top: 1px;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-logo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: fadeUp 1.75s 0.05s var(--hero-ease) forwards;
}

.hero-brand-top--sentence {
  text-transform: none;
  letter-spacing: 0.01em;
}

.seo-page .hero-brand {
  max-width: 22ch;
}

.seo-page .hero-brand-top--sentence {
  font-size: clamp(2.4rem, 6.8vw, 4.5rem);
  line-height: 1.05;
}

.seo-page .hero-brand-bottom {
  display: block;
  margin-top: 0.08em;
}

.seo-page .hero-sub {
  max-width: 32rem;
}

/* —— Sections —— */
.section {
  padding: 5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title,
.gfx-logos-intro h2,
.gfx-apps-intro h2,
.wd-selected-top h2,
.wd-process-intro h2,
.seo-care h2,
.seo-local-copy h2,
.seo-improve-copy h2,
.seo-faq-intro h2,
.seo-band-copy h2,
.seo-bridge h2,
.about-partner h2,
.contact-aside-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.45rem;
  color: var(--black);
}

.section-subhead {
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
}

.section-lead {
  margin-top: 1rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-lead strong {
  color: var(--red);
  font-weight: 800;
}

.section-aside {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.section-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Intro */
.intro {
  background: #fff;
  overflow: visible;
  overflow-x: clip;
  /* Tighter than default .section — sits right under service-jump */
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.intro > .section-inner {
  overflow: visible;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr);
  gap: 2rem 1.25rem;
  align-items: center;
}

.intro-copy .eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
}

.intro-copy h2 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0.55rem 0 0;
}

.intro-copy h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  background: var(--red);
  margin-top: 1rem;
}

.intro-text {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

.intro-copy .btn {
  margin-top: 1.75rem;
  font-family: var(--font-body);
}

/* Process orbit — same balanced grid as before; shift right so labels meet SEO/AEO */
.cwd-orbit {
  margin: 0;
  width: 100%;
  max-width: none;
  justify-self: end;
  transform: translateX(7.25rem);
}

.cwd-orbit-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Full orbit: desktop only. Half-circle: tablet + phone. */
.section.intro.intro--half {
  display: none !important;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 960px) {
  .section.intro.intro--full {
    display: none !important;
  }

  .section.intro.intro--half {
    display: block !important;
  }
}

.intro--half .intro-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr);
  gap: 1.5rem 1.25rem;
  align-items: center;
}

.intro--half .cwd-orbit--half {
  justify-self: stretch;
  transform: none;
  width: 100%;
  max-width: none;
  margin-right: -0.5rem;
}

.intro--half .cwd-orbit-svg {
  width: 100%;
  height: auto;
}

.cwd-orbit-hub-fill,
.cwd-orbit-brand,
.cwd-orbit-hub-rim,
.cwd-orbit-hub-track {
  opacity: 0;
  transform-origin: 230px 280px;
  transform: scale(0.94);
}

.cwd-orbit-hub-progress,
.cwd-orbit-arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.cwd-orbit-arc-end,
.cwd-orbit-node,
.cwd-orbit-num,
.cwd-orbit-link,
.cwd-orbit-step {
  opacity: 0;
}

.cwd-orbit.is-in .cwd-orbit-hub-fill,
.cwd-orbit.is-in .cwd-orbit-brand,
.cwd-orbit.is-in .cwd-orbit-hub-rim,
.cwd-orbit.is-in .cwd-orbit-hub-track {
  animation: cwd-orbit-hub-in 1.9s 0.2s var(--hero-ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-hub-progress {
  animation: cwd-orbit-draw 2.6s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cwd-orbit.is-in .cwd-orbit-arc--1 {
  animation: cwd-orbit-draw 2.8s 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cwd-orbit.is-in .cwd-orbit-arc-end--start {
  animation: cwd-orbit-fade 0.7s 1.05s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-arc-end--end {
  animation: cwd-orbit-fade 0.7s 3.6s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-node:nth-child(1),
.cwd-orbit.is-in .cwd-orbit-num:nth-child(1),
.cwd-orbit.is-in .cwd-orbit-link:nth-child(1),
.cwd-orbit.is-in .cwd-orbit-step:nth-child(1) {
  animation: cwd-orbit-fade 0.7s 2.1s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-node:nth-child(2),
.cwd-orbit.is-in .cwd-orbit-num:nth-child(2),
.cwd-orbit.is-in .cwd-orbit-link:nth-child(2),
.cwd-orbit.is-in .cwd-orbit-step:nth-child(2) {
  animation: cwd-orbit-fade 0.7s 2.55s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-node:nth-child(3),
.cwd-orbit.is-in .cwd-orbit-num:nth-child(3),
.cwd-orbit.is-in .cwd-orbit-link:nth-child(3),
.cwd-orbit.is-in .cwd-orbit-step:nth-child(3) {
  animation: cwd-orbit-fade 0.7s 3s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-node:nth-child(4),
.cwd-orbit.is-in .cwd-orbit-num:nth-child(4),
.cwd-orbit.is-in .cwd-orbit-link:nth-child(4),
.cwd-orbit.is-in .cwd-orbit-step:nth-child(4) {
  animation: cwd-orbit-fade 0.7s 3.45s var(--ease) forwards;
}

.cwd-orbit.is-in .cwd-orbit-node:nth-child(5),
.cwd-orbit.is-in .cwd-orbit-num:nth-child(5),
.cwd-orbit.is-in .cwd-orbit-link:nth-child(5),
.cwd-orbit.is-in .cwd-orbit-step:nth-child(5) {
  animation: cwd-orbit-fade 0.7s 3.9s var(--ease) forwards;
}

@keyframes cwd-orbit-hub-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cwd-orbit-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes cwd-orbit-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cwd-orbit-hub-fill,
  .cwd-orbit-brand,
  .cwd-orbit-hub-rim,
  .cwd-orbit-hub-track,
  .cwd-orbit-arc-end,
  .cwd-orbit-node,
  .cwd-orbit-num,
  .cwd-orbit-link,
  .cwd-orbit-step {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cwd-orbit-hub-progress,
  .cwd-orbit-arc {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* Ticker */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 0.95rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.25rem;
  animation: ticker 32s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item .maple {
  width: 1.35rem;
  height: 1.4rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Services */
.services {
  background: var(--fog);
}

.service-grid {
  --service-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.5rem;
  align-items: stretch;
}

/* Thin connector behind the four nodes — same language as the orbit track */
.service-grid::before {
  content: "";
  position: absolute;
  top: 3.85rem;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #d8d8d8 8%,
    #d8d8d8 92%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.service-grid .service-card {
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 1s var(--service-ease),
    transform 1s var(--service-ease);
}

.service-grid .service-card:nth-child(1) { transition-delay: 0.06s; }
.service-grid .service-card:nth-child(2) { transition-delay: 0.16s; }
.service-grid .service-card:nth-child(3) { transition-delay: 0.26s; }
.service-grid .service-card:nth-child(4) { transition-delay: 0.36s; }

.service-grid.is-in .service-card {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .service-grid .service-card {
    opacity: 1;
    transform: none;
  }
}

.service-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  justify-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  overflow: visible;
}

.service-node {
  display: block;
  width: clamp(6.75rem, 10vw, 7.75rem);
  height: clamp(6.75rem, 10vw, 7.75rem);
  margin: 0 auto 1rem;
  align-self: start;
  color: inherit;
}

.service-node-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 18px rgba(17, 17, 17, 0.08));
}

.service-node-hub {
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 2px 4px rgba(17, 17, 17, 0.06));
}

.service-node-num {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  fill: #8e1218;
}

.service-node-spin {
  transform-origin: 60px 60px;
  animation: service-node-spin 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.3s 1 both;
  animation-play-state: paused;
}

.service-grid.is-in .service-node-spin {
  animation-play-state: running;
}

.service-card:nth-child(2) .service-node-spin { animation-delay: 0.45s; animation-direction: reverse; }
.service-card:nth-child(3) .service-node-spin { animation-delay: 0.6s; }
.service-card:nth-child(4) .service-node-spin { animation-delay: 0.75s; animation-direction: reverse; }

.service-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--service-ease);
}

.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card:hover .service-link,
.service-link:focus-visible {
  color: var(--red);
}

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

.service-motif {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--red);
  align-self: center;
  justify-self: center;
  width: 100%;
}

.service-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 16rem;
  align-self: stretch;
}

.service-copy h3 {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 0.55rem;
  max-width: 15.5rem;
  /* Lock all headings to a shared two-line band */
  min-height: calc(1.3em * 2);
  width: 100%;
}

.service-copy > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  width: 100%;
}

.service-extra {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.55;
  width: 100%;
}

.service-card.is-open .service-extra {
  display: block;
}

.service-more {
  margin-top: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: center;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(196, 18, 26, 0.22);
  transition:
    background 0.25s var(--service-ease),
    transform 0.3s var(--service-ease),
    box-shadow 0.3s var(--service-ease);
}

/* Fallback when subgrid isn’t available */
@supports not (grid-template-rows: subgrid) {
  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    grid-row: auto;
  }

  .service-copy {
    flex: 1 1 auto;
  }

  .service-more {
    margin-top: auto;
    align-self: center;
  }
}

.service-more-plus,
.service-more-arrow {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition:
    opacity 0.25s var(--service-ease),
    transform 0.3s var(--service-ease);
}

.service-more-plus {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 500;
}

.service-more-arrow {
  opacity: 0;
  transform: translateX(-4px);
}

a.service-more .service-more-arrow {
  opacity: 1;
  transform: none;
}

.service-more-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

.service-card.is-open .service-more {
  background: var(--black);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.2);
}

.service-card.is-open .service-node-arc {
  stroke-dasharray: 0.72 0.28;
}

@keyframes service-node-spin {
  to { transform: rotate(360deg); }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-node-svg,
  .service-card:focus-within .service-node-svg {
    filter: drop-shadow(0 14px 22px rgba(17, 17, 17, 0.12));
  }

  .service-card:hover .service-node-arc,
  .service-card:focus-within .service-node-arc {
    stroke-dasharray: 0.55 0.45;
  }

  .service-card:hover .service-more,
  .service-card:focus-within .service-more {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(196, 18, 26, 0.3);
  }

  .service-card:hover .service-more-plus,
  .service-card:focus-within .service-more-plus {
    opacity: 0;
    transform: translateX(4px);
  }

  .service-card:hover .service-more-arrow,
  .service-card:focus-within .service-more-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-node-arc {
  transition: stroke-dasharray 0.45s var(--service-ease);
}

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

@media (max-width: 960px) {
  .service-grid::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-node-spin {
    animation: none !important;
  }

  .service-card,
  .service-more,
  .service-more-plus,
  .service-more-arrow,
  .service-node-arc {
    transition: none !important;
  }
}

.services-banner {
  margin-top: 2rem;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 1.15rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Featured work */
.work-showcase {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.25rem;
  align-items: center;
  overflow: visible;
}

.work-showcase .work-card {
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 1.15s var(--ease),
    transform 1.15s var(--ease);
}

.work-showcase .work-card:nth-child(1) { transition-delay: 0.1s; }
.work-showcase .work-card:nth-child(2) { transition-delay: 0.28s; }
.work-showcase .work-card:nth-child(3) { transition-delay: 0.46s; }

.work-showcase.is-in .work-card {
  opacity: 1;
  transform: translateY(0);
}

.work-showcase.is-in .work-card h3 {
  transition: color 0.35s var(--ease);
}

@media (hover: none) {
  .work-showcase.is-in .work-card h3 {
    color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-showcase .work-card {
    opacity: 1;
    transform: none;
  }
}

.work-card {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.work-card:hover,
.work-card:focus-within {
  z-index: 3;
}

.work-media {
  display: block;
  overflow: visible;
}

.work-shot,
.work-media .device-pair {
  display: block;
  width: 100%;
  transition: transform 0.45s var(--ease);
  transform-origin: center center;
}

.work-shot {
  height: auto;
  aspect-ratio: 1231 / 988;
  object-fit: cover;
  background: #1a1a1a;
}

.work-card a:hover .work-shot,
.work-card a:hover .work-media .device-pair,
.work-card a:focus-visible .work-shot,
.work-card a:focus-visible .work-media .device-pair {
  transform: scale(1.1);
}

.work-card--feature .device-pair {
  min-height: 16.8rem;
  padding: 1.5rem 1.2rem 1.2rem;
}

.work-card--feature .device-phone {
  max-height: 13.2rem;
}

.work-card--feature h3 {
  font-size: 0.94rem;
}

.device-pair {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 0.75rem;
  align-items: end;
  background: linear-gradient(160deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 1.25rem 1rem 1rem;
  min-height: 14rem;
}

.device-desktop {
  background: #0d0d0d;
  border-radius: 0.4rem 0.4rem 0 0;
  border: 2px solid #333;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.device-desktop::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 6px;
  background: #222;
  border-radius: 0 0 4px 4px;
}

.device-phone {
  background: #0d0d0d;
  border-radius: 1rem;
  border: 2px solid #333;
  aspect-ratio: 9 / 16;
  max-height: 11rem;
  overflow: hidden;
  justify-self: end;
  width: 42%;
}

.device-screen {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  text-align: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 20%, rgba(196, 18, 26, 0.45), transparent 50%),
    linear-gradient(145deg, #222, #111);
}

.work-card h3 {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.work-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Social proof */
.proof {
  background: var(--fog);
  border-top: 1px solid var(--line);
  padding-left: 0;
  padding-right: 0;
  overflow-x: clip;
}

.proof > .section-inner {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.proof-intro {
  margin-top: 3.25rem;
  margin-bottom: 0.25rem;
}

.proof-reviews {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.proof-reviews .google-rating {
  justify-content: center;
}

.trustindex-embed {
  margin-top: 1.5rem;
  text-align: center;
  filter: grayscale(1);
  transition: filter 0.35s var(--ease);
}

.trustindex-embed:hover,
.trustindex-embed:focus-within {
  filter: grayscale(0.35);
}

.trustindex-embed > div,
.trustindex-embed iframe {
  margin-left: auto;
  margin-right: auto;
}

.client-carousel {
  margin-top: 1.75rem;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.client-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.client-slide {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18.6rem;
  height: 7.8rem;
}

.client-slide img {
  display: block;
  max-width: 100%;
  max-height: 6.6rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.client-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .client-carousel {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .client-track {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    transform: none !important;
    will-change: auto;
    justify-content: center;
  }

  .client-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1rem;
    padding-right: 0;
  }

  .client-group[aria-hidden="true"] {
    display: none;
  }
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

.google-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #4285f4;
  letter-spacing: 0.02em;
}

.stars {
  color: #f4b400;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.rating-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.quote {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Page hero (inner) */
.page-hero {
  background: var(--black);
  color: #fff;
  padding: 4rem 1.25rem 3.25rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(196, 18, 26, 0.35), transparent 55%),
    linear-gradient(180deg, #1a1a1a, #0d0d0d);
  z-index: 0;
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-top: 0.35rem;
}

.page-hero p {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
}

/* 404 */
.notfound-hero {
  padding-top: clamp(4rem, 9vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.notfound-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  max-width: 14ch;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 720px) {
  .notfound-actions .btn {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
  }
}

.notfound-help {
  background: var(--fog);
}

.notfound-help h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 900;
  margin: 0.35rem 0 1.75rem;
}

.notfound-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.notfound-links a {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  height: 100%;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.notfound-links a:hover,
.notfound-links a:focus-visible {
  border-left-color: var(--red);
  transform: translateY(-2px);
}

.notfound-links strong {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--black);
}

.notfound-links a:hover strong,
.notfound-links a:focus-visible strong {
  color: var(--red);
}

.notfound-links span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Full-bleed media heroes — shared Ken Burns (home, web design, SEO, future) */
.page-hero-media .hero-media img {
  object-position: center center;
  transform: scale3d(1.16, 1.16, 1);
  animation: heroKenBurns 12s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes heroKenBurns {
  from {
    transform: scale3d(1.2, 1.2, 1) translate3d(1.5%, 0.5%, 0);
  }
  to {
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  }
}

.page-hero-media-inner {
  font-family: var(--font-body);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-hero-media-inner .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: fadeUp 1.2s 0.15s var(--hero-ease) forwards;
}

.page-hero-media-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1.4s 0.3s var(--hero-ease) forwards;
}

.page-hero-media-inner .page-hero-line {
  display: inline-block;
  white-space: nowrap;
}

.page-hero-media-inner p:not(.eyebrow) {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 1.4s 0.5s var(--hero-ease) forwards;
}

.page-hero-media-inner .accent {
  color: var(--red);
}

.page-hero-media-cta {
  margin-top: 1.35rem;
  opacity: 0;
  animation: fadeUp 1.4s 0.7s var(--hero-ease) forwards;
}

.page-hero-media-inner .hero-cta {
  margin-top: 1.5rem;
}

.seo-page .page-hero-media .hero-media img {
  object-position: center 12%;
  transform-origin: center 18%;
}

@media (max-width: 960px) {
  /* Keep the phone in frame on tall viewports */
  .page-hero-media .hero-media img {
    object-position: right center;
  }

  .seo-page .page-hero-media .hero-media img {
    object-position: 92% 18%;
    transform-origin: 90% 22%;
  }

  .page-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.22) 45%,
      rgba(0, 0, 0, 0.42) 100%
    );
  }

  .page-hero-media-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  }

  .page-hero-media-inner h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.85rem);
  }
}

@media (max-width: 720px) {
  .page-hero-media .hero-media img {
    object-position: 100% 40%;
  }

  .seo-page .page-hero-media .hero-media img {
    object-position: 100% 15%;
    transform-origin: 95% 20%;
  }

  .page-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }
}

/* Graphics hero */
.graphics-page {
  overflow-x: clip;
}

.graphics-hero {
  background: #000;
}

.graphics-hero .hero-media {
  overflow: hidden;
  z-index: 0;
}

.graphics-hero .hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Figure sits right; feet near the bottom — anchor low so they stay in frame */
.graphics-hero .hero-media img {
  object-fit: cover;
  object-position: 75% 85%;
  transform-origin: 75% 85%;
  transform: scale3d(1.12, 1.12, 1);
  animation: heroKenBurnsGraphics 12s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes heroKenBurnsGraphics {
  from {
    transform: scale3d(1.16, 1.16, 1);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

.graphics-hero::after {
  z-index: 1;
  bottom: 0;
  height: 100%;
  inset: auto;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.12) 42%,
    rgba(0, 0, 0, 0) 68%
  );
}

.graphics-hero .hero-inner {
  position: relative;
  z-index: 2;
}

.graphics-hero .page-hero-line {
  white-space: normal;
}

/* Extra air before the Coffee footer after the white services strip */
.graphics-page > .service-jump:last-of-type {
  border-bottom: none;
  padding-top: 1.75rem;
  padding-bottom: clamp(4rem, 9vw, 6.5rem);
}

.graphics-page .gfx-do {
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}

@media (max-width: 960px) {
  .graphics-hero .hero-media img {
    object-position: 80% 85%;
    transform-origin: 80% 85%;
  }
}

@media (max-width: 720px) {
  .graphics-hero .hero-media img {
    object-position: 84% 85%;
    transform-origin: 84% 85%;
  }
}

@media (max-width: 960px) and (orientation: portrait) {
  .graphics-hero .hero-media img {
    object-position: 88% 85%;
    transform-origin: 88% 85%;
  }
}

/* Graphics — logo mosaic */
.gfx-logos {
  padding-top: 3.25rem;
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(196, 18, 26, 0.04), transparent 55%),
    var(--fog);
}

.gfx-logos-intro {
  margin-bottom: 2rem;
}

.gfx-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  column-gap: 0;
  row-gap: 0;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.gfx-logo-tile {
  margin: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  overflow: hidden;
  /* Overlap by 1px so fog/page bg never shows as hairline seams */
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  max-width: none;
  position: relative;
  z-index: 1;
}

.gfx-logo-tile--paper {
  background: #fff;
}

.gfx-logo-tile--fog {
  background: #ebebeb;
}

.gfx-logo-tile--soft {
  background: #f1f1f1;
}

.gfx-logo-tile--warm {
  background: #58595b;
}

.gfx-logo-tile--mackenzie {
  background: #37433b;
}

.gfx-logo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease);
  will-change: transform;
}

.gfx-logo-tile img.is-loaded {
  opacity: 1;
}

@media (hover: hover) {
  .gfx-logo-tile:hover {
    z-index: 2;
  }

  .gfx-logo-tile:hover img {
    transform: scale(1.25);
  }

  .gfx-logo-tile--ski:hover img {
    transform: scale(1.1);
  }

  .gfx-logo-tile--beaver:hover img {
    transform: scale(1.05);
  }
}

.gfx-logo-grid .gfx-logo-tile {
  opacity: 0;
  /* Opacity-only reveal — translateY opens white seams between tiles */
  transform: none;
  transition: opacity 0.7s var(--ease);
}

.gfx-logo-grid .gfx-logo-tile:nth-child(1) { transition-delay: 0.04s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(2) { transition-delay: 0.08s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(3) { transition-delay: 0.12s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(4) { transition-delay: 0.16s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(5) { transition-delay: 0.2s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(6) { transition-delay: 0.24s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(7) { transition-delay: 0.28s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(8) { transition-delay: 0.32s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(9) { transition-delay: 0.36s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(10) { transition-delay: 0.4s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(11) { transition-delay: 0.44s; }
.gfx-logo-grid .gfx-logo-tile:nth-child(12) { transition-delay: 0.48s; }

.gfx-logo-grid.is-in .gfx-logo-tile {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .gfx-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Tablet — Billie Flynn ↔ DDQ */
  .gfx-logo-grid .gfx-logo-tile:nth-child(11) { order: 12; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(12) { order: 11; }
}

/* Tablet portrait — swap Ski / Four Winds + Mackenzie / CACE; white Ski */
@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
  .gfx-logo-grid .gfx-logo-tile:nth-child(1) { order: 1; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(2) { order: 2; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(3) { order: 6; } /* Mackenzie ↔ CACE */
  .gfx-logo-grid .gfx-logo-tile:nth-child(4) { order: 5; } /* Ski → after Four Winds */
  .gfx-logo-grid .gfx-logo-tile:nth-child(5) { order: 4; } /* Four Winds → Ski slot */
  .gfx-logo-grid .gfx-logo-tile:nth-child(6) { order: 3; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(7) { order: 7; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(8) { order: 8; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(9) { order: 9; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(10) { order: 10; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(11) { order: 12; } /* DDQ ↔ Billie Flynn */
  .gfx-logo-grid .gfx-logo-tile:nth-child(12) { order: 11; }

  .gfx-logo-tile--ski {
    background: #fff;
  }
}

@media (max-width: 640px) {
  .gfx-logos {
    padding-top: 2.5rem;
  }

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

  /* Phone — pair swaps; each tile keeps its own background */
  .gfx-logo-grid .gfx-logo-tile:nth-child(1) { order: 1; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(2) { order: 2; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(3) { order: 3; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(4) { order: 4; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(5) { order: 6; } /* Four Winds ↔ CACE */
  .gfx-logo-grid .gfx-logo-tile:nth-child(6) { order: 5; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(7) { order: 7; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(8) { order: 8; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(9) { order: 10; } /* SGBMF ↔ Ontarians */
  .gfx-logo-grid .gfx-logo-tile:nth-child(10) { order: 9; }
  .gfx-logo-grid .gfx-logo-tile:nth-child(11) { order: 12; } /* DDQ ↔ Billie Flynn */
  .gfx-logo-grid .gfx-logo-tile:nth-child(12) { order: 11; }

  .gfx-logo-tile--cace {
    background: #f1f1f1;
  }

  .gfx-logo-tile--sgbmf {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfx-logo-grid .gfx-logo-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gfx-logo-tile img {
    transition: none;
  }

  .gfx-logo-tile img.is-loaded {
    opacity: 1;
  }

  .gfx-logo-tile:hover img {
    transform: none;
  }
}

/* Graphics — brand applications strip */
.gfx-apps {
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

.gfx-apps-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.gfx-apps-intro .eyebrow {
  margin: 0 0 0.85rem;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff5a5f;
}

.gfx-apps-intro h2 {
  margin: 0.35rem 0 0;
  color: #fff;
}

.gfx-apps-rule {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 1.35rem;
  background: var(--red);
}

.gfx-apps-tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.gfx-art {
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.gfx-art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  width: 100%;
  align-items: stretch;
}

.gfx-art-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gfx-art-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.gfx-art-grid--tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gfx-art-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.15rem, 2.5vw, 2rem);
  background: #fff;
  min-height: 100%;
}

.gfx-art-grid--tiles > .gfx-art-intro {
  aspect-ratio: 1;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-height: 0;
  padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
}

.gfx-art-intro .section-title {
  margin: 0.35rem 0 0;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

.gfx-art-intro .eyebrow {
  margin: 0;
}

.gfx-art-intro .gfx-apps-rule {
  margin-top: 1.35rem;
}

.gfx-art-intro .gfx-apps-tagline {
  margin-top: 0.85rem;
  color: var(--muted);
}

.gfx-art .gfx-apps-tile {
  background: #e8e8e8;
}

.gfx-art .gfx-apps-tile--paper {
  background: #fff;
}

.gfx-art .gfx-apps-tile--fog {
  background: var(--fog);
}

.gfx-art .gfx-apps-tile--paper img,
.gfx-art .gfx-apps-tile--fog img {
  object-fit: contain;
}

.gfx-art .gfx-apps-placeholder--light {
  background: #f2f2f2;
}

.gfx-art-grid > .gfx-apps-tile {
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(2) { transition-delay: 0.06s; }
.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(3) { transition-delay: 0.12s; }
.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(4) { transition-delay: 0.18s; }
.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(5) { transition-delay: 0.24s; }
.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(6) { transition-delay: 0.3s; }
.gfx-art-grid--tiles > .gfx-apps-tile:nth-child(7) { transition-delay: 0.36s; }

.gfx-art-grid > .gfx-apps-tile:nth-child(2) { transition-delay: 0.06s; }
.gfx-art-grid > .gfx-apps-tile:nth-child(3) { transition-delay: 0.12s; }
.gfx-art-grid > .gfx-apps-tile:nth-child(4) { transition-delay: 0.18s; }

.gfx-art.is-in .gfx-art-grid > .gfx-apps-tile {
  opacity: 1;
  transform: none;
}

.gfx-art-grid--tiles .gfx-apps-tile--span2 {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
  align-self: stretch;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.gfx-art-grid--tiles .gfx-apps-tile--span2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

@media (max-width: 720px) {
  .gfx-art-layout {
    grid-template-columns: 1fr;
  }

  .gfx-art-intro {
    min-height: auto;
    padding: 2rem 1.25rem 1.5rem;
  }

  .gfx-art-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gfx-art-grid--tiles {
    grid-template-columns: 1fr 1fr;
  }

  .gfx-art-grid--tiles > .gfx-art-intro {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: auto;
  }

  .gfx-art-grid--tiles .gfx-apps-tile--span2 {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 640px) {
  .gfx-art-grid--tiles .gfx-apps-tile--fashion {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfx-art-grid > .gfx-apps-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gfx-apps-tile--span2 img {
    transition: none;
  }

  .gfx-art:not(.gfx-format) .gfx-apps-tile:hover img {
    transform: none;
  }
}

.gfx-format {
  background: #0a0a0a;
  color: #fff;
}

.gfx-format .gfx-art-intro {
  background: #0a0a0a;
}

.gfx-format .gfx-art-intro .eyebrow {
  margin: 0 0 0.85rem;
  color: #ff5a5f;
}

.gfx-format .gfx-art-intro .section-title {
  color: #fff;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.gfx-format .gfx-art-intro .gfx-apps-tagline {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
}

.gfx-format .gfx-art-intro .gfx-apps-rule {
  margin-top: 1.35rem;
}

.gfx-format .gfx-apps-tile {
  background: #141414;
  /* Portrait strip — matches tall banner/poster photos; columns still align with Custom Artwork */
  aspect-ratio: 3 / 4;
}

.gfx-format .gfx-apps-placeholder {
  background:
    linear-gradient(145deg, #1a1a1a 0%, #101010 55%, #181818 100%);
}

.gfx-format .gfx-apps-tile--banner img,
.gfx-format .gfx-apps-tile--poster-fit img {
  object-fit: cover;
  object-position: center center;
}

.gfx-format .gfx-apps-tile--poster-fit {
  background: #0a0a0a;
}

/* Graphics — what we do */
.gfx-do {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 1.25rem;
}

.gfx-do-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.gfx-do-intro .section-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.gfx-do-intro .gfx-apps-rule {
  margin-top: 0.85rem;
}

.gfx-do-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.gfx-do-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-left: 1px solid #cfcfcf;
}

.gfx-do-item:first-child {
  border-left: none;
}

.gfx-do-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--ink);
}

.gfx-do-icon svg {
  width: 100%;
  height: 100%;
}

.gfx-do-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #5a5a5a;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .gfx-do-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gfx-do-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gfx-do-item:nth-child(4) {
    border-left: none;
  }
}

@media (max-width: 520px) {
  .gfx-do-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfx-do-item:nth-child(odd) {
    border-left: none;
  }

  .gfx-do-item:nth-child(3) {
    border-left: none;
  }
}

.gfx-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.gfx-apps-tile {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #141414;
}

.gfx-apps-tile img,
.gfx-apps-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfx-apps-tile img {
  transform: scale(1);
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

@media (hover: hover) {
  .gfx-apps-tile:hover img {
    transform: scale(1.25);
  }

  .gfx-art:not(.gfx-format) .gfx-apps-tile:hover img {
    transform: scale(1.1);
  }

  .gfx-format .gfx-apps-tile:hover img,
  .gfx-apps-tile--banner:hover img {
    transform: scale(1.1);
  }
}

.gfx-apps-placeholder {
  background:
    linear-gradient(145deg, #1a1a1a 0%, #101010 55%, #181818 100%);
}

.gfx-apps-grid .gfx-apps-tile {
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.gfx-apps-grid .gfx-apps-tile:nth-child(1) { transition-delay: 0.06s; }
.gfx-apps-grid .gfx-apps-tile:nth-child(2) { transition-delay: 0.12s; }
.gfx-apps-grid .gfx-apps-tile:nth-child(3) { transition-delay: 0.18s; }
.gfx-apps-grid .gfx-apps-tile:nth-child(4) { transition-delay: 0.24s; }

.gfx-apps.is-in .gfx-apps-tile {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  .gfx-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfx-apps-grid .gfx-apps-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gfx-apps-tile img {
    transition: none;
  }

  .gfx-apps-tile:hover img {
    transform: none;
  }
}

/* Service jump bar (below hero) */
.service-jump {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.service-jump-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.service-jump-label {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.service-jump .section-rule--inline {
  flex: 1 1 auto;
  min-width: 2rem;
  margin: 0;
  height: 3px;
}

.service-jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.service-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  color: var(--black);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-jump-btn:hover {
  background: rgba(196, 18, 26, 0.08);
  color: var(--black);
  border-color: var(--red);
}

@media (max-width: 960px) {
  .service-jump-inner {
    flex-wrap: wrap;
    padding: 1.15rem 1.25rem 1.25rem;
    row-gap: 1rem;
  }

  .service-jump-label {
    white-space: nowrap;
    flex: 0 1 auto;
  }

  .service-jump .section-rule--inline {
    display: block;
    flex: 1 1 auto;
    min-width: 3rem;
    align-self: center;
  }

  .service-jump-actions {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Web Design — process */
.wd-process {
  background: var(--fog);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.wd-process--white {
  background: #fff;
}

.wd-process-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.wd-process-intro h2 {
  margin: 0.45rem 0 0;
}

.wd-process-aside-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.wd-process-aside p:not(.wd-process-aside-title) {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.wd-process-body {
  position: relative;
  display: block;
  padding-top: 0.55rem;
}

.wd-process-track {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  top: 0.55rem;
  height: 3px;
  pointer-events: none;
  z-index: 1;
}

/* Second vertical rail — tablet 2-col only (see media query below) */
.wd-process-track--right {
  display: none;
}

.wd-process-track__line,
.wd-process-track__glow {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: left center;
}

.wd-process-track__line {
  height: 2px;
  top: 0.5px;
  background: rgba(196, 18, 26, 0.18);
  transform: scaleX(0);
}

.wd-process-track__glow {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--red) 35%,
    #ff5a5f 50%,
    var(--red) 65%,
    transparent 100%
  );
  background-size: 40% 100%;
  background-repeat: no-repeat;
  background-position: -40% 0;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(196, 18, 26, 0.55));
}

.wd-process-steps {
  list-style: none;
  margin: 0;
  padding: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.wd-process-body:has(.wd-process-steps.is-in) .wd-process-track__line {
  animation: wd-process-draw 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wd-process-body:has(.wd-process-steps.is-in) .wd-process-track__glow {
  animation:
    wd-process-glow-in 0.35s ease 0.55s forwards,
    rule-shimmer 3.2s ease-in-out 1s infinite;
}

.wd-process-step {
  position: relative;
  padding-top: 0.35rem;
}

.wd-process-step::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: -2.3rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #fff, 0 0 10px rgba(196, 18, 26, 0.35);
  transform: scale(0);
  opacity: 0;
}

.wd-process-num,
.wd-process-step h3,
.wd-process-step li {
  opacity: 0;
  transform: translateY(0.65rem);
}

.wd-process-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.45rem;
}

.wd-process-step h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.wd-process-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-process-step li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.wd-process-step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg) scale(0);
  opacity: 0;
  transform-origin: center;
}

.wd-process-steps.is-in .wd-process-step::before {
  animation: wd-process-dot 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wd-process-steps.is-in .wd-process-num,
.wd-process-steps.is-in .wd-process-step h3,
.wd-process-steps.is-in .wd-process-step li {
  animation: wd-process-rise 0.7s var(--ease) forwards;
}

.wd-process-steps.is-in .wd-process-step li::before {
  animation: wd-process-check 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wd-process-steps.is-in .wd-process-step:nth-child(1)::before { animation-delay: 0.35s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2)::before { animation-delay: 0.55s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3)::before { animation-delay: 0.75s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4)::before { animation-delay: 0.95s; }

.wd-process-steps.is-in .wd-process-step:nth-child(1) .wd-process-num { animation-delay: 0.4s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) h3 { animation-delay: 0.48s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(1) { animation-delay: 0.56s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(1)::before { animation-delay: 0.56s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(2) { animation-delay: 0.64s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(2)::before { animation-delay: 0.64s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(3) { animation-delay: 0.72s; }
.wd-process-steps.is-in .wd-process-step:nth-child(1) li:nth-child(3)::before { animation-delay: 0.72s; }

.wd-process-steps.is-in .wd-process-step:nth-child(2) .wd-process-num { animation-delay: 0.6s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) h3 { animation-delay: 0.68s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(1) { animation-delay: 0.76s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(1)::before { animation-delay: 0.76s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(2) { animation-delay: 0.84s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(2)::before { animation-delay: 0.84s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(3) { animation-delay: 0.92s; }
.wd-process-steps.is-in .wd-process-step:nth-child(2) li:nth-child(3)::before { animation-delay: 0.92s; }

.wd-process-steps.is-in .wd-process-step:nth-child(3) .wd-process-num { animation-delay: 0.8s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) h3 { animation-delay: 0.88s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(1) { animation-delay: 0.96s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(1)::before { animation-delay: 0.96s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(2) { animation-delay: 1.04s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(2)::before { animation-delay: 1.04s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(3) { animation-delay: 1.12s; }
.wd-process-steps.is-in .wd-process-step:nth-child(3) li:nth-child(3)::before { animation-delay: 1.12s; }

.wd-process-steps.is-in .wd-process-step:nth-child(4) .wd-process-num { animation-delay: 1s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) h3 { animation-delay: 1.08s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(1) { animation-delay: 1.16s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(1)::before { animation-delay: 1.16s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(2) { animation-delay: 1.24s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(2)::before { animation-delay: 1.24s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(3) { animation-delay: 1.32s; }
.wd-process-steps.is-in .wd-process-step:nth-child(4) li:nth-child(3)::before { animation-delay: 1.32s; }

@keyframes wd-process-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes wd-process-draw-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes wd-process-glow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wd-process-shimmer-y {
  0% { background-position: 0 -45%; }
  100% { background-position: 0 145%; }
}

@keyframes wd-process-dot {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wd-process-rise {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wd-process-check {
  from {
    opacity: 0;
    transform: rotate(-45deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
  }
}

/* Web Design — selected work */
.wd-selected {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.wd-selected-more {
  padding-top: 3.5rem;
}

.wd-selected-top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
}

.wd-selected-top h2 {
  margin: 0.35rem 0 0;
  max-width: 18ch;
}

.wd-selected-sub {
  margin: 0.65rem 0 0;
  font-weight: 700;
  color: var(--ink);
}

.wd-selected-all {
  flex-shrink: 0;
}

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

.wd-selected-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
}

.wd-selected-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s var(--ease);
}

.wd-selected-card:hover img,
.wd-selected-card:focus-visible img {
  transform: scale(1.02);
}

.wd-selected-item {
  min-width: 0;
  position: relative;
}

.wd-selected-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.wd-selected-meta .wd-selected-name {
  margin: 0;
}

.wd-selected-name {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--ink);
}

.wd-pulse-tip {
  position: relative;
  flex-shrink: 0;
}

.wd-pulse-tip__btn {
  position: relative;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wd-pulse-tip__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 18, 26, 0.18);
}

.wd-pulse-tip__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  opacity: 0.55;
  animation: wd-pulse-ring 2s var(--ease) infinite;
  pointer-events: none;
}

.wd-pulse-tip__btn:hover .wd-pulse-tip__dot,
.wd-pulse-tip__btn:focus-visible .wd-pulse-tip__dot,
.wd-pulse-tip__btn[aria-expanded="true"] .wd-pulse-tip__dot {
  background: var(--red-deep);
}

.wd-pulse-tip__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wd-pulse-tip__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.85rem);
  transform: translateX(-50%);
  width: min(21rem, calc(100vw - 2.5rem));
  padding: 1.05rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
  z-index: 5;
  text-align: left;
}

.wd-pulse-tip__panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--paper);
  filter: drop-shadow(0 1px 0 var(--line));
}

.wd-pulse-tip__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
}

.wd-pulse-tip__panel p + p {
  margin-top: 0.7rem;
}

@keyframes wd-pulse-ring {
  0% {
    transform: scale(0.65);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wd-pulse-tip__ring {
    animation: none;
    opacity: 0.35;
  }
}

.wd-selected-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  color: var(--red);
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}

.wd-selected-arrow__icon {
  display: block;
}

.wd-selected-arrow__icon svg {
  display: block;
  width: 2.5rem;
  height: 0.75rem;
}

.wd-selected-arrow:hover,
.wd-selected-arrow:focus-visible {
  transform: translateX(0.25rem);
}

.wd-selected-grid .wd-selected-item {
  opacity: 0;
  transform: translateY(0.7rem);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.wd-selected-grid .wd-selected-item:nth-child(1) { transition-delay: 0.05s; }
.wd-selected-grid .wd-selected-item:nth-child(2) { transition-delay: 0.18s; }
.wd-selected-grid .wd-selected-item:nth-child(3) { transition-delay: 0.31s; }

.wd-selected-grid.is-in .wd-selected-item {
  opacity: 1;
  transform: none;
}

/* Featured case study band */
.wd-featured-case {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: visible;
  min-height: 28rem;
  display: grid;
  align-items: center;
  padding-inline: 1.25rem;
  border-bottom: 2px solid var(--red);
  margin-bottom: 2.75rem;
}

.wd-featured-case:has(.wd-featured-case-visual--lower) {
  margin-bottom: 4.25rem;
}

.wd-featured-case-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #111;
  overflow: hidden;
}

.wd-featured-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.45;
}

.wd-featured-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.82) 38%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.wd-featured-case-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) auto minmax(18rem, 1.15fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 3.5rem;
  padding-bottom: 0;
}

.wd-featured-case-copy {
  max-width: 26rem;
  grid-column: 1;
  padding-bottom: 3.5rem;
}

.wd-featured-case .eyebrow {
  color: var(--red);
}

.wd-featured-case h2,
.wd-featured-case h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0.35rem 0 0;
}

.wd-featured-case-tag {
  margin: 0.85rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.wd-featured-case-copy > p:not(.eyebrow):not(.wd-featured-case-tag) {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.wd-featured-case .btn-ghost-on-dark {
  margin-top: 1.5rem;
  color: #fff;
  border-color: var(--red);
}

.case-study-desktop-note {
  margin: 2.25rem 0 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.case-study-desktop-note strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.case-study-desktop-note + .case-study-actions {
  margin-top: 1.75rem;
}

.wd-featured-case .btn-ghost-on-dark:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.wd-featured-case-rail {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  gap: 1.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  padding-bottom: 3.5rem;
}

.wd-featured-case-visual {
  grid-column: 3;
  margin: 0;
  min-width: 0;
  align-self: end;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-bottom: -2.25rem;
}

.wd-featured-case-visual--lower {
  margin-bottom: -3.75rem;
}

.wd-featured-case-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(34rem, 72vh);
  object-fit: contain;
  object-position: right bottom;
}

@media (prefers-reduced-motion: reduce) {
  .wd-process-track__line {
    transform: none;
    animation: none !important;
  }

  .wd-process-track__glow {
    opacity: 0.55;
    animation: none !important;
    background: var(--red);
    background-size: auto;
    background-position: center;
    filter: none;
  }

  .wd-process-step::before,
  .wd-process-num,
  .wd-process-step h3,
  .wd-process-step li,
  .wd-process-step li::before,
  .wd-selected-grid .wd-selected-item {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .wd-process-step li::before {
    transform: rotate(-45deg);
  }

  .wd-selected-card img {
    transition: none;
  }
}

@media (max-width: 960px) {
  .wd-process-top {
    grid-template-columns: 1fr;
  }

  .wd-featured-case-rail {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    grid-column: 1;
    justify-self: start;
  }

  /* Vertical process rail on tablet + phone */
  .wd-process-body {
    padding-top: 0;
    padding-left: 1.85rem;
  }

  .wd-process-track {
    display: block;
    left: 0.4rem;
    right: auto;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    height: auto;
  }

  .wd-process-track__line,
  .wd-process-track__glow {
    transform-origin: top center;
  }

  .wd-process-track__line {
    width: 2px;
    height: 100%;
    left: 0.5px;
    top: 0;
    right: auto;
    bottom: auto;
    transform: scaleY(0);
  }

  .wd-process-track__glow {
    width: 3px;
    height: 100%;
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
    background: linear-gradient(
      180deg,
      transparent 0%,
      var(--red) 35%,
      #ff5a5f 50%,
      var(--red) 65%,
      transparent 100%
    );
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 -40%;
  }

  .wd-process-body:has(.wd-process-steps.is-in) .wd-process-track__line {
    animation: wd-process-draw-y 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .wd-process-body:has(.wd-process-steps.is-in) .wd-process-track__glow {
    animation:
      wd-process-glow-in 0.35s ease 0.55s forwards,
      wd-process-shimmer-y 3.2s ease-in-out 1s infinite;
  }

  .wd-process-steps {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    gap: 1.85rem 1.5rem;
  }

  .wd-process-step {
    padding-top: 0;
    padding-left: 0.25rem;
  }

  .wd-process-step::before {
    display: block;
    left: -1.6rem;
    top: 0.4rem;
  }

  /* Right-column steps: local dots sit on the right rail */
  .wd-process-step:nth-child(even)::before {
    left: 0;
  }

  .wd-process-step:nth-child(even) {
    padding-left: 1.15rem;
  }

  .wd-selected-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wd-featured-case-inner {
    grid-template-columns: 1fr;
  }

  .wd-featured-case-copy,
  .wd-featured-case-visual {
    grid-column: 1;
  }

  .wd-featured-case-visual img {
    max-height: none;
    object-position: center;
  }
}

/* Matching right rail through 02 / 04 on tablet 2-col */
@media (min-width: 641px) and (max-width: 960px) {
  .wd-process-track.wd-process-track--right {
    display: block;
    /* Center of right-column dots (left: 0, 0.75rem wide) */
    left: calc(1.85rem + (100% - 1.85rem - 1.5rem) / 2 + 1.5rem + 0.375rem - 1.5px);
    right: auto;
  }
}

@media (max-width: 640px) {
  .wd-process,
  .wd-selected {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .wd-process-steps {
    grid-template-columns: 1fr;
  }

  .wd-process-step:nth-child(even) {
    padding-left: 0.25rem;
  }

  .wd-process-step:nth-child(even)::before {
    left: -1.6rem;
  }

  .wd-selected-grid {
    grid-template-columns: 1fr;
  }

  .wd-featured-case-inner {
    padding-top: 3.25rem;
    padding-bottom: 0;
  }

  .wd-featured-case-copy {
    padding-bottom: 1.5rem;
  }

  .wd-featured-case-rail {
    padding-bottom: 1.25rem;
  }
}

/* Web Design — work examples (legacy) */
.wd-work {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.wd-work-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 2rem;
  color: var(--ink);
}

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

.wd-work-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wd-work-shot {
  display: block;
  width: 100%;
  aspect-ratio: 1231 / 988;
  object-fit: cover;
  border-radius: 1.15rem;
  background: #1a1a1a;
  transition: transform 0.45s var(--ease);
}

.wd-work-item a:hover .wd-work-shot,
.wd-work-item a:focus-visible .wd-work-shot {
  transform: scale(1.02);
}

.wd-work-cat {
  margin: 1rem 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.wd-work-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.wd-work-desc {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.wd-work-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
}

.wd-work-item a:hover .wd-work-link,
.wd-work-item a:focus-visible .wd-work-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wd-work-grid .wd-work-item {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.wd-work-grid .wd-work-item:nth-child(1) { transition-delay: 0.08s; }
.wd-work-grid .wd-work-item:nth-child(2) { transition-delay: 0.22s; }
.wd-work-grid .wd-work-item:nth-child(3) { transition-delay: 0.36s; }

.wd-work-grid.is-in .wd-work-item {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .wd-work-grid .wd-work-item {
    opacity: 1;
    transform: none;
  }

  .wd-work-shot {
    transition: none;
  }
}

@media (max-width: 960px) {
  .wd-work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .wd-work {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

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

/* Case study teaser under work grid */
.case-study-strip {
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.case-study-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.case-study-meta > div {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.case-study-meta > div:first-child {
  padding-top: 0;
}

.case-study-meta > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.case-study-meta dt {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-study-meta dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.case-study-meta dd.case-study-meta-sub {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.case-study-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study-meta-list li {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.case-study-meta a {
  color: var(--red);
  text-decoration: none;
}

.case-study-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 720px) {
  .case-study-meta {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "client live"
      "disciplines disciplines"
      "services services";
    gap: 1.5rem 2rem;
  }

  .case-study-meta > div {
    padding: 0;
    border-bottom: none;
  }

  .case-study-meta > div:nth-child(1) { grid-area: client; }
  .case-study-meta > div:nth-child(2) { grid-area: disciplines; }
  .case-study-meta > div:nth-child(3) { grid-area: services; }
  .case-study-meta > div:nth-child(4) { grid-area: live; }
}

@media (min-width: 1100px) {
  .case-study-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: none;
    gap: 1.5rem 0;
  }

  .case-study-meta > div {
    padding-inline: 1.5rem;
    border-right: 1px solid var(--line);
  }

  .case-study-meta > div:first-child {
    padding-left: 0;
  }

  .case-study-meta > div:last-child {
    padding-right: 0;
    border-right: none;
  }

  .case-study-meta > div:nth-child(1),
  .case-study-meta > div:nth-child(2),
  .case-study-meta > div:nth-child(3),
  .case-study-meta > div:nth-child(4) {
    grid-area: auto;
  }
}

.case-study-cta {
  margin: 1.5rem 0 0;
}

.case-study-cta a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}

.case-study-cta a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Case study detail page */
.case-study-page-hero {
  margin-bottom: 2.75rem;
}

.case-study-page-hero .wd-featured-case-visual {
  margin-bottom: -2.25rem;
}

.case-study-page-hero .wd-featured-case-visual--lower {
  margin-bottom: -3.75rem;
}

.case-study-page-hero:has(.wd-featured-case-visual--lower) {
  margin-bottom: 4.25rem;
}

.case-study-page .service-jump {
  padding-top: 1.25rem;
}

.case-study-hero {
  padding: 3rem 0 0;
}

.case-study-hero .section-inner {
  max-width: var(--max);
}

.case-study-kicker {
  margin: 0 0 0.65rem;
}

.case-study-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

.case-study-lead {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.case-study-hero-media {
  margin: 2rem 0 0;
}

.case-study-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.15rem;
  background: #1a1a1a;
}

.case-study-body {
  background: var(--fog);
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.case-study-body .case-study-strip {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.case-study-story {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.case-study-story-copy h2,
.case-study-result-copy h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.case-study-story-copy h2:first-child {
  margin-top: 0;
}

.case-study-story-copy p,
.case-study-result-copy p {
  color: var(--muted);
}

.case-study-result-copy .case-study-punch {
  color: var(--red);
  font-weight: 700;
}

.case-study-punch--outro {
  margin: 2.25rem 0 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.45;
}

.case-study-story-copy a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.case-study-story-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.case-study-story-copy p + p,
.case-study-result-copy p + p {
  margin-top: 1rem;
}

.case-study-story-media {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: transparent;
  overflow: visible;
}

.case-study-story-media img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-story-media figcaption {
  margin: 0.65rem 0 0;
  padding: 0;
  line-height: 1.4;
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
  background: transparent;
}

.case-study-lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.case-study-lightbox-trigger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.case-study-lightbox {
  width: min(92vw, 52rem);
  max-width: 92vw;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  overflow: auto;
}

.case-study-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.case-study-lightbox-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #111;
}

.case-study-lightbox-close {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.case-study-lightbox-close:hover,
.case-study-lightbox-close:focus-visible {
  border-color: #fff;
}

.case-study-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 3rem);
  object-fit: contain;
  background: #1a1a1a;
}

.case-study-result-media {
  margin: 0;
  background: transparent;
  overflow: visible;
}

.case-study-result-media img,
.case-study-result-media video {
  display: block;
  width: 100%;
  height: auto;
  background: #1a1a1a;
}

.case-study-result-media figcaption {
  margin: 0.65rem 0 0;
  padding: 0;
  line-height: 1.4;
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
  background: transparent;
}

.case-study-result {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.case-study-result-copy h2 {
  margin-top: 0;
}

@media (min-width: 900px) {
  .case-study-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2.5rem 2.75rem;
  }

  .case-study-result {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2.75rem;
    align-items: center;
  }

  .case-study-story--solo,
  .case-study-result--solo {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 899px) {
  .case-study-story-media {
    position: static;
    order: -1;
  }

  .case-study-result-media {
    order: -1;
  }
}

.case-study-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.content-block {
  max-width: 42rem;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.75rem;
}

.content-block p + p {
  margin-top: 1rem;
}

.content-block p {
  color: var(--muted);
}

.content-block ul {
  margin: 0.75rem 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}

.content-block li {
  position: relative;
  margin-top: 0.4rem;
  padding-left: 1.15rem;
}

.content-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--red);
}

.content-block a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.content-block a:hover {
  color: var(--red);
}

.content-block strong {
  color: var(--ink);
  font-weight: 700;
}

.testimonial-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.testimonial-item {
  border-left: 3px solid var(--red);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.testimonial-item p {
  color: var(--ink);
}

.testimonial-item cite {
  display: block;
  margin-top: 0.65rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Contact form */
.contact-section {
  background: var(--fog);
  padding-bottom: 6.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-rows: auto 1fr;
  gap: 2.5rem 3.5rem;
  align-items: start;
}

.contact-aside {
  grid-column: 1;
  grid-row: 1;
}

.contact-layout > .contact-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.contact-photo {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  margin: 0;
  min-height: 16rem;
  overflow: hidden;
  background: #2a2a2e;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
}

.contact-map {
  margin: 0;
  overflow: hidden;
  background: #d8d8d8;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(14rem, 36vw, 22rem);
  border: 0;
  filter: grayscale(1);
}

.contact-security {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}

.contact-security-inner {
  max-width: 40rem;
}

.contact-security h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
  color: var(--ink);
}

.contact-security p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.contact-security p + p {
  margin-top: 0.85rem;
}

.contact-security strong {
  color: var(--ink);
  font-weight: 700;
}

.contact-aside-title {
  margin: 0.35rem 0 1rem;
}

h1.contact-aside-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.contact-aside-lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  max-width: 28rem;
}

.contact-aside-lead strong {
  color: var(--ink);
}

.contact-details dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 1.25rem;
}

.contact-details dd {
  margin-top: 0.25rem;
  color: var(--ink);
  line-height: 1.55;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.contact-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.35rem 0 0.65rem;
}

.contact-panel-lead {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#contact-form,
.contact-form {
  display: grid;
  gap: 1.15rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

#contact-form label,
.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-optional {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  font-size: 0.78rem;
}

#contact-form input,
#contact-form textarea,
#contact-form select,
.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  padding: 0.9rem 1rem;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 18, 26, 0.12);
}

#contact-form textarea,
.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.contact-form-actions .btn {
  justify-self: start;
  min-width: 10rem;
}

[data-cwd-contact-status] {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

[data-cwd-contact-state="error"] {
  color: var(--red);
  font-weight: 700;
}

.contact-thanks {
  width: min(26rem, calc(100% - 2rem));
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.contact-thanks[open] {
  animation: contactThanksIn 0.35s var(--ease);
}

.contact-thanks::backdrop {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@keyframes contactThanksIn {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-thanks-x {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-thanks-x:hover,
.contact-thanks-x:focus-visible {
  background: var(--fog);
  color: var(--ink);
}

.contact-thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 18, 26, 0.3);
}

.contact-thanks h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-thanks-text {
  margin: 0 auto;
  max-width: 20rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-thanks-sign {
  margin: 0.75rem 0 1.5rem;
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.contact-thanks .btn {
  min-width: 9rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .contact-thanks[open] {
    animation: none;
  }
}

/* Footer */
.site-footer {
  position: relative;
  color: #fff;
  isolation: isolate;
}

.footer-top {
  position: relative;
  padding: 6.5rem 1.25rem 4rem;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.footer-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.4) 100%);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.footer-note {
  max-width: var(--max);
  margin: 2.75rem auto 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.footer-meta {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-signatures {
  display: block;
  width: min(10rem, 56%);
  height: auto;
  margin: 0 0 1.35rem;
}

.footer-meta span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
}

.footer-meta a:hover {
  color: var(--red);
}

.footer-words {
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-align: right;
  writing-mode: horizontal-tb;
  text-transform: lowercase;
}

.footer-words .code {
  display: block;
  color: #fff;
  font-weight: 900;
}

.footer-words .develop {
  display: block;
  color: var(--red);
  font-weight: 900;
}

@media (min-width: 900px) {
  .footer-words {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: left;
    justify-self: end;
  }
}

.legal-bar {
  background: #000;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.4rem 1.25rem;
}

.legal-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.legal-links a:hover {
  color: #fff;
}

.maple-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.maple-inline-img {
  width: 0.95rem;
  height: 1rem;
  object-fit: contain;
  display: inline-block;
  vertical-align: -0.1em;
}

.social-icons {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.social-icons a {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  color: #fff;
  transition: color 0.25s var(--ease);
}

.social-icons a:hover,
.social-icons a:focus-visible {
  color: var(--red);
}

.social-icons svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  display: block;
}

.social-icons .icon-instagram {
  fill: none;
  stroke: currentColor;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInSlow {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img { transform: none; }
}

/* —— About page —— */
.about-page .accent {
  color: var(--red);
}

.about-hero {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.about-bios {
  padding-top: 2.5rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem 3.5rem;
  align-items: center;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.35rem 0 1rem;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 1rem;
  max-width: 32rem;
}

.about-hero-copy p:not(.eyebrow):not(.about-lead) {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.about-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #2a2a2e;
}

.about-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-frame--hero {
  aspect-ratio: 4 / 3;
  max-height: none;
}

.about-script {
  position: absolute;
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.about-frame--hero .about-script {
  top: 1.25rem;
  right: 1.25rem;
  max-width: 10rem;
  text-align: right;
}

.about-bios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 3.5rem;
  align-items: stretch;
}

.about-bio {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.about-bio h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.25rem 0 0.75rem;
}

.about-rule {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--red);
  margin-bottom: 1rem;
}

.about-teaser {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.about-bio > p:not(.eyebrow):not(.about-teaser):not(.about-sign) {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-bio .about-frame {
  aspect-ratio: 3 / 4;
  margin-top: auto;
  margin-bottom: 0.85rem;
}

.about-bio .about-script {
  left: 1rem;
  bottom: 1rem;
  right: auto;
  top: auto;
}

.about-sign {
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.about-skye {
  background: var(--fog);
  padding: 4rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-skye-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 2rem 3rem;
  align-items: center;
}

.about-skye h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  margin: 0.2rem 0 0.75rem;
}

.about-frame--skye {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 16rem;
}

.about-script--paw {
  right: 1.25rem;
  bottom: 1.25rem;
  left: auto;
  top: auto;
  max-width: 11rem;
  text-align: right;
}

.about-script--paw::after {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.35rem;
  vertical-align: -0.1rem;
  background: var(--red);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 18c-2.5 0-5.5-1.8-5.5-4.8 0-1.7 1-3.2 1.8-4.1.3-.4.9-.3 1.1.1.4.8.9 1.5 1.4 1.5s1-.7 1.4-1.5c.2-.4.8-.5 1.1-.1.8.9 1.8 2.4 1.8 4.1C17.5 16.2 14.5 18 12 18zm-5.2-9.2c-.9 0-1.7-.8-1.7-1.8S5.9 5.2 6.8 5.2s1.7.8 1.7 1.8-.8 1.8-1.7 1.8zm10.4 0c-.9 0-1.7-.8-1.7-1.8s.8-1.8 1.7-1.8 1.7.8 1.7 1.8-.8 1.8-1.7 1.8zM8.6 5.8c-.9 0-1.6-.8-1.6-1.7S7.7 2.4 8.6 2.4s1.6.8 1.6 1.7-.7 1.7-1.6 1.7zm6.8 0c-.9 0-1.6-.8-1.6-1.7s.7-1.7 1.6-1.7 1.6.8 1.6 1.7-.7 1.7-1.6 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 18c-2.5 0-5.5-1.8-5.5-4.8 0-1.7 1-3.2 1.8-4.1.3-.4.9-.3 1.1.1.4.8.9 1.5 1.4 1.5s1-.7 1.4-1.5c.2-.4.8-.5 1.1-.1.8.9 1.8 2.4 1.8 4.1C17.5 16.2 14.5 18 12 18zm-5.2-9.2c-.9 0-1.7-.8-1.7-1.8S5.9 5.2 6.8 5.2s1.7.8 1.7 1.8-.8 1.8-1.7 1.8zm10.4 0c-.9 0-1.7-.8-1.7-1.8s.8-1.8 1.7-1.8 1.7.8 1.7 1.8-.8 1.8-1.7 1.8zM8.6 5.8c-.9 0-1.6-.8-1.6-1.7S7.7 2.4 8.6 2.4s1.6.8 1.6 1.7-.7 1.7-1.6 1.7zm6.8 0c-.9 0-1.6-.8-1.6-1.7s.7-1.7 1.6-1.7 1.6.8 1.6 1.7-.7 1.7-1.6 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-partner-grid > div:first-child {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.about-partner h2 {
  margin: 0.35rem 0 1rem;
}

.about-partner p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.about-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.about-place {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.about-place-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-place-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.about-place-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.about-place-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  padding: 5rem 1.25rem;
}

.about-place-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
}

.about-place h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.about-place-line2 {
  color: #fff;
}

.about-script--place {
  position: static;
  justify-self: end;
  text-align: right;
  max-width: 14rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.about-maple {
  width: 1.2rem;
  height: auto;
  display: inline-block;
}

.about-bridge,
.seo-bridge {
  background: var(--paper);
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-bridge p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 36rem;
  margin-inline: auto;
}

.land-ack {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.land-ack-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 52rem;
}

.land-ack-icon {
  display: block;
  width: 5.5rem;
  height: auto;
}

.land-ack-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}

.land-ack-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.land-ack-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .land-ack-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }

  .land-ack-icon {
    width: 4rem;
  }
}

.seo-bridge .section-inner {
  text-align: center;
  max-width: 40rem;
}

.seo-bridge h2 {
  margin: 0.45rem 0 1rem;
}

.seo-bridge h2 .accent {
  font-style: normal;
}

.seo-bridge-lead {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 34rem;
}

/* Responsive */
@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    row-gap: 0;
  }

  /* Keep + with its card; clear air before the next node (2-col only) */
  .service-card {
    padding-bottom: 2.75rem;
  }

  .service-more {
    margin-top: 0.7rem;
  }

  .work-showcase {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
  .about-hero-grid,
  .about-bios-grid,
  .about-skye-grid,
  .about-partner-grid,
  .about-place-inner,
  .contact-layout,
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .about-partner-grid > div:first-child {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
  }
  .about-frame--hero {
    max-height: none;
    order: -1;
  }
  .about-frame--skye {
    min-height: 0;
  }
  .contact-layout {
    grid-template-rows: none;
  }
  .contact-aside,
  .contact-layout > .contact-panel,
  .contact-photo {
    grid-column: auto;
    grid-row: auto;
  }
  .contact-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .about-script--place {
    justify-self: start;
    text-align: left;
    justify-content: flex-start;
  }

  /* Tablet: intro copy + orbit */
  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem 1.5rem;
    align-items: center;
  }

  .intro-text {
    max-width: none;
  }

  .cwd-orbit {
    max-width: none;
    justify-self: stretch;
    transform: none;
  }

  .intro--half .intro-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.35fr);
  }

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

  .footer-words {
    text-align: left;
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* Tablet 2-col only: last row needs less bottom pad */
@media (max-width: 960px) and (min-width: 721px) {
  .service-card:nth-last-child(-n + 2) {
    padding-bottom: 0.25rem;
  }
}

/* Phone: stack intro */
@media (max-width: 640px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .cwd-orbit {
    justify-self: center;
    max-width: 34rem;
    transform: none;
  }

  .intro--half .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro--half .cwd-orbit--half {
    margin-right: 0;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Phone: drop subgrid — fixed stack spacing so + stays even under every card */
  .service-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    grid-row: auto;
    height: auto;
    padding-bottom: 2.75rem;
  }

  .service-card:nth-last-child(-n + 2),
  .service-card:last-child {
    padding-bottom: 2.75rem;
  }

  .service-card:last-child {
    padding-bottom: 0.15rem;
  }

  .service-node {
    margin: 0 auto 0.85rem;
  }

  .service-motif {
    margin: 0 0 0.4rem;
    align-self: center;
    text-align: center;
    width: 100%;
  }

  .service-copy {
    flex: 0 0 auto !important;
    align-self: center;
    width: 100%;
    max-width: 22rem;
  }

  .service-copy h3 {
    min-height: 0;
    margin-bottom: 0.5rem;
  }

  .service-copy > p {
    margin: 0;
  }

  .service-extra {
    margin-top: 0.65rem;
  }

  .service-more {
    margin-top: 0.85rem !important;
    align-self: center;
    justify-self: auto;
  }
}

@media (max-width: 480px) {
  .client-slide {
    width: 13.8rem;
    height: 6rem;
  }

  .client-slide img {
    max-height: 5.1rem;
  }

  .client-group {
    gap: 0.65rem;
    padding-right: 0.65rem;
  }
}

/* —— SEO / AEO page —— */
.seo-page .accent {
  color: var(--red);
}

.seo-hero {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
}

.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.4rem 0 1rem;
}

.seo-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.seo-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 4 / 3;
}

.seo-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-script {
  position: absolute;
  font-family: var(--font-script);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.seo-hero-media .seo-script {
  top: 1.1rem;
  right: 1.15rem;
  text-align: right;
  max-width: 11rem;
  color: var(--ink);
  text-shadow: none;
}

.seo-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}

.seo-pair-icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.seo-pair-icon svg {
  width: 100%;
  height: 100%;
}

.seo-pair-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.seo-pair-label {
  color: var(--red);
  margin-right: 0.25rem;
}

.seo-pair-card p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 28rem;
}

.seo-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 24rem;
  display: grid;
  align-items: center;
}

.seo-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.seo-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.2) 100%);
}

.seo-band--ai .seo-band-media::after {
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.32) 55%, rgba(8, 8, 10, 0.14) 100%);
}

.seo-band--ai {
  min-height: 0;
  display: block;
}

.seo-band--ai .seo-band-media {
  position: relative;
  inset: auto;
}

.seo-band--ai .seo-band-media img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

.seo-band--ai .seo-ai-grid {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  box-sizing: border-box;
}

.seo-band--picture {
  min-height: 0;
  display: block;
}

.seo-band--picture .seo-band-media {
  position: relative;
  inset: auto;
}

.seo-band--picture .seo-band-media img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

.seo-band--picture .seo-band-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.seo-band--cta .seo-band-media::after {
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.7) 0%, rgba(8, 8, 10, 0.4) 55%, rgba(8, 8, 10, 0.25) 100%);
}

.seo-band--cta {
  min-height: 0;
  display: block;
}

.seo-band--cta .seo-band-media {
  position: relative;
  inset: auto;
}

.seo-band--cta .seo-band-media img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

.seo-band--cta .seo-cta-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.seo-band-inner,
.seo-ai-grid,
.seo-cta-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem;
  width: 100%;
}

.seo-band-copy {
  max-width: 34rem;
}

.seo-band-copy h2 {
  margin: 0.45rem 0 1rem;
  color: #fff;
}

.seo-band-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Heading → CTA when there is no body copy (1rem h2 + 0.5rem = 1.5rem) */
.seo-band-copy h2 + .btn {
  margin-top: 0.5rem;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.seo-script--band {
  position: absolute;
  right: 1.5rem;
  bottom: 2.5rem;
  text-align: right;
}

.seo-band-inner {
  position: relative;
}

.seo-do-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.seo-do-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.25rem;
}

.seo-do-grid li {
  position: relative;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 2px solid transparent;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease);
}

.seo-do-grid li:nth-child(1) { transition-delay: 0.08s; }
.seo-do-grid li:nth-child(2) { transition-delay: 0.22s; }
.seo-do-grid li:nth-child(3) { transition-delay: 0.36s; }
.seo-do-grid li:nth-child(4) { transition-delay: 0.5s; }
.seo-do-grid li:nth-child(5) { transition-delay: 0.64s; }
.seo-do-grid li:nth-child(6) { transition-delay: 0.78s; }

.seo-do-grid.is-in li {
  opacity: 1;
  transform: translateY(0);
  border-left-color: var(--red);
}

.seo-do-grid.is-in li:hover,
.seo-do-grid.is-in li:focus-within {
  transform: translateY(-3px);
  background: rgba(196, 18, 26, 0.04);
}

.seo-do-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: #e8e8e8;
  margin-bottom: 0.65rem;
  transition: color 0.45s var(--ease);
}

.seo-do-grid.is-in .seo-do-num {
  color: rgba(196, 18, 26, 0.28);
}

.seo-do-grid h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  transition: color 0.35s var(--ease);
}

.seo-do-grid.is-in li:hover h3,
.seo-do-grid.is-in li:focus-within h3 {
  color: var(--red);
}

.seo-do-grid p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .seo-do-grid li {
    opacity: 1;
    transform: none;
    transition: border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  }

  .seo-do-grid.is-in li:hover,
  .seo-do-grid.is-in li:focus-within {
    transform: none;
  }
}

@media (hover: none) {
  .seo-do-grid.is-in h3 {
    color: var(--ink);
  }

  .seo-do-grid.is-in li:nth-child(odd) {
    background: rgba(196, 18, 26, 0.03);
  }
}

.seo-ai-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.seo-check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  justify-self: end;
  min-width: 12rem;
}

.seo-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 1.35s var(--ease),
    transform 1.35s var(--ease);
}

.seo-check-list.is-in li {
  opacity: 1;
  transform: translateY(0);
}

.seo-check-list li:nth-child(1) { transition-delay: 0.2s; }
.seo-check-list li:nth-child(2) { transition-delay: 0.55s; }
.seo-check-list li:nth-child(3) { transition-delay: 0.9s; }
.seo-check-list li:nth-child(4) { transition-delay: 1.25s; }
.seo-check-list li:nth-child(5) { transition-delay: 1.6s; }

.seo-check-list li::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.8 12.2c2.1 1.9 3.6 5.1 4.4 7.6C11.2 13.4 16.4 8.1 21.2 4.2' stroke='%23ffffff' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .seo-check-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.seo-care {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--fog);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-care-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem 3rem;
  align-items: start;
}

.seo-care h2 {
  margin-top: 0.4rem;
}

.seo-care-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.seo-proof {
  color: var(--ink) !important;
  font-weight: 700;
  line-height: 1.55 !important;
  margin-bottom: 1.5rem !important;
}

.seo-proof a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-proof a:hover {
  text-decoration-thickness: 2px;
}

.seo-local-grid,
.seo-improve-grid,
.seo-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.75rem 3.25rem;
  align-items: center;
}

.seo-local-copy h2,
.seo-improve-copy h2,
.seo-faq-intro h2 {
  margin: 0.45rem 0 1rem;
}

.seo-local-copy p:not(.eyebrow),
.seo-improve-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.seo-local-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #222;
}

.seo-local-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-script--on-photo {
  left: 1.15rem;
  bottom: 1.15rem;
  right: auto;
  top: auto;
  text-align: left;
}

.seo-improve {
  background: var(--fog);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: clip;
}

.seo-text-link {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.seo-improve-stack {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0;
}

.seo-improve-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  padding: 1.35rem 1.4rem 1.35rem calc(1.4rem - 1px);
  box-shadow: none;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 1.35s var(--ease),
    transform 1.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.seo-improve-card:nth-child(1) { transition-delay: 0.2s; }
.seo-improve-card:nth-child(2) {
  transform: translate(1.75rem, 0.75rem);
  transition-delay: 0.55s;
}
.seo-improve-card:nth-child(3) {
  transition-delay: 0.9s;
}

.seo-improve-stack.is-in .seo-improve-card {
  opacity: 1;
  transform: translateY(0);
}

.seo-improve-stack.is-in .seo-improve-card:nth-child(2) {
  transform: translateX(1.75rem);
}

.seo-improve-stack.is-in .seo-improve-card:hover,
.seo-improve-stack.is-in .seo-improve-card:focus-within {
  border-left-color: var(--red);
  background: #fafafa;
  transform: translateY(-3px);
}

.seo-improve-stack.is-in .seo-improve-card:nth-child(2):hover,
.seo-improve-stack.is-in .seo-improve-card:nth-child(2):focus-within {
  transform: translate(1.75rem, -3px);
}

.seo-improve-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  transition: color 0.35s var(--ease);
}

.seo-improve-stack.is-in .seo-improve-card:hover h3,
.seo-improve-stack.is-in .seo-improve-card:focus-within h3 {
  color: var(--red);
}

.seo-improve-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.seo-improve-card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-improve-card li::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.8 12.2c2.1 1.9 3.6 5.1 4.4 7.6C11.2 13.4 16.4 8.1 21.2 4.2' stroke='%23c4121a' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .seo-improve-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
  }

  .seo-improve-card:nth-child(2) {
    transform: translateX(1.75rem);
  }

  .seo-improve-card:nth-child(3) {
    transform: none;
  }
}

/* Heading → CTA when there is no body copy (matches band / local 1.5rem) */
.seo-faq-intro h2 + .btn {
  margin-top: 0.5rem;
}

.seo-faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.seo-faq-item {
  border-bottom: 1px solid var(--line);
}

.seo-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.seo-faq-item[open] summary::after {
  content: "–";
}

.seo-faq-item p {
  padding: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 38rem;
}

@media (max-width: 900px) {
  .seo-hero-grid,
  .seo-pair-grid,
  .seo-ai-grid,
  .seo-local-grid,
  .seo-improve-grid,
  .seo-faq-grid,
  .seo-cta-inner,
  .seo-care-grid {
    grid-template-columns: 1fr;
  }

  /* Photo bands: cover + content height on tablet/phone (full natural height is too short) */
  .seo-band--picture,
  .seo-band--ai,
  .seo-band--cta {
    min-height: 0;
    display: grid;
    align-items: stretch;
  }

  .seo-band--picture .seo-band-media,
  .seo-band--ai .seo-band-media,
  .seo-band--cta .seo-band-media {
    position: absolute;
    inset: 0;
  }

  .seo-band--picture .seo-band-media img,
  .seo-band--ai .seo-band-media img,
  .seo-band--cta .seo-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .seo-band--picture .seo-band-inner,
  .seo-band--ai .seo-ai-grid,
  .seo-band--cta .seo-cta-inner {
    position: relative;
    inset: auto;
    display: grid;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .seo-band--cta .seo-cta-inner {
    display: block;
  }

  .seo-do-grid {
    grid-template-columns: 1fr 1fr;
  }

  .seo-check-list {
    justify-self: start;
  }

  .seo-improve-card:nth-child(2),
  .seo-improve-card:nth-child(3) {
    transform: translateY(0.75rem);
  }

  .seo-improve-stack.is-in .seo-improve-card:nth-child(2),
  .seo-improve-stack.is-in .seo-improve-card:nth-child(3) {
    transform: none;
  }

  .seo-improve-stack.is-in .seo-improve-card:nth-child(2):hover,
  .seo-improve-stack.is-in .seo-improve-card:nth-child(3):hover,
  .seo-improve-stack.is-in .seo-improve-card:nth-child(2):focus-within,
  .seo-improve-stack.is-in .seo-improve-card:nth-child(3):focus-within {
    transform: translateY(-3px);
  }

  .seo-improve-stack.is-in .seo-improve-card:hover,
  .seo-improve-stack.is-in .seo-improve-card:focus-within {
    transform: translateY(-3px);
  }

  .seo-script--band {
    position: static;
    margin-top: 1.5rem;
    text-align: left;
  }

  .seo-script--cta {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .seo-do-grid {
    grid-template-columns: 1fr;
  }
}

/* Animated section rule (from Rinks & Links, CWD red) */
.section-rule {
  position: relative;
  height: 2px;
  margin: 0.85rem 0;
}

.section-rule--full {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.section-rule__track,
.section-rule__accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  display: block;
  transform-origin: center;
}

.section-rule__track {
  background: rgba(196, 18, 26, 0.18);
  transform: scaleX(0);
}

.section-rule__accent {
  height: 3px;
  top: -0.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--red) 38%,
    #ff5a5f 50%,
    var(--red) 62%,
    transparent 100%
  );
  background-size: 42% 100%;
  background-repeat: no-repeat;
  background-position: -45% 0;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(196, 18, 26, 0.65));
}

.section-rule.is-in .section-rule__track {
  animation: rule-draw 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-rule.is-in .section-rule__accent {
  animation:
    rule-accent-in 0.35s ease 0.55s forwards,
    rule-shimmer 3.2s ease-in-out 1s infinite;
}

@keyframes rule-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes rule-accent-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rule-shimmer {
  0% { background-position: -45% 0; }
  100% { background-position: 145% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .section-rule__track {
    transform: none;
    animation: none !important;
  }

  .section-rule__accent {
    opacity: 0.55;
    animation: none !important;
    background: var(--red);
    background-size: auto;
    background-position: center;
    filter: none;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  width: min(25rem, calc(100% - 3rem));
  padding: 1.25rem 1.35rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(calc(100% + 3rem));
  transition: transform 0.35s var(--ease);
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
}

/* Back to top — flush right */
.back-to-top {
  position: fixed;
  right: 0;
  left: auto;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.4rem 0 0 0.4rem;
  background: rgba(42, 42, 42, 0.72);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s,
    background 0.25s var(--ease);
}

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

.back-to-top:hover {
  background: rgba(17, 17, 17, 0.88);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.back-to-top__arrow {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(0.1rem) rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

@media (max-width: 720px) {
  .back-to-top {
    width: 2rem;
    height: 2rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3a3a3a;
}

.cookie-banner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 700;
}
.cookie-banner a:hover {
  color: var(--red);
}

.cookie-banner-accept {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}

/* —— Deep Thought AI (off-menu partner page) —— */
.dtai-page .accent {
  color: var(--red);
}

.dtai-page {
  scroll-padding-top: calc(var(--header-h) + 5.5rem);
}

.dtai-hero {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(196, 18, 26, 0.06), transparent 55%),
    var(--paper);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.dtai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.dtai-hero-media {
  margin: 0;
  overflow: hidden;
  background: #2a2a2e;
  aspect-ratio: 1 / 1;
  align-self: center;
}

.dtai-hero-media .case-study-lightbox-trigger,
.dtai-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.dtai-hero-media img {
  object-fit: cover;
  object-position: center;
}

.dtai-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0.35rem 0 1rem;
}

.dtai-role {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.dtai-lead {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  max-width: 36rem;
  margin-bottom: 0.85rem;
}

.dtai-hero-copy > p:not(.eyebrow):not(.dtai-role):not(.dtai-lead) {
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.dtai-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--fog);
  border-top: none;
  border-bottom: 1px solid var(--line);
}

.dtai-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.dtai-bar-rule {
  padding-top: 0;
  padding-bottom: 0;
}

.dtai-bar-rule .section-rule {
  margin: 0;
}

.dtai-bar-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.dtai-bar-item:hover {
  border-color: var(--red);
  background: rgba(196, 18, 26, 0.04);
  color: var(--ink);
}

.dtai-bar-icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  background-color: var(--red);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.dtai-bar-icon--gears {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon1.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon1.png");
}

.dtai-bar-icon--expand {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon2.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon2.png");
}

.dtai-bar-icon--desktop {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/icon-desktop.svg");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/icon-desktop.svg");
}

.dtai-bar-icon--workflow {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/workflow-icon.svg");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/workflow-icon.svg");
}

.dtai-bar-icon--cloud {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon5.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/slider-tab-icon5.png");
}

.dtai-bar-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.dtai-ideas {
  background: var(--paper);
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.dtai-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
}

.dtai-idea {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.dtai-ideas-grid.is-in .dtai-idea {
  opacity: 1;
  transform: none;
}

.dtai-ideas-grid.is-in .dtai-idea:nth-child(2) { transition-delay: 0.12s; }
.dtai-ideas-grid.is-in .dtai-idea:nth-child(3) { transition-delay: 0.24s; }

.dtai-idea-icon {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.25rem;
  background-color: var(--red);
  -webkit-mask: center bottom / contain no-repeat;
  mask: center bottom / contain no-repeat;
}

.dtai-idea-icon--eye {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-1.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-1.png");
}

.dtai-idea-icon--blocks {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-blocks.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-blocks.png");
}

.dtai-idea-icon--list {
  -webkit-mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-2.png");
  mask-image: url("https://media.cwd-cdn.com/C-W-D/images/dtai-icons/heading-icon-2.png");
}

.dtai-idea h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.dtai-idea p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 26rem;
}

.dtai-define {
  background: var(--fog);
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.dtai-define-head {
  margin-bottom: 1.35rem;
}

.dtai-define-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.dtai-define h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 0.35rem;
  max-width: none;
}

.dtai-define-media {
  margin: 0;
  max-width: none;
  width: 100%;
  background: transparent;
  aspect-ratio: auto;
  overflow: visible;
}

.dtai-define-media .case-study-lightbox-trigger,
.dtai-define-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.dtai-define-media img {
  object-fit: cover;
  object-position: center;
}

.sdlc-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sdlc-hub,
.sdlc-node {
  opacity: 0;
}

.sdlc-progress {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.dtai-sdlc.is-in .sdlc-hub {
  animation: sdlc-fade 1.3s 0.3s var(--ease) forwards;
}

.dtai-sdlc.is-in .sdlc-progress {
  animation: sdlc-draw 5.8s 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dtai-sdlc.is-in .sdlc-node:nth-child(1) { animation: sdlc-fade 1s 1.3s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(2) { animation: sdlc-fade 1s 2.1s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(3) { animation: sdlc-fade 1s 2.9s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(4) { animation: sdlc-fade 1s 3.7s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(5) { animation: sdlc-fade 1s 4.5s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(6) { animation: sdlc-fade 1s 5.3s var(--ease) forwards; }
.dtai-sdlc.is-in .sdlc-node:nth-child(7) { animation: sdlc-fade 1s 6.1s var(--ease) forwards; }

@keyframes sdlc-fade {
  to { opacity: 1; }
}

@keyframes sdlc-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sdlc-hub,
  .sdlc-node {
    opacity: 1;
  }

  .sdlc-progress {
    stroke-dashoffset: 0;
  }

  .dtai-sdlc.is-in .sdlc-hub,
  .dtai-sdlc.is-in .sdlc-node,
  .dtai-sdlc.is-in .sdlc-progress {
    animation: none;
  }
}

.dtai-define-copy p {
  color: var(--muted);
  line-height: 1.75;
  max-width: none;
  font-size: 0.98rem;
}

.dtai-define-copy p + p {
  margin-top: 1rem;
}

.dtai-section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.dtai-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 0.35rem;
}

.dtai-practice {
  background: var(--paper);
}

.dtai-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dtai-practice-grid li {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.dtai-practice-grid.is-in li {
  opacity: 1;
  transform: none;
}

.dtai-practice-grid.is-in li:nth-child(1) { transition-delay: 0.06s; }
.dtai-practice-grid.is-in li:nth-child(2) { transition-delay: 0.16s; }
.dtai-practice-grid.is-in li:nth-child(3) { transition-delay: 0.26s; }
.dtai-practice-grid.is-in li:nth-child(4) { transition-delay: 0.36s; }
.dtai-practice-grid.is-in li:nth-child(5) { transition-delay: 0.46s; }
.dtai-practice-grid.is-in li:nth-child(6) { transition-delay: 0.56s; }

.dtai-num {
  display: block;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.dtai-practice-grid h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.dtai-practice-grid p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.dtai-tools {
  background: var(--paper);
}

.dtai-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2rem 3.5rem;
  align-items: center;
}

.dtai-tools h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0.35rem 0 1rem;
}

.dtai-tools-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 28rem;
}

.dtai-tools-media {
  margin: 1.5rem 0 0;
  max-width: 21rem;
}

.dtai-tools-media img {
  display: block;
  width: 100%;
  height: auto;
}

.dtai-tool-list {
  display: grid;
  gap: 0.85rem;
}

.dtai-tool-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.dtai-tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
}

.dtai-tool-list.is-in li {
  opacity: 1;
  transform: none;
}

.dtai-tool-list.is-in li:nth-child(1) { transition-delay: 0.05s; }
.dtai-tool-list.is-in li:nth-child(2) { transition-delay: 0.12s; }
.dtai-tool-list.is-in li:nth-child(3) { transition-delay: 0.19s; }
.dtai-tool-list.is-in li:nth-child(4) { transition-delay: 0.26s; }
.dtai-tool-list.is-in li:nth-child(5) { transition-delay: 0.33s; }
.dtai-tool-list.is-in li:nth-child(6) { transition-delay: 0.4s; }

.dtai-contact {
  background: var(--fog);
}

.dtai-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

.dtai-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0.35rem 0 0.65rem;
}

.dtai-contact-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.dtai-contact-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.dtai-contact-meta p {
  display: grid;
  gap: 0.15rem;
}

.dtai-contact-meta span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dtai-contact-meta a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dtai-contact-meta a:hover {
  color: var(--red);
}

.dtai-proof {
  background: var(--fog);
  border-top: none;
}

.dtai-proof-grid {
  max-width: 40rem;
}

.dtai-proof h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0.35rem 0 1rem;
}

.dtai-proof p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dtai-contact-aside p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.dtai-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0;
}

@media (max-width: 960px) {
  .dtai-hero-grid,
  .dtai-define-grid,
  .dtai-tools-grid,
  .dtai-contact-grid {
    grid-template-columns: 1fr;
  }

  .dtai-hero-media {
    max-width: 28rem;
    width: 100%;
  }

  .dtai-ideas-grid,
  .dtai-practice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dtai-bar-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dtai-ideas-grid,
  .dtai-practice-grid {
    grid-template-columns: 1fr;
  }

  .dtai-bar {
    position: static;
  }

  .dtai-bar-inner {
    grid-template-columns: 1fr;
  }

  .dtai-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dtai-idea,
  .dtai-practice-grid li,
  .dtai-tool-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
