:root {
  --bg: #f7f4ec;
  --paper: #fffaf0;
  --paper-strong: #ffffff;
  --ink: #19201d;
  --muted: #5f6a63;
  --line: #ded7c8;
  --teal: #0b7d77;
  --teal-dark: #085651;
  --coral: #d95f47;
  --gold: #d7a327;
  --mint: #8fd2bd;
  --blue: #2f68a8;
  --shadow: 0 18px 45px rgba(25, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 42px;
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.site-header-solid {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 12px 32px rgba(25, 32, 29, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 8px;
}

.site-nav a.is-active {
  background: rgba(11, 125, 119, 0.13);
  font-weight: 900;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(11, 125, 119, 0.11);
}

.nav-cta {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.page-main {
  padding-top: 82px;
}

.page-hero {
  padding: 78px 0 44px;
  background: var(--paper);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 3.25rem;
  line-height: 1.12;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-next {
  background: var(--paper);
}

.home-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-next-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.home-next-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.home-next-card p {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 14, 13, 0.82), rgba(9, 14, 13, 0.52) 42%, rgba(9, 14, 13, 0.12)),
    url("assets/hero-detail-preview.png") center / cover no-repeat,
    #19201d;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(25, 32, 29, 0.5), rgba(25, 32, 29, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9be0d1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.08;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 16px 34px rgba(217, 95, 71, 0.28);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.button-dark {
  width: 100%;
  color: #fff;
  background: var(--ink);
}

.button-outline {
  width: 100%;
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 0;
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.intro-band {
  background: var(--ink);
  color: #fff;
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
}

.intro-grid p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.intro-grid a {
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid var(--mint);
}

.section {
  padding: 88px 0;
}

.section-warm {
  background: var(--paper);
}

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

.section-heading.narrow {
  max-width: 690px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2 {
  margin-bottom: 13px;
  font-size: 2.45rem;
  line-height: 1.18;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.service-card,
.work-card,
.price-card,
.brief-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.accent-mint .service-number {
  color: var(--ink);
  background: var(--mint);
}

.accent-coral .service-number {
  background: var(--coral);
}

.accent-gold .service-number {
  color: var(--ink);
  background: var(--gold);
}

.global-section {
  background: #eef5f1;
}

.global-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.global-copy {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.promo-callout {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.promo-callout strong {
  font-size: 1.08rem;
}

.promo-callout span {
  color: var(--muted);
}

.global-panels {
  display: grid;
  gap: 18px;
}

.global-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.global-panel h3 {
  margin-bottom: 16px;
  font-size: 1.28rem;
}

.global-panel p {
  margin: 16px 0 0;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-cloud span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(11, 125, 119, 0.22);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(143, 210, 189, 0.18);
  font-size: 0.92rem;
  font-weight: 800;
}

.platform-cloud span {
  border-color: rgba(217, 95, 71, 0.2);
  color: #8f3829;
  background: rgba(217, 95, 71, 0.12);
}

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

.work-card {
  overflow: hidden;
}

.mock-detail {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #0f1917;
}

.mock-detail::before {
  position: absolute;
  inset: 24px 50px auto;
  height: 88px;
  border-radius: 8px;
  content: "";
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.7) 0 9px, transparent 10px),
    linear-gradient(135deg, #d8f2ed, #86d5c0);
}

.mock-detail span {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.mock-detail span:nth-child(1) {
  top: 134px;
}

.mock-detail span:nth-child(2) {
  top: 182px;
  right: 88px;
}

.mock-detail span:nth-child(3) {
  top: 230px;
  left: 88px;
}

.mock-detail span:nth-child(4) {
  top: 278px;
}

.mock-earbuds {
  background:
    radial-gradient(circle at 50% 32%, #ffffff 0 18px, transparent 19px),
    linear-gradient(160deg, #10201d 0%, #0b7d77 100%);
}

.mock-charger {
  background:
    radial-gradient(circle at 48% 32%, #f5d66f 0 17px, transparent 18px),
    linear-gradient(160deg, #1f251e 0%, #d95f47 100%);
}

.mock-home {
  background:
    radial-gradient(circle at 48% 32%, #b9d8ff 0 17px, transparent 18px),
    linear-gradient(160deg, #162032 0%, #2f68a8 100%);
}

.work-card > div:last-child {
  padding: 22px;
}

.work-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.work-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.compare-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 114, 82, 0.12), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(47, 104, 168, 0.18), transparent 20%),
    linear-gradient(135deg, #fff7ee 0%, #f3f7fb 100%);
}

.compare-hero::after {
  position: absolute;
  inset: auto -120px -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(11, 125, 119, 0.08);
  content: "";
}

.compare-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.compare-hero-copy {
  position: relative;
  z-index: 1;
}

.compare-hero-copy p:last-of-type {
  max-width: 720px;
}

.compare-hero-board {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(25, 32, 29, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.compare-mini {
  display: grid;
  gap: 10px;
}

.compare-mini span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 900;
}

.compare-mini-source span {
  color: #8a422f;
  background: rgba(217, 95, 71, 0.14);
}

.compare-mini-result span {
  color: var(--teal-dark);
  background: rgba(143, 210, 189, 0.2);
}

.compare-mini img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(25, 32, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.compare-mini-result img {
  object-fit: cover;
}

.case-proof {
  color: #fff;
  background: var(--ink);
}

.case-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.16);
}

.case-proof-strip div {
  min-height: 108px;
  padding: 22px;
  background: #141c17;
}

.case-proof-strip dt {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
}

.case-proof-strip dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.compare-gallery {
  display: grid;
  gap: 22px;
}

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

.case-index-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.case-index-card:hover,
.case-index-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 125, 119, 0.24);
  box-shadow: 0 20px 42px rgba(25, 32, 29, 0.16);
  outline: none;
}

.case-index-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #edf2f4;
}

.case-index-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.case-index-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.case-index-head {
  display: grid;
  gap: 6px;
}

.case-index-head span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.case-index-head h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.22;
}

.case-index-body p {
  margin: 0;
  color: var(--muted);
}

.case-index-body strong {
  color: var(--teal-dark);
  font-size: 0.92rem;
}

.compare-case {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.compare-case-featured {
  background:
    linear-gradient(180deg, rgba(11, 125, 119, 0.03), rgba(11, 125, 119, 0)),
    var(--paper-strong);
}

.compare-case-head {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: end;
}

.compare-case-head .eyebrow {
  margin-bottom: 10px;
}

.compare-case-head h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.18;
}

.compare-case-head p:last-child {
  margin: 0;
  color: var(--muted);
}

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

.compare-column {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.compare-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compare-label-row h4 {
  margin: 0;
  font-size: 1.05rem;
}

.compare-label-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.compare-column:first-child .compare-label-row span {
  color: #8a422f;
  background: rgba(217, 95, 71, 0.14);
}

.compare-column:last-child .compare-label-row span {
  color: var(--teal-dark);
  background: rgba(143, 210, 189, 0.22);
}

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

.compare-source-grid img,
.compare-result-grid img {
  width: 100%;
  border: 1px solid rgba(25, 32, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.compare-source-grid img {
  aspect-ratio: 4 / 3;
}

.compare-result-grid img {
  aspect-ratio: 3 / 4;
  object-position: top center;
}

.compare-result-hero {
  grid-row: span 2;
}

.compare-promise-section {
  background:
    radial-gradient(circle at 85% 18%, rgba(47, 104, 168, 0.08), transparent 18%),
    linear-gradient(180deg, #eef5f7, #f7f4ec);
}

.compare-promise {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
}

.compare-promise-card {
  padding: 28px;
  border: 1px solid rgba(25, 32, 29, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.compare-promise-card h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 2.35rem;
  line-height: 1.18;
}

.compare-promise-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.compare-promise-actions {
  display: grid;
  gap: 12px;
}

.case-detail-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 114, 82, 0.12), transparent 22%),
    linear-gradient(135deg, #fff8ef 0%, #f4f8fc 100%);
}

.case-detail-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: start;
}

.case-detail-copy p:last-child {
  max-width: 760px;
}

.case-detail-stats {
  display: grid;
  gap: 10px;
}

.case-detail-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.case-detail-stats dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.case-detail-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.case-detail-section {
  display: grid;
  gap: 18px;
}

.case-detail-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.case-detail-header h2 {
  margin: 0;
  font-size: 2rem;
}

.case-detail-header p {
  margin: 0;
  color: var(--muted);
}

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

.case-detail-gallery.case-detail-gallery-delivery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 32, 29, 0.08);
}

.case-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.case-detail-gallery img:hover,
.case-detail-gallery img:focus-visible {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.case-detail-gallery img:focus-visible {
  outline: 3px solid rgba(255, 126, 41, 0.42);
  outline-offset: -3px;
}

.case-detail-gallery-customer img {
  aspect-ratio: 4 / 3;
}

.case-detail-gallery-delivery img {
  aspect-ratio: 3 / 4;
  object-position: top center;
}

.case-detail-gallery figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.82);
  backdrop-filter: blur(6px);
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 132px);
  border-radius: 12px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.image-lightbox__caption {
  margin: 0;
  max-width: min(100%, 920px);
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.95rem;
}

.image-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 58px;
  align-items: center;
}

.pricing-copy {
  margin-bottom: 0;
}

.price-card {
  padding: 30px;
}

.price-top {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-top p {
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.price-top strong {
  display: block;
  font-size: 4.2rem;
  line-height: 1;
}

.price-top span {
  font-size: 1.6rem;
}

.price-top small {
  color: var(--muted);
}

.check-list,
.brief-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li,
.brief-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--muted);
}

.check-list li::before,
.brief-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.section-ink {
  color: #fff;
  background: var(--ink);
}

.section-heading.light .eyebrow {
  color: var(--mint);
}

.section-heading.light p,
.section-ink .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 8px;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.faq-layout .section-heading {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 58px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 2.65rem;
  line-height: 1.16;
}

.contact-copy p {
  max-width: 650px;
  color: var(--muted);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  font-weight: 800;
}

.brief-card {
  padding: 26px;
}

.qr-block {
  display: grid;
  width: 132px;
  height: 132px;
  margin-bottom: 22px;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--ink) 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(var(--ink) 10px, transparent 10px) 0 0 / 24px 24px,
    #f7f4ec;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 900;
}

.brief-card h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.copy-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 800;
}

.brief-template {
  display: none;
  width: 100%;
  min-height: 180px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf0;
  resize: vertical;
}

.brief-template.is-visible {
  display: block;
}

.submit-section {
  background: #f1eee6;
}

.submit-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.submit-heading {
  position: sticky;
  top: 110px;
}

.submit-heading h2 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: 2.45rem;
  line-height: 1.18;
}

.submit-heading p:last-child {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--muted);
}

.upload-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field span {
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf0;
  font: inherit;
}

.field input,
.field select {
  min-height: 48px;
  padding: 10px 12px;
}

.field textarea {
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(11, 125, 119, 0.16);
}

.file-field {
  padding: 16px;
  border: 1px dashed #b9b09f;
  border-radius: 8px;
  background: #fbf6ea;
}

.file-field input {
  padding: 9px;
  background: #fff;
}

.field small {
  color: var(--muted);
}

.form-actions {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--coral);
}

.account-section {
  background: #f8faf6;
}

.account-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.account-copy h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: 2.45rem;
  line-height: 1.18;
}

