/* Hype redesign mockups — mobile-first */
@font-face {
  font-family: "GraphikRO";
  src: url("../fonts/GraphikThinRO.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GraphikRO";
  src: url("../fonts/GraphikRegularRO.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GraphikRO";
  src: url("../fonts/GraphikBoldRO.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Abel";
  src: url("../fonts/abel-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --hype-green: #61a251;
  --hype-green-dark: #61a251;
  --hype-green-soft: #99c559;
  --hype-green-bright: #99c559;
  --ink: #111111;
  --muted: #6a6a6a;
  --line: #e6e6e6;
  --paper: #ffffff;
  --wash: #f5f5f3;
  --max: 1280px;
  --header-h: 84px;
  --admin-bar-h: 0px;
  --gutter: 20px;
  --space: 56px;
}

/* WP adds .admin-bar on body; set var on html so scroll-padding inherits. */
html:has(body.admin-bar) {
  --admin-bar-h: 32px;
}

@media screen and (max-width: 782px) {
  html:has(body.admin-bar) {
    --admin-bar-h: 46px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--admin-bar-h));
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "GraphikRO", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.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;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

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

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

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* —— Header (mobile base) —— */
.site-header {
  position: fixed;
  top: var(--admin-bar-h);
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  /* no backdrop-filter: it traps position:fixed mobile nav inside header */
}

/* Fallback when :has() unavailable — keep header clear of WP admin bar */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header .inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  z-index: 210;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 210;
}

.header-cta {
  display: none !important;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 14px;
  display: block;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

body.nav-open .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: calc(var(--header-h) + var(--admin-bar-h) + 16px) var(--gutter) 40px;
  background: #fff;
  font-family: "Abel", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.nav-open .nav {
  transform: translateX(0);
  visibility: visible;
}

.nav a {
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.nav a.is-active,
.nav a:hover {
  color: var(--hype-green);
}

.nav-mobile-cta {
  margin-top: 28px;
  align-self: stretch;
  width: 100%;
  justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--hype-green-bright);
  color: #111;
  border-color: var(--hype-green-bright);
}

.btn-primary:hover {
  background: var(--hype-green);
  border-color: var(--hype-green);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: #fff;
  color: #111;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

/* —— Hero (photo-led composition) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #111;
  /* Slightly less lift on mobile so white type holds over light floor */
  filter: saturate(0.95) brightness(1.08);
}

.hero-media picture,
.hero-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-media-img {
  object-fit: cover;
  /* Bias toward darker wall zone — type sits off the bright floor */
  object-position: 62% 28%;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stronger lower scrim under headline/CTA on mobile */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(105deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.24) 36%, rgba(0, 0, 0, 0.08) 68%, transparent 90%);
}

.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* Soften green edge rail on mobile — restore at ≥768px */
  width: 0;
  opacity: 0;
  z-index: 2;
  background: var(--hype-green-bright);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto 6vh;
  padding-top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 24px;
  align-items: end;
}

.hero-copy {
  max-width: 36rem;
}

.hero-title {
  margin: 0 0 10px;
  max-width: 14ch;
  font-size: clamp(30px, 8.6vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-support {
  margin: 0 0 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.4;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-actions .btn {
  width: 100%;
  min-height: 44px;
}

/* Clean light strip under hero — 01/02/03 stay crisp without darkening the photo */
.offer-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.offer-strip .wrap {
  padding: 0;
}

.hero-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-rail a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Abel", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.hero-rail a:last-child {
  border-bottom: 0;
}

.hero-rail a span {
  color: var(--hype-green-dark);
  min-width: 1.6em;
  font-weight: 400;
}

.hero-rail a:hover {
  color: var(--hype-green-dark);
}

/* —— Sections —— */
.section {
  padding: var(--space) 0;
}

.section-tight {
  padding: 40px 0;
}

.section-wash {
  background: var(--wash);
}

.work-proof {
  padding-bottom: calc(var(--space) + 16px);
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 7.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
}

.positioning {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.positioning .section-title {
  max-width: 16ch;
}

.positioning p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: #333;
}

.positioning p a {
  color: var(--hype-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.positioning p a:hover {
  color: var(--ink);
}

.clients-section {
  background: var(--paper);
  padding-top: 72px;
  padding-bottom: 64px;
  position: relative;
  border-top: 0;
}

/* Cut is wash (Selected work) → white (clients); no extra rule needed */
.clients-section::before {
  content: none;
}

.clients-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.clients-section .clients {
  margin-top: 0;
  width: 100%;
}

/* —— Pillars (photo panels with full copy) —— */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 36px;
}

.offers-intro {
  max-width: 40rem;
}

.offers-intro .section-title {
  margin-bottom: 12px;
}

.offers-intro .section-lead {
  max-width: 52ch;
}

.pillar {
  position: relative;
  display: block;
  min-height: 340px;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
}

.pillar-media {
  position: absolute;
  inset: 0;
  background: #222 center / cover no-repeat;
  transform: scale(1);
  transition: transform 0.55s ease;
}

.pillar:hover .pillar-media {
  transform: scale(1.04);
}

.pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.38) 100%);
}

.pillar-soft .pillar-media {
  background-image: image-set(
    url("../img/pillar-soft-atm.webp") type("image/webp"),
    url("../img/pillar-soft-atm.jpg") type("image/jpeg")
  );
  background-position: center 35%;
}

.pillar-ecom .pillar-media {
  background-image: image-set(
    url("../img/pillar-ecom.webp") type("image/webp"),
    url("../img/pillar-ecom.jpg") type("image/jpeg")
  );
  background-position: center 45%;
}

.pillar-paid .pillar-media {
  background-image: image-set(
    url("../img/pillar-paid-atm.webp") type("image/webp"),
    url("../img/pillar-paid-atm.jpg") type("image/jpeg")
  );
  background-position: center 40%;
}

.pillar-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-content: end;
  min-height: 340px;
  padding: 28px 20px;
}

.pillar-num {
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--hype-green-bright);
  padding-top: 6px;
}

