
    :root {
      --ink: #242424;
      --ink-2: #161616;
      --accent: #ef4060;
      --paper: #f6f1e8;
      --paper-2: #e9dfd1;
      --white: #fffdfa;
      --sage: #b9cdb8;
      --blue: #9bbbd2;
      --line: rgba(36, 36, 36, .14);
      --line-strong: rgba(36, 36, 36, .28);
      --muted: rgba(36, 36, 36, .62);
      --sans: "Inter", Arial, sans-serif;
      --serif: "Newsreader", Georgia, serif;
      --ease: cubic-bezier(.19, 1, .22, 1);
      --wrap: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 96px;
      overflow-x: hidden;
      background: var(--paper);
    }

    body {
      margin: 0;
      color: var(--ink);
      background:
        linear-gradient(90deg, transparent calc(100% - 1px), rgba(36, 36, 36, .07) 1px) 0 0 / 25vw 100%,
        var(--paper);
      font-family: var(--sans);
      overflow-x: hidden;
    }

    body::before {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 140;
      width: var(--scroll-progress, 0%);
      height: 4px;
      content: "";
      background: var(--accent);
      transform-origin: left;
      transition: width 80ms linear;
    }

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

    button,
    input,
    textarea {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
    }

    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor input,
    body.has-custom-cursor textarea,
    body.has-custom-cursor label {
      cursor: none;
    }

    .custom-cursor {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 900;
      display: none;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(239,64,96,.72);
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      background: rgba(255,255,255,.04);
      transform: translate3d(-50%, -50%, 0) scale(.82);
      transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background 180ms ease, opacity 160ms ease, transform 120ms ease;
    }

    .custom-cursor span {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 5px;
      height: 5px;
      background: var(--accent);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: transform 180ms var(--ease), background 180ms ease;
    }

    body.has-custom-cursor .custom-cursor {
      display: block;
    }

    body.cursor-ready .custom-cursor {
      opacity: 1;
    }

    body.cursor-hover .custom-cursor {
      width: 52px;
      height: 52px;
      border-color: rgba(239,64,96,.72);
      background: rgba(239,64,96,.08);
    }

    body.cursor-hover .custom-cursor span {
      transform: translate(-50%, -50%) scale(.72);
    }

    body.cursor-press .custom-cursor {
      transform: translate3d(-50%, -50%, 0) scale(.72);
    }

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

    .skip {
      position: fixed;
      left: 16px;
      top: 16px;
      z-index: 200;
      padding: 10px 12px;
      color: var(--white);
      background: var(--ink);
      transform: translateY(-140%);
    }

    .skip:focus {
      transform: translateY(0);
    }

    .site-shell {
      width: min(calc(100% - 28px), 1540px);
      margin: 14px auto;
      background: var(--white);
      border: 1px solid var(--line);
      min-height: calc(100vh - 28px);
      overflow: hidden;
      transform-origin: center top;
      transition: transform 420ms var(--ease), filter 320ms ease;
    }

    body.is-changing .site-shell {
      filter: blur(3px);
      transform: scale(.992);
    }

    .page-loader {
      position: fixed;
      inset: 0;
      z-index: 500;
      display: grid;
      place-items: center;
      color: var(--white);
      background: var(--ink);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 260ms ease, visibility 0s linear 260ms;
    }

    .page-loader::before,
    .page-loader::after {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-101%);
    }

    .page-loader::before {
      background: var(--accent);
    }

    .page-loader::after {
      background: var(--ink);
    }

    body.is-loading .page-loader,
    body.is-changing .page-loader {
      opacity: 1;
      visibility: visible;
      transition-delay: 0s;
    }

    body.is-loading .page-loader::before {
      animation: loaderSweep 1100ms var(--ease) both;
    }

    body.is-loading .page-loader::after {
      animation: loaderSweep 1100ms var(--ease) 120ms both;
    }

    body.is-changing .page-loader::before {
      animation: loaderIn 520ms var(--ease) both;
    }

    body.is-changing .page-loader::after {
      animation: loaderIn 520ms var(--ease) 80ms both;
    }

    .page-loader__inner {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 12px;
      width: min(320px, calc(100vw - 52px));
      opacity: 0;
      transform: translateY(12px);
    }

    body.is-loading .page-loader__inner,
    body.is-changing .page-loader__inner {
      animation: loaderText 720ms var(--ease) 180ms both;
    }

    .page-loader__label {
      color: var(--accent);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .page-loader__brand {
      color: var(--white);
      font-size: clamp(34px, 8vw, 76px);
      font-weight: 900;
      line-height: .88;
      letter-spacing: -.06em;
    }

    .page-loader__line {
      position: relative;
      width: 100%;
      height: 3px;
      overflow: hidden;
      background: rgba(255,255,255,.18);
    }

    .page-loader__line::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--accent);
      transform-origin: left center;
      animation: loaderLine 980ms var(--ease) infinite;
    }

    @keyframes loaderSweep {
      0% { transform: translateX(-101%); }
      36%, 78% { transform: translateX(0); }
      100% { transform: translateX(101%); }
    }

    @keyframes loaderIn {
      from { transform: translateX(-101%); }
      to { transform: translateX(0); }
    }

    @keyframes loaderText {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes loaderLine {
      0% { transform: scaleX(0); }
      55% { transform: scaleX(1); }
      100% { transform: translateX(100%) scaleX(1); }
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 80;
      display: grid;
      grid-template-columns: 220px 1fr auto;
      min-height: 74px;
      background: rgba(255, 253, 250, .92);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(18px);
      transition: box-shadow 240ms ease, transform 240ms var(--ease), background 240ms ease;
    }

    .topbar.is-scrolled {
      background: rgba(255, 253, 250, .98);
      box-shadow: 0 18px 50px rgba(36, 36, 36, .08);
      transform: translateY(-2px);
    }

    .brand {
      display: grid;
      align-content: center;
      padding: 0 24px;
      border-right: 1px solid var(--line);
    }

    .brand strong {
      font-size: 16px;
      font-weight: 850;
      letter-spacing: -.02em;
    }

    .brand span {
      margin-top: 5px;
      color: var(--accent);
      font-size: 10px;
      font-weight: 850;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 16px;
      list-style: none;
    }

    .nav a {
      padding: 10px 13px;
      border: 1px solid transparent;
      border-radius: 999px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: .04em;
      text-transform: uppercase;
      transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
    }

    .nav a:hover,
    .nav a.is-active {
      color: var(--ink);
      background: var(--paper);
      border-color: var(--line);
    }

    .top-cta {
      display: grid;
      place-items: center;
      min-width: 170px;
      color: var(--white);
      background: var(--ink);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
      transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
      transition: background 220ms ease, color 220ms ease, transform 180ms var(--ease);
    }

    .top-cta:hover {
      color: var(--ink);
      background: var(--paper);
    }

    .menu {
      display: none;
      width: 74px;
      color: var(--white);
      background: var(--ink);
      transition: background 260ms ease, color 260ms ease;
    }

    .menu span {
      display: block;
      width: 26px;
      height: 2px;
      margin: 5px auto;
      background: currentColor;
      transform-origin: center;
      transition: transform 360ms var(--ease), opacity 220ms ease, width 260ms var(--ease);
    }

    .menu.is-open {
      color: var(--ink);
      background: var(--accent);
    }

    .menu:focus-visible {
      outline: 0;
      box-shadow: inset 0 0 0 2px var(--white);
    }

    .menu.is-open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .menu.is-open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(.25);
    }

    .menu.is-open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-panel {
      display: grid;
      max-height: 0;
      padding: 0 18px;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background: var(--white);
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition:
        max-height 560ms var(--ease),
        padding 360ms var(--ease),
        opacity 260ms ease,
        visibility 0s linear 560ms,
        transform 420ms var(--ease);
    }

    .mobile-panel a {
      display: block;
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
      font-weight: 850;
      letter-spacing: -.02em;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(16px);
      transition:
        opacity 360ms ease,
        transform 460ms var(--ease),
        color 220ms ease,
        padding-left 260ms var(--ease);
    }

    .mobile-panel a:hover {
      color: var(--accent);
      padding-left: 8px;
    }

    .mobile-panel.is-open {
      max-height: 520px;
      padding: 18px;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition:
        max-height 620ms var(--ease),
        padding 360ms var(--ease),
        opacity 240ms ease,
        visibility 0s,
        transform 420ms var(--ease);
    }

    .mobile-panel.is-open a {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-panel.is-open li:nth-child(1) a,
    .mobile-panel.is-open a:nth-child(1) { transition-delay: 70ms; }
    .mobile-panel.is-open li:nth-child(2) a,
    .mobile-panel.is-open a:nth-child(2) { transition-delay: 115ms; }
    .mobile-panel.is-open li:nth-child(3) a,
    .mobile-panel.is-open a:nth-child(3) { transition-delay: 160ms; }
    .mobile-panel.is-open li:nth-child(4) a,
    .mobile-panel.is-open a:nth-child(4) { transition-delay: 205ms; }
    .mobile-panel.is-open li:nth-child(5) a,
    .mobile-panel.is-open a:nth-child(5) { transition-delay: 250ms; }
    .mobile-panel.is-open li:nth-child(6) a,
    .mobile-panel.is-open a:nth-child(6) { transition-delay: 295ms; }

    body.mobile-menu-open .topbar {
      background: rgba(255, 253, 250, .98);
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
      min-height: calc(100vh - 102px);
      border-bottom: 1px solid var(--line);
    }

    .hero-copy {
      display: grid;
      align-content: space-between;
      min-height: 680px;
      padding: clamp(28px, 5vw, 72px);
      min-width: 0;
    }

    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      background: var(--white);
      font-size: 12px;
      font-weight: 750;
    }

    .pill::before {
      width: 7px;
      height: 7px;
      content: "";
      background: var(--accent);
      border-radius: 50%;
    }

    h1 {
      max-width: 790px;
      margin: 62px 0 0;
      font-size: clamp(44px, 7vw, 104px);
      font-weight: 850;
      line-height: .95;
      letter-spacing: 0;
    }

    .hero-copy h1 em {
      color: var(--accent);
      font-family: var(--serif);
      font-style: italic;
      font-weight: 650;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: minmax(0, 460px) minmax(190px, 260px);
      gap: 28px;
      align-items: end;
      margin-top: 46px;
    }

    .intro-grid p {
      margin: 0;
      color: var(--muted);
      font-size: 19px;
      font-weight: 550;
      line-height: 1.45;
    }

    .primary-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-height: 58px;
      padding: 0 18px 0 22px;
      color: var(--white);
      background: var(--accent);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .1em;
      text-transform: uppercase;
      overflow: hidden;
      transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
      transition: transform 260ms var(--ease), box-shadow 260ms ease;
    }

    .primary-link::before {
      position: absolute;
      inset: 0;
      content: "";
      background: var(--ink);
      transform: translateX(-102%);
      transition: transform 420ms var(--ease);
    }

    .primary-link:hover,
    .primary-link.is-tapped {
      transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 3px), 0);
      box-shadow: 0 18px 40px rgba(239, 64, 96, .22);
    }

    .primary-link:hover::before,
    .primary-link.is-tapped::before {
      transform: translateX(0);
    }

    .primary-link span,
    .primary-link i {
      position: relative;
      z-index: 2;
    }

    .primary-link i {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      color: var(--accent);
      background: var(--white);
      font-style: normal;
      transition: transform 260ms var(--ease), background 260ms ease, color 260ms ease;
    }

    .primary-link:hover i,
    .primary-link.is-tapped i {
      color: var(--white);
      background: var(--accent);
      transform: translateX(4px);
    }

    .hero-board {
      display: grid;
      grid-template-rows: 1fr auto;
      min-height: 680px;
      background: var(--ink);
      color: var(--white);
      border-left: 1px solid var(--line);
      min-width: 0;
    }

    .audit-card {
      position: relative;
      display: grid;
      align-content: end;
      padding: clamp(28px, 4vw, 48px);
      overflow: hidden;
      isolation: isolate;
    }

    .audit-card::before {
      position: absolute;
      inset: 24px;
      z-index: -1;
      content: "";
      background:
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 48px 100%,
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 100% 48px;
      border: 1px solid rgba(255, 255, 255, .14);
      animation: gridDrift 12s linear infinite;
    }

    @keyframes gridDrift {
      to {
        background-position: 48px 48px, 48px 48px;
      }
    }

    .audit-window {
      width: min(100%, 470px);
      margin-left: auto;
      color: var(--ink);
      background: var(--paper);
      box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
      transform: rotate(-2deg);
      animation: auditFloat 6s var(--ease) infinite alternate;
      transition: transform 360ms var(--ease), box-shadow 360ms ease;
    }

    .audit-window:hover {
      box-shadow: 0 42px 110px rgba(0, 0, 0, .3);
      transform: rotate(0deg) translateY(-8px);
    }

    @keyframes auditFloat {
      from {
        translate: 0 0;
      }
      to {
        translate: 0 -14px;
      }
    }

    .window-head {
      display: flex;
      justify-content: space-between;
      padding: 14px;
      border-bottom: 1px solid var(--line);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .score {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 20px;
      align-items: center;
      padding: 24px;
    }

    .score strong {
      display: grid;
      place-items: center;
      width: 100px;
      height: 100px;
      color: var(--white);
      background: var(--accent);
      border-radius: 50%;
      font-size: 32px;
      font-weight: 850;
      box-shadow: 0 0 0 0 rgba(239, 64, 96, .34);
      animation: pulseScore 2400ms ease-in-out infinite;
    }

    @keyframes pulseScore {
      0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 64, 96, .28);
      }
      50% {
        box-shadow: 0 0 0 16px rgba(239, 64, 96, 0);
      }
    }

    .score h2 {
      margin: 0 0 8px;
      font-size: 24px;
      line-height: 1.03;
      letter-spacing: -.02em;
    }

    .score p {
      margin: 0;
      color: var(--muted);
      line-height: 1.4;
    }

    .audit-list {
      display: grid;
      padding: 0 24px 24px;
      gap: 10px;
    }

    .audit-list li {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding: 12px 0;
      border-top: 1px solid var(--line);
      list-style: none;
      font-size: 14px;
      font-weight: 750;
    }

    .audit-list span {
      color: var(--accent);
    }

    .board-footer {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid rgba(255,255,255,.16);
    }

    .board-stat {
      min-height: 130px;
      padding: 22px;
      border-right: 1px solid rgba(255,255,255,.16);
      transition: background 220ms ease;
    }

    .board-stat:hover {
      background: rgba(255,255,255,.05);
    }

    .board-stat:last-child {
      border-right: 0;
    }

    .board-stat strong {
      display: block;
      color: var(--accent);
      font-size: 34px;
      line-height: 1;
    }

    .board-stat span {
      display: block;
      margin-top: 10px;
      color: rgba(255,255,255,.68);
      font-size: 12px;
      font-weight: 750;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .section {
      padding: clamp(70px, 8vw, 118px) clamp(20px, 5vw, 72px);
      border-bottom: 1px solid var(--line);
    }

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

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .8fr) minmax(300px, .55fr);
      gap: 44px;
      align-items: end;
      margin-bottom: 42px;
    }

    .label {
      color: var(--accent);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .section-head h2 {
      margin: 10px 0 0;
      font-size: clamp(34px, 4.8vw, 74px);
      line-height: .98;
      letter-spacing: -.04em;
    }

    .section-head p {
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.45;
    }

    .service-table {
      border-top: 1px solid var(--line-strong);
    }

    .service-line {
      position: relative;
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr) minmax(230px, 320px);
      gap: 28px;
      padding: 28px 0;
      border-bottom: 1px solid var(--line);
      overflow: hidden;
      transition: padding-left 260ms var(--ease), background 260ms ease;
    }

    .service-line::before {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 4px;
      content: "";
      background: var(--accent);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 260ms var(--ease);
    }

    .service-line:hover,
    .service-line.is-tapped {
      padding-left: 18px;
      background: rgba(239, 64, 96, .035);
    }

    .service-line:hover::before,
    .service-line.is-tapped::before {
      transform: scaleY(1);
    }

    .service-line small {
      color: var(--muted);
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .service-line h3 {
      margin: 0;
      font-size: clamp(24px, 3vw, 42px);
      line-height: 1.06;
      letter-spacing: -.03em;
      max-width: 100%;
      min-width: 0;
      overflow: visible;
      overflow-wrap: break-word;
      hyphens: auto;
      clip-path: none !important;
      transform: none !important;
    }

    .service-line p {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
      min-width: 0;
      overflow-wrap: break-word;
    }

    .process {
      background: var(--paper-2);
    }

    .timeline {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }

    .step {
      min-height: 300px;
      padding: 24px;
      background: var(--white);
      transition: transform 260ms var(--ease), background 260ms ease, box-shadow 260ms ease;
    }

    .step:hover {
      z-index: 2;
      background: var(--paper);
      box-shadow: 0 20px 50px rgba(36, 36, 36, .08);
      transform: translateY(-8px);
    }

    .step b {
      display: inline-grid;
      place-items: center;
      width: 42px;
      height: 42px;
      color: var(--white);
      background: var(--ink);
      border-radius: 50%;
      font-family: var(--serif);
      font-size: 20px;
    }

    .step h3 {
      margin: 86px 0 0;
      font-size: 20px;
      line-height: 1;
      letter-spacing: -.02em;
    }

    .step p {
      margin: 14px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

.work-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
}

.work-main {
  position: relative;
  display: block;
  min-height: clamp(520px, 64vh, 760px);
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 280ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.work-main:hover,
.work-main.is-tapped {
  border-color: rgba(239, 64, 96, .45);
  box-shadow: 0 24px 70px rgba(36, 36, 36, .08);
  transform: translateY(-8px);
}

.work-copy {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  display: grid;
  align-content: start;
  max-width: 700px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(16, 16, 16, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}

.work-copy small {
  color: var(--accent);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

.work-copy h3 {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: .94;
  letter-spacing: -.04em;
}

.work-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.45;
}

.work-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: 0;
  background: var(--paper);
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border: 0;
  transition: transform 600ms var(--ease), filter 360ms ease;
}

.work-main:hover .work-image img,
.work-main.is-tapped .work-image img {
  filter: saturate(1.06);
  transform: scale(1.025);
}

.work-image .project-placeholder {
  border: 0;
}

    .project-placeholder {
      position: relative;
      display: grid;
      width: 100%;
      height: 100%;
      min-height: 320px;
      place-items: center;
      overflow: hidden;
      color: var(--ink);
      background:
        linear-gradient(135deg, rgba(239, 64, 96, .18), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(239, 64, 96, .2), transparent 28%),
        linear-gradient(160deg, #f8f5ef, #fff);
      border: 1px solid var(--line);
      isolation: isolate;
    }

    .project-placeholder::before,
    .project-placeholder::after {
      position: absolute;
      content: "";
      inset: 26px;
      border: 1px solid rgba(36, 36, 36, .12);
      z-index: -1;
    }

    .project-placeholder::after {
      inset: auto 26px 26px auto;
      width: 38%;
      aspect-ratio: 1;
      background: var(--accent);
      border: 0;
      opacity: .9;
      transform: rotate(-8deg);
    }

    .project-placeholder span {
      font-size: clamp(54px, 8vw, 118px);
      font-weight: 900;
      letter-spacing: -.08em;
      line-height: .8;
    }

    .project-placeholder small {
      position: absolute;
      left: 28px;
      bottom: 26px;
      max-width: 170px;
      color: rgba(36, 36, 36, .58);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .12em;
      line-height: 1.35;
      text-transform: uppercase;
    }

    .concepts {
      display: grid;
      gap: 14px;
    }

    .concept {
      display: grid;
      grid-template-columns: 82px 1fr;
      gap: 18px;
      align-items: start;
      padding: 24px;
      border: 1px solid var(--line);
      background: var(--white);
      transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
    }

    .concept:hover,
    .concept.is-tapped {
      border-color: rgba(239, 64, 96, .5);
      background: rgba(239, 64, 96, .045);
      transform: translateX(8px);
    }

    .concept b {
      color: var(--accent);
      font-family: var(--serif);
      font-size: 38px;
      line-height: .9;
    }

    .concept h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1;
    }

.concept p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.empty-state {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.empty-state::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}

.empty-state small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.empty-state h3 {
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .92;
  letter-spacing: -.05em;
}

.empty-state p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.empty-state--compact h3 {
  font-size: clamp(28px, 4vw, 42px);
}

.empty-state--wide {
  grid-column: 1 / -1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.empty-state .text-link {
  align-self: flex-start;
  margin-top: 30px;
}

.all-work-link {
  display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      margin-top: 14px;
      padding: 22px 24px;
      color: var(--white);
      background: var(--accent);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
      transition: background 220ms ease, transform 260ms var(--ease);
    }

    .all-work-link span:first-child {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .all-work-link:hover,
    .all-work-link.is-tapped {
      background: var(--ink);
      transform: translateY(-3px);
    }

    .about {
      display: grid;
      grid-template-columns: .72fr 1fr;
      gap: clamp(34px, 7vw, 96px);
      align-items: start;
    }

    .about-card {
      position: sticky;
      top: 100px;
      padding: 26px;
      background: var(--ink);
      color: var(--white);
    }

    .about-card .portrait {
      display: grid;
      place-items: center;
      aspect-ratio: 1;
      margin-bottom: 24px;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--serif);
      font-size: clamp(64px, 8vw, 118px);
      border-radius: 50%;
    }

    .about-card strong {
      display: block;
      font-size: 24px;
    }

    .about-card span {
      display: block;
      margin-top: 8px;
      color: rgba(255,255,255,.64);
      line-height: 1.4;
    }

    .about-text h2 {
      margin: 0;
      font-size: clamp(34px, 5vw, 78px);
      line-height: .98;
      letter-spacing: -.04em;
    }

    .about-text p {
      margin: 22px 0 0;
      color: var(--muted);
      font-size: 20px;
      line-height: 1.48;
    }

    .principle-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-top: 34px;
    }

    .principle {
      padding: 22px;
      border: 1px solid var(--line);
      background: var(--white);
      transition: transform 260ms var(--ease), border-color 260ms ease;
    }

    .principle:hover {
      border-color: rgba(239, 64, 96, .45);
      transform: translateY(-5px);
    }

    .principle strong {
      display: block;
      font-size: 16px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .principle span {
      display: block;
      margin-top: 10px;
      color: var(--muted);
      line-height: 1.4;
    }

    .contact {
      color: var(--white);
      background: var(--ink);
      border-bottom: 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 38px;
      align-items: start;
    }

    .contact h2 {
      margin: 10px 0 0;
      font-size: clamp(42px, 6vw, 88px);
      line-height: .96;
      letter-spacing: -.05em;
    }

    .contact p {
      color: rgba(255,255,255,.68);
      font-size: 18px;
      line-height: 1.45;
    }

    .mini-contact {
      display: grid;
      gap: 10px;
      margin-top: 28px;
    }

    .mini-contact a {
      display: inline-flex;
      width: fit-content;
      padding: 12px 14px;
      color: var(--ink);
      background: var(--paper);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .quote {
      position: relative;
      background: var(--white);
      color: var(--ink);
      padding: 24px;
      overflow: hidden;
    }

    .quote::before {
      position: absolute;
      inset: 0;
      content: "";
      pointer-events: none;
      border: 1px solid rgba(239,64,96,0);
      transition: border-color 220ms ease;
    }

    .quote.is-interacting::before {
      border-color: rgba(239,64,96,.42);
    }

    .quote-top {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      margin-bottom: 24px;
    }

    .quote-top strong {
      font-size: 22px;
      letter-spacing: -.02em;
    }

    .progress {
      width: 150px;
      height: 6px;
      background: var(--paper-2);
    }

    .progress span {
      display: block;
      width: var(--progress, 25%);
      height: 100%;
      background: var(--accent);
      transition: width 520ms var(--ease);
    }

    .quote-step {
      display: none;
      min-height: 300px;
    }

    .quote-step.is-active {
      display: block;
      animation: quoteStepIn 360ms var(--ease) both;
    }

    .quote-step h3 {
      margin: 0 0 22px;
      font-size: clamp(26px, 3vw, 42px);
      line-height: 1.04;
      letter-spacing: -.03em;
    }

    .choices {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .choice {
      position: relative;
      display: block;
    }

    .choice input {
      position: absolute;
      inset: 0;
      opacity: 0;
    }

    .choice span {
      display: grid;
      align-items: center;
      min-height: 66px;
      padding: 14px;
      border: 1px solid var(--line);
      background: var(--paper);
      font-size: 13px;
      font-weight: 850;
      text-transform: uppercase;
      transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
    }

    .choice input:checked + span {
      color: var(--white);
      background: var(--ink);
      border-color: var(--accent);
      box-shadow: 0 18px 38px rgba(36,36,36,.12);
      animation: choicePulse 360ms var(--ease) both;
    }

    .choice:hover span,
    .choice.is-tapped span {
      border-color: rgba(239,64,96,.44);
      transform: translateX(4px);
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .field {
      display: grid;
      gap: 8px;
    }

    .field label {
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .field input,
    .field textarea {
      width: 100%;
      min-height: 54px;
      padding: 14px;
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink);
      outline: 0;
      font-weight: 650;
      transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
    }

    .field input:focus,
    .field textarea:focus {
      border-color: rgba(239,64,96,.68);
      background: var(--white);
      box-shadow: 0 0 0 4px rgba(239,64,96,.08);
    }

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

    .actions {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      margin-top: 24px;
    }

    .actions button {
      min-height: 50px;
      padding: 0 18px;
      background: var(--ink);
      color: var(--white);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .1em;
      text-transform: uppercase;
      transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
      transition: transform 220ms var(--ease), background 220ms ease, opacity 220ms ease;
    }

    .actions button:last-child {
      background: var(--accent);
    }

    .actions button:hover,
    .actions button.is-tapped {
      transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 2px), 0);
    }

    .actions button:disabled {
      opacity: .35;
      cursor: not-allowed;
    }

    .footer {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(210px, .42fr) minmax(220px, .46fr);
      gap: clamp(24px, 4vw, 56px);
      padding: clamp(34px, 5vw, 62px) clamp(20px, 5vw, 72px);
      color: rgba(255,255,255,.74);
      background: var(--ink);
      border-top: 1px solid rgba(255,255,255,.14);
      font-size: 13px;
    }

    .footer-brand strong {
      display: block;
      max-width: 420px;
      color: var(--white);
      font-size: clamp(32px, 4vw, 58px);
      font-weight: 900;
      line-height: .92;
      letter-spacing: -.055em;
    }

    .footer-brand span {
      display: block;
      max-width: 360px;
      margin-top: 14px;
      color: var(--accent);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .12em;
      line-height: 1.35;
      text-transform: uppercase;
    }

    .footer-links {
      display: grid;
      gap: 10px;
      align-content: start;
    }

    .footer-links a {
      display: inline-flex;
      width: fit-content;
      color: rgba(255,255,255,.82);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .09em;
      line-height: 1.3;
      text-transform: uppercase;
      transition: color 180ms ease, transform 220ms var(--ease);
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--accent);
      transform: translateX(4px);
    }

    .footer-meta {
      display: grid;
      gap: 10px;
      align-content: start;
      justify-items: end;
      color: rgba(255,255,255,.68);
      line-height: 1.45;
      text-align: right;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 680ms ease, transform 680ms var(--ease);
      transition-delay: var(--delay, 0ms);
    }

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

    .hero-copy .reveal > h1,
    .section-head.reveal h2,
    .about-text.reveal > h2,
    .contact .reveal > h2,
    .page-content.reveal > :is(h2, h3) {
      clip-path: inset(0 0 100% 0);
      transform: translateY(18px);
      transition: clip-path 720ms var(--ease), transform 720ms var(--ease);
      transition-delay: calc(var(--delay, 0ms) + 80ms);
    }

    .hero-copy .reveal.is-visible > h1,
    .section-head.reveal.is-visible h2,
    .about-text.reveal.is-visible > h2,
    .contact .reveal.is-visible > h2,
    .page-content.reveal.is-visible > :is(h2, h3) {
      clip-path: inset(0 0 0 0);
      transform: translateY(0);
    }

    .toast {
      position: fixed;
      right: 26px;
      bottom: 26px;
      z-index: 120;
      max-width: 340px;
      padding: 16px 18px 16px 21px;
      color: var(--white);
      background: var(--ink);
      border-left: 3px solid var(--accent);
      opacity: 0;
      pointer-events: none;
      overflow: hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,.22);
      transform: translateY(18px) scale(.98);
      transition: opacity 240ms ease, transform 280ms var(--ease);
    }

    .toast::after {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 2px;
      content: "";
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left center;
    }

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

    .toast.is-visible::after {
      animation: toastTimer 4200ms linear both;
    }

    @keyframes quoteStepIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes choicePulse {
      0% { transform: scale(.985); }
      60% { transform: scale(1.018); }
      100% { transform: scale(1); }
    }

    @keyframes toastTimer {
      from { transform: scaleX(1); }
      to { transform: scaleX(0); }
    }

    @media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
      body.has-custom-cursor,
      body.has-custom-cursor a,
      body.has-custom-cursor button,
      body.has-custom-cursor input,
      body.has-custom-cursor textarea,
      body.has-custom-cursor label {
        cursor: auto;
      }

      .custom-cursor {
        display: none !important;
      }

      .reveal :is(h1, h2, h3) {
        clip-path: none;
        transform: none;
      }

      .hero-copy .reveal > h1,
      .section-head.reveal h2,
      .about-text.reveal > h2,
      .contact .reveal > h2,
      .page-content.reveal > :is(h2, h3) {
        clip-path: none !important;
        overflow: visible;
        transform: none;
      }

      .service-line.is-tapped {
        padding-left: 0;
      }

      .concept.is-tapped {
        transform: translateY(-3px);
      }

      .choice.is-tapped span {
        transform: scale(.985);
        transform-origin: center;
      }

      .choice input:checked + span {
        animation: none;
        transform: none;
      }

      .project-card.is-tapped .text-link {
        transform: none;
      }

      .concept-card.is-tapped b {
        transform: scale(1.03);
        transform-origin: left center;
      }

      .primary-link,
      .all-work-link,
      .project-link,
      .cta a,
      .actions button,
      .choice span {
        overflow-wrap: anywhere;
      }
    }

    @media (max-width: 1080px) {
      .topbar {
        grid-template-columns: 1fr auto;
      }

      .nav,
      .top-cta {
        display: none;
      }

      .menu {
        display: block;
      }

      .hero,
      .work-strip,
      .about,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero-copy,
      .hero-board {
        min-height: auto;
      }

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

      .about-card {
        position: relative;
        top: auto;
      }
    }

    @media (max-width: 720px) {
      .site-shell {
        width: calc(100% - 16px);
        margin: 8px auto;
      }

      .topbar {
        position: sticky;
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) 68px;
        width: 100%;
      }

      .brand {
        padding: 0 16px;
        min-width: 0;
      }

      .brand span {
        display: none;
      }

      .menu {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 3;
        display: block;
        height: 68px;
        width: 68px;
      }

      .mobile-panel {
        position: sticky;
        top: 68px;
        z-index: 70;
        margin: 0;
        background:
          linear-gradient(90deg, rgba(36,36,36,.055) 1px, transparent 1px) 0 0 / 25% 100%,
          var(--white);
        box-shadow: 0 24px 70px rgba(36,36,36,.12);
      }

      .mobile-panel.is-open {
        max-height: calc(100vh - 84px);
        padding: 18px 20px 24px;
      }

      .mobile-panel li {
        list-style: none;
      }

      .mobile-panel a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 64px;
        padding: 0;
        color: var(--ink);
        font-size: clamp(28px, 8vw, 42px);
        line-height: .95;
        letter-spacing: -.05em;
        text-transform: none;
      }

      .mobile-panel a::after {
        content: "→";
        color: var(--accent);
        font-size: 22px;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 280ms ease, transform 320ms var(--ease);
      }

      .mobile-panel.is-open a::after {
        opacity: 1;
        transform: translateX(0);
      }

      .mobile-panel a:hover {
        padding-left: 0;
      }

      .hero-copy {
        min-height: 620px;
        padding: 24px;
        overflow: hidden;
      }

      .meta-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
        padding-bottom: 8px;
      }

      .pill {
        flex: 0 0 auto;
      }

      h1 {
        max-width: 330px;
        margin-top: 54px;
        font-size: 43px;
      }

      .intro-grid,
      .section-head,
      .service-line,
      .work-main,
      .principle-grid,
      .choices,
      .field-grid,
      .board-footer {
        grid-template-columns: 1fr;
      }

      .intro-grid p,
      .section-head p,
      .about-text p,
      .contact p {
        font-size: 16px;
      }

      .intro-grid p {
        max-width: 320px;
      }

      .primary-link {
        width: 100%;
      }

      .hero-board {
        min-height: auto;
      }

      .audit-card {
        padding: 24px;
        overflow: hidden;
        width: 100%;
        max-width: calc(100vw - 16px);
      }

      .audit-card::before {
        inset: 12px;
      }

      .audit-window {
        width: calc(100vw - 64px);
        max-width: 326px;
        margin: 0;
        transform: none;
        animation: none;
      }

      .window-head,
      .score,
      .audit-list {
        padding-left: 14px;
        padding-right: 14px;
      }

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

      .score h2,
      .score p,
      .audit-list li {
        overflow-wrap: anywhere;
      }

      .score h2 {
        max-width: 230px;
        font-size: 23px;
      }

      .audit-list li {
        display: grid;
        gap: 6px;
      }

      .score strong {
        width: 82px;
        height: 82px;
        font-size: 26px;
      }

      .board-stat {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.16);
      }

      .section {
        padding: 68px 20px;
      }

      .service-line {
        gap: 14px;
        min-width: 0;
        overflow: visible;
      }

      .service-line small,
      .service-line h3,
      .service-line p {
        min-width: 0;
        max-width: 100%;
      }

      .service-line h3 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.08;
        padding-bottom: .08em;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: normal;
      }

      .service-line p {
        overflow-wrap: anywhere;
      }

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

      .step {
        min-height: 240px;
      }

      .step h3 {
        margin-top: 56px;
      }

      .work-main,
      .work-image {
        min-height: auto;
      }

      .work-image {
        padding: 14px;
      }

      .work-image img {
        height: 360px;
      }

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

      .contact {
        padding-bottom: 0;
      }

      .quote {
        padding: 18px;
      }

      .quote-top {
        display: grid;
      }

      .progress {
        width: 100%;
      }

      .footer {
        grid-template-columns: 1fr;
        gap: 26px;
      }

      .footer-meta {
        justify-items: start;
        text-align: left;
      }
    }
  
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.hero-panel {
  display: grid;
  align-content: end;
  min-height: 560px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--ink);
  border-left: 1px solid var(--line);
  animation: gridDrift 12s linear infinite;
}

