:root {
  color-scheme: dark;
  --ink-950: #0d1419;
  --ink-900: #111b22;
  --ink-800: #16242f;
  --paper-100: #f6f0e8;
  --paper-200: #ece2d4;
  --paper-300: #dfd1bd;
  --stone-500: #7a7167;
  --sky-300: #a5d8ea;
  --sky-400: #7bc4de;
  --accent: #d4b487;
  --accent-strong: #c79f69;
  --accent-cool: #8ecce4;
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --shadow-dark: 0 34px 80px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 30px 70px rgba(20, 35, 45, 0.12);
  --container: min(1200px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #0b1217 0%, #111b23 24%, #ede4d8 24.01%, #f7f1e7 67%, #121920 67.01%, #0b1116 100%);
  color: var(--paper-100);
}

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

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

button,
.button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient--grid {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 96%);
}

.ambient--glow {
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 180, 135, 0.14), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(142, 204, 228, 0.16), transparent 26%),
    radial-gradient(circle at 72% 72%, rgba(212, 180, 135, 0.12), transparent 18%);
  filter: blur(12px);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 3px;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent));
  box-shadow: 0 0 18px rgba(142, 204, 228, 0.65);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section,
.hero,
.featured,
.pricing,
.clients,
.contact {
  --text: var(--paper-100);
  --muted: rgba(250, 252, 252, 0.96);
  --panel: rgba(10, 16, 21, 0.94);
  --border: rgba(255, 255, 255, 0.22);
  --shadow: var(--shadow-dark);
  --surface: rgba(8, 13, 18, 0.96);
  --chip: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.section--light {
  --text: #10202b;
  --muted: rgba(28, 41, 50, 0.96);
  --panel: rgba(255, 255, 255, 0.98);
  --border: rgba(18, 30, 38, 0.16);
  --shadow: var(--shadow-light);
  --surface: rgba(255, 255, 255, 1);
  --chip: rgba(16, 32, 43, 0.12);
  color: var(--text);
}

.section {
  position: relative;
  padding: 38px 0 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ddf4fb;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.section--light .eyebrow {
  color: #0a141b !important;
  text-shadow: none;
}

.section-head {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-head--compact {
  margin-bottom: 34px;
}

.section-head h2,
.trust-copy h2,
.pricing-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.section-head p,
.trust-copy p,
.pricing-copy p,
.contact-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.section--light .section-head h2,
.section--light .trust-copy h2 {
  color: #0a0f14 !important;
  text-shadow: none;
}

.section--light .section-head p,
.section--light .trust-copy p {
  color: #111a22 !important;
  font-weight: 600;
  text-shadow: none;
}

.featured .eyebrow,
.pricing .eyebrow,
.clients .eyebrow,
.contact .eyebrow {
  color: #ffffff !important;
}

.featured .section-head h2,
.pricing .pricing-copy h2,
.clients .section-head h2,
.contact .contact-copy h2 {
  color: #ffffff !important;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.34);
}

.featured .section-head p,
.pricing .pricing-copy p,
.clients .section-head p,
.contact .contact-copy p {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(212, 180, 135, 0.36);
  background: linear-gradient(135deg, rgba(212, 180, 135, 0.9), rgba(199, 159, 105, 0.82));
  color: #171d22;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(199, 159, 105, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(199, 159, 105, 0.28);
}

.button--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
  box-shadow: none;
}

.button--small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.text-link {
  color: #0c4f70;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip);
  color: var(--text);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(11, 18, 23, 0.28);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(11, 18, 23, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px 14px 14px 4px;
  background:
    linear-gradient(180deg, rgba(142, 204, 228, 1), rgba(142, 204, 228, 0.18)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark__text {
  display: grid;
  gap: 4px;
}

.brand-mark__text strong {
  font-size: 0.98rem;
}

.brand-mark__text small {
  color: rgba(240, 244, 247, 0.82);
  font-size: 0.78rem;
}

.header-nav {
  display: flex;
  gap: 24px;
  color: rgba(248, 250, 251, 0.94);
}

.header-nav a:hover {
  color: var(--paper-100);
}

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

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: 52px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.hero-stats article {
  min-height: 170px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 13, 18, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-dark);
}

.hero-stats strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-stats span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-stage {
  position: relative;
  min-height: 760px;
}

.hero-stage__frame,
.hero-stage__float,
.hero-stage__note,
.category-card__image,
.portfolio-card__image,
.feature-card__media,
.price-card__visual {
  will-change: transform;
}

.hero-stage__frame {
  position: absolute;
  inset: 0 28px 110px 32px;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.hero-stage__frame img,
.hero-stage__float img,
.feature-card__media img,
.price-card__image,
.portfolio-card__image img,
.category-card__image img {
  height: 100%;
  object-fit: cover;
}

.hero-stage__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 23, 0.08), rgba(11, 18, 23, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%);
}

.hero-stage__caption {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 1;
}

.hero-stage__caption span,
.hero-stage__note span,
.portfolio-card__copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: #d0edf8;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stage__caption strong,
.hero-stage__note strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-stage__float {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.hero-stage__float--story {
  left: 0;
  bottom: 8px;
  width: 220px;
  height: 270px;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(-7deg);
}

.hero-stage__float--partition {
  right: 0;
  top: 94px;
  width: 260px;
  height: 340px;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(6deg);
}

.hero-stage__note {
  position: absolute;
  right: 38px;
  bottom: 0;
  width: 280px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(212, 180, 135, 0.42);
  background: linear-gradient(135deg, rgba(14, 20, 25, 0.97), rgba(23, 31, 38, 0.95));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-dark);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.hero-stage__note small {
  display: block;
  margin-top: 12px;
  color: rgba(243, 247, 249, 0.9);
  line-height: 1.65;
}

.ribbon {
  padding: 0 0 26px;
  overflow: hidden;
}

.ribbon__mask {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 27, 34, 0.52);
}

.ribbon__track,
.client-ticker__track {
  display: flex;
  gap: 20px;
  width: fit-content;
  min-width: 100%;
  animation: marquee 28s linear infinite;
}

.ribbon__track {
  padding: 14px 0;
}

.ribbon__track span,
.client-ticker__track span {
  white-space: nowrap;
}

.ribbon__track span {
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.ribbon__track span::after,
.client-ticker__track span::after {
  content: "•";
  margin-left: 20px;
  color: var(--accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: start;
}

.trust-copy {
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(142, 204, 228, 0.12), transparent 32%),
    linear-gradient(155deg, rgba(10, 16, 21, 0.98), rgba(20, 30, 38, 0.94));
  box-shadow: var(--shadow-dark);
}

.trust .trust-copy .eyebrow,
.trust .trust-copy h2 {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.26);
}

.trust .trust-copy p {
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.collections .section-head {
  padding: 30px 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(212, 180, 135, 0.14), transparent 30%),
    linear-gradient(155deg, rgba(10, 16, 21, 0.98), rgba(20, 30, 38, 0.94));
  box-shadow: var(--shadow-dark);
}

.collections .section-head .eyebrow,
.collections .section-head h2 {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.26);
}

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

.trust-card,
.category-card,
.portfolio-card,
.feature-card,
.price-card,
.process-card,
.client-badge,
.contact-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-card {
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.trust-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.16rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section--light .trust-card strong,
.section--light .category-card__body h3,
.section--light .portfolio-card__copy span,
.section--light .process-card h3,
.section--light .category-card__meta strong {
  color: #0d1b24;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface);
}

.category-card:nth-child(1) {
  grid-column: span 6;
}

.category-card:nth-child(2),
.category-card:nth-child(3) {
  grid-column: span 3;
}

.category-card:nth-child(4),
.category-card:nth-child(5),
.category-card:nth-child(6) {
  grid-column: span 4;
}

.category-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.category-card:nth-child(1) .category-card__image {
  aspect-ratio: 1.4 / 1;
}

.category-card__body {
  display: grid;
  gap: 15px;
  padding: 24px;
}

.category-card__body h3,
.feature-card__copy h3,
.price-card__content h3,
.process-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.16;
}

.category-card__body p,
.feature-card__copy p,
.price-card__content p,
.process-card p,
.portfolio-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.category-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-card__meta strong {
  color: var(--text);
  font-size: 0.94rem;
}

.portfolio-shell {
  display: grid;
  gap: 24px;
}

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

.portfolio-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
}

.portfolio-card--hero {
  grid-column: span 7;
  grid-row: span 2;
}

.portfolio-card--tall {
  grid-column: span 5;
  grid-row: span 2;
}

.portfolio-card--wide {
  grid-column: span 7;
}

.portfolio-card:not(.portfolio-card--hero):not(.portfolio-card--tall):not(.portfolio-card--wide) {
  grid-column: span 5;
}

.portfolio-card__image {
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.portfolio-card--hero .portfolio-card__image,
.portfolio-card--tall .portfolio-card__image {
  aspect-ratio: 1 / 1.1;
}

.portfolio-card__copy {
  padding: 20px 22px 22px;
}

.portfolio-card__copy span {
  color: #1e5a75;
  font-weight: 700;
}

.featured {
  padding-top: 84px;
}

.feature-stack {
  display: grid;
  gap: 26px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 24px;
  border-radius: 34px;
}

.feature-card--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

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

.feature-card__media {
  min-height: 450px;
  overflow: hidden;
  border-radius: 26px;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.feature-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 12px 4px;
}

.feature-card__copy strong {
  color: #fff5e6;
  font-size: 1.06rem;
}

.pricing {
  padding-top: 72px;
}

.pricing-shell {
  display: grid;
  gap: 28px;
  padding: 36px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(142, 204, 228, 0.14), transparent 28%),
    radial-gradient(circle at left bottom, rgba(212, 180, 135, 0.14), transparent 24%),
    rgba(12, 20, 25, 0.9);
  box-shadow: var(--shadow-dark);
}

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

.price-card {
  overflow: hidden;
  border-radius: 30px;
}

.price-card__visual {
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.price-card__image {
  aspect-ratio: 1.18 / 1;
}

.price-card__content {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.price-card__price {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  gap: 28px;
}

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

.process-card {
  min-height: 245px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
}

.process-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: #215770;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.clients-shell {
  display: grid;
  gap: 22px;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(212, 180, 135, 0.14), transparent 20%),
    rgba(14, 22, 28, 0.92);
  box-shadow: var(--shadow-dark);
}

.client-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.client-ticker__track {
  padding: 14px 0;
}

.client-ticker__track span {
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.client-badge {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  text-align: center;
}

.client-badge span {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.5;
}

.contact {
  padding-top: 86px;
  padding-bottom: 120px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border-radius: 32px;
}

.contact-card__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card__row span {
  color: var(--muted);
  font-weight: 600;
}

.contact-card__row strong {
  text-align: right;
  color: #ffffff;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 24;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(212, 180, 135, 0.34);
  background: rgba(12, 19, 24, 0.94);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.floating-cta span {
  color: #e0f4fb;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-cta strong {
  color: var(--paper-100);
  font-size: 0.98rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .hero-shell,
  .trust-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 640px;
  }

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

  .category-card,
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(3),
  .category-card:nth-child(4),
  .category-card:nth-child(5),
  .category-card:nth-child(6) {
    grid-column: span 1;
  }

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

  .portfolio-card,
  .portfolio-card--hero,
  .portfolio-card--tall,
  .portfolio-card--wide,
  .portfolio-card:not(.portfolio-card--hero):not(.portfolio-card--tall):not(.portfolio-card--wide) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .feature-card,
  .feature-card--reverse {
    grid-template-columns: 1fr;
  }

  .feature-card--reverse .feature-card__media {
    order: initial;
  }

  .price-grid,
  .process-list,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 28px, 100vw - 28px);
  }

  .section {
    padding: 28px 0 78px;
  }

  .header-nav,
  .site-header .button--ghost {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-stage__frame {
    inset: 0 0 92px 20px;
  }

  .hero-stage__float--story {
    width: 160px;
    height: 200px;
  }

  .hero-stage__float--partition {
    top: 70px;
    width: 190px;
    height: 240px;
  }

  .hero-stage__note {
    right: 14px;
    width: 210px;
    padding: 18px;
  }

  .hero-stats,
  .trust-points,
  .category-grid,
  .portfolio-grid,
  .price-grid,
  .process-list,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .pricing-shell,
  .clients-shell,
  .contact-card {
    padding: 22px;
  }

  .contact-card__row {
    display: grid;
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .ribbon__track,
  .client-ticker__track {
    transition: none;
    animation: none;
  }
}
