/* =====================
   THEME / TOKENS
===================== */
:root {
  --font:
    "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;

  /* Brand */
  --accent: #e2b22c;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadows */
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --t: 220ms ease;

  /* Light defaults */
  --bg: #ffffff;
  --text: #171611;
  --muted: #6b7280;

  --surface: #f8f7f4;
  --surface-2: #ffffff;
  --border: #f4f3f0;
  --border-2: #f0eee9;
}

.theme--dark {
  --bg: #18191b;
  --text: #f3f4f6;
  --muted: #a1a1aa;

  --surface: rgba(31, 41, 55, 0.5);
  --surface-2: #1f2937;
  --border: #2b2f36;
  --border-2: #374151;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
}

/* =====================
   BASE
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition:
    background var(--t),
    color var(--t);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

/* =====================
   LAYOUT HELPERS
===================== */
.container,
.container-page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted {
  color: var(--muted);
}

.text {
  line-height: 1.7;
}

.accent {
  color: var(--accent);
}

.h2 {
  font-size: 34px;
  letter-spacing: -0.03em;
  margin: 0;
}

.h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}

.h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

/* =====================
   HEADER
===================== */
.header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg), transparent 20%);
  backdrop-filter: blur(10px);
}

.header--sticky {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 12px;
  color: #fff;
}

.brand__svg {
  width: 20px;
  height: 20px;
}

.brand__title {
  font-size: 18px;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
  transition:
    color var(--t),
    opacity var(--t);
}

.nav__link:hover {
  color: var(--accent);
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =====================
   BUTTONS / LINKS
===================== */
.btn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  border-radius: 14px;
  transition:
    transform var(--t),
    box-shadow var(--t),
    background var(--t),
    filter var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #171611;
  padding: 12px 18px;
  font-weight: 800;
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 40px color-mix(in oklab, var(--accent), transparent 80%);
}

.btn--ghost {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-2), transparent 10%);
}

.btn--ghost:hover {
  border-color: color-mix(in oklab, var(--accent), var(--border) 70%);
}

.btn--lg {
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
  height: 54px;
  border-radius: 16px;
}

.link {
  font-weight: 800;
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
  transition:
    border-color var(--t),
    color var(--t);
}

.link:hover {
  border-color: var(--accent);
}

.link--arrow::after {
  content: " →";
}

/* =====================
   HERO
===================== */
.hero {
  padding: 72px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent), transparent 90%);
  margin: 0;
  width: fit-content;
}

.hero__title {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}

.hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__project {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero__mockup {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(
      135deg,
      color-mix(in oklab, var(--accent), transparent 90%),
      transparent 48%
    ),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero__mockup-screen {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background-position: top center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.hero__mockup-caption {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.hero__mockup-caption strong {
  color: var(--text);
}

.hero__media {
  position: relative;
}

.hero__glow {
  position: absolute;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}

.hero__glow--a {
  width: 140px;
  height: 140px;
  left: -18px;
  top: -18px;
  background: color-mix(in oklab, var(--accent), transparent 85%);
  border-radius: 999px;
}

.hero__glow--b {
  width: 180px;
  height: 180px;
  right: -22px;
  bottom: -22px;
  background: color-mix(in oklab, var(--accent), transparent 78%);
  border-radius: 26px;
}

.portrait {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

.portrait__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition:
    filter 700ms ease,
    transform 700ms ease;
}

.portrait:hover .portrait__img {
  filter: grayscale(0);
  transform: scale(1.02);
}

/* =====================
   SECTIONS
===================== */
.section {
  padding: 72px 0;
}

.section--border {
  border-top: 1px solid var(--border);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}

.section__counter {
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.site-types,
.work-scope,
.home-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.site-type,
.scope-item,
.process-card {
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface-2), transparent 4%);
}

.site-type {
  min-height: 160px;
  padding: 20px;
}

.site-type--custom {
  min-height: auto;
  background: color-mix(in oklab, var(--surface-2), transparent 4%);
}

.site-type--custom p {
  margin-top: 8px;
}

.site-type span,
.process-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-type h3,
.scope-item h3,
.process-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-type p,
.scope-item p,
.process-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.scope-item,
.process-card {
  padding: 20px;
}

.scope-item .material-symbols-outlined {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 32px;
}

.section-note {
  max-width: 76ch;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tech-strip {
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: var(--surface);
}

.tech-strip .eyebrow {
  margin: 0;
}

.tech-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tech-group strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
}

.tech-group p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* =====================
   PROJECTS
===================== */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  overflow: hidden;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in oklab, var(--accent), var(--border-2) 85%);
}

.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.card__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 700ms ease;
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__body {
  padding: 16px 16px 18px;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.card__icon {
  color: color-mix(in oklab, var(--muted), transparent 10%);
  transition: color var(--t);
}

.card:hover .card__icon {
  color: var(--accent);
}

.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--surface), var(--bg) 22%);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent), var(--border-2) 76%);
  box-shadow: var(--shadow-soft);
}