.project-hero-panel {
  place-items: center;
  padding: clamp(18px, 2.6vw, 32px);
}

.project-hero-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
}

.project-hero-media {
  position: relative;
  width: min(100%, 760px);
  min-height: clamp(360px, 42vw, 560px);
  margin: auto;
  padding: 14px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .22);
  transform: perspective(1200px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: border-color 260ms ease, box-shadow 320ms ease, transform 360ms var(--ease);
  will-change: transform;
}

.project-hero-media::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(239, 64, 96, .22), transparent 36%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 260ms ease;
}

.project-hero-media:hover,
.project-hero-media.is-tapped {
  border-color: rgba(239, 64, 96, .55);
  box-shadow: 0 34px 120px rgba(0, 0, 0, .3);
}

.project-hero-media:hover::before,
.project-hero-media.is-tapped::before {
  opacity: 1;
}

.project-hero-media img,
.project-hero-media .project-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 700ms var(--ease), filter 420ms ease;
}

.project-hero-media:hover img,
.project-hero-media:hover .project-placeholder,
.project-hero-media.is-tapped img,
.project-hero-media.is-tapped .project-placeholder {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.025);
}

.project-hero-action {
  position: absolute;
  right: auto;
  bottom: clamp(24px, 3vw, 38px);
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100% - clamp(48px, 6vw, 76px)), 560px);
  padding: clamp(16px, 2vw, 22px);
  background: rgba(24, 24, 24, .82);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: background 260ms ease, border-color 260ms ease, transform 320ms var(--ease);
}