.account-copy p {
  max-width: 640px;
  color: var(--muted);
}

.account-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.account-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 900;
}

.account-points li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  content: "✓";
  font-size: 0.75rem;
  line-height: 18px;
  text-align: center;
}

.auth-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4efe3;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tab.is-active {
  color: #fff;
  background: var(--teal);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: block;
}

.auth-login-button {
  width: 100%;
}

.auth-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.auth-status.is-error {
  color: var(--coral);
}

.auth-switch {
  margin: 14px 0 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--teal-dark);
  font-weight: 900;
  border-bottom: 2px solid rgba(11, 125, 119, 0.25);
}

.account-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(11, 125, 119, 0.22);
  border-radius: 8px;
  background: rgba(143, 210, 189, 0.14);
}

.account-card[hidden] {
  display: none;
}

.account-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.account-card strong {
  font-size: 1.12rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #111713;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 24px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid,
  .home-next-grid,
  .global-layout,
  .pricing-layout,
  .faq-layout,
  .contact-layout,
  .account-layout,
  .submit-layout,
  .compare-hero-inner,
  .compare-case-head,
  .compare-layout,
  .compare-promise,
  .case-detail-top {
    grid-template-columns: 1fr;
  }

  .compare-hero-board {
    max-width: 540px;
  }

  .submit-heading {
    position: static;
  }

  .global-copy {
    position: static;
  }

  .price-card,
  .brief-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-active {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 86svh;
    background:
      linear-gradient(90deg, rgba(9, 14, 13, 0.9), rgba(9, 14, 13, 0.7) 54%, rgba(9, 14, 13, 0.22)),
      url("assets/hero-detail-preview.png") 64% center / cover no-repeat,
      #19201d;
  }

  .hero-inner {
    width: min(100% - 34px, 1120px);
    padding-top: 118px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .page-hero {
    padding: 54px 0 34px;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .work-grid,
  .case-index-grid,
  .process-list,
  .compare-source-grid,
  .compare-result-grid,
  .case-proof-strip {
    grid-template-columns: 1fr;
  }

  .case-proof-strip div {
    min-height: auto;
    padding: 18px;
  }

  .compare-case {
    padding: 20px;
  }

  .compare-case-head h3 {
    font-size: 1.3rem;
  }

  .compare-promise-card {
    padding: 22px;
  }

  .compare-promise-card h2 {
    font-size: 2rem;
  }

  .case-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .hero-stats div {
    min-height: auto;
    padding: 13px 14px;
  }

  .hero-stats dt {
    font-size: 1.02rem;
  }

  .hero-stats dd {
    font-size: 0.8rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 34px, 1120px);
  }

  .section-heading h2,
  .contact-copy h2,
  .account-copy h2 {
    font-size: 2rem;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .service-number,
  .process-list span {
    margin-bottom: 22px;
  }

  .mock-detail {
    height: 240px;
  }

  .pricing-layout,
  .global-layout,
  .contact-layout,
  .account-layout,
  .faq-layout,
  .submit-layout {
    gap: 28px;
  }

  .submit-heading h2 {
    font-size: 2rem;
  }

  .upload-form {
    padding: 20px;
  }

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

  .price-top strong {
    font-size: 3.5rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
