:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #69635d;
  --paper: #f4efe6;
  --paper-deep: #e4dacb;
  --line: rgba(24, 24, 24, 0.18);
  --shadow: 0 28px 70px rgba(35, 28, 20, 0.24);
  --red: #b7412e;
  --green: #1d7257;
  --blue: #244f87;
  --gold: #b58b38;
  --white: #fffaf0;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family:
    "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(181, 139, 56, 0.11) 40% 42%, transparent 45%),
    linear-gradient(245deg, transparent 0 50%, rgba(29, 114, 87, 0.1) 52% 54%, transparent 56%);
  animation: atmosphereShift 16s ease-in-out infinite alternate;
}

body.onyx {
  --ink: #f3eee4;
  --muted: #b9aa95;
  --paper: #191715;
  --paper-deep: #29241f;
  --line: rgba(255, 250, 240, 0.18);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
  --white: #24201c;
}

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

button {
  cursor: pointer;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: overlay;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(22px);
  opacity: 0;
  transition: 0.25s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.top-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 8px 56px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    min-height 0.35s ease,
    padding 0.35s ease;
}

.top-banner p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.top-banner.auto-hidden {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-100%);
  overflow: hidden;
}

.banner-close {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.carousel-controls,
.video-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.18)),
    var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.28),
    inset 0 -5px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

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

.desktop-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  padding: 8px 0;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-actions {
  gap: 10px;
}

.language-select {
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, #fff 30%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.solid-button,
.ghost-button,
.text-link,
.icon-button,
.tab,
.service-card,
.accordion-item {
  border: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.solid-button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.28)),
    var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 70%, var(--paper));
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.26),
    inset 0 -8px 18px rgba(0, 0, 0, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.14);
}

.ghost-button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, #fff 30%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -7px 18px rgba(0, 0, 0, 0.06);
}

.large {
  min-height: 52px;
  padding-inline: 24px;
}

.text-link {
  padding: 0;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid currentColor;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: inherit;
  background: color-mix(in srgb, var(--paper) 72%, #fff 28%);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    inset 0 -5px 12px rgba(0, 0, 0, 0.08);
}

.solid-button:hover,
.ghost-button:hover,
.icon-button:hover,
.tab:hover,
.service-card:hover,
.accordion-item:hover {
  transform: translateY(-2px);
}

.solid-button:active,
.ghost-button:active,
.icon-button:active,
.tab:active,
.service-card:active,
.accordion-item:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-panel {
  display: none;
}

.hero {
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 70px) clamp(42px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.journal h2,
.video-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.94;
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1 {
  max-width: 940px;
  font-size: clamp(54px, 9vw, 124px);
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  color: var(--ink);
}

.hero h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 46px 0 0;
}

.hero-metrics div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  font-size: clamp(28px, 4vw, 48px);
  font-family: Georgia, "Times New Roman", serif;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  min-width: 0;
}

.slide-shell {
  position: relative;
  min-height: min(68vh, 620px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 36%),
    var(--paper-deep);
  box-shadow: var(--shadow);
}

.slide-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.slide-shell::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 10%;
  width: 44%;
  aspect-ratio: 1;
  background:
    conic-gradient(from 40deg, var(--gold), var(--red), var(--green), var(--blue), var(--gold));
  border-radius: 50%;
  filter: saturate(0.9);
  box-shadow:
    inset 14px 18px 40px rgba(255, 255, 255, 0.35),
    inset -18px -24px 50px rgba(0, 0, 0, 0.26),
    0 30px 55px rgba(0, 0, 0, 0.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 56px);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.active h2,
.hero-slide.active span,
.case-card.active h3,
.case-card.active span {
  animation: editorialRise 0.58s ease both;
}

.hero-slide[data-theme="scarlet"] {
  background:
    linear-gradient(130deg, rgba(183, 65, 46, 0.22), transparent 46%),
    radial-gradient(circle at 18% 18%, rgba(255, 250, 240, 0.34), transparent 28%);
}

.hero-slide[data-theme="emerald"] {
  background:
    linear-gradient(130deg, rgba(29, 114, 87, 0.28), transparent 48%),
    radial-gradient(circle at 20% 20%, rgba(255, 250, 240, 0.3), transparent 30%);
}

.hero-slide[data-theme="cobalt"] {
  background:
    linear-gradient(130deg, rgba(36, 79, 135, 0.26), transparent 48%),
    radial-gradient(circle at 20% 20%, rgba(255, 250, 240, 0.3), transparent 30%);
}

.hero-slide.has-image {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.16)),
    var(--slide-image) center / cover;
  color: var(--paper);
}

.hero-slide.has-image p,
.hero-slide.has-image span {
  color: rgba(255, 250, 240, 0.78);
}

.service-card.has-bg::after,
.case-card.has-image::after,
.hero-slide.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: overlay;
}

.hero-slide p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 360px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.92;
}