.project-hero-media:hover .project-hero-action,
.project-hero-media.is-tapped .project-hero-action {
  background: rgba(24, 24, 24, .9);
  border-color: rgba(239, 64, 96, .46);
  transform: translateX(-50%) translateY(-4px);
}

.project-hero-action p {
  max-width: 360px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.4;
}

.hero-note {
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-2deg);
  box-shadow: 0 30px 90px rgba(0,0,0,.2);
  animation: auditFloat 6s var(--ease) infinite alternate;
}

.hero-note strong {
  display: block;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.04em;
}

.hero-note span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.42;
}

.tabs-wrap {
  padding: clamp(34px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.tabs-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  max-width: var(--wrap);
  margin: 0 auto 28px;
}

.tabs-head h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 74px);
  line-height: .96;
  letter-spacing: -.05em;
}

.tabs {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
}

.tabs::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: var(--tab-x, 6px);
  z-index: -1;
  width: var(--tab-width, calc(50% - 9px));
  content: "";
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(36,36,36,.18);
  transition: left 420ms var(--ease), width 420ms var(--ease), transform 420ms var(--ease);
}

.tab-button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 260ms ease, transform 260ms var(--ease), opacity 260ms ease;
}

.tab-button:hover,
.tab-button.is-tapped { transform: translateY(-2px); }
.tab-button.is-active { color: var(--white); background: transparent; }
.tab-button.is-switching { animation: tabPop 420ms var(--ease); }
.tab-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes tabPop {
  0% { transform: scale(.98); }
  55% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

.panel {
  display: none;
  max-width: var(--wrap);
  margin: 0 auto;
}

.panel.is-active {
  display: block;
  animation: panelIn 520ms var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  min-height: clamp(420px, 46vw, 560px);
  margin-bottom: 16px;
  color: var(--white);
  background: var(--ink);
}

.project-copy {
  display: grid;
  align-content: end;
  padding: clamp(28px, 5vw, 58px);
}

.project-copy small,
.concept-card small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.06em;
}

