@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --paper: #f7f3ec;
  --paper-soft: #fbf8f2;
  --ink: #11110f;
  --muted: #6e6a61;
  --line: rgba(42, 38, 29, 0.18);
  --line-strong: rgba(42, 38, 29, 0.34);
  --olive: #24270f;
  --gold: #9a7b34;
  --gold-soft: #c4a760;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(218, 207, 189, 0.48), transparent 28%),
    #ebe4d8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

button,
a,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

.page {
  width: min(1500px, calc(100% - 64px));
  min-height: 100vh;
  margin: 14px auto 34px;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 29, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 36%),
    var(--paper);
  box-shadow: 0 24px 90px rgba(48, 40, 28, 0.08);
}

.shell {
  width: min(1280px, calc(100% - 88px));
  margin-inline: auto;
}

.header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 94px;
  gap: 48px;
}

.logo {
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.role {
  margin: 0;
  color: #8b877e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: width 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav-dot {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(560px, 1.12fr);
  align-items: end;
  column-gap: 26px;
  min-height: 650px;
  padding-top: 22px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 54px 0 38px 47%;
  height: min(620px, 72vw);
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 48%, rgba(214, 169, 82, 0.13), transparent 30%),
    linear-gradient(90deg, transparent 0%, rgba(39, 34, 22, 0.035) 48%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 38px;
}

.eyebrow {
  position: relative;
  margin: 0 0 34px;
  padding-left: 62px;
  color: #37352e;
  font-size: 15px;
  line-height: 1.5;
}

.eyebrow::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 42px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow::after {
  position: absolute;
  left: 12px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  line-height: 0.98;
}

.hero h1 span {
  color: #2d351d;
  font-style: italic;
}

.hero__text {
  max-width: 430px;
  margin: 26px 0 0;
  color: #3f3b33;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 230px;
  min-height: 64px;
  padding: 18px 32px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.ui-arrow {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  shape-rendering: geometricPrecision;
}

.btn:hover,
.btn:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--olive);
  color: #fffdf7;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: #101305;
}

.btn--light {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.26);
  color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--gold {
  min-width: 420px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #d8b560;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: rgba(154, 123, 52, 0.1);
}

.btn--ghost-dark {
  min-width: 0;
  border: 1px solid rgba(255, 253, 247, 0.28);
  background: rgba(255, 253, 247, 0.05);
  color: #fffdf7;
}

.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  border-color: rgba(196, 167, 96, 0.7);
  background: rgba(196, 167, 96, 0.12);
  color: #fffdf7;
}

.hero__media {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 574px;
  overflow: hidden;
  border-radius: 8px;
  pointer-events: none;
}

.hero__media::before {
  position: absolute;
  z-index: 0;
  left: -8%;
  top: 13%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(226, 195, 126, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 38px rgba(214, 169, 82, 0.16),
    -22px 8px 58px rgba(214, 169, 82, 0.18);
  opacity: 0.55;
  content: "";
  animation: heroBackRing 6s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
}

.hero__media img {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% center;
  border-radius: 8px;
  filter: saturate(1.02) contrast(1.03);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 6%, #000 15%, #000 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 6%, #000 15%, #000 100%);
}

@keyframes heroBackRing {
  from {
    opacity: 0.38;
    transform: translate3d(-8px, 5px, 0) scale(0.985);
  }
  to {
    opacity: 0.64;
    transform: translate3d(9px, -5px, 0) scale(1.018);
  }
}

.stats {
  position: relative;
  z-index: 4;
  padding: 12px 0 30px;
  margin-top: 8px;
  background: transparent;
}

.stats__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-height: 0;
}

.stats__inner::after {
  display: none;
}

