:root {
  --ink: #050505;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #5f5f5f;
  --line: #050505;
  --pink: #ff5f7f;
  --blue: #2f86ff;
  --yellow: #ffc62e;
  --mint: #56d8a7;
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: -1;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 28px 24px 16px;
}

.nav-shell {
  width: min(680px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 4px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  flex: 0 0 auto;
}

.brand-mark span {
  width: 16px;
  height: 16px;
  display: block;
  background: var(--ink);
  border-radius: 50%;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-width: 3px;
}

.brand-mark.small span {
  width: 12px;
  height: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.footer-links a {
  position: relative;
}

.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px;
}

.icon-button svg,
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.hero {
  min-height: 640px;
  padding: 80px 0 70px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.process-title h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family:
    "Arial Black", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

.highlight {
  display: inline-block;
  padding: 2px 14px 8px;
  color: var(--white);
  line-height: 0.95;
}

.highlight-pink {
  background: var(--pink);
}

.highlight-blue {
  background: var(--blue);
}

.hero-text {
  max-width: 600px;
  margin: 30px 0 0;
  color: #343434;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.button {
  min-height: 62px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.hero-portrait {
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 24px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.stats-band {
  margin: 0 0 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats-band div {
  min-height: 128px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid var(--ink);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  font-size: 42px;
  line-height: 1;
}

.stats-band span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section-block {
  padding: 32px 0 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.about-copy h2,
.process-title h2,
.contact-copy h2 {
  font-size: 50px;
  line-height: 1.05;
}

.compact-heading {
  max-width: 620px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.project-card,
.service-card,
.process-steps article {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}

.project-link {
  display: block;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}

.project-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 950;
}

.project-large {
  grid-row: span 2;
}

.project-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-bottom: 4px solid var(--ink);
}

.project-large .project-visual {
  min-height: 450px;
}

.project-visual img {
  width: min(74%, 430px);
  max-height: 360px;
}

.icon-stage img {
  width: 120px;
  image-rendering: auto;
}

.yellow-panel {
  background: var(--yellow);
}

.blue-panel {
  background: #9fd3ff;
}

.pink-panel {
  background: #ff9cad;
}

.project-info {
  padding: 28px;
}

.project-info span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info h3,
.service-card h3,
.process-steps h3 {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.project-info p,
.service-card p,
.process-steps p,
.about-copy p,
.contact-copy p {
  margin: 0;
  color: #3d3d3d;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
}

.about-section {
  padding: 40px 0 110px;
}

.about-art {
  display: grid;
  place-items: center;
  min-height: 460px;
  background: #aee9d2;
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.about-art img {
  width: min(76%, 390px);
}

.about-copy p {
  margin-top: 24px;
}

.about-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.about-list div {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
}

.about-list strong {
  color: var(--blue);
  font-size: 20px;
}

.about-list span {
  font-weight: 850;
}

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

.service-card {
  padding: 30px;
}

.service-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  object-fit: contain;
}

.process-band {
  margin-bottom: 104px;
  padding: 38px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
  background: var(--ink);
  color: var(--white);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.process-title h2,
.process-title .eyebrow {
  color: var(--white);
}

.process-steps {
  display: grid;
  gap: 18px;
}

.process-steps article {
  padding: 24px;
  color: var(--ink);
  box-shadow: none;
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.testimonial {
  margin-bottom: 108px;
  padding: 36px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.quote-mark {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 18px;
}

.quote-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

blockquote {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-author img {
  width: 58px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

.quote-author strong,
.quote-author span {
  display: block;
}

.quote-author strong {
  font-size: 17px;
}

.quote-author span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.contact-section {
  margin-bottom: 80px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-copy .button {
  margin-top: 30px;
}

.contact-art {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 18px;
}

.contact-art img {
  width: min(76%, 220px);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 4px solid var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 900;
}

.case-page {
  padding-bottom: 28px;
}

.case-hero {
  padding: 76px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  padding: 10px 14px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.case-hero h1,
.case-section h2,
.case-result h2,
.mock-section .section-heading h2 {
  margin: 0;
  font-family:
    "Arial Black", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 62px;
  line-height: 1.02;
}

.case-hero p:not(.eyebrow),
.case-copy p,
.detail-card p,
.case-gallery p,
.case-result li {
  color: #3d3d3d;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.72;
}

.case-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 26px 0 0;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.case-tags span {
  padding: 9px 13px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.case-hero-card {
  min-height: 430px;
  display: grid;
  place-items: center;
  background: #9fd3ff;
  border: 5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.case-hero-card img {
  width: min(76%, 430px);
}

.case-stats {
  margin: 0 0 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.case-stats div {
  min-height: 128px;
  padding: 26px;
  border-right: 3px solid var(--ink);
}

.case-stats div:last-child {
  border-right: 0;
}

.case-stats strong,
.case-stats span {
  display: block;
}

.case-stats strong {
  font-size: 40px;
  line-height: 1;
}

.case-stats span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.case-section {
  margin-bottom: 82px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.case-copy {
  display: grid;
  gap: 18px;
}

.case-copy p {
  margin: 0;
}

.case-detail-grid {
  margin-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-card,
.case-gallery article {
  padding: 28px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}

.detail-card span,
.case-gallery span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.detail-card h3,
.case-gallery h3 {
  margin: 18px 0 10px;
  font-size: 26px;
  line-height: 1.14;
}

.detail-card p,
.case-gallery p {
  margin: 0;
}

.mock-section {
  margin-bottom: 96px;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.mock-sidebar {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ink);
  color: var(--white);
}

.mock-sidebar strong {
  margin-bottom: 20px;
  font-size: 22px;
}

.mock-sidebar span {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  font-weight: 850;
}

.mock-main {
  padding: 28px;
  display: grid;
  gap: 22px;
  background: #eef6ff;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
}

.mock-topbar span,
.mock-cards span,
.mock-table span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.mock-topbar strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}

.mock-topbar button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 10px;
  font: inherit;
  font-weight: 900;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mock-cards article {
  padding: 18px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 14px;
}

.mock-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
}

.mock-table {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 80px 1.2fr;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 3px solid var(--ink);
  font-weight: 850;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-head {
  min-height: 48px;
  background: var(--yellow);
}

.score {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 36px;
  color: var(--ink);
  background: #d9f7e9;
  border: 3px solid var(--ink);
  border-radius: 999px;
}

.score.hot {
  color: var(--white);
  background: var(--pink);
}

.score.warm {
  background: var(--yellow);
}

.case-gallery {
  margin-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-gallery span {
  background: var(--pink);
}

.case-result {
  margin-bottom: 92px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  color: var(--white);
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.case-result h2,
.case-result .eyebrow {
  color: var(--white);
}

.case-result ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.case-result li {
  padding: 16px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
}

@media (max-width: 980px) {
  .nav-shell {
    width: 100%;
  }

  .nav-links {
    gap: 14px;
  }

  .section-grid,
  .process-band,
  .contact-section,
  .case-hero,
  .two-column,
  .case-result {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .section-heading h2,
  .about-copy h2,
  .process-title h2,
  .contact-copy h2,
  .case-section h2,
  .case-result h2,
  .mock-section .section-heading h2 {
    font-size: 42px;
  }

  .stats-band,
  .service-grid,
  .case-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band div:nth-child(2) {
    border-right: 0;
  }

  .stats-band div:nth-child(-n + 2) {
    border-bottom: 3px solid var(--ink);
  }

  .case-stats div:nth-child(2) {
    border-right: 0;
  }

  .case-stats div:nth-child(-n + 2) {
    border-bottom: 3px solid var(--ink);
  }

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

  .case-detail-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .mock-dashboard {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-sidebar strong {
    grid-column: 1 / -1;
  }

  .project-large {
    grid-row: auto;
  }

  .project-large .project-visual {
    min-height: 320px;
  }

  .testimonial {
    gap: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 14px 8px;
  }

  main,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .nav-shell {
    min-height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
    border-width: 3px;
    border-radius: 20px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .highlight {
    padding: 2px 9px 6px;
  }

  .hero-text,
  .project-info p,
  .service-card p,
  .process-steps p,
  .about-copy p,
  .contact-copy p,
  .case-hero p:not(.eyebrow),
  .case-copy p,
  .detail-card p,
  .case-gallery p,
  .case-result li {
    font-size: 15px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    gap: 14px;
  }

  .section-grid {
    gap: 34px;
  }

  .stats-band,
  .service-grid,
  .case-stats,
  .mock-cards {
    grid-template-columns: 1fr;
  }

  .stats-band div,
  .stats-band div:nth-child(2) {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .case-stats div,
  .case-stats div:nth-child(2) {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .case-stats div:last-child {
    border-bottom: 0;
  }

  .section-heading h2,
  .about-copy h2,
  .process-title h2,
  .contact-copy h2,
  .case-section h2,
  .case-result h2,
  .mock-section .section-heading h2 {
    font-size: 34px;
  }

  .case-hero h1 {
    font-size: 44px;
  }

  .project-info,
  .service-card,
  .process-band,
  .testimonial,
  .contact-section,
  .detail-card,
  .case-gallery article,
  .case-result {
    padding: 22px;
  }

  .project-info h3,
  .service-card h3,
  .process-steps h3 {
    font-size: 24px;
  }

  .project-visual,
  .project-large .project-visual,
  .about-art {
    min-height: 260px;
  }

  .process-band,
  .testimonial,
  .contact-section,
  .case-hero-card,
  .mock-dashboard,
  .case-result {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .case-hero {
    padding: 42px 0 52px;
  }

  .case-hero-card {
    min-height: 280px;
  }

  .mock-main {
    padding: 16px;
  }

  .mock-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mock-topbar button {
    width: 100%;
  }

  .mock-row {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding: 16px;
  }

  blockquote {
    font-size: 24px;
  }

  .quote-author {
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