.project-copy p,
.project-content {
  margin: 22px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.5;
}

.project-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.project-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: rgba(255,255,255,.78);
  line-height: 1.35;
}

.project-list li::before {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.project-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  width: min(100%, 280px);
  min-height: 58px;
  margin-top: 34px;
  padding: 0 18px 0 22px;
  color: var(--white);
  background: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
  transition: background 220ms ease, transform 260ms var(--ease);
}

.project-link:hover,
.project-link.is-tapped {
  color: var(--ink);
  background: var(--white);
  transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 3px), 0);
}

.project-link-compact {
  width: auto;
  min-width: 188px;
  margin-top: 0;
  white-space: nowrap;
}

.project-media {
  padding: 24px;
  background: var(--paper);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.project-deliverables {
  display: grid;
  align-content: center;
  gap: 24px;
  width: 100%;
}

.project-deliverables h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .92;
  letter-spacing: -.05em;
}

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

.deliverable-card {
  min-height: 150px;
  padding: 20px;
  background: var(--white);
  transition: transform 260ms var(--ease), background 260ms ease;
}

.deliverable-card:hover {
  z-index: 2;
  background: var(--paper);
  transform: translateY(-6px);
}

.deliverable-card b {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
}

.deliverable-card p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.project-editor-section {
  padding-top: clamp(18px, 3vw, 38px);
  padding-bottom: clamp(42px, 6vw, 78px);
}