.pillar-body {
  grid-column: 2;
}

.pillar h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.pillar-link {
  grid-column: 2;
  margin-top: 14px;
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hype-green-bright);
  transition: letter-spacing 0.2s ease;
}

.pillar:hover .pillar-link {
  letter-spacing: 0.12em;
}

.pillar-top {
  display: none;
}

/* —— Work —— */
.work-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

/* Homepage Selected work — Magazine Spread + auto-rotate */
.work-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.work-proof-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-proof-eyebrow {
  margin: 0;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.work-proof-head .section-title {
  margin: 0;
}

.work-proof-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.work-proof-all:hover {
  border-bottom-color: var(--hype-green-bright);
  color: var(--hype-green);
}

.mag-spread {
  display: grid;
  gap: 28px;
  margin-bottom: 12px;
}

.mag-feature {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.mag-inset {
  position: relative;
  overflow: hidden;
  background: #f0f0ee;
  aspect-ratio: 16 / 10;
  max-height: min(42vh, 320px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mag-inset img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.mag-inset img.is-active {
  opacity: 1;
  z-index: 1;
}

.mag-copy-stack {
  position: relative;
  min-height: 10.5rem;
}

.mag-panel {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}

.mag-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.mag-cat,
.mag-also-label {
  margin: 0 0 6px;
  font-family: "Abel", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hype-green);
}

.mag-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
}

.mag-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.55;
}

.mag-cta {
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
}

.mag-cta:hover {
  color: var(--hype-green);
}

.mag-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 20px;
  padding-top: 2px;
}