.hero-slide span {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 330px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.carousel-controls {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 5;
  gap: 8px;
}

.hero-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.hero-indicators button {
  width: 38px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}

.hero-indicators button.active {
  background: var(--ink);
}

section:not(.hero) {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.journal h2,
.video-copy h2 {
  font-size: clamp(38px, 6vw, 78px);
}

.section-heading p:not(.kicker),
.video-copy p,
.journal article p:not(.kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.service-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 70%, #fff 30%);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tab.active {
  color: var(--paper);
  background: var(--ink);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
}

.service-detail {
  min-height: 460px;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(0, 0, 0, 0.045)),
    color-mix(in srgb, var(--paper) 82%, #fff 18%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail.with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 28px;
  align-items: center;
}

.service-detail.with-image.image-left {
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
}

.service-detail-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-number {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
}

.service-detail h3 {
  margin: 10px 0 18px;
  font-size: clamp(32px, 4vw, 56px);
}

.service-detail p:not(.service-number),
.service-detail li {
  color: var(--muted);
  line-height: 1.8;
}

.service-detail ul {
  padding-left: 18px;
  margin: 24px 0 30px;
}

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

.service-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(0, 0, 0, 0.04)),
    var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card.active {
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.24)),
    var(--green);
}

.service-card.has-bg {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18)),
    var(--card-image) center / cover;
}

.service-card.has-bg > * {
  position: relative;
  z-index: 1;
}

.service-card span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.service-card strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
}

.service-card small {
  color: currentColor;
  opacity: 0.72;
}

.showcase {
  background: color-mix(in srgb, var(--paper-deep) 62%, var(--paper));
}

.app-download {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 70%, #fff), transparent),
    var(--paper);
}

.app-copy {
  display: grid;
  justify-items: center;
}

.app-copy h2 {
  margin: 0;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.95;
}

.app-copy p:not(.kicker) {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.app-cta {
  display: inline-flex;
  align-items: center;
}

.app-device {
  display: grid;
  place-items: center;
  min-height: 520px;
  perspective: 1100px;
}

.phone-frame {
  width: min(360px, 78vw);
  aspect-ratio: 9 / 18;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(0, 0, 0, 0.28)),
    var(--ink);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.32),
    inset 0 -16px 28px rgba(0, 0, 0, 0.24),
    var(--shadow);
  transform: rotateY(-12deg) rotateX(4deg);
  animation: phoneFloat 5.5s ease-in-out infinite;
}

.phone-screen {
  height: 100%;
  padding: 28px;
  color: var(--paper);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(150deg, var(--red), var(--green) 48%, var(--blue));
  border-radius: 24px;
  overflow: hidden;
}

.phone-screen p {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone-screen h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 0.98;
}

.phone-screen ul {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.phone-screen li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.case-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
}

.case-track {
  display: grid;
  min-height: 380px;
  overflow: hidden;
}

.case-card {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 58px);
  opacity: 0;
  transform: translateX(26px);
  background:
    linear-gradient(120deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0.24)),
    linear-gradient(45deg, var(--red), var(--gold), var(--green), var(--blue));
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.35s ease;
}

.case-card.has-image {
  background:
    linear-gradient(120deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.18)),
    var(--case-image) center / cover;
}

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

.case-card.active {
  opacity: 1;
  transform: translateX(0);
}

.case-card p {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 90px);
  line-height: 0.96;
}

.case-card span {
  margin-top: 20px;
  font-size: 18px;
}

.reel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}

.video-copy p {
  max-width: 580px;
}

.video-player {
  overflow: hidden;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101010;
}

.video-controls {
  gap: 10px;
  padding: 12px;
  color: var(--paper);
  background: #151515;
}

.video-controls input {
  width: 100%;
  accent-color: var(--gold);
}

.journal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 75%, #fff), transparent),
    var(--paper);
}

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

.accordion-item {
  display: block;
  width: 100%;
  padding: 20px;
  color: var(--ink);
  text-align: left;
  background: color-mix(in srgb, var(--paper) 72%, #fff 28%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    inset 0 -7px 18px rgba(0, 0, 0, 0.06);
}

.accordion-item span {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.accordion-item small {
  display: none;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.accordion-item.active small {
  display: block;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.04)),
    var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 76%, #fff 24%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 70px);
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.22)),
    var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: 0.22s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer p {
  margin: 0;
}

.modal {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.modal-inner {
  position: relative;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.06)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.modal h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.modal p:not(.kicker) {
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions .ghost-button,
  .header-actions .solid-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-panel {
    position: sticky;
    top: 71px;
    z-index: 55;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .mobile-panel.open {
    display: grid;
  }

  .mobile-panel a {
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero,
  .service-layout,
  .reel,
  .journal,
  .app-download {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .slide-shell {
    min-height: 480px;
  }

  .service-detail.with-image,
  .service-detail.with-image.image-left {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .top-banner {
    justify-content: flex-start;
    padding-right: 16px;
  }

  .top-banner p {
    max-width: 200px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .hero-metrics,
  .service-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .slide-shell {
    min-height: 420px;
  }

  .case-carousel {
    grid-template-columns: 1fr;
  }

  .case-arrow {
    display: none;
  }

  .case-track {
    min-height: 420px;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@keyframes editorialRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: rotateY(-8deg) rotateX(6deg) translateY(-16px);
  }
}

@keyframes atmosphereShift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(2deg);
  }
}