.project-editor-section .project-content {
  max-width: var(--wrap);
}

.am-pattern {
  position: relative;
  width: 100%;
  margin-block: clamp(46px, 7vw, 110px);
}

.am-pattern::after {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(239, 64, 96, .08), transparent 36%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.am-pattern:hover::after,
.am-pattern.is-tapped::after {
  opacity: 1;
}

.am-pattern > .wp-block-group__inner-container,
.am-tech-grid > .wp-block-group__inner-container,
.am-results > .wp-block-group__inner-container,
.am-before-after > .wp-block-group__inner-container,
.am-carousel-track > .wp-block-group__inner-container {
  width: 100%;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.am-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.am-pattern-head {
  max-width: 860px;
  margin: 0 0 clamp(18px, 3vw, 32px);
}

.am-pattern-head h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: .96;
  letter-spacing: -.04em;
}

.am-pattern-head p:not(.am-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.5;
}

.am-section-intro {
  display: block;
  padding-top: clamp(28px, 4vw, 52px);
  border-top: 2px solid var(--ink);
}

.am-section-intro.is-interactive {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  transition: transform 300ms var(--ease), border-color 260ms ease, box-shadow 320ms ease, background 260ms ease;
}

.am-section-intro > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
  max-width: 1040px !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

.am-section-intro h2,
.am-tech-stack h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.6vw, 86px);
  line-height: .94;
  letter-spacing: -.045em;
}

.am-section-intro h2 {
  max-width: 960px;
}

.am-section-intro p:not(.am-kicker),
.am-project-note p:not(.am-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.am-masonry {
  padding: clamp(16px, 2vw, 24px);
  background: var(--ink);
  border: 1px solid var(--line);
}

.am-masonry-grid > .wp-block-group__inner-container {
  column-count: 3;
  column-gap: 16px;
}

.am-masonry-grid .wp-block-image {
  position: relative;
  break-inside: avoid;
  margin: 0 0 16px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 260ms ease, box-shadow 320ms ease;
}

.am-masonry-grid .wp-block-image.is-lightbox-ready,
.am-carousel-track .wp-block-image.is-lightbox-ready {
  cursor: zoom-in;
}

.am-masonry-grid .wp-block-image:hover {
  z-index: 2;
  border-color: rgba(239, 64, 96, .52);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
  transform: translateY(-6px);
}

.am-masonry-grid .wp-block-image::before,
.am-carousel-track .wp-block-image::before {
  content: "Ajouter une image";
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  color: rgba(36, 36, 36, .55);
  border: 1px dashed rgba(36, 36, 36, .24);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.am-masonry-grid .wp-block-image:has(img[src])::before,
.am-carousel-track .wp-block-image:has(img[src])::before {
  display: none;
}

.am-masonry-grid .wp-block-image img {
  display: block;
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 320ms ease;
}

.am-masonry-grid .wp-block-image:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.04);
}

.am-masonry-grid .wp-block-image.is-tall img {
  min-height: 460px;
}

.am-masonry-grid .wp-block-image.is-wide img {
  min-height: 340px;
}

.am-carousel {
  position: relative;
  padding: clamp(16px, 2.6vw, 28px);
  background:
    linear-gradient(90deg, var(--accent) 0 5px, transparent 5px),
    var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 320ms ease, transform 320ms var(--ease);
}

.am-carousel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(239, 64, 96, .14), transparent);
  opacity: 0;
  transform: translateX(var(--carousel-sweep, -100%));
}

.am-carousel.is-pulsing {
  border-color: rgba(239, 64, 96, .42);
  box-shadow: 0 24px 90px rgba(36, 36, 36, .12);
}

.am-carousel.is-sliding-next::after {
  --carousel-sweep: 100%;
  animation: carouselSweepNext 520ms var(--ease);
}

.am-carousel.is-sliding-prev::after {
  --carousel-sweep: -100%;
  animation: carouselSweepPrev 520ms var(--ease);
}