.mag-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mag-prev,
.mag-next {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 4px;
  min-width: 32px;
  min-height: 32px;
  font-family: "Abel", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #8a8a8a;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mag-prev:hover,
.mag-next:hover,
.mag-prev:focus-visible,
.mag-next:focus-visible {
  color: var(--hype-green);
  outline: none;
}

.mag-index {
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 4.5em;
  text-align: center;
}

.mag-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mag-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mag-dot:hover,
.mag-dot:focus-visible {
  background: var(--hype-green-soft);
  outline: none;
}

.mag-dot.is-active {
  background: var(--hype-green);
  transform: scale(1.15);
}

.mag-also {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.mag-also ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mag-also li {
  border-bottom: 0;
}

.mag-also li + li {
  border-top: 0;
}

.mag-also a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  padding: 11px 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
}

.mag-also a span {
  display: block;
  font-family: "Abel", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
  line-height: 1.25;
  white-space: nowrap;
}

.mag-also a:hover {
  color: var(--hype-green);
}

@media (prefers-reduced-motion: reduce) {
  .mag-inset img,
  .mag-panel {
    transition: none;
  }
}

/* —— Works archive (catalog, not pillar) —— */
.works-archive {
  padding-top: calc(var(--header-h) + 20px);
}

.works-archive__section {
  padding-top: 4px;
}

.works-archive__intro {
  margin: 0;
}

.works-archive__title {
  margin: 0;
  font-size: clamp(36px, 9vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.works-archive__lead {
  margin: 12px 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 22px 0 28px;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.filters a {
  padding: 3px 0;
  color: inherit;
  transition: color 0.15s ease;
}

.filters a:hover {
  color: #333;
}

.filters a.is-active {
  color: #61a251;
  box-shadow: inset 0 -2px 0 #99c559;
}

@media (min-width: 768px) {
  .filters {
    font-size: 13px;
  }
}

/* —— Works archive pagination (editorial / agency) —— */
.works-pagination {
  margin: 56px 0 8px;
}

.works-pagination__links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 4px 18px;
}

.works-pagination__page,
.works-pagination__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 12px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: "Abel", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}

.works-pagination__page:hover,
.works-pagination__page:focus-visible,
.works-pagination__control:hover,
.works-pagination__control:focus-visible {
  color: var(--hype-green);
  outline: none;
}

.works-pagination__num {
  display: block;
  line-height: 1;
}

/* Current: green ink + short underline bar (print mark, not OS fill) */
.works-pagination__page.is-current {
  color: var(--hype-green);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: default;
  pointer-events: none;
  padding-bottom: 14px;
}

.works-pagination__page.is-current .works-pagination__num {
  position: relative;
}

.works-pagination__page.is-current .works-pagination__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 2px;
  background: var(--hype-green);
  transform: translateX(-50%);
}

/* Prev / Next: uppercase text links, no chrome */
.works-pagination__control {
  gap: 0;
  padding-inline: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.works-pagination__control-label {
  display: block;
  line-height: 1;
}

.works-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 28px;
  min-height: 44px;
  padding: 12px 2px;
  border: 0;
  color: var(--muted);
  font-family: "Abel", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  user-select: none;
}

@media (max-width: 520px) {
  .works-pagination {
    margin-top: 44px;
  }

  .works-pagination__links {
    gap: 2px 10px;
  }

  .works-pagination__page,
  .works-pagination__control {
    min-width: 44px;
    min-height: 44px;
    padding: 14px 8px;
  }

  .works-pagination__page {
    font-size: 14px;
  }

  .works-pagination__page.is-current {
    font-size: 17px;
    padding-bottom: 16px;
  }

  .works-pagination__control {
    font-size: 11px;
    letter-spacing: 0.14em;
    padding-inline: 8px;
  }
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.work-grid.work-grid-calm {
  gap: 22px;
}

.work-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.work-item.featured {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.52) 36%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.04) 78%,
    transparent 100%
  );
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: transform 0.55s ease;
  position: absolute;
  inset: 0;
}

.work-item:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.work-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.work-meta span {
  display: block;
  margin-bottom: 8px;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hype-green-bright);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 14px rgba(0, 0, 0, 0.55);
}

.work-meta strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 18px rgba(0, 0, 0, 0.55);
}