.stat {
  position: relative;
  display: flex;
  min-height: 156px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 29, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
    rgba(255, 253, 248, 0.6);
  box-shadow:
    0 22px 58px rgba(47, 39, 26, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat::before {
  position: absolute;
  top: -54px;
  right: -48px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(154, 123, 52, 0.12);
  content: "";
}

.stat__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(154, 123, 52, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--gold);
}

.stat__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stat strong {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 900;
  line-height: 0.95;
}

.stat__text {
  position: relative;
  z-index: 1;
  max-width: 170px;
  margin-top: 13px;
  color: #615d55;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.stat--featured {
  border-color: rgba(36, 39, 15, 0.7);
  background:
    radial-gradient(circle at 86% 12%, rgba(196, 167, 96, 0.22), transparent 34%),
    linear-gradient(135deg, #2a2e14, #111307);
  color: #fffdf7;
}

.stat--featured::before {
  border: 1px solid rgba(196, 167, 96, 0.3);
  background: transparent;
}

.stat--featured .stat__icon {
  border-color: rgba(196, 167, 96, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-soft);
}

.stat--featured .stat__text {
  color: rgba(255, 253, 247, 0.76);
}

.section {
  padding-top: 68px;
}

.section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section__head--compact {
  margin-bottom: 0;
}

.section h2,
.modal__intro h2,
.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

.section h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.04;
}

.section-note {
  max-width: 360px;
  margin: 6px 0 0;
  color: #5e5a52;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-line {
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 17px;
  background: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.value {
  padding-top: 68px;
}

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

.value-card {
  position: relative;
  display: flex;
  min-height: 224px;
  flex-direction: column;
  align-items: center;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 248, 0.26)),
    rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 22px 68px rgba(41, 35, 26, 0.055);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.value-card::before {
  position: absolute;
  inset: 0 18px auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(154, 123, 52, 0), var(--gold), rgba(154, 123, 52, 0));
  content: "";
}

.value-card:hover {
  border-color: rgba(154, 123, 52, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 28px 82px rgba(41, 35, 26, 0.095);
  transform: translateY(-3px);
}

.value-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.value-card__number {
  display: inline-flex;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 123, 52, 0.4);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 236, 221, 0.66)),
    rgba(154, 123, 52, 0.06);
  color: #6d5726;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 16px 38px rgba(41, 35, 26, 0.08);
  transition: transform 180ms ease;
}

.value-card:hover .value-card__number {
  transform: translateY(-3px);
}

.value-card h3 {
  position: relative;
  z-index: 1;
  margin: 30px 0 12px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.value-card p {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 0;
  color: #56524a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

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

.work-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 29, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 70px rgba(41, 35, 26, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: rgba(154, 123, 52, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 28px 90px rgba(41, 35, 26, 0.14);
}

.browser-bar {
  display: none;
}

.work-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1.78;
  overflow: hidden;
  border-bottom: 1px solid rgba(42, 38, 29, 0.12);
  background: #eee9df;
}

.work-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 243, 236, 0), rgba(20, 19, 16, 0.08));
  content: "";
  pointer-events: none;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92);
  transition: transform 260ms ease;
}

.work-card:hover .work-card__image img,
.work-card:focus-visible .work-card__image img {
  transform: scale(1.035);
}

.work-card.spotlight-test::before {
  position: absolute;
  inset: -1px;
  z-index: 4;
  background:
    radial-gradient(
      circle 340px at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(255, 250, 234, 0.34),
      rgba(207, 178, 106, 0.13) 32%,
      rgba(255, 255, 255, 0.02) 58%,
      transparent 76%
    );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.work-card.spotlight-test:hover::before,
.work-card.spotlight-test:focus-visible::before,
.work-card.spotlight-test.is-spotlight-active::before {
  opacity: 1;
}

.work-card.spotlight-test .work-card__image,
.work-card.spotlight-test .work-card__content {
  position: relative;
}

.work-card.spotlight-test .work-card__image {
  z-index: 3;
}

.work-card.spotlight-test .work-card__content {
  z-index: 5;
}

.work-card__content {
  position: static;
  display: grid;
  min-height: 204px;
  grid-template-columns: 1fr auto;
  gap: 14px 20px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 26px 26px;
  pointer-events: none;
}

.work-card__brand {
  display: inline-flex;
  grid-column: 1;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid rgba(154, 123, 52, 0.32);
  border-radius: 999px;
  background: rgba(154, 123, 52, 0.08);
  color: #6d5726;
  font-size: 12px;
  font-weight: 800;
}

.work-card__title {
  grid-column: 1 / -1;
  max-width: 760px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.24;
}

.work-card__desc {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-top: -2px;
  color: #625e56;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.work-card__desc b {
  color: #24221e;
  font-weight: 900;
}

.work-card__result {
  display: inline-flex;
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(154, 123, 52, 0.22);
  border-radius: 999px;
  background: rgba(154, 123, 52, 0.07);
  color: #5d4a21;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.work-card__count {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: rgba(17, 17, 15, 0.44);
  font-size: 12px;
  font-weight: 800;
}

.mini-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  padding: 42px 40px;
  margin-top: 34px;
  border: 1px solid rgba(42, 38, 29, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(154, 123, 52, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18));
  box-shadow: 0 18px 58px rgba(41, 35, 26, 0.06);
  text-align: center;
}