@keyframes carouselSweepNext {
  from { opacity: 0; transform: translateX(-100%); }
  35% { opacity: 1; }
  to { opacity: 0; transform: translateX(100%); }
}

@keyframes carouselSweepPrev {
  from { opacity: 0; transform: translateX(100%); }
  35% { opacity: 1; }
  to { opacity: 0; transform: translateX(-100%); }
}

.am-carousel-track,
.am-carousel-track > .wp-block-group__inner-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.am-carousel-track::-webkit-scrollbar,
.am-carousel-track > .wp-block-group__inner-container::-webkit-scrollbar {
  display: none;
}

.am-carousel-track .wp-block-image {
  position: relative;
  margin: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 260ms ease, box-shadow 320ms ease, opacity 260ms ease;
}

.am-carousel-track .wp-block-image:hover {
  border-color: rgba(239, 64, 96, .42);
  box-shadow: 0 24px 70px rgba(36, 36, 36, .12);
  transform: translateY(-5px);
}

.am-carousel-track .wp-block-image.is-current-slide {
  border-color: rgba(239, 64, 96, .55);
  box-shadow: 0 28px 80px rgba(36, 36, 36, .14);
}

.am-carousel.is-sliding-next .wp-block-image.is-current-slide,
.am-carousel.is-sliding-prev .wp-block-image.is-current-slide {
  animation: slideFocusPulse 520ms var(--ease);
}

@keyframes slideFocusPulse {
  0% { transform: scale(.985); }
  60% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

.am-carousel-track img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  object-fit: cover;
  transition: transform 620ms var(--ease), filter 320ms ease;
}

