:root {
  --paper: #fff9f1;
  --paper-strong: #fff3df;
  --ink: #292733;
  --muted: #6f6974;
  --line: rgba(41, 39, 51, 0.14);
  --coral: #df695c;
  --teal: #147f78;
  --butter: #f2bf4d;
  --violet: #6f66c9;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(45, 39, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  min-height: 76px;
  padding: 8px clamp(18px, 4vw, 54px);
  background: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 60px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 100px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 15px;
  font-weight: 700;
  color: rgba(41, 39, 51, 0.82);
}

.site-nav a {
  position: relative;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.site-nav a:hover {
  color: var(--ink);
  background: rgba(242, 191, 77, 0.22);
}

.site-nav a.is-active {
  color: var(--ink);
  border-color: rgba(242, 191, 77, 0.74);
  background: rgba(242, 191, 77, 0.46);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 26, 0.76) 0%, rgba(20, 18, 26, 0.38) 48%, rgba(20, 18, 26, 0.08) 100%),
    linear-gradient(0deg, rgba(20, 18, 26, 0.62) 0%, rgba(20, 18, 26, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100svh;
  width: min(880px, 100%);
  padding: 120px clamp(22px, 7vw, 88px) clamp(56px, 11vh, 116px);
  color: var(--white);
}

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

.hero .eyebrow {
  color: #ffd880;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(74px, 10vw, 128px) clamp(18px, 4vw, 54px);
}

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

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 46px);
  text-align: center;
}

.section h1,
.section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading h1,
.section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  width: min(760px, 100%);
}

.section-heading h1::before,
.section-heading h1::after,
.section-heading h2::before,
.section-heading h2::after {
  display: block;
  flex: 1;
  height: 1px;
  min-width: 52px;
  content: "";
  background: rgba(41, 39, 51, 0.24);
}

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

.page-section {
  min-height: calc(100svh - 76px);
}

.works-section {
  background:
    linear-gradient(180deg, var(--paper) 0%, #ffffff 100%);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 18px;
}

.work-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  color: var(--white);
  cursor: zoom-in;
  background: var(--ink);
  box-shadow: none;
}

.work-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(20, 18, 26, 0) 42%, rgba(20, 18, 26, 0.76) 100%);
  opacity: 0.94;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 260ms ease;
}

.work-card:hover img {
  transform: scale(1.04);
}

.services-section {
  background:
    linear-gradient(120deg, rgba(223, 105, 92, 0.12), rgba(20, 127, 120, 0.11)),
    var(--paper-strong);
}

.status-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.status-panel p,
.price-card p {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.status-panel h3,
.price-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.status-panel span {
  color: var(--muted);
  font-size: 17px;
}

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

.price-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 42px rgba(45, 39, 33, 0.08);
}

.price-card strong {
  display: block;
  margin: 18px 0;
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}

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

.contact-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-copy {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: none;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-weight: 700;
}

.contact-line a {
  position: relative;
  color: var(--teal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.platform-link {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 191, 77, 0.16), rgba(111, 102, 201, 0.1));
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.platform-link:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 127, 120, 0.42);
}

.platform-link span {
  color: var(--coral);
  font-weight: 900;
}

.platform-link strong {
  color: var(--ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.fufu-section {
  background:
    linear-gradient(135deg, rgba(242, 191, 77, 0.2), rgba(20, 127, 120, 0.1)),
    var(--paper);
}

.fufu-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.fufu-layout p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.fufu-layout img {
  width: 100%;
  max-height: 560px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: none;
}

.contact-float {
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 44;
  display: block;
  width: min(244px, calc(100vw - 58px));
  max-width: calc(100vw - 16px);
  transform: translateY(-50%);
  transition: width 180ms ease;
}

.contact-float-tab {
  position: absolute;
  right: 10px;
  bottom: -17px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  color: var(--white);
  cursor: pointer;
  background: var(--teal);
  box-shadow: none;
}

.contact-float-tab-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-3px);
}

.contact-float-panel {
  width: 100%;
  max-height: calc(100svh - 120px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(45, 39, 33, 0.18);
  backdrop-filter: blur(18px);
  transition:
    width 180ms ease,
    padding 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-float-email {
  display: grid;
  gap: 4px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.contact-float-email span,
.contact-float-platforms span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contact-float-email a {
  position: relative;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

[data-copy-state]::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 3;
  width: max-content;
  max-width: 180px;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--white);
  content: attr(data-copy-state);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  background: var(--teal);
  transform: translateX(-50%);
}

.contact-float-platforms {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.contact-float-platforms a {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(242, 191, 77, 0.14), rgba(223, 105, 92, 0.08));
}

.contact-float-platforms strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-float.is-collapsed .contact-float-tab {
  right: 0;
  bottom: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.contact-float.is-collapsed .contact-float-tab-icon {
  transform: translateX(4px);
}

.contact-float.is-collapsed {
  width: 42px;
}

.contact-float.is-collapsed .contact-float-panel {
  width: 0;
  padding-right: 0;
  padding-left: 0;
  border-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
  padding: 76px clamp(14px, 3vw, 40px) 34px;
  background: rgba(18, 17, 24, 0.9);
  backdrop-filter: blur(16px);
}

.lightbox-frame {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin: 0;
}

.lightbox-frame img {
  max-height: 74vh;
  width: auto;
  border-radius: 8px;
  box-shadow: none;
}

.lightbox-frame figcaption {
  display: none;
  gap: 4px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.lightbox-frame strong {
  color: var(--white);
  font-size: 18px;
}

.lightbox-close,
.lightbox-arrow {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-weight: 900;
}

.lightbox-arrow {
  width: 56px;
  height: 64px;
  font-size: 28px;
}

@media (max-width: 880px) {
  .site-header {
    height: 68px;
    min-height: 68px;
    gap: 12px;
  }

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

  .page-section {
    min-height: calc(100svh - 68px);
  }

  .brand {
    width: 92px;
    height: 56px;
    flex: 0 0 auto;
  }

  .brand img {
    width: 88px;
    height: 52px;
  }

  .site-nav {
    gap: 14px;
    overflow-x: auto;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-content {
    padding-top: 108px;
  }

  .pricing-grid,
  .contact-layout,
  .status-panel {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

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

  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 54px;
  }

  .contact-float {
    right: 10px;
  }

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

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .page-section {
    min-height: calc(100svh - 108px);
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .section-heading {
    display: block;
  }

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

  .work-card,
  .work-card:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .work-card img {
    min-height: 260px;
  }

  .contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-float {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .contact-float-tab {
    width: 38px;
    height: 34px;
  }

  .contact-float-panel {
    width: calc(100vw - 54px);
    max-height: 62svh;
  }

  .contact-float.is-collapsed {
    width: 38px;
  }

  .contact-float.is-collapsed .contact-float-panel {
    width: 0;
  }
}