.mini-cta p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-cta h2 {
  max-width: 720px;
  margin: 0;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.04;
}

.mini-cta span {
  display: block;
  max-width: 560px;
  margin-top: 12px;
  margin-inline: auto;
  color: #56524a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.mini-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mini-cta__actions .btn {
  min-width: 226px;
}

.mini-cta .btn .ui-arrow {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
  margin: 0;
  color: inherit;
}

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

.service-item {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 29, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14)),
    rgba(255, 253, 248, 0.32);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 54px rgba(41, 35, 26, 0.055);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-item::before {
  position: absolute;
  right: 20px;
  top: 14px;
  counter-increment: service;
  color: rgba(154, 123, 52, 0.08);
  content: "0" counter(service);
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
  pointer-events: none;
}

.service-item:hover,
.service-item:focus-visible {
  border-color: rgba(154, 123, 52, 0.34);
  box-shadow: 0 26px 72px rgba(41, 35, 26, 0.1);
  transform: translateY(-4px);
}

.service-item.spotlight-test::after {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    radial-gradient(
      circle 310px at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(255, 250, 234, 0.36),
      rgba(207, 178, 106, 0.12) 34%,
      rgba(255, 255, 255, 0.02) 60%,
      transparent 78%
    );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.service-item.spotlight-test:hover::after,
.service-item.spotlight-test:focus-visible::after,
.service-item.spotlight-test.is-spotlight-active::after {
  opacity: 1;
}

.service-item svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  padding: 9px;
  border: 1px solid rgba(42, 38, 29, 0.16);
  border-radius: 12px;
  fill: none;
  stroke: #292d17;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.service-item:hover svg,
.service-item:focus-visible svg {
  transform: translateY(-3px);
}

.service-title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 300px;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
}

.service-meta {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  margin-top: 18px;
  border: 1px solid rgba(154, 123, 52, 0.2);
  border-radius: 999px;
  background: rgba(154, 123, 52, 0.07);
  color: #5d4a21;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.service-fit {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 320px;
  margin-top: 14px;
  color: #514c43;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.48;
}

.service-arrow {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 28px;
  line-height: 1;
}

.process {
  position: relative;
  overflow: hidden;
  padding: 56px;
  margin-top: 66px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(196, 167, 96, 0.08), transparent 38%, rgba(255, 253, 247, 0.05)),
    #0d0e09;
  color: #fffdf7;
}

.process::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.055) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.06), transparent 44%);
  content: "";
  opacity: 0.52;
  pointer-events: none;
}