.am-carousel-track .wp-block-image:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.am-carousel-track figcaption {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.am-carousel-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.am-carousel-controls button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.am-carousel-controls button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.am-carousel.is-sliding-next .am-carousel-controls button:last-child,
.am-carousel.is-sliding-prev .am-carousel-controls button:first-child {
  color: var(--white);
  background: var(--accent);
  animation: carouselButtonPop 420ms var(--ease);
}

@keyframes carouselButtonPop {
  0% { transform: scale(.94); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.am-lightbox {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: clamp(18px, 3vw, 48px);
  color: var(--white);
  background: rgba(22, 22, 22, .92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.am-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.lightbox-open {
  overflow: hidden;
}

.am-lightbox__figure {
  grid-column: 2;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-items: center;
  min-width: 0;
  max-height: calc(100vh - 96px);
  margin: 0;
}

.am-lightbox__figure img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 32px 120px rgba(0, 0, 0, .34);
}

.am-lightbox__figure figcaption {
  justify-self: center;
  max-width: min(100%, 760px);
  margin: 0;
  padding: 12px 18px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.am-lightbox__close,
.am-lightbox__nav {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 240ms var(--ease);
}

.am-lightbox__close:hover,
.am-lightbox__nav:hover {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

.am-lightbox__close {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 2;
  font-size: 30px;
  line-height: 1;
}

.am-lightbox__nav {
  align-self: center;
  font-size: 24px;
}

.am-lightbox__nav--prev {
  grid-column: 1;
}

.am-lightbox__nav--next {
  grid-column: 3;
}

.am-lightbox__nav:disabled {
  opacity: .35;
  pointer-events: none;
}

.am-tech-grid,
.am-results,
.am-before-after,
.am-tech-grid > .wp-block-group__inner-container,
.am-results > .wp-block-group__inner-container,
.am-before-after > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  background: transparent;
  border: 0;
}

.am-before-after,
.am-before-after > .wp-block-group__inner-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.am-tech-item,
.am-result-card,
.am-before-after-card,
.am-project-note {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  overflow: hidden;
  transition: transform 300ms var(--ease), border-color 260ms ease, box-shadow 320ms ease, background 260ms ease;
}

.am-tech-item::before,
.am-result-card::before,
.am-before-after-card::before,
.am-project-note::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(239, 64, 96, .14), transparent 36%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.am-tech-item:hover,
.am-result-card:hover,
.am-before-after-card:hover,
.am-project-note:hover,
.am-tech-item.is-tapped,
.am-result-card.is-tapped,
.am-before-after-card.is-tapped,
.am-project-note.is-tapped {
  z-index: 2;
  border-color: rgba(239, 64, 96, .42);
  box-shadow: 0 24px 70px rgba(36, 36, 36, .1);
  transform: translateY(-6px);
}

.am-tech-item:hover::before,
.am-result-card:hover::before,
.am-before-after-card:hover::before,
.am-project-note:hover::before,
.am-tech-item.is-tapped::before,
.am-result-card.is-tapped::before,
.am-before-after-card.is-tapped::before,
.am-project-note.is-tapped::before {
  opacity: 1;
}

.am-tech-stack {
  padding: clamp(28px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    var(--ink);
  background-size: 64px 64px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.am-tech-stack h2 {
  max-width: 920px;
  color: var(--white);
}

.am-tech-stack .am-kicker {
  color: var(--accent);
}

.am-tech-grid {
  margin-top: clamp(28px, 4vw, 48px);
}

.am-tech-item {
  position: relative;
  min-height: 280px;
  padding: clamp(30px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}

.am-tech-item::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  background: var(--accent);
  opacity: .9;
  transform: rotate(-10deg);
  transition: transform 360ms var(--ease), opacity 260ms ease;
}

.am-tech-item:hover::after,
.am-tech-item.is-tapped::after {
  opacity: 1;
  transform: rotate(-10deg) translate(-12px, -12px);
}

.am-tech-icon,
.am-result-number {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 0 44px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.am-tech-icon {
  color: var(--ink);
  background: var(--white);
}

.am-tech-item h3,
.am-result-card h3,
.am-before-after-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: .96;
  letter-spacing: -.04em;
}

.am-tech-item p:not(.am-tech-icon),
.am-result-card p:not(.am-result-number),
.am-before-after-card p {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.am-tech-item h3 {
  color: var(--white);
}

.am-tech-item p:not(.am-tech-icon) {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .68);
}

.am-results {
  grid-template-columns: 1.1fr .95fr .95fr;
}

.am-result-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
}

.am-result-card:first-child {
  color: var(--white);
  background: var(--ink);
}

.am-result-card:first-child h3 {
  color: var(--white);
}

.am-result-card:first-child p:not(.am-result-number) {
  color: rgba(255, 255, 255, .68);
}

.am-result-card:first-child .am-result-number {
  color: var(--ink);
  background: var(--accent);
}

.am-before-after-card.is-after {
  color: var(--white);
  background: var(--ink);
}

.am-before-after-card {
  min-height: 360px;
  border: 1px solid var(--line);
}

.am-before-after-card.is-after h3 {
  color: var(--white);
}

.am-before-after-card.is-after p:not(.am-kicker) {
  color: rgba(255, 255, 255, .7);
}

.am-before-after.is-interactive .am-before-after-card {
  cursor: pointer;
}

.am-before-after.is-interactive .am-before-after-card,
.am-before-after.is-interactive .am-before-after-card.is-after {
  color: var(--ink);
  background: var(--white);
}

.am-before-after.is-interactive .am-before-after-card h3,
.am-before-after.is-interactive .am-before-after-card.is-after h3 {
  color: var(--ink);
}

.am-before-after.is-interactive .am-before-after-card p:not(.am-kicker),
.am-before-after.is-interactive .am-before-after-card.is-after p:not(.am-kicker) {
  color: var(--muted);
}

.am-before-after.is-interactive .am-before-after-card.is-active-card {
  color: var(--white);
  background: var(--ink);
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-6px);
}

.am-before-after.is-interactive .am-before-after-card.is-active-card h3 {
  color: var(--white);
}

.am-before-after.is-interactive .am-before-after-card.is-active-card p:not(.am-kicker) {
  color: rgba(255, 255, 255, .7);
}

.am-before-after.is-interactive .am-before-after-card.is-active-card .am-kicker {
  color: var(--accent);
}

.am-before-after.is-interactive .am-before-after-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.am-tech-grid.is-interactive .am-tech-item,
.am-results.is-interactive .am-result-card,
.am-before-after.is-interactive .am-before-after-card,
.am-section-intro.is-interactive,
.am-project-note.is-interactive {
  cursor: pointer;
}

.am-tech-grid.is-interactive .am-tech-item:focus-visible,
.am-results.is-interactive .am-result-card:focus-visible,
.am-before-after.is-interactive .am-before-after-card:focus-visible,
.am-masonry-grid .wp-block-image.is-lightbox-ready:focus-visible,
.am-carousel-track .wp-block-image.is-lightbox-ready:focus-visible,
.am-section-intro.is-interactive:focus-visible,
.am-project-note.is-interactive:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.am-results.is-interactive .am-result-card,
.am-results.is-interactive .am-result-card:first-child {
  color: var(--ink);
  background: var(--white);
}

.am-results.is-interactive .am-result-card h3,
.am-results.is-interactive .am-result-card:first-child h3 {
  color: var(--ink);
}

.am-results.is-interactive .am-result-card p:not(.am-result-number),
.am-results.is-interactive .am-result-card:first-child p:not(.am-result-number) {
  color: var(--muted);
}

.am-results.is-interactive .am-result-card .am-result-number,
.am-results.is-interactive .am-result-card:first-child .am-result-number {
  color: var(--white);
  background: var(--ink);
}

.am-results.is-interactive .am-result-card.is-active-card,
.am-before-after.is-interactive .am-before-after-card.is-active-card,
.am-section-intro.is-active-card,
.am-project-note.is-active-card {
  color: var(--white);
  background: var(--ink);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 28px 90px rgba(36, 36, 36, .16);
  transform: translateY(-6px);
}

.am-results.is-interactive .am-result-card.is-active-card h3,
.am-section-intro.is-active-card h2,
.am-project-note.is-active-card h3 {
  color: var(--white);
}

.am-results.is-interactive .am-result-card.is-active-card p:not(.am-result-number),
.am-section-intro.is-active-card p:not(.am-kicker),
.am-project-note.is-active-card p:not(.am-kicker) {
  color: rgba(255, 255, 255, .7);
}

.am-results.is-interactive .am-result-card.is-active-card .am-result-number {
  color: var(--ink);
  background: var(--accent);
}

.am-tech-grid.is-interactive .am-tech-item.is-active-card {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(239, 64, 96, .55);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
  transform: translateY(-6px);
}

.am-tech-grid.is-interactive .am-tech-item.is-active-card h3 {
  color: var(--ink);
}

.am-tech-grid.is-interactive .am-tech-item.is-active-card p:not(.am-tech-icon) {
  color: var(--muted);
}

.am-tech-grid.is-interactive .am-tech-item.is-active-card .am-tech-icon {
  color: var(--white);
  background: var(--ink);
}

.am-section-intro,
.am-tech-grid,
.am-results,
.am-before-after,
.am-carousel-track {
  display: block;
}

.am-section-intro > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.am-tech-grid > .wp-block-group__inner-container,
.am-results > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.am-before-after .am-pattern-head,
.am-results .am-pattern-head,
.am-masonry .am-pattern-head,
.am-carousel .am-pattern-head {
  grid-column: 1 / -1;
}

.am-masonry .am-pattern-head,
.am-tech-stack .am-pattern-head {
  color: var(--white);
}

.am-masonry .am-pattern-head h2,
.am-tech-stack .am-pattern-head h2 {
  color: var(--white);
}

.am-masonry .am-pattern-head p:not(.am-kicker),
.am-tech-stack .am-pattern-head p:not(.am-kicker) {
  color: rgba(255, 255, 255, .68);
}

.am-before-after > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.am-carousel-track > .wp-block-group__inner-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.am-project-note {
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  box-shadow: 0 24px 70px rgba(36, 36, 36, .08);
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card-grid--after-featured {
  margin-top: 0;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: 280px 1fr;
  min-height: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.project-card::before,
.concept-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(239,64,96,.14), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-card:hover,
.project-card.is-tapped {
  border-color: rgba(239, 64, 96, .44);
  background: rgba(239, 64, 96, .035);
  transform: translateY(-4px);
}

.project-card:hover::before,
.concept-card:hover::before,
.project-card.is-tapped::before,
.concept-card.is-tapped::before {
  opacity: 1;
}

.project-card-media {
  min-height: 280px;
  padding: 14px;
  background: var(--paper);
  overflow: hidden;
}

.project-card-media img,
.project-card-media .project-placeholder,
.concept-thumb img,
.concept-thumb .project-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 360ms ease;
}

.project-card:hover .project-card-media img,
.project-card:hover .project-card-media .project-placeholder,
.concept-card:hover .concept-thumb img,
.concept-card:hover .concept-thumb .project-placeholder,
.project-card.is-tapped .project-card-media img,
.project-card.is-tapped .project-card-media .project-placeholder,
.concept-card.is-tapped .concept-thumb img,
.concept-card.is-tapped .concept-thumb .project-placeholder {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045) translate3d(0, -2px, 0);
}

.project-card-media .project-placeholder,
.concept-thumb .project-placeholder {
  min-height: 0;
}

.project-card-media .project-placeholder small,
.concept-thumb .project-placeholder small {
  display: none;
}

.project-card-media .project-placeholder::before,
.concept-thumb .project-placeholder::before {
  inset: 16px;
}

.project-card-media .project-placeholder::after,
.concept-thumb .project-placeholder::after {
  right: 16px;
  bottom: 16px;
  width: 34%;
}

.project-card-media .project-placeholder span,
.concept-thumb .project-placeholder span {
  font-size: clamp(42px, 5vw, 74px);
}

.project-card-body {
  display: grid;
  align-content: end;
  padding: clamp(22px, 3vw, 34px);
}

.project-card-body small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-card-body h3 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .96;
  letter-spacing: -.04em;
}

.project-card-body h3 a {
  color: var(--ink);
}

.project-card-body p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.text-link {
  width: fit-content;
  margin-top: 24px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  transition: color 220ms ease, transform 220ms var(--ease);
}

.project-card:hover .text-link,
.project-card.is-tapped .text-link {
  color: var(--accent);
  transform: translateX(6px);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.concept-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-rows: 190px 1fr auto;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.concept-thumb {
  display: block;
  min-height: 190px;
  margin: -12px -12px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.concept-card:hover,
.concept-card.is-tapped {
  border-color: rgba(239, 64, 96, .45);
  background: rgba(239, 64, 96, .045);
  transform: translateY(-8px);
}

.concept-heading {
  display: grid;
  gap: 10px;
}

.concept-heading small {
  display: block;
  line-height: 1.2;
}

.concept-card b {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 58px;
  line-height: .82;
  margin-top: 0;
  transition: transform 260ms var(--ease);
}

.concept-card:hover b,
.concept-card.is-tapped b {
  transform: translateX(4px) scale(1.04);
}

.concept-card h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: .96;
  letter-spacing: -.04em;
}

.concept-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.concept-tags span {
  padding: 8px 10px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: var(--wrap);
  margin: clamp(34px, 5vw, 72px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  background: var(--ink);
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .96;
  letter-spacing: -.05em;
}

.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 230px;
  min-height: 58px;
  padding: 0 18px 0 22px;
  color: var(--white);
  background: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
  transition: transform 260ms var(--ease), background 220ms ease, color 220ms ease;
}

.cta a:hover,
.cta a.is-tapped {
  color: var(--ink);
  background: var(--white);
  transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 3px), 0);
}

.page-content {
  display: grid;
  gap: 22px;
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.page-content h2,
.page-content h3 {
  margin: 24px 0 0;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.04em;
}

.page-content h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.page-content h3 {
  font-size: clamp(22px, 3vw, 34px);
}

.page-content p,
.page-content ul {
  margin: 0;
}

.page-content ul {
  padding-left: 1.15em;
}

.page-content li + li {
  margin-top: 8px;
}

.page-content a {
  color: var(--accent);
  font-weight: 800;
}

.project-editor-section .page-content {
  max-width: var(--wrap);
}

.project-content.page-content {
  gap: 0;
  font-size: clamp(18px, 1.25vw, 20px);
  line-height: 1.58;
}

.project-content .am-pattern {
  margin-block: 0;
}

.project-content .am-pattern:first-child {
  margin-top: 0;
}

.project-content .am-pattern + .am-pattern {
  margin-top: clamp(28px, 4vw, 56px);
}

.project-editor-section .section-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.project-content .am-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: .14em;
}

.project-content .am-section-intro h2,
.project-content .am-tech-stack h2 {
  font-family: var(--sans);
  font-size: clamp(44px, 5.4vw, 84px);
  font-weight: 850;
  line-height: .94;
  letter-spacing: -.045em;
}

.project-content .am-section-intro p:not(.am-kicker),
.project-content .am-project-note p:not(.am-kicker) {
  max-width: 700px;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.58;
}

.project-content .am-tech-item h3,
.project-content .am-result-card h3,
.project-content .am-before-after-card h3,
.project-content .am-project-note h3 {
  font-family: var(--sans);
  font-size: clamp(30px, 2.45vw, 40px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.035em;
}

.project-content .am-tech-item h3 {
  max-width: 11ch;
}

.project-content .am-tech-item p:not(.am-tech-icon),
.project-content .am-result-card p:not(.am-result-number),
.project-content .am-before-after-card p:not(.am-kicker) {
  font-size: clamp(17px, 1.18vw, 19px);
  line-height: 1.48;
}

.project-content .am-tech-icon,
.project-content .am-result-number {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.01em;
}

.page-content .am-pattern h2,
.page-content .am-pattern h3,
.page-content .am-pattern p {
  margin-top: 0;
}

.page-content .am-tech-stack h2,
.page-content .am-tech-item h3,
.page-content .am-result-card:first-child h3,
.page-content .am-before-after-card.is-after h3,
.page-content .am-before-after.is-interactive .am-before-after-card.is-active-card h3,
.page-content .am-results.is-interactive .am-result-card.is-active-card h3,
.page-content .am-section-intro.is-active-card h2,
.page-content .am-project-note.is-active-card h3 {
  color: var(--white);
}

.page-content .am-tech-item p:not(.am-tech-icon),
.page-content .am-result-card:first-child p:not(.am-result-number),
.page-content .am-before-after-card.is-after p:not(.am-kicker),
.page-content .am-before-after.is-interactive .am-before-after-card.is-active-card p:not(.am-kicker),
.page-content .am-results.is-interactive .am-result-card.is-active-card p:not(.am-result-number),
.page-content .am-section-intro.is-active-card p:not(.am-kicker),
.page-content .am-project-note.is-active-card p:not(.am-kicker) {
  color: rgba(255, 255, 255, .7);
}

.page-content .am-before-after.is-interactive .am-before-after-card:not(.is-active-card) h3 {
  color: var(--ink);
}

.page-content .am-before-after.is-interactive .am-before-after-card:not(.is-active-card) p:not(.am-kicker) {
  color: var(--muted);
}

.page-content .am-results.is-interactive .am-result-card:not(.is-active-card) h3,
.page-content .am-tech-grid.is-interactive .am-tech-item.is-active-card h3 {
  color: var(--ink);
}

.page-content .am-results.is-interactive .am-result-card:not(.is-active-card) p:not(.am-result-number),
.page-content .am-tech-grid.is-interactive .am-tech-item.is-active-card p:not(.am-tech-icon) {
  color: var(--muted);
}

.page-content .am-section-intro p:not(.am-kicker),
.page-content .am-project-note p:not(.am-kicker),
.page-content .am-result-card p:not(.am-result-number),
.page-content .am-before-after-card p:not(.am-kicker) {
  margin-top: 18px;
}

.page-content .am-tech-icon,
.page-content .am-result-number {
  margin-bottom: 44px;
}

.project-content .am-pattern-head h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(34px, 4.4vw, 66px);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.04em;
}

.project-content .am-pattern-head p:not(.am-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.5;
}

.project-content .am-before-after .am-pattern-head h2,
.project-content .am-results .am-pattern-head h2,
.project-content .am-carousel .am-pattern-head h2 {
  color: var(--ink);
}

.project-content .am-before-after .am-pattern-head p:not(.am-kicker),
.project-content .am-results .am-pattern-head p:not(.am-kicker),
.project-content .am-carousel .am-pattern-head p:not(.am-kicker) {
  color: var(--muted);
}

.project-content .am-masonry .am-pattern-head h2,
.project-content .am-tech-stack .am-pattern-head h2 {
  color: var(--white);
}

.project-content .am-masonry .am-pattern-head p:not(.am-kicker),
.project-content .am-tech-stack .am-pattern-head p:not(.am-kicker) {
  color: rgba(255, 255, 255, .68);
}

.project-quote-section {
  position: relative;
  padding-top: clamp(48px, 5.6vw, 82px);
  padding-bottom: clamp(48px, 5.6vw, 82px);
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  overflow: hidden;
}

.project-quote-section::before {
  content: "";
  position: absolute;
  top: clamp(34px, 7vw, 96px);
  right: clamp(24px, 7vw, 110px);
  width: clamp(58px, 7vw, 96px);
  height: clamp(58px, 7vw, 96px);
  border-top: 18px solid var(--accent);
  border-left: 18px solid var(--accent);
  pointer-events: none;
}

.project-quote-simple {
  position: relative;
  max-width: 960px;
}

.project-quote-simple h2 {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--white);
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.project-quote-simple p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.5;
}

.project-quote-button {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 56px;
  margin-top: clamp(26px, 3vw, 38px);
  padding: 0 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
  transition: transform 240ms var(--ease), background 220ms ease, color 220ms ease;
}

.project-quote-button:hover,
.project-quote-button.is-tapped {
  color: var(--ink);
  background: var(--white);
  transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 3px), 0);
}

