:root {
  --paper: #fafaf9;
  --paper-2: #f3f3f1;
  --ink: #050505;
  --muted: #777b84;
  --faint: #a2a5aa;
  --line: #d2d4d7;
  --line-dark: #aeb2b7;
  --dark: #050505;
  --dark-2: #111114;
  --white: #ffffff;
  --pink: #ff1f86;
  --pink-soft: #fff0f7;
  --max: 1344px;
  --gutter: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(100% - var(--gutter) * 2, var(--max));
  min-height: 65px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span::after {
  content: ".";
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--pink);
}

.nav-links .nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.home-hero {
  padding: 64px 0 0;
}

.home-shell {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  border: 1px solid var(--line-dark);
  background: rgba(250, 250, 249, 0.78);
}

.home-copy {
  min-height: 506px;
  padding: 52px 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--pink);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(4.1rem, 8.7vw, 7.7rem);
}

h2 {
  font-size: clamp(3rem, 6vw, 5.85rem);
}

h3 {
  font-size: 1.38rem;
  line-height: 1.08;
}

.pink-block {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.08em;
  background: var(--pink);
  vertical-align: baseline;
}

.accent-script {
  display: inline-block;
  color: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
  line-height: 0.88;
}

.hero-copy {
  max-width: 680px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.19rem;
  font-weight: 650;
  line-height: 1.42;
}

.home-portrait {
  position: relative;
  margin: 0;
  min-height: 506px;
  overflow: hidden;
  background: var(--dark);
}

.home-portrait img {
  width: 100%;
  height: 100%;
  min-height: 506px;
  object-fit: cover;
  object-position: center top;
}

.home-portrait figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(5, 5, 5, 0.74);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}

.home-meta > * {
  min-height: 112px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.52);
}

.home-meta > *:nth-child(4n) {
  border-right: 0;
}

.home-meta span,
.case-meta span,
.mode span,
.system-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-meta > div:first-child strong {
  font-size: 2.2rem;
  line-height: 1;
}

.status-cell {
  background: #3f4045;
}

.status-cell span,
.status-cell strong {
  color: var(--white);
}

.status-cell i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 0 10px rgba(255, 31, 134, 0.18);
}

.meta-cta,
.meta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.meta-cta {
  color: var(--white);
  background: var(--pink);
}

.meta-cta b,
.meta-link b {
  font-size: 1rem;
}

.skill-ticker {
  margin-top: 32px;
  padding: 22px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.skill-ticker span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 850;
  text-transform: uppercase;
}

.skill-ticker span + span::before {
  content: "•";
  margin-right: 18px;
  color: var(--pink);
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 900px;
}

.section-lede {
  max-width: 630px;
  margin-top: 26px;
}

.results-intro {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.results-head {
  padding-top: 74px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 40px;
  align-items: end;
}

.results-head p:last-child {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.proof-grid {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-dark);
  background: var(--paper);
}

.proof-item {
  min-height: 150px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-dark);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-value {
  color: var(--ink);
  font-size: clamp(2.15rem, 2.7vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
}

.proof-label {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.45;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--pink);
  color: var(--white);
  background: var(--pink);
}

.button.text {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--pink);
  background: transparent;
}

.button:hover,
.button:focus-visible {
  color: var(--pink);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.split-image,
.portrait-panel {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--dark);
}

.split-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.system-grid,
.work-grid,
.mode-grid {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

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

.system-card,
.mode,
.work-card-body {
  background: var(--paper);
}

.system-card,
.mode {
  min-height: 242px;
  padding: 28px;
}

.system-card p,
.mode p,
.work-card-body p {
  margin-top: 16px;
  font-size: 0.96rem;
}

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

.work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: var(--paper);
}

.work-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line-dark);
}

.work-card-body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag,
.filter-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agency-strip {
  background:
    linear-gradient(110deg, rgba(255, 31, 134, 0.08), rgba(255, 255, 255, 0.2) 54%),
    var(--paper);
}

.agency-strip .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
}

.hero.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 405px;
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 31, 134, 0.08) 100%),
    var(--paper);
}

.page-hero .hero-media {
  display: none;
}

.page-hero.visual-hero {
  min-height: 580px;
}

.page-hero.visual-hero .hero-media {
  position: absolute;
  top: 62px;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  bottom: 62px;
  display: block;
  width: min(34vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--dark);
}

.page-hero.visual-hero .hero-media img {
  display: none;
}

.page-hero.visual-hero .hero-media img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.visual-hero .hero-inner {
  padding-right: min(40vw, 500px);
}