.clients {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  column-gap: 8px;
  row-gap: 0;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.clients::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.client {
  flex: none;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 40px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0 2px;
}

.client img {
  display: block;
  max-height: 24px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.client:hover img {
  opacity: 1;
}

.trust-note {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 38rem;
  margin: 28px auto 0;
  padding: 0 12px;
  color: #6a6a6a;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

/* —— CTA —— */
.cta-band {
  background: var(--hype-green);
  color: #111;
  padding: 28px 0;
}

.cta-band .inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.cta-band h2 {
  margin: 0 0 4px;
  font-size: clamp(22px, 6.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.4;
}

.cta-band .btn {
  width: 100%;
  margin-top: 4px;
}

/* —— Footer (mobile-first: brand full-bleed, Offers|Company 2-col, social row) —— */
.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.92);
  padding: 28px 0 18px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 22px;
  margin-bottom: 16px;
  align-items: start;
}

/* Brand | Social on row 1; Offers | Company auto-flow to row 2 */
.footer-col-brand {
  grid-column: 1;
  grid-row: 1;
}

.footer-social {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  justify-self: start;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 12px;
  font-family: "GraphikRO", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.site-footer a {
  display: block;
  margin-bottom: 0;
  color: #a0a0a0;
  font-size: 14px;
  min-height: 0;
  line-height: 1.35;
}

.site-footer .footer-grid .footer-col > a:not(.footer-brand) {
  min-height: 0;
  display: block;
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.35;
  color: #a0a0a0;
  font-size: 14px;
  font-weight: 400;
}

.site-footer .footer-grid .footer-col > a:not(.footer-brand):last-child {
  margin-bottom: 0;
}

.site-footer p a {
  display: inline;
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: inherit;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--hype-green);
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: -2px;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-social-icons a:hover {
  color: var(--hype-green);
}

.footer-social-icons svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  line-height: 0;
  min-height: 0;
}

.site-footer a.footer-brand {
  margin-bottom: 8px;
  color: inherit;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Pillar page —— */
.page-hero {
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 56px;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background: #111 center / cover no-repeat;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.page-hero-media.soft {
  background-image: image-set(
    url("../img/proof-ayvens-ui.webp") type("image/webp"),
    url("../img/proof-ayvens-ui.jpg") type("image/jpeg")
  );
  background-position: top center;
}

.page-hero-media.ecom {
  background-image: image-set(
    url("../img/proof-miobio.webp") type("image/webp"),
    url("../img/proof-miobio.jpg") type("image/jpeg")
  );
  background-position: center;
}

.page-hero-media.paid {
  background-image: image-set(
    url("../img/pillar-paid-atm.webp") type("image/webp"),
    url("../img/pillar-paid-atm.jpg") type("image/jpeg")
  );
  background-position: center 35%;
}

.page-hero-media.contact {
  background-image: image-set(
    url("../img/contact-hero.webp") type("image/webp"),
    url("../img/contact-hero.jpg") type("image/jpeg")
  );
  background-position: center;
}

.page-hero-media.about {
  background-image: image-set(
    url("../img/page-soft.webp") type("image/webp"),
    url("../img/page-soft.jpg") type("image/jpeg")
  );
  background-position: center;
}

.about-intro {
  max-width: 72ch;
}

.about-prose {
  margin-top: 28px;
}

.about-prose p {
  margin: 0 0 1.15em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 62ch;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

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

.page-kicker {
  margin: 0 0 14px;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hype-green-bright);
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 9vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.page-hero .hero-support {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 28px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
}

/* Soft / Ecom: split hero — clear product surface beside copy (never under text) */
.page-hero--soft,
.page-hero--ecom {
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  background: var(--wash);
}

.page-hero--soft .page-hero-media,
.page-hero--ecom .page-hero-media {
  position: relative;
  min-height: 42svh;
}

.page-hero--soft .page-hero-media::before,
.page-hero--ecom .page-hero-media::before {
  background: transparent;
}

.page-hero--soft .wrap,
.page-hero--ecom .wrap {
  padding: 40px var(--gutter) 48px;
  max-width: none;
  width: 100%;
}

.page-hero--soft h1,
.page-hero--ecom h1 {
  color: var(--ink);
}

.page-hero--soft .hero-support,
.page-hero--ecom .hero-support {
  color: var(--muted);
  max-width: 48ch;
}

.page-hero--soft .page-kicker,
.page-hero--ecom .page-kicker {
  color: var(--hype-green-dark);
}

/* Paid: atmospheric photo only — never text-heavy UI under copy */
.page-hero--paid {
  min-height: 52svh;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
}

.page-hero--paid .page-hero-media::before {
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.support-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.support-item strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.support-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 42ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.deliver-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.deliver-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.deliver-list li::before {
  content: "— ";
  color: var(--hype-green-dark);
}

.process-box {
  background: transparent;
  padding: 0;
  border-top: 1px solid var(--line);
}

.process-box ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-box li {
  counter-increment: step;
  padding: 14px 0 14px 48px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.process-box li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: "Abel", sans-serif;
  color: var(--hype-green-dark);
  letter-spacing: 0.08em;
}

/* —— Contact page —— */
.contact-body {
  padding-top: 48px;
  padding-bottom: 64px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.contact-layout--form {
  max-width: 720px;
}

.contact-form-col {
  min-width: 0;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.contact-channels a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-channels a:hover {
  color: var(--hype-green-dark);
  border-bottom-color: var(--hype-green-soft);
}

.page-hero--contact .hero-support {
  margin-bottom: 20px;
}

/* Contact Form 7 */
.contact-form .wpcf7 {
  margin: 0;
}

.contact-form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}

.contact-form .wpcf7-form > p,
.contact-form .wpcf7-form > div:not(.wpcf7-response-output):not(.hidden-fields-container) {
  margin: 0;
}

.contact-form .wpcf7-form .hidden-fields-container {
  display: none;
}

.contact-form .first-name-container,
.contact-form .last-name-container,
.contact-form .email-container,
.contact-form .subject-container,
.contact-form .message-container,
.contact-form .submit-button-container {
  margin: 0;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7-form-control:not(.wpcf7-submit),
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

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

.contact-form .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
  color: #9a9a9a;
}

.contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--hype-green);
  box-shadow: 0 0 0 3px rgba(97, 162, 81, 0.18);
}

.contact-form .wpcf7-not-valid {
  border-color: #c45c5c;
}

.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #b54545;
}

.contact-form .wpcf7-spinner {
  margin-left: 12px;
  background-color: var(--hype-green);
}

.contact-form .submit-form-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  pointer-events: none;
}

.contact-form .submit-form-link .wpcf7-submit,
.contact-form .wpcf7-submit,
.contact-form input.wpcf7-submit {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--hype-green-bright);
  border-radius: 0;
  background: var(--hype-green-bright);
  color: #111;
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-form .wpcf7-submit:hover,
.contact-form input.wpcf7-submit:hover {
  background: var(--hype-green);
  border-color: var(--hype-green);
  color: #fff;
}

.contact-form .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.45;
}

.contact-form .wpcf7 form-status-sent .wpcf7-response-output {
  border-color: var(--hype-green);
  color: var(--ink);
}

.contact-form .wpcf7 form-status-failed .wpcf7-response-output,
.contact-form .wpcf7 form-status-invalid .wpcf7-response-output,
.contact-form .wpcf7 form-status-unaccepted .wpcf7-response-output {
  border-color: #c45c5c;
}

.contact-form .wpcf7-form .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Pillar-specific compositions —— */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.cap-grid li {
  list-style: none;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.cap-grid .cap-n {
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--hype-green-dark);
  padding-top: 4px;
}

.cap-grid strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.cap-grid .cap-desc {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 48ch;
  font-weight: 400;
}

.steps-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-rail li {
  counter-increment: step;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.steps-rail li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps-rail strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.steps-rail strong::before {
  content: counter(step, decimal-leading-zero) "  ";
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--hype-green-dark);
}

.steps-rail span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 42ch;
}