.case-card--featured {
  background:
    linear-gradient(
      135deg,
      color-mix(in oklab, var(--accent), transparent 92%),
      transparent 38%
    ),
    color-mix(in oklab, var(--surface), var(--bg) 16%);
}

.case-card__media {
  position: relative;
  min-height: 280px;
  padding: 24px 22px 58px;
  background:
    linear-gradient(145deg, rgba(23, 22, 17, 0.08), transparent 62%),
    color-mix(in oklab, var(--surface-2), var(--surface) 65%);
}

.theme--dark .case-card__media {
  background:
    linear-gradient(145deg, rgba(226, 178, 44, 0.12), transparent 62%),
    color-mix(in oklab, var(--surface-2), var(--bg) 20%);
}

.case-card__desktop,
.case-card__mobile {
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border-2), var(--text) 8%);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.case-card__desktop {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.case-card__mobile {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28%;
  min-width: 92px;
  max-width: 140px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.case-card__image {
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
  transform: scale(1);
  transition: transform 800ms ease;
}

.case-card__mobile .case-card__image {
  background-color: var(--surface-2);
  background-repeat: no-repeat;
  background-size: contain;
}

.case-card__mobile .case-card__image--phone {
  background-size: cover;
}

.case-card:hover .case-card__image {
  transform: scale(1.04);
}

.case-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 26px;
}

.case-card__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.case-card__subtitle {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.case-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.case-card__stack span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface-2), transparent 15%);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.case-card__stack--icons {
  gap: 10px;
}

.case-card__stack--icons span {
  width: 42px;
  height: 42px;
  min-height: 42px;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
}

.case-card__stack--icons img,
.study-tech-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-card__text {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.75;
}

.case-card__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--muted);
}

.case-card__facts p {
  margin: 0;
  line-height: 1.45;
}

.case-card__facts strong {
  color: var(--text);
}

.case-card__link {
  margin-top: 24px;
}

.case-card__link .material-symbols-outlined {
  font-size: 20px;
}

.projects-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface), transparent 24%);
}

.projects-note .material-symbols-outlined {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  color: var(--accent);
}

.projects-note h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.projects-note p {
  max-width: 76ch;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =====================
   PROJECT CASE HERO
===================== */
.project-hero {
  min-height: calc(100vh - 72px);
  padding: 72px 0;
  background: var(--bg);
}

.project-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.project-hero__content {
  min-width: 0;
}

.project-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color var(--t);
}

.project-hero__back:hover {
  color: var(--accent);
}

.project-hero__back .material-symbols-outlined {
  font-size: 20px;
}

.project-hero__title {
  max-width: 10ch;
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.project-hero__subtitle {
  max-width: 44ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.project-hero__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  align-items: flex-start;
  margin-top: 34px;
}

.project-hero__visit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid color-mix(in oklab, var(--accent), transparent 18%);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  transition:
    background var(--t),
    color var(--t),
    transform var(--t);
}

.project-hero__visit:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: #171611;
}

.project-hero__visit .material-symbols-outlined {
  font-size: 18px;
}