.hero-inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 1050px;
}

.page-hero .hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-weight: 500;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  max-width: 720px;
}

.agent-proof-block {
  margin-top: 54px;
}

.case-stack {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  border: 1px solid var(--line-dark);
  background: var(--dark);
}

.case-row img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-right: 1px solid var(--line-dark);
}

.case-row.site-shot {
  background: var(--dark);
}

.case-row.site-shot img {
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  background: #f5f5f3;
}

.case-body {
  padding: 44px 40px;
  color: var(--white);
  background: var(--dark);
}

.case-body h2,
.case-body h3 {
  color: var(--white);
}

.case-body h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.25rem);
}

.case-body p {
  margin-top: 20px;
  color: #cfd1d5;
}

.case-body .section-kicker {
  margin-bottom: 26px;
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.case-meta div {
  padding-left: 14px;
  border-left: 1px solid var(--pink);
}

.case-meta span {
  color: var(--pink);
}

.case-meta strong {
  display: block;
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.42;
}

.case-body .button.text {
  color: var(--pink);
}

.capability-list,
.timeline {
  display: grid;
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.capability-row {
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.72fr;
  gap: 32px;
  padding: 32px;
  background: var(--paper);
}

.capability-row h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
}

.capability-row ul,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-row li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.capability-row li + li,
.plain-list li + li {
  margin-top: 9px;
}

.capability-row li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  background: var(--pink);
}

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

.quote-band {
  color: var(--white);
  background: var(--dark);
}

.quote-band .section-inner {
  padding-top: 78px;
  padding-bottom: 78px;
}

.quote-band blockquote {
  margin: 0;
  max-width: 1060px;
  color: var(--white);
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.98;
}

.quote-band cite {
  display: block;
  margin-top: 26px;
  color: var(--pink);
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  padding: 28px;
  background: var(--paper);
}

.timeline-item span {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.contact-card {
  padding: 42px;
  background: var(--paper);
}

.contact-card h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.9rem);
}

.contact-card p {
  margin-top: 22px;
}

.contact-methods {
  display: grid;
  margin-top: 34px;
}

.contact-method {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
}

.contact-method strong {
  color: var(--ink);
  text-transform: uppercase;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

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

.footer-inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--pink);
}

@media (max-width: 1040px) {
  :root {
    --gutter: 28px;
  }

  .nav-shell {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 22px;
  }

  .home-shell,
  .two-col,
  .case-row,
  .capability-row,
  .agency-strip .section-inner,
  .contact-panel,
  .results-head {
    grid-template-columns: 1fr;
  }

  .home-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .home-meta,
  .proof-grid,
  .system-grid,
  .work-grid,
  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-meta > *:nth-child(4n) {
    border-right: 1px solid var(--line-dark);
  }

  .home-meta > *:nth-child(2n) {
    border-right: 0;
  }

  .case-row img {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .case-row.site-shot img {
    height: auto;
    min-height: 0;
  }

  .results-head p:last-child {
    text-align: left;
  }

  .page-hero.visual-hero .hero-media {
    display: none;
  }

  .page-hero.visual-hero .hero-inner {
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 14px;
  }

  body {
    background-size: 56px 56px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .nav-links {
    gap: 12px 16px;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .nav-links .nav-cta {
    padding: 8px 12px;
  }

  .home-hero {
    padding-top: 34px;
  }

  .home-copy {
    min-height: 0;
    padding: 36px 24px 34px;
  }

  h1 {
    font-size: clamp(2.82rem, 13vw, 3.62rem);
  }

  h2 {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .home-portrait,
  .home-portrait img {
    min-height: 390px;
  }

  .home-portrait figcaption {
    color: var(--white);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  }

  .home-meta,
  .proof-grid,
  .system-grid,
  .work-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .home-meta > *,
  .home-meta > *:nth-child(2n),
  .home-meta > *:nth-child(4n),
  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .home-meta > *:last-child,
  .proof-item:last-child {
    border-bottom: 0;
  }

  .skill-ticker {
    justify-content: flex-start;
  }

  .skill-ticker span + span::before {
    margin-right: 10px;
  }

  .section-inner {
    padding: 62px 0;
  }

  .hero.page-hero {
    min-height: 0;
    padding: 58px 0;
  }

  .case-body,
  .contact-card,
  .capability-row {
    padding: 24px;
  }

  .case-row img {
    min-height: 270px;
  }

  .case-row.site-shot img {
    min-height: 0;
  }

  .split-image img,
  .portrait-panel img {
    height: auto;
    min-height: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-method,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