.background-paths {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-paths svg {
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.background-paths path {
  fill: none;
  stroke: rgba(219, 191, 119, 0.18);
  stroke-linecap: round;
  stroke-width: 0.8;
  filter: drop-shadow(0 0 10px rgba(196, 167, 96, 0.12));
  animation: backgroundPathDrift 13s ease-in-out infinite alternate;
}

.background-paths path:nth-child(2) {
  stroke: rgba(255, 253, 247, 0.08);
  animation-duration: 16s;
  animation-delay: -4s;
}

.background-paths path:nth-child(3) {
  stroke: rgba(196, 167, 96, 0.11);
  animation-duration: 19s;
  animation-delay: -7s;
}

.cta .background-paths {
  z-index: 0;
  opacity: 0.72;
}

.cta .background-paths path {
  stroke: rgba(219, 191, 119, 0.14);
}

@keyframes backgroundPathDrift {
  0% {
    opacity: 0.64;
    transform: translate3d(-8px, 3px, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(14px, -5px, 0) scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-paths path {
    animation: none;
  }
}

.process .section__head {
  position: relative;
  z-index: 1;
  align-items: end;
  margin-bottom: 42px;
}

.process .section-kicker {
  color: var(--gold-soft);
}

.process .section-note {
  max-width: 390px;
  padding-left: 22px;
  border-left: 1px solid rgba(196, 167, 96, 0.5);
  color: rgba(255, 253, 247, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.process .section-line {
  background: var(--gold-soft);
}

.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  padding: 4px 0 0;
  margin: 0;
  border-top: 0;
  list-style: none;
  counter-reset: process;
}

.process-step {
  position: relative;
  display: grid;
  height: 344px;
  min-height: 0;
  grid-template-rows: 46px 1fr;
  align-items: flex-start;
  padding: 24px 20px 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.075), rgba(255, 253, 247, 0.025)),
    rgba(255, 253, 247, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.08);
  counter-increment: process;
  isolation: isolate;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.process-step::after {
  position: absolute;
  left: 20px;
  right: auto;
  bottom: 16px;
  z-index: 0;
  color: rgba(196, 167, 96, 0.14);
  content: counter(process, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 58px;
  line-height: 0.9;
}

.process-step:nth-child(1) {
  margin-top: 64px;
}

.process-step:nth-child(2) {
  margin-top: 48px;
}

.process-step:nth-child(3) {
  margin-top: 32px;
}

.process-step:nth-child(4) {
  margin-top: 16px;
}

.process-step:nth-child(5) {
  margin-top: 0;
}

.process-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 167, 96, 0.56);
  border-radius: 12px;
  background: rgba(11, 12, 7, 0.72);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.process-step > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  width: 100%;
}

.process-step strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 28px 0 12px;
  color: #fffdf7;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.14;
}

.process-step p {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(196, 167, 96, 0.26);
  border-radius: 999px;
  background: rgba(196, 167, 96, 0.1);
  margin: 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.process-result {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 220px;
  margin-top: 16px;
  color: rgba(255, 253, 247, 0.74);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}

.cta {
  position: relative;
  display: block;
  min-height: 0;
  padding: 76px 0;
  margin-top: 132px;
  margin-bottom: 0;
  overflow: visible;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.09), transparent 28%),
    radial-gradient(circle at 16% 88%, rgba(154, 123, 52, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%),
    #0c0c0a;
  color: #fffdf7;
}

.cta-transition {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 100%;
  left: 0;
  display: block;
  height: 132px;
  background:
    linear-gradient(
      180deg,
      rgba(247, 243, 236, 0) 0%,
      rgba(247, 243, 236, 0) 18%,
      rgba(120, 111, 91, 0.14) 52%,
      rgba(12, 12, 10, 0.92) 100%
    );
  pointer-events: none;
}

.cta-transition::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 58px;
  background:
    radial-gradient(circle at 72% 0, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 10, 0), #0c0c0a);
  content: "";
}

.cta::before,
.cta::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(196, 167, 96, 0.65);
  border-radius: 50%;
  content: "";
}

.cta::after {
  right: -88px;
  bottom: -20px;
  border-color: rgba(196, 167, 96, 0.38);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta > .cta-transition {
  position: absolute;
  z-index: 0;
}

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.cta__content > p:first-child {
  margin: 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.cta h2 {
  margin-top: 6px;
  font-size: 62px;
}

.cta h2 span {
  color: var(--gold-soft);
  font-style: italic;
}

.cta .cta__text {
  max-width: 470px;
  margin-top: 18px;
  color: #fffdf7;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

.cta__actions .btn {
  min-width: 250px;
}

.cta__actions .btn--gold {
  border-color: rgba(196, 167, 96, 0.86);
  background: var(--gold-soft);
  color: #10110b;
}

.cta__actions .btn--gold:hover,
.cta__actions .btn--gold:focus-visible {
  background: #d8bd79;
  color: #10110b;
}

.cta__plain {
  padding: 0;
  background: transparent;
  color: rgba(255, 253, 247, 0.78);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.mobile-sticky-cta {
  display: none;
}

.cta-form {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(196, 167, 96, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(245, 238, 226, 0.88)),
    #fffdf7;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
}

.cta-form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 167, 96, 0.7), transparent);
  content: "";
  pointer-events: none;
}

.cta-form label {
  color: #2a261d;
}

.cta-form textarea {
  min-height: 104px;
}

.cta-form .btn {
  min-height: 56px;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 38px);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 12, 10, 0.82), rgba(38, 36, 29, 0.68)),
    rgba(12, 12, 10, 0.74);
  backdrop-filter: blur(16px) saturate(0.86);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 40px));
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 48px;
  border: 1px solid rgba(154, 123, 52, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(251, 248, 242, 0.64)),
    var(--paper-soft);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  scrollbar-gutter: stable;
}

.modal__card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 167, 96, 0.68), transparent);
  content: "";
  pointer-events: none;
}

.modal__card--wide {
  width: min(1160px, calc(100vw - 40px));
}