.proof-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.proof-feature figure {
  margin: 0;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 10;
}

.proof-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-feature .proof-copy h2 {
  margin: 0 0 12px;
}

.proof-feature .proof-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.commerce-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.commerce-flow li {
  list-style: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.commerce-flow strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.commerce-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 42ch;
}

.deliver-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.deliver-tiles li {
  list-style: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.deliver-tiles strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.deliver-tiles span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  display: block;
  max-width: 44ch;
}

.outcomes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.outcomes li {
  list-style: none;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.outcomes .out-label {
  display: block;
  font-family: "Abel", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
  margin-bottom: 10px;
}

.outcomes strong {
  display: block;
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 28ch;
  margin-bottom: 10px;
}

.outcomes .out-desc {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 36ch;
  font-weight: 400;
}

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

.work-row--featured .work-card:first-child {
  grid-column: 1 / -1;
}

.work-row--featured .work-card:first-child img {
  aspect-ratio: 21 / 10;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

.work-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.52) 36%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.04) 78%,
    transparent 100%
  );
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}

.work-card:hover img {
  transform: scale(1.03);
}

.work-card .work-meta {
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
}

/* —— Project detail —— */
.project-hero {
  padding-top: var(--header-h);
}

.project-hero-media {
  position: relative;
  min-height: 70svh;
  background: #111 center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.project-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.3) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto 40px;
}

