:root {
  --bg: #ffffff;
  --ink: #242424;
  --muted: #868686;
  --soft: #f4f4f4;
  --line: #e8e8e8;
  --dark: #111111;
  --accent: #f54522;
  --radius: 28px;
  --max: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link,
.sr-only {
  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 {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 34px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.logo {
  pointer-events: auto;
}

.logo img,
.footer-logo {
  width: 186px;
  height: auto;
}

.logo-word {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  color: #202020;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-word sup {
  margin-top: 1px;
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0;
}

.floating-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
}

.nav-panel {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(39, 39, 39, 0.72);
  color: #fff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.nav-panel a {
  min-width: 76px;
  padding: 11px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1;
  text-align: center;
  transition: background 180ms ease, color 180ms ease;
}

.nav-panel a:hover,
.nav-panel a.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero,
.page-hero,
.case-hero {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 132px 18px 64px;
  text-align: center;
}

.hero h1,
.page-hero h1,
.case-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 0.96;
  font-weight: 800;
  color: #343434;
}

.page-hero h1,
.case-hero h1 {
  text-transform: uppercase;
}

.hero p,
.page-hero p,
.case-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.compact {
  min-height: 470px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f6f6;
  color: #707070;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 15px;
}

.badge strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-family: "Fragment Mono", monospace;
  font-size: 12px;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.22), inset 0 -8px 12px rgba(0, 0, 0, 0.18), 0 14px 36px rgba(0, 0, 0, 0.14);
}

.button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.button.dark {
  background: linear-gradient(#343434, #101010);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.back-link {
  color: var(--muted);
  font-size: 14px;
}

.media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 28px;
  overflow: hidden;
  padding: 0 0 70px;
  transform: translateZ(0);
}

.media-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  background: var(--soft);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.price-card,
.benefit-grid article,
.principle-grid article,
.jobs article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card h2,
.project-card h2,
.principle-grid h2,
.jobs h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
}

.service-card p,
.project-card p,
.principle-grid p,
.split-text p,
.case-copy p,
.faq p,
.price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-card a {
  margin-top: auto;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Fragment Mono", monospace;
  text-transform: uppercase;
  font-size: 13px;
}

.section-title {
  max-width: 820px;
  margin: 0 0 32px;
  font-size: 46px;
  line-height: 1.02;
}

.case-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.case-card img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft);
}

.pricing-section {
  padding-top: 44px;
}

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

.price-card {
  min-height: 440px;
  padding: 28px;
  background: #161616;
  color: #fff;
}

.price-card:nth-child(2) {
  background: #f4f4f4;
  color: var(--ink);
}

.price-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.price-top p {
  margin: 0;
  color: inherit;
  font-weight: 700;
}

.price-top span,
.filters span,
.project-card span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
}

.price {
  margin: 42px 0 14px;
  font-size: 82px;
  line-height: 0.9;
  font-weight: 800;
}

.price span,
.price small {
  font-size: 18px;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
}

.quote-grid,
.benefit-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

blockquote {
  margin: 0;
  padding: 26px;
  border-radius: 8px;
  background: var(--soft);
}

blockquote p {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.28;
}

blockquote footer {
  font-weight: 700;
}

blockquote span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.capability-list {
  display: grid;
  gap: 1px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.capability-list span,
.process span,
.meta-grid span {
  color: var(--muted);
  font-family: "Fragment Mono", monospace;
  font-size: 13px;
}

.capability-list h2 {
  margin: 0;
  font-size: 32px;
}

.capability-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.process {
  display: grid;
  gap: 12px;
}

.process div {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process p {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

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

.project-card {
  display: grid;
  gap: 16px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 18px;
  background: var(--soft);
}

.project-card div {
  display: grid;
  gap: 8px;
}

.project-card span {
  justify-self: start;
}

.benefit-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.benefit-grid article {
  padding: 20px;
  color: #5c5c5c;
  line-height: 1.45;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.split-text {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.split-text h2,
.benefit-list h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.split-text p {
  margin: 0;
  font-size: 21px;
}

.principle-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-grid article {
  padding: 22px;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.benefit-list h2 {
  width: 100%;
  margin-bottom: 16px;
}

.benefit-list span {
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: #5e5e5e;
}

.jobs {
  display: grid;
  gap: 12px;
}

.jobs article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.jobs p {
  margin: 0;
  color: var(--muted);
}

.case-hero {
  padding-bottom: 34px;
}

.meta-grid {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  text-align: left;
}

.meta-grid div {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fff;
}

.case-media {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.case-media img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 24px;
  background: var(--soft);
}

.case-copy {
  display: grid;
  gap: 38px;
  max-width: 880px;
}

.case-copy article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.case-copy h2 {
  margin: 0;
  font-size: 24px;
}

.case-copy p {
  margin: 0;
  font-size: 20px;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 60px auto 116px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 32px;
}

.footer-logo {
  width: max-content;
  margin-bottom: 18px;
}

.footer-inner p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  display: block;
  margin: 10px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero h1,
  .page-hero h1,
  .case-hero h1 {
    font-size: 44px;
  }

  .grid-four,
  .project-grid,
  .principle-grid,
  .pricing-grid,
  .quote-grid,
  .split-text {
    grid-template-columns: 1fr;
  }

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

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

  .capability-list article,
  .case-copy article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    top: 24px;
  }

  .logo img {
    width: 156px;
  }

  .hero,
  .page-hero,
  .case-hero {
    min-height: 520px;
    padding-top: 118px;
  }

  .hero h1,
  .page-hero h1,
  .case-hero h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .hero p,
  .page-hero p,
  .case-hero p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .media-strip {
    grid-auto-columns: minmax(235px, 78vw);
    gap: 18px;
    padding-bottom: 48px;
  }

  .section {
    width: min(100% - 24px, var(--max));
    padding: 50px 0;
  }

  .section-title,
  .split-text h2,
  .benefit-list h2 {
    font-size: 32px;
  }

  .case-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .case-card {
    min-width: 76vw;
    scroll-snap-align: start;
  }

  .price {
    font-size: 64px;
  }

  .process div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .project-grid {
    gap: 28px;
  }

  .jobs article {
    display: grid;
  }

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

  .floating-nav {
    width: calc(100% - 28px);
    bottom: 14px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: rgba(42, 42, 42, 0.75);
    color: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
  }

  .nav-plus,
  .nav-plus::after {
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-plus::after {
    content: "";
    display: block;
    transform: rotate(90deg);
  }

  .floating-nav.open .nav-plus {
    transform: rotate(45deg);
  }

  .floating-nav.open .nav-plus::after {
    transform: rotate(90deg);
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 66px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-panel a {
    width: 100%;
    min-width: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 18px;
  }

  .site-footer {
    margin-bottom: 98px;
  }
}