.modal__close {
  position: sticky;
  z-index: 4;
  top: 14px;
  float: right;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: -18px -18px 0 22px;
  border: 1px solid rgba(42, 38, 29, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(42, 38, 29, 0.12);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.modal__close:hover,
.modal__close:focus-visible {
  border-color: rgba(154, 123, 52, 0.36);
  background: #fffdf7;
  transform: translateY(-1px);
}

.modal__intro {
  margin-bottom: 30px;
}

.modal__intro p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modal__intro h2 {
  max-width: 620px;
  font-size: 48px;
  line-height: 0.98;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #39362f;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 38, 29, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 253, 248, 0.64)),
    rgba(255, 255, 255, 0.76);
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: #fffdf7;
  box-shadow: 0 0 0 4px rgba(196, 167, 96, 0.12);
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: #4c5527;
  font-size: 14px;
  font-weight: 700;
}

.form-note {
  margin: -6px 0 0;
  color: #6b665c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

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

.gallery-grid a {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(25, 22, 16, 0.12);
}

.gallery-grid a::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 24%, rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(196, 167, 96, 0.2), transparent 42%);
  content: "";
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 198px;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.86) contrast(1.04);
  transition: transform 220ms ease;
}

.gallery-grid a:hover img,
.gallery-grid a:focus-visible img {
  transform: scale(1.04);
}

.gallery-grid span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  min-height: 34px;
  display: flex;
  align-items: flex-end;
  color: #fffdf7;
  font-weight: 800;
}

.service-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.service-modal-list p,
.service-detail-text,
.service-detail-points {
  color: #37352f;
  font-size: 15px;
  line-height: 1.62;
}

.service-modal-list p {
  margin: 0;
  min-height: 124px;
  padding: 20px;
  border: 1px solid rgba(42, 38, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 253, 248, 0.36)),
    rgba(255, 253, 248, 0.52);
  box-shadow: 0 14px 34px rgba(41, 35, 26, 0.045);
}

.service-modal-list p:last-child {
  grid-column: 1 / -1;
  min-height: 0;
  border-color: rgba(154, 123, 52, 0.22);
  background:
    linear-gradient(135deg, rgba(40, 43, 22, 0.96), rgba(17, 18, 10, 0.96)),
    var(--olive);
  color: rgba(255, 253, 247, 0.88);
}

.service-modal-list strong {
  color: var(--ink);
}

.service-modal-list p:last-child strong {
  color: #fffdf7;
}

#services-modal .modal__card {
  width: min(960px, calc(100vw - 40px));
}

#services-modal .modal__intro {
  margin-bottom: 18px;
}

#services-modal .modal__intro h2 {
  max-width: 780px;
  font-size: 38px;
  line-height: 1.02;
}

#services-modal .service-modal-list {
  gap: 10px;
  margin-bottom: 18px;
}

#services-modal .service-modal-list p {
  min-height: 96px;
  padding: 16px;
}

.service-detail-card {
  width: min(1120px, calc(100vw - 40px));
  padding: 0;
  overflow: auto;
  border-color: rgba(196, 167, 96, 0.34);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 253, 248, 0.5) 58%, rgba(237, 228, 211, 0.28)),
    var(--paper-soft);
}

.service-detail-card .modal__close {
  position: absolute;
  z-index: 4;
  top: 28px;
  right: 28px;
  float: none;
  margin: 0;
  border-color: rgba(255, 253, 247, 0.2);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(12px);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  min-height: 600px;
}

.service-detail-main {
  display: flex;
  flex-direction: column;
  padding: 46px 52px 38px;
}

.service-detail-card .modal__intro {
  margin-bottom: 18px;
}

.service-detail-card .modal__intro h2 {
  max-width: 640px;
  font-size: 54px;
  line-height: 0.94;
}

.service-detail-text {
  max-width: 670px;
  margin: 0 0 16px;
  color: #4e4a42;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
}

.service-detail-proof {
  display: grid;
  gap: 6px;
  max-width: 680px;
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1px solid rgba(154, 123, 52, 0.18);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 253, 248, 0.36)),
    rgba(255, 253, 248, 0.56);
}

.service-detail-proof span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-detail-proof strong {
  color: #2f2d27;
  font-size: 15px;
  line-height: 1.48;
}

.service-detail-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.service-detail-points li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(42, 38, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22)),
    rgba(255, 253, 248, 0.48);
  box-shadow: 0 14px 36px rgba(41, 35, 26, 0.052);
}