.project-hero-content .eyebrow {
  font-weight: 600;
  color: var(--hype-green-bright);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 14px rgba(0, 0, 0, 0.55);
}

.project-hero-content h1 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 9vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 18px rgba(0, 0, 0, 0.45);
}

.project-hero-content .lede {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.project-meta dt {
  margin: 0 0 4px;
  font-family: "Abel", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
}

.project-meta dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.project-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 0;
  align-items: start;
}

.project-body h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.project-body h2 + p + h2 {
  margin-top: 28px;
}

.project-body p {
  margin: 0 0 16px;
  color: #333;
  font-size: 16px;
  max-width: 58ch;
}

.project-aside {
  background: var(--wash);
  padding: 24px;
}

.project-aside h3 {
  margin: 0 0 14px;
  font-family: "Abel", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hype-green-dark);
}

.project-aside ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.project-aside li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e2e2;
  font-size: 15px;
}

.project-aside li:last-child {
  border-bottom: 0;
}

.project-aside .btn {
  width: 100%;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 40px;
}

.project-gallery figure {
  margin: 0;
  background: #222;
  min-height: 240px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-family: "Abel", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-nav a {
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.project-nav a:hover {
  color: var(--hype-green-dark);
}

/* —— Gallery index —— */
.gallery-body {
  background: #111;
  color: #fff;
  min-height: 100svh;
  padding: 40px var(--gutter);
}

.gallery-body h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 10vw, 48px);
  font-weight: 700;
}