.project-hero__details {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.project-detail {
  padding: 24px 0;
}

.project-detail + .project-detail {
  border-top: 1px solid var(--border-2);
}

.project-detail__label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.project-detail__value {
  display: block;
  color: var(--text);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-tech {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

/* =====================
   STUDY PAGE
===================== */
.study-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color var(--t);
}

.study-back:hover {
  color: var(--accent);
}

.study-back .material-symbols-outlined {
  font-size: 20px;
}

.study-hero,
.study-section {
  overflow-x: hidden;
}

.study-hero {
  padding: 64px 0 78px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.study-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.study-hero__visual {
  display: grid;
  min-width: 0;
}

.study-hero__info {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.study-hero__title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(34px, 11vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
}

.study-hero__lead {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.study-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.study-meta__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-2);
}

.study-meta__item span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.study-meta__item strong {
  display: block;
  font-size: 20px;
  line-height: 1.45;
}

.study-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.study-tech-icon {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.study-hero__info .study-actions {
  align-items: center;
}

.study-hero__info .study-actions .btn {
  min-height: 54px;
}

.study-btn-secondary {
  min-height: 54px;
  padding: 16px 22px;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: color-mix(in oklab, var(--surface-2), transparent 8%);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.study-btn-secondary:hover {
  border-color: color-mix(in oklab, var(--accent), var(--border-2) 72%);
  background: color-mix(in oklab, var(--accent), transparent 90%);
}

.study-hero__shot,
.study-shot {
  margin: 0;
}

.study-hero__shot img,
.study-shot img {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.study-hero__shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.study-section {
  padding: 76px 0;
}

.study-feature-shot-section {
  padding: 0 0 76px;
}

.study-feature-shot {
  margin: 0;
}

.study-feature-shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.study-section--surface {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface), transparent 26%);
}

.study-section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.study-title {
  max-width: 760px;
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.study-copy {
  max-width: 66ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.study-copy p {
  margin: 0 0 16px;
}

.study-copy p:last-child {
  margin-bottom: 0;
}

.study-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.study-panel,
.study-challenge,
.study-result__cta {
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface-2), transparent 4%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.035);
}

.study-panel {
  padding: 24px;
}

.study-panel__title {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

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

.study-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.study-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.study-steps,
.study-challenges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.study-step,
.study-challenge {
  width: 100%;
  padding: 22px;
}

.study-step {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: transparent;
}

.study-step span,
.study-solution span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.study-step h3,
.study-challenge h3,
.study-result__cta h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.study-step p,
.study-challenge p,
.study-result__cta p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.study-solution {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.study-gallery-section {
  padding-top: 88px;
}

.study-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
}

.study-shot img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: var(--surface-2);
}

.study-shot--mobile {
  max-width: 420px;
}

.study-shot--mobile img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.study-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.study-result {
  padding-bottom: 96px;
}

.study-result__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.study-result__text {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.study-result__meta {
  margin: 22px 0 0;
  color: var(--accent);
  font-weight: 800;
}

.study-result__cta {
  padding: 26px;
}

@media (max-width: 520px) {
  .projects-note {
    grid-template-columns: 1fr;
  }

  .study-hero__title {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .study-hero__info .study-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .study-hero__info .study-actions .btn {
    width: 100%;
  }
}

/* =====================
   CASE STUDY PAGE
===================== */
.case-page {
  overflow: hidden;
}

.case-detail > .header {
  display: none;
}

.case-hero {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px var(--gutter) 28px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(226, 178, 44, 0.12), transparent 24%),
    var(--bg);
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 74%, var(--bg) 100%);
  pointer-events: none;
}

.case-hero__shell {
  position: relative;
  width: min(100%, 1200px);
  min-height: calc(100vh - 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 12% 22%, rgba(226, 178, 44, 0.15), transparent 32%),
    linear-gradient(135deg, rgba(0, 255, 156, 0.08), transparent 24%),
    #090909;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.case-hero__shell::before {
  content: "";
  position: absolute;
  inset: -24px;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M9 42c24-30 55-31 82-2s55 31 82 2 33-31 42-24'/%3E%3Cpath d='M-18 93c34-42 74-43 111-3s73 40 111 0 55-31 68-13'/%3E%3Cpath d='M-4 151c24-27 49-28 75-1s52 27 78 0 53-28 80 0'/%3E%3Cpath d='M18 204c29-35 64-35 95 0s63 35 94 0'/%3E%3Cpath d='M24 14c18 15 21 35 9 55s-9 39 10 57 22 38 9 58'/%3E%3Cpath d='M94-10c21 28 22 58 2 91s-17 64 9 91 29 49 12 69'/%3E%3Cpath d='M169 8c16 26 16 52 0 79s-13 51 9 72 24 38 7 51'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
  pointer-events: none;
}

.case-hero__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 52%);
  pointer-events: none;
}

.case-hero__top,
.case-hero__body,
.case-hero__cta {
  position: relative;
  z-index: 1;
}

.case-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0;
}

.case-hero__brand {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.case-hero__brand span {
  color: #54e88d;
}

.case-hero__menu {
  display: inline-flex;
  width: 42px;
  height: 34px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.case-hero__menu span {
  display: block;
  height: 2px;
  background: #54e88d;
}

.case-hero__body {
  width: min(100%, 620px);
  padding: 34px 20px 24px;
}

.case-hero__label {
  margin: 0 0 16px;
  color: #54e88d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-hero__title {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.case-hero__lead {
  margin: 14px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.28;
}

.case-hero__site {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 18px;
  border: 2px solid #54e88d;
  border-radius: 999px;
  color: #54e88d;
  font-size: 12px;
  font-weight: 800;
  transition:
    background var(--t),
    color var(--t),
    transform var(--t);
}

.case-hero__site:hover {
  transform: translateY(-1px);
  background: #54e88d;
  color: #07110b;
}

.case-hero__site .material-symbols-outlined {
  font-size: 16px;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 28px;
}

.project-meta__item {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.project-meta__item span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.project-meta__item strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.case-hero-tech {
  padding: 16px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-hero-tech__label {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.case-hero-tech__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.case-hero-tech__item {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.case-hero__cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 22px 20px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3387ed, #54e88d);
  color: #07110b;
  font-weight: 500;
  box-shadow: 0 20px 48px rgba(51, 135, 237, 0.24);
  transition:
    transform var(--t),
    filter var(--t);
}

.case-hero__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.case-section {
  padding: 76px 0;
}

.case-section--surface {
  background: color-mix(in oklab, var(--surface), transparent 26%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-section--visual {
  padding-top: 84px;
}

.case-section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.case-section__title {
  margin: 0;
  max-width: 760px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.case-copy {
  max-width: 68ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.case-copy p {
  margin: 0 0 16px;
}

.case-copy p:last-child {
  margin-bottom: 0;
}

.case-split,
.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.role-card,
.result-card,
.feature-panel,
.tech-item,
.solution-card,
.difficulty-row {
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface-2), transparent 4%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.035);
}

.role-card {
  padding: 24px;
}

.role-card ul,
.result-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-card li,
.result-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.role-card li::before,
.result-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.case-statement {
  padding: 70px 0;
  background: var(--accent);
  color: #171611;
}

.case-statement span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-statement p {
  max-width: 980px;
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.case-shot {
  margin: 0;
}

.case-shot img {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.case-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.case-shot--hero img {
  border-radius: var(--r-lg);
}

.case-shot--wide {
  grid-column: 1 / -1;
}

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

.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface-2), transparent 6%);
}

.process-step__content span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-step__content h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.process-step__content p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.process-step__image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

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

.visual-gallery .case-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

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

.feature-panel,
.tech-item,
.solution-card {
  padding: 22px;
}

.feature-panel h2,
.tech-item h3,
.solution-card h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.feature-panel h2 {
  font-size: 28px;
}

.feature-panel p,
.tech-item p,
.solution-card p {
  color: var(--muted);
  line-height: 1.75;
}

.device-row {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 14px;
  align-items: end;
  margin-top: 22px;
}

.device__screen img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.device--mobile .device__screen img {
  aspect-ratio: 9 / 16;
}

.wp-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.wp-map span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-weight: 800;
  text-align: center;
}

.wp-map .material-symbols-outlined {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
}

.difficulty-list {
  display: grid;
  gap: 14px;
}

.difficulty-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px;
}

.difficulty-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.difficulty-row h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.difficulty-row p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.final-gallery {
  display: grid;
  gap: 24px;
}

.result-card {
  padding: 26px;
}

.result-card__actions {
  margin-top: 24px;
}

.case-cta {
  padding-top: 28px;
}

.case-cta__action {
  display: flex;
  align-items: center;
}

/* =====================
   SERVICES
===================== */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.services__left .text {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--muted);
}

.about {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card--service {
  padding: 18px;
  border-radius: var(--r-md);
}

.service__icon {
  display: inline-flex;
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* =====================
   CONTACT
===================== */
.contact {
  padding: 84px 0 60px;
}

.contact__frame {
  background: var(--accent);
  padding: 6px;
  border-radius: var(--r-xl);
}

.contact__inner {
  background: var(--bg);
  border-radius: calc(var(--r-xl) - 6px);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  border: 1px solid color-mix(in oklab, var(--accent), transparent 88%);
}

.contact__inner--simple {
  align-items: center;
}

.contact__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contact__info {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--accent), transparent 90%);
  color: var(--accent);
  transition:
    background var(--t),
    color var(--t);
}

.info:hover .info__icon {
  background: var(--accent);
  color: #fff;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.input,
.textarea {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid transparent;
  transition:
    border-color var(--t),
    box-shadow var(--t),
    background var(--t);
}

.textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
}

.input:focus,
.textarea:focus {
  border-color: color-mix(in oklab, var(--accent), transparent 45%);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 85%);
}

.form__hint {
  margin: 0;
  font-size: 13px;
}

.contact__right--cta {
  display: grid;
  gap: 18px;
  justify-items: start;
}

/* =====================
   FOOTER
===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__link {
  font-weight: 800;
  font-size: 14px;
  transition: color var(--t);
}

.footer__link:hover {
  color: var(--accent);
}

/* =====================
   RESPONSIVE
===================== */
@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .projects {
    gap: 28px;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-types,
  .work-scope,
  .home-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-type--custom {
    grid-column: 1 / -1;
  }

  .tech-strip {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .tech-groups {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .case-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: stretch;
  }

  .case-card--reverse {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  }

  .case-card--reverse .case-card__media {
    order: 2;
  }

  .case-card--reverse .case-card__body {
    order: 1;
  }

  .case-card__media {
    min-height: 420px;
    padding: 34px 30px 76px;
  }

  .case-card__body {
    padding: 34px;
  }

  .case-card__title {
    font-size: 34px;
  }

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

  .project-hero {
    padding: 92px 0;
  }

  .project-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 64px;
  }

  .project-hero__title {
    font-size: 70px;
  }

  .project-hero__subtitle {
    font-size: 20px;
  }

  .project-hero__actions {
    max-width: 620px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 52px;
  }

  .project-hero__details {
    border-top: 0;
  }

  .project-detail {
    padding: 32px 0;
  }

  .project-detail__label {
    font-size: 18px;
  }

  .project-techs {
    gap: 16px;
  }

  .study-hero {
    padding: 82px 0 92px;
  }

  .study-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .study-hero__title {
    max-width: 680px;
    font-size: 62px;
  }

  .study-meta {
    max-width: 520px;
  }

  .study-two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .study-steps {
    grid-template-columns: 1fr;
  }

  .study-challenges,
  .study-result__inner {
    grid-template-columns: 1fr;
  }

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

  .study-shot--wide {
    grid-column: 1 / -1;
  }

  .case-hero {
    padding: 18px var(--gutter) 44px;
  }

  .case-hero__shell {
    display: flex;
    min-height: 760px;
    flex-direction: column;
  }

  .case-hero__top {
    padding: 28px 34px 0;
  }

  .case-hero__brand {
    font-size: 22px;
  }

  .case-hero__body {
    width: min(100%, 720px);
    padding: 70px 34px 28px;
  }

  .case-hero__title {
    font-size: 68px;
  }

  .case-hero__lead {
    max-width: 42ch;
    font-size: 18px;
  }

  .project-meta {
    width: min(100%, 440px);
  }

  .case-hero__cta {
    width: min(100% - 68px, 520px);
    min-height: 58px;
    margin: auto 34px 34px;
  }

  .case-split,
  .role-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
  }

  .process-step {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    padding: 24px;
  }

  .process-step:nth-child(even) .process-step__content {
    order: 2;
  }

  .process-step:nth-child(even) .process-step__image {
    order: 1;
  }

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

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

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

  .wp-map {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .difficulty-row {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
  }

  .final-gallery {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .contact__inner {
    padding: 34px;
  }

  .footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 26px;
  }

  .hero {
    padding: 96px 0 74px;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
  }

  .hero__title {
    font-size: 66px;
  }

  .hero__project {
    align-self: center;
  }

  .site-type {
    min-height: 176px;
    padding: 22px;
  }

  .scope-item,
  .process-card {
    padding: 24px;
  }

  .project-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 86px;
  }

  .project-hero__title {
    font-size: 82px;
  }

  .project-hero__actions {
    margin-top: 68px;
  }

  .study-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    gap: 72px;
    align-items: start;
  }

  .study-hero__visual {
    justify-self: end;
    width: min(100%, 560px);
  }

  .study-hero__title {
    max-width: 680px;
    font-size: 68px;
  }

  .study-meta {
    max-width: 760px;
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
    gap: 28px;
    align-items: stretch;
  }

  .study-meta__item {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    justify-content: flex-start;
  }

  .study-hero__info .study-actions {
    justify-content: flex-start;
  }

  .study-two-col {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
  }

  .study-steps {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 18px;
    padding-top: 34px;
  }

  .study-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: var(--border-2);
  }

  .study-step span {
    position: absolute;
    top: -34px;
    left: 22px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid color-mix(in oklab, var(--accent), var(--border-2) 55%);
    border-radius: 999px;
    background: color-mix(in oklab, var(--surface), var(--bg) 30%);
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0;
  }

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

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

  .study-section {
    padding: 96px 0;
  }

  .study-gallery-section {
    padding-top: 108px;
  }

  .study-result {
    padding-bottom: 116px;
  }

  .case-hero {
    padding-top: 22px;
  }

  .case-hero__shell {
    min-height: 820px;
  }

  .case-hero__body {
    padding-top: 86px;
  }

  .case-hero__title {
    font-size: 84px;
  }

  .case-hero__lead {
    font-size: 20px;
  }

  .case-section {
    padding: 96px 0;
  }

  .case-statement {
    padding: 92px 0;
  }

  .case-statement p {
    font-size: 42px;
  }

  .services {
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
  }

  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    padding: 42px;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