.service-detail-points li span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 123, 52, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(196, 167, 96, 0.16), rgba(154, 123, 52, 0.06)),
    rgba(154, 123, 52, 0.08);
  color: #6d5726;
  font-size: 12px;
  font-weight: 900;
}

.service-detail-points li b {
  color: #37352f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.46;
}

.service-detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.service-detail-actions .btn {
  flex: 0 0 auto;
}

.service-detail-actions p {
  max-width: 260px;
  margin: 0;
  color: #6b665c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.46;
}

.service-detail-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 32px 30px;
  overflow: hidden;
  border-left: 1px solid rgba(42, 38, 29, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #303319, #0d0f08);
  color: #fffdf7;
}

.service-detail-visual::before {
  position: absolute;
  inset: 24px 26px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 167, 96, 0.72), transparent);
  content: "";
}

.service-detail-visual::after {
  position: absolute;
  inset: 76px 32px auto;
  height: 132px;
  border: 1px solid rgba(255, 253, 247, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.48;
  pointer-events: none;
}

#service-detail-modal[data-service-theme="automation"] .service-detail-visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #20302b, #0c1110);
}

#service-detail-modal[data-service-theme="custom"] .service-detail-visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #2d2a23, #0d0c0a);
}

.service-detail-visual__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-detail-visual__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.04;
}

.service-detail-deliverables {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.service-detail-deliverables span {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 66px;
  padding: 14px;
  border: 1px solid rgba(196, 167, 96, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.12), rgba(255, 253, 247, 0.035)),
    rgba(255, 255, 255, 0.052);
  color: rgba(255, 253, 247, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.36;
}

.service-detail-deliverables b {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 167, 96, 0.34);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 12px;
}

.service-detail-focus {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(196, 167, 96, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(196, 167, 96, 0.16), rgba(255, 253, 247, 0.04)),
    rgba(196, 167, 96, 0.08);
}