.gallery-body .lead {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 32px;
  max-width: 60ch;
  font-size: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-card {
  display: block;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 22px;
  transition: border-color 0.2s ease;
}

.gallery-card:hover {
  border-color: var(--hype-green-bright);
}

.gallery-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.gallery-card span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.gallery-card em {
  display: inline-block;
  margin-top: 16px;
  color: var(--hype-green-bright);
  font-style: normal;
  font-family: "Abel", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 10px;
  border: 1px solid rgba(153, 197, 89, 0.45);
  color: var(--hype-green-bright);
  font-family: "Abel", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========== Tablet ≥640px ========== */
@media (min-width: 640px) {
  :root {
    --gutter: 28px;
    --space: 72px;
    --header-h: 92px;
  }

  body {
    font-size: 17px;
  }

  .logo img {
    height: 60px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 48px;
  }

  .clients {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px 36px;
    overflow-x: auto;
    grid-template-columns: none;
  }

  .client {
    flex: 0 0 auto;
    width: 118px;
    max-width: none;
    height: 44px;
  }

  .client img {
    max-height: 32px;
    max-width: 100%;
    opacity: 0.78;
  }

  .trust-note {
    margin-top: 28px;
    font-size: 13.5px;
  }

  .cta-band {
    padding: 40px 0;
  }

  .cta-band .inner {
    align-items: flex-start;
    gap: 20px;
  }

  .cta-band .btn {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .project-meta {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .work-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* ========== Tablet landscape / small desktop ≥768px ========== */
@media (min-width: 768px) {
  :root {
    --gutter: 36px;
    --space: 88px;
  }

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

  .pillar,
  .pillar-inner {
    min-height: 360px;
  }

  .mag-inset {
    max-height: min(40vh, 380px);
  }

  .mag-panel h3 {
    font-size: clamp(24px, 2.6vw, 34px);
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-grid.work-grid-hub {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .work-item.featured {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .work-item img {
    position: absolute;
  }

  .footer-grid {
    /* Keep Social on the same row as Offers/Company (was 3-col, Social wrapped away) */
    grid-template-columns: 1.25fr 1fr 1fr 0.85fr;
    gap: 20px;
  }

  .footer-col-brand,
  .footer-social {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-brand img {
    height: 36px;
  }

  .site-footer {
    padding: 36px 0 22px;
  }

  .site-footer h3 {
    font-size: 13px;
    margin: 0 0 11px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-layout--form {
    max-width: 760px;
  }

  .contact-form .wpcf7-form {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }

  .contact-form .email-container,
  .contact-form .subject-container,
  .contact-form .message-container,
  .contact-form .submit-button-container,
  .contact-form .wpcf7-form > .wpcf7-response-output {
    grid-column: 1 / -1;
  }

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

  .project-gallery figure:first-child {
    grid-row: span 2;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .project-nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-hero {
    min-height: 52vh;
    padding: calc(var(--header-h) + 72px) 0 72px;
  }

  .page-hero--soft,
  .page-hero--ecom {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(70vh, 640px);
  }

  .page-hero--soft .page-hero-media,
  .page-hero--ecom .page-hero-media {
    min-height: 100%;
    order: 2;
  }

  .page-hero--soft .wrap,
  .page-hero--ecom .wrap {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 48px 56px;
    width: auto;
    max-width: none;
  }

  .page-hero--paid {
    min-height: 48vh;
  }

  .hero-media {
    background: #111;
    filter: saturate(0.95) brightness(1.18);
  }

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

  .hero-media::before {
    background:
      linear-gradient(105deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.04) 60%, transparent 80%),
      linear-gradient(to top, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 28%, transparent 52%);
  }

  .hero-media::after {
    width: 4px;
    opacity: 1;
  }

  .hero-content {
    margin-bottom: 10vh;
    padding-top: calc(var(--header-h) + 48px);
    gap: 40px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(36px, 5vw, 56px);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  }

  .hero-support {
    margin-bottom: 32px;
    max-width: 38ch;
    font-size: 17px;
    line-height: 1.5;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  }

  .hero-actions {
    gap: 10px;
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    border-top: 0;
  }

  .support-item {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

  .steps-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 28px;
    border-top: 1px solid var(--line);
  }

  .steps-rail li {
    border-top: 0;
    padding: 28px 0 0;
  }

  .steps-rail li:last-child {
    border-bottom: 0;
  }

  .proof-feature {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .commerce-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 28px;
    border-top: 0;
  }

  .commerce-flow li {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .deliver-tiles {
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
  }

  .outcomes {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 36px;
    border-top: 0;
  }

  .outcomes li {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .work-row--featured {
    grid-template-columns: 1.4fr 1fr;
  }

  .work-row--featured .work-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .work-row--featured .work-card:first-child img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
  }
}

/* ========== Desktop ≥1024px — show horizontal nav ========== */
@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --space: 96px;
    --header-h: 100px;
  }

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex !important;
  }

  .nav-mobile-cta {
    display: none;
  }

  .nav {
    position: static;
    inset: auto;
    transform: none;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 14px;
    padding: 0;
    margin: 0 12px 0 24px;
    background: transparent;
    font-size: 13px;
    letter-spacing: 0.02em;
    z-index: auto;
  }

  .nav a {
    padding: 0;
    border-bottom: 0;
    white-space: nowrap;
    color: #333;
  }

  .site-header .inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .header-actions {
    order: 3;
  }

  .logo {
    order: 1;
  }

  .nav {
    order: 2;
  }

  .logo img {
    height: 70px;
  }

  .positioning {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: end;
  }

  .positioning p {
    font-size: 22px;
  }

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

  .pillars--asymmetric {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    min-height: 520px;
  }

  .pillars--asymmetric .pillar-soft {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .pillars--asymmetric .pillar-ecom {
    grid-column: 2;
    grid-row: 1;
  }

  .pillars--asymmetric .pillar-paid {
    grid-column: 2;
    grid-row: 2;
  }

  .pillars--asymmetric .pillar-soft,
  .pillars--asymmetric .pillar-soft .pillar-inner {
    min-height: 100%;
  }

  .pillars--asymmetric .pillar-ecom,
  .pillars--asymmetric .pillar-paid,
  .pillars--asymmetric .pillar-ecom .pillar-inner,
  .pillars--asymmetric .pillar-paid .pillar-inner {
    min-height: 0;
  }

  .pillar,
  .pillar-inner {
    min-height: 420px;
  }

  .pillar-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 28px;
    align-content: end;
  }

  .pillar-num {
    margin-bottom: 12px;
    padding-top: 0;
  }

  .pillar-body {
    grid-column: auto;
  }

  .pillar-link {
    grid-column: auto;
    margin-top: 18px;
    white-space: nowrap;
  }

  .pillar h3 {
    font-size: 30px;
  }

  .pillar p {
    font-size: 16px;
    max-width: 36ch;
  }

  .work-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .work-proof-head {
    margin-bottom: 36px;
    padding-bottom: 24px;
  }

  /* Magazine spread: photo | copy | Also — Also centered; chrome (nav+dots) under image */
  .mag-spread {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr) minmax(200px, 0.55fr);
    grid-template-rows: auto auto;
    column-gap: 36px;
    row-gap: 22px;
    align-items: stretch;
  }

  .mag-feature {
    display: contents;
  }

  .mag-inset {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    max-height: min(36vh, 340px);
  }

  .mag-copy-stack {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    align-self: center;
  }

  .mag-chrome {
    grid-column: 1;
    grid-row: 2;
    /* Match inset width when max-height shrinks the photo below the column */
    width: min(100%, calc(min(36vh, 340px) * 4 / 3));
    max-width: 100%;
    justify-content: space-between;
  }

  .mag-also {
    grid-column: 3;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 28px;
  }

  .mag-also a {
    font-size: 15px;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .work-grid.work-grid-hub {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .work-meta strong {
    font-size: 24px;
  }

  .work-row {
    gap: 24px;
  }

  .clients {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px 40px;
    overflow-x: visible;
  }

  .client {
    flex: 0 0 auto;
    width: 124px;
    max-width: none;
    height: 44px;
  }

  .client img {
    max-height: 34px;
    max-width: 100%;
    opacity: 0.78;
  }

  .trust-note {
    margin-top: 32px;
    padding: 0;
    font-size: 14px;
    max-width: 40rem;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }

  .cta-band h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
  }

  .cta-band p {
    max-width: 46ch;
    font-size: inherit;
    line-height: inherit;
  }

  .cta-band .btn {
    width: auto;
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 0.85fr;
    gap: 28px;
  }

  .site-footer {
    padding: 44px 0 28px;
  }

  .footer-brand img {
    height: 40px;
  }

  .work-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-body {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 56px;
    padding: 64px 0;
  }

  .project-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--admin-bar-h) + 24px);
  }

  .project-hero-media {
    min-height: min(72vh, 720px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: end;
    margin-bottom: 12vh;
    min-height: calc(100svh - var(--header-h) - 12vh);
  }

  .hero-title {
    font-size: clamp(48px, 5.5vw, 72px);
    max-width: 12ch;
  }

  .hero-support {
    font-size: 18px;
    max-width: 42ch;
  }

  .hero-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .hero-rail a {
    padding: 22px 28px;
    font-size: 15px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .hero-rail a:first-child {
    padding-left: 0;
  }

  .hero-rail a:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .offer-strip .wrap {
    padding: 4px 0;
  }

  .btn {
    min-height: 44px;
  }
}

/* ========== Wide ≥1280px ========== */
@media (min-width: 1280px) {
  .nav {
    gap: 24px;
    font-size: 14px;
  }
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-rail {
    animation: rise 0.7s ease both;
  }

  .hero-rail {
    animation-delay: 0.12s;
  }

  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

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

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* —— Generic page / legal prose —— */
.page-shell {
  padding: calc(var(--header-h) + var(--admin-bar-h) + 48px) 0 72px;
}

.page-article-header {
  max-width: 42rem;
  margin-bottom: 28px;
}

.page-article-title {
  margin: 0;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}

.page-content {
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.65;
  color: #333;
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content > *:last-child {
  margin-bottom: 0;
}

.page-content p {
  margin: 0 0 1.1em;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin: 1.75em 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.page-content h2 {
  font-size: clamp(22px, 3.5vw, 28px);
}

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

.page-content h4 {
  font-size: 17px;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.page-content li {
  margin: 0 0 0.4em;
}

.page-content li::marker {
  color: var(--hype-green);
}

.page-content a {
  color: var(--hype-green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.page-content a:hover {
  color: var(--hype-green-dark);
}

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

.page-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.page-content blockquote {
  margin: 1.4em 0;
  padding: 0 0 0 1em;
  border-left: 3px solid var(--hype-green);
  color: var(--muted);
}