.error-404 {
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.error-404-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(34px, 8vw, 110px);
  align-items: center;
}

.error-404-copy {
  max-width: 760px;
}

.error-404-copy h1 {
  margin: 14px 0 24px;
  max-width: 860px;
  font-size: clamp(58px, 9vw, 128px);
  line-height: .86;
  letter-spacing: -.06em;
}

.error-404-copy p {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.28;
}

.error-404-mark {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(239, 64, 96, .12), rgba(255, 253, 250, .7));
  overflow: hidden;
}

.error-404-mark::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(36, 36, 36, .15);
  transform: rotate(-6deg);
}

.error-404-mark span {
  position: relative;
  color: var(--ink);
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 850;
  line-height: .8;
  letter-spacing: -.08em;
}

.error-404-mark span:nth-child(2) {
  color: var(--accent);
  transform: translateY(18%);
}

@media (max-width: 1080px) {
  .hero-panel,
  .tabs-head,
  .featured-project,
  .cta,
  .error-404-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 460px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .am-masonry-grid > .wp-block-group__inner-container {
    column-count: 2;
  }

  .am-section-intro,
  .am-section-intro > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .am-tech-grid,
  .am-results,
  .am-tech-grid > .wp-block-group__inner-container,
  .am-results > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-tech-item {
    padding: clamp(26px, 4vw, 38px);
  }

  .am-before-after,
  .am-before-after > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

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

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

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero-panel {
    min-height: 380px;
    padding: 24px;
  }

  .project-hero-panel {
    min-height: 0;
    padding: 20px;
    background: transparent;
    border-top: 0;
  }

  .project-hero-preview {
    display: block;
  }

  .project-hero-media {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .project-hero-media::before,
  .project-hero-media > img,
  .project-hero-media > .project-placeholder,
  .project-hero-action .label,
  .project-hero-action p {
    display: none;
  }

  .project-hero-action {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    padding: 0;
    transform: none;
    opacity: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .project-hero-action > div {
    display: none;
  }

  .project-hero-media:hover .project-hero-action,
  .project-hero-media.is-tapped .project-hero-action {
    transform: none;
    background: transparent;
    border-color: transparent;
  }

  .project-link-compact {
    width: 100%;
  }

  .hero-note {
    width: 100%;
    max-width: 100%;
    transform: none;
    animation: none;
  }

  .hero-note strong {
    max-width: 260px;
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  .hero-note span {
    max-width: 265px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .tabs {
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-button {
    min-height: 42px;
    padding-inline: 10px;
    border-radius: 18px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .project-copy,
  .project-media,
  .concept-card {
    padding: 20px;
  }

  .am-tech-item {
    padding: 26px;
  }

  .featured-project {
    min-height: 0;
  }

  .project-media img,
  .project-media .project-placeholder {
    height: 360px;
  }

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

  .am-masonry-grid > .wp-block-group__inner-container {
    column-count: 1;
  }

  .am-carousel-track,
  .am-carousel-track > .wp-block-group__inner-container {
    grid-auto-columns: 88%;
  }

  .am-lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 58px 14px 88px;
  }

  .am-lightbox__figure {
    grid-column: 1;
    max-height: calc(100vh - 150px);
  }

  .am-lightbox__figure img {
    max-width: 100%;
    max-height: calc(100vh - 230px);
  }

  .am-lightbox__figure figcaption {
    max-width: 100%;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .am-lightbox__close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .am-lightbox__nav {
    position: fixed;
    bottom: 18px;
    width: 100%;
    height: 48px;
    z-index: 3;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
  }

  .am-lightbox__nav--prev,
  .am-lightbox__nav--next {
    grid-column: 1;
  }

  .am-lightbox__nav--prev {
    left: 14px;
    width: calc(50% - 21px);
  }

  .am-lightbox__nav--next {
    right: 14px;
    width: calc(50% - 21px);
  }

  .am-tech-grid,
  .am-results,
  .am-before-after,
  .am-tech-grid > .wp-block-group__inner-container,
  .am-results > .wp-block-group__inner-container,
  .am-before-after > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-tech-grid,
  .am-tech-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .am-before-after,
  .am-before-after > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .am-tech-item,
  .am-result-card {
    min-height: 230px;
  }

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

  .project-content.reveal {
    opacity: 1;
    transform: none;
  }

  .project-quote-section::before {
    right: 24px;
    border-width: 12px;
  }

  .project-card-media {
    min-height: 260px;
  }

  .concept-card {
    min-height: 330px;
    grid-template-rows: 170px 1fr auto;
  }

  .concept-thumb {
    min-height: 170px;
  }

  .cta a {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .am-tech-grid,
  .am-results,
  .am-before-after,
  .am-tech-grid > .wp-block-group__inner-container,
  .am-results > .wp-block-group__inner-container,
  .am-before-after > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}