.service-detail-focus span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-detail-focus strong {
  color: #fffdf7;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.08;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (min-width: 1500px) {
  .page {
    width: min(1500px, calc(100% - 112px));
  }

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

@media (max-width: 1280px) {
  .shell {
    width: min(1120px, calc(100% - 64px));
  }

  .header {
    gap: 32px;
  }

  .nav {
    gap: 34px;
  }

  .hero {
    grid-template-columns: minmax(390px, 0.9fr) minmax(450px, 1.1fr);
    column-gap: 18px;
  }

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

  .hero__media img {
    right: 0;
    width: 100%;
  }

  .stat {
    padding-inline: 22px;
  }

  .work-card__title {
    font-size: 21px;
  }

  .service-item {
    padding: 24px;
  }

  .process-list {
    gap: 12px;
  }

  .process-step::after {
    font-size: 58px;
  }
}

@media (max-width: 1050px) {
  .page {
    width: min(100% - 28px, 920px);
    margin-top: 10px;
    border-radius: 18px;
  }

  .header {
    grid-template-columns: auto 1fr auto;
  }

  .role {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 20px;
  }

  .hero::before {
    inset: auto -26px 34px 20%;
    height: 460px;
    opacity: 0.72;
  }

  .hero__content {
    padding-bottom: 24px;
  }

  .hero__media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 430px;
  }

  .hero__media::before {
    left: 17%;
    top: 9%;
    width: 46%;
  }

  .hero__media img {
    position: absolute;
    right: -42px;
    bottom: 0;
    width: min(820px, 104%);
    margin-left: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat:nth-child(3) {
    border-left: 1px solid rgba(42, 38, 29, 0.13);
  }

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

  .value-grid {
    gap: 16px;
  }

  .value-card {
    padding: 24px;
  }

  .mini-cta {
    grid-template-columns: 1fr;
    justify-items: center;
  }

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

  .service-item:nth-child(3) {
    padding-left: 24px;
  }

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

  .process-step {
    height: auto;
    min-height: 230px;
    padding: 24px;
  }

  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(5) {
    margin-top: 0;
  }

  .process-step::after {
    display: none;
  }

  .process-step:not(:last-child)::before {
    display: none;
  }

  .process-step:not(:last-child) .process-number::after {
    display: none;
  }

  .process-step p {
    max-width: none;
  }

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

  .cta__actions {
    justify-content: start;
  }

  .cta-form {
    max-width: 720px;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-main {
    padding: 52px 46px 42px;
  }

  .service-detail-visual {
    min-height: 390px;
    border-top: 1px solid rgba(42, 38, 29, 0.12);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .page {
    width: 100%;
    margin: 0;
    border-inline: 0;
    border-radius: 0;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .header {
    min-height: 78px;
  }

  .logo {
    font-size: 23px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    z-index: 70;
    top: 84px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.99);
    backdrop-filter: blur(18px) saturate(0.95);
    box-shadow:
      0 28px 70px rgba(45, 37, 26, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .nav a {
    padding: 18px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .nav a::after {
    display: none;
  }

  .nav-dot {
    display: none;
  }

  .eyebrow {
    margin-bottom: 24px;
    padding-left: 48px;
    font-size: 13px;
  }

  .eyebrow::before {
    width: 32px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "text"
      "actions"
      "stage";
    row-gap: 0;
    min-height: 0;
    padding-top: 26px;
    overflow: hidden;
    isolation: isolate;
  }

  .hero::before {
    display: none;
  }

  .hero__content {
    display: contents;
  }

  .eyebrow {
    grid-area: eyebrow;
    position: relative;
    z-index: 3;
  }

  .hero h1 {
    grid-area: title;
    position: relative;
    z-index: 3;
    font-size: 48px;
    line-height: 1.01;
  }

  .hero__text {
    grid-area: text;
    position: relative;
    z-index: 3;
    max-width: 345px;
    margin-top: 22px;
    font-size: 16px;
  }

  .hero__media {
    display: block;
    grid-area: stage;
    position: relative;
    z-index: 1;
    width: calc(100% + 32px);
    min-height: clamp(300px, 38vh, 350px);
    margin: 24px -16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(154, 123, 52, 0.22);
    border-bottom: 1px solid rgba(154, 123, 52, 0.18);
    background: #18160f;
    box-shadow: 0 24px 70px rgba(47, 39, 25, 0.12);
  }

  .hero__media::before {
    position: absolute;
    z-index: 1;
    left: 3%;
    top: 11%;
    right: auto;
    width: 73%;
    height: auto;
    aspect-ratio: 1;
    border: 1px solid rgba(226, 195, 126, 0.34);
    border-radius: 50%;
    background: transparent;
    box-shadow:
      0 0 34px rgba(214, 169, 82, 0.16),
      -16px 6px 52px rgba(214, 169, 82, 0.16);
    content: "";
    animation: heroBackRing 6s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
  }

  .hero__media::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.02) 0%, rgba(13, 14, 9, 0.03) 50%, rgba(13, 14, 9, 0.56) 100%);
    content: "";
    pointer-events: none;
  }

  .hero__media img {
    display: block;
    position: absolute;
    top: 0;
    left: -11%;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 124%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 51% center;
    filter: saturate(1.02) contrast(1.04);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__actions {
    grid-area: actions;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
  }

  .hero__actions .btn {
    min-height: 56px;
    box-shadow: 0 14px 34px rgba(6, 8, 2, 0.14);
  }

  .hero__actions .btn--light {
    border-color: rgba(42, 38, 29, 0.16);
    background: rgba(255, 253, 247, 0.72);
    box-shadow: none;
  }

  .btn,
  .btn--gold {
    width: 100%;
    min-width: 0;
  }

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

  .stat,
  .stat:nth-child(3) {
    min-height: 136px;
    padding: 16px;
    border: 1px solid rgba(42, 38, 29, 0.13);
    border-radius: 12px;
  }

  .stat:first-child {
    border-top: 1px solid rgba(42, 38, 29, 0.13);
  }

  .stats__inner::after {
    display: none;
  }

  .stat__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 10px;
  }

  .stat strong {
    font-size: 24px;
    line-height: 1;
  }

  .stat__text {
    max-width: 140px;
    margin-top: 10px;
    font-size: 11.5px;
  }

  .section {
    padding-top: 54px;
  }

  .section__head {
    display: grid;
  }

  .section-note {
    max-width: none;
  }

  .process {
    padding: 38px 24px;
  }

  .process .section__head {
    margin-bottom: 28px;
  }

  .process .section-note {
    padding-left: 16px;
  }

  .section h2 {
    font-size: 40px;
  }

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

  .work-grid,
  .service-grid,
  .gallery-grid,
  .process-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-step {
    height: auto;
    min-height: 0;
    padding: 24px 20px;
  }

  .process-result {
    max-width: none;
  }

  .work-card__content {
    min-height: 0;
    padding: 22px;
  }

  .work-card__title {
    font-size: 20px;
  }

  .work-card__desc {
    margin-top: -2px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-item,
  .service-item:not(:first-child),
  .service-item:nth-child(3) {
    min-height: 278px;
    padding: 24px;
    border: 1px solid rgba(42, 38, 29, 0.14);
  }

  .service-item:first-child {
    border-top: 1px solid rgba(42, 38, 29, 0.14);
  }

  .service-title {
    font-size: 21px;
  }

  .service-fit {
    max-width: none;
    font-size: 13px;
  }

  .mini-cta {
    padding: 28px 22px;
  }

  .mini-cta h2 {
    font-size: 34px;
  }

  .mini-cta__actions {
    width: 100%;
  }

  .mini-cta__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cta {
    padding: 46px 0 0;
    margin-top: 92px;
  }

  .cta-transition {
    height: 92px;
  }

  .cta h2 {
    font-size: 48px;
  }

  .cta .cta__text {
    font-size: 16px;
  }

  .cta__inner {
    gap: 28px;
  }

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

  .cta__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cta-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 18px;
    border-radius: 8px;
  }

  .cta-form.contact-form {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 14px;
  }

  .modal__card,
  .modal__card--wide {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    padding: 30px 18px 22px;
  }

  #services-modal .modal__card {
    width: calc(100vw - 28px);
  }

  #services-modal .modal__intro h2 {
    font-size: 34px;
  }

  .service-modal-list {
    grid-template-columns: 1fr;
  }

  .service-modal-list p,
  .service-modal-list p:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 16px;
  }

  .service-detail-card {
    width: calc(100vw - 28px);
    padding: 0;
  }

  .service-detail-main {
    padding: 34px 20px 26px;
  }

  .service-detail-card .modal__intro {
    margin-bottom: 20px;
  }

  .service-detail-card .modal__intro h2 {
    max-width: calc(100% - 54px);
    font-size: 38px;
  }

  .service-detail-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .service-detail-proof {
    padding: 15px 16px;
  }

  .service-detail-points {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .service-detail-points li {
    min-height: 0;
  }

  .service-detail-actions {
    display: grid;
    gap: 12px;
  }

  .service-detail-actions p {
    max-width: none;
  }

  .service-detail-visual {
    min-height: 0;
    padding: 28px 20px;
  }

  .service-detail-visual::after {
    inset: 66px 20px auto;
    height: 112px;
  }

  .service-detail-visual__title {
    font-size: 30px;
  }

  .service-detail-deliverables span {
    min-height: 0;
    padding: 13px;
  }

  .service-detail-focus {
    padding: 16px;
  }

  .service-detail-focus strong {
    font-size: 22px;
  }

  .modal__close {
    margin-right: -4px;
  }

  .modal__intro h2 {
    font-size: 34px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 80;
    left: 18px;
    right: 18px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(196, 167, 96, 0.34);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(39, 43, 19, 0.98), rgba(20, 23, 9, 0.98)),
      var(--olive);
    color: #fffdf7;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 14px 40px rgba(31, 28, 18, 0.24);
    cursor: pointer;
  }

  .mobile-sticky-cta .ui-arrow {
    width: 21px;
    height: 21px;
    color: var(--gold-soft);
  }

  .sticky-cta-hidden .mobile-sticky-cta,
  .modal-open .mobile-sticky-cta,
  .menu-open .mobile-sticky-cta {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 42px;
    line-height: 1.01;
  }

  .hero__text {
    margin-top: 22px;
  }

  .hero__media {
    min-height: clamp(292px, 36vh, 330px);
  }

  .hero__actions {
    margin-top: 22px;
    padding-bottom: 0;
  }

  .stat,
  .stat:nth-child(3) {
    min-height: 128px;
    padding: 15px 14px;
  }

  .stat strong {
    font-size: 23px;
  }

  .stat__text {
    font-size: 11px;
  }

  .section h2,
  .cta h2 {
    font-size: 36px;
  }

  .work-card__title {
    font-size: 19px;
  }

  .work-card__content {
    padding-inline: 20px;
  }

  .browser-bar {
    height: 36px;
    padding-inline: 18px;
  }

  .browser-bar b {
    right: 18px;
  }
}
