:root {
  --ink: #12100f;
  --ink-soft: #342f2b;
  --paper: #f8f5ef;
  --paper-strong: #fffdf8;
  --muted: #746b61;
  --line: rgba(18, 16, 15, 0.14);
  --red: #e3482d;
  --green: #0d8b63;
  --cobalt: #1557ff;
  --gold: #c69b32;
  --shadow: 0 24px 70px rgba(18, 16, 15, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper-strong);
  border-radius: 4px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 38px;
  color: var(--paper-strong);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 4px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

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

.brand strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.72rem;
  line-height: 1.1;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.site-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-menu {
  position: relative;
  width: 28px;
  height: 28px;
}

.language-trigger {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: rgba(255, 253, 248, 0.72);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-trigger svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-menu.is-open .language-trigger {
  color: var(--paper-strong);
  background: rgba(255, 255, 255, 0.08);
}

.language-trigger:active {
  transform: translateY(1px);
}

.site-header.is-scrolled .language-trigger,
.site-header.is-open .language-trigger {
  color: rgba(18, 16, 15, 0.58);
}

.site-header.is-scrolled .language-trigger:hover,
.site-header.is-scrolled .language-trigger:focus-visible,
.site-header.is-scrolled .language-menu.is-open .language-trigger,
.site-header.is-open .language-trigger:hover,
.site-header.is-open .language-trigger:focus-visible,
.site-header.is-open .language-menu.is-open .language-trigger {
  color: var(--cobalt);
  background: rgba(21, 87, 255, 0.08);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  min-width: 96px;
  margin: 0;
  padding: 4px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(18, 18, 26, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.language-options[hidden] {
  display: none;
}

.language-options button {
  width: 100%;
  padding: 8px 12px;
  color: rgb(148, 163, 184);
  background: transparent;
  border: 0;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.language-options button:hover,
.language-options button:focus-visible {
  color: rgb(241, 245, 249);
  background: rgba(255, 255, 255, 0.06);
}

.language-options button.is-active {
  color: rgb(14, 165, 233);
}

.floating-socials {
  position: fixed;
  right: 12px;
  top: 50%;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.floating-social {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-strong);
  background: rgba(18, 16, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.floating-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.floating-social:hover,
.floating-social:focus-visible {
  color: var(--paper-strong);
  transform: translateX(-3px);
}

.floating-social-linkedin:hover,
.floating-social-linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
}

.floating-social-facebook:hover,
.floating-social-facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
}

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

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  padding: 150px 38px 76px;
  overflow: hidden;
  color: var(--paper-strong);
  background: #17120f;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 16, 15, 0.94) 0%, rgba(18, 16, 15, 0.72) 46%, rgba(18, 16, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 16, 15, 0.72), rgba(18, 16, 15, 0.04) 48%, rgba(18, 16, 15, 0.76));
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-shot {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  filter: saturate(0.95) contrast(1.03);
}

.hero-shot-large {
  right: -3%;
  top: 13%;
  width: 55%;
  height: 48%;
}

.hero-shot-mid {
  right: 12%;
  bottom: 13%;
  width: 36%;
  height: 33%;
}

.hero-shot-small {
  right: 45%;
  bottom: 11%;
  width: 22%;
  height: 28%;
}

.hero-shot-mobile {
  right: 4%;
  bottom: 4%;
  width: 28%;
  height: auto;
  aspect-ratio: 5 / 3;
  background: #15110f;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), rgba(248, 245, 239, 0));
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(760px, 100%);
  align-self: center;
}

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

.hero .eyebrow {
  color: #ffb28f;
}

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

h1,
h2 {
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 4.7rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.2rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--paper-strong);
  background: var(--red);
  box-shadow: 0 16px 44px rgba(227, 72, 45, 0.32);
}

.button-ghost {
  color: var(--paper-strong);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.button-outline {
  border: 1px solid var(--ink);
}

.hero-proof {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(900px, 100%);
  align-self: end;
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  padding: 18px;
  background: rgba(18, 16, 15, 0.42);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 4px;
}

.hero-proof span {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.86rem;
}

.scroll-cue {
  position: absolute;
  right: 36px;
  bottom: 28px;
  z-index: 5;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 18px;
  align-items: center;
  padding: 20px 38px;
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.intro-strip p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.intro-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.section {
  padding: 110px 38px;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid,
.work-grid,
.value-layout,
.process-list,
.contact-section,
.site-footer {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.service-card {
  min-height: 360px;
  padding: 26px;
  background: var(--paper-strong);
  border-radius: var(--radius);
}

.service-index {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 700;
}

.service-card p,
.work-card p,
.value-item p,
.process-step p,
.contact-panel li {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.work-section {
  background: #161311;
  color: var(--paper-strong);
}

.work-section .section-heading p:not(.eyebrow),
.work-card p,
.work-type {
  color: rgba(255, 253, 248, 0.68);
}

.work-section .eyebrow {
  color: #ffb28f;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #211b17;
}

.work-card-featured {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 1.15fr 0.85fr;
}

.work-image {
  display: block;
  min-height: 270px;
  overflow: hidden;
  background: #0c0a09;
}

.work-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 380ms ease, filter 380ms ease;
}

.work-image-preview {
  aspect-ratio: 5 / 3;
  min-height: 0;
  background: #15110f;
}

.work-image-preview img {
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.work-card:hover .work-image img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.work-card:hover .work-image-preview img {
  transform: none;
}

.work-body {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
}

.work-type {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 18px;
}

.tags span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #ffb28f;
  font-weight: 900;
}

.text-link::after {
  content: "->";
  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.value-section {
  background:
    linear-gradient(90deg, rgba(18, 16, 15, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(18, 16, 15, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
}

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

.value-layout .section-heading {
  position: sticky;
  top: 104px;
  margin: 0;
  text-align: left;
}

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

.value-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.84);
}

.value-item span {
  color: var(--cobalt);
  font-weight: 900;
}

.value-item p {
  margin-bottom: 0;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  min-height: 300px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step span {
  display: block;
  margin-bottom: 88px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: stretch;
  padding: 82px 38px;
}

.contact-section::before {
  position: absolute;
  content: "";
}

.contact-content,
.contact-panel {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-strong);
}

.contact-content {
  padding: 48px;
}

.contact-content h2 {
  max-width: 760px;
  color: var(--paper-strong);
}

.contact-content p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 253, 248, 0.72);
}

.contact-panel {
  padding: 34px;
  background: var(--green);
}

.contact-panel span {
  display: block;
  margin-bottom: 22px;
  font-size: 1.12rem;
  font-weight: 900;
}

.contact-panel ul {
  display: grid;
  gap: 14px;
}

.contact-panel li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 253, 248, 0.86);
}

.contact-panel li::before {
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--paper-strong);
  border-radius: 50%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 38px 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  font-weight: 900;
}

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

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

@media (max-width: 1060px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-shot-large {
    right: -22%;
    width: 68%;
  }

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

  .work-grid,
  .value-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .work-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .value-layout .section-heading {
    position: static;
    text-align: center;
    margin-inline: auto;
  }
}

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

  .menu-toggle {
    display: block;
    order: 3;
  }

  .brand {
    margin-right: auto;
  }

  .language-menu {
    order: 2;
  }

  .language-options {
    top: calc(100% + 12px);
  }

  .floating-socials {
    right: 14px;
    top: auto;
    bottom: 14px;
    flex-direction: row;
    transform: none;
  }

  .floating-social {
    width: 42px;
    height: 42px;
  }

  .floating-social:hover,
  .floating-social:focus-visible {
    transform: translateY(-2px);
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

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

  .hero {
    min-height: 92svh;
    padding: 118px 18px 64px;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(18, 16, 15, 0.84) 0%, rgba(18, 16, 15, 0.72) 48%, rgba(18, 16, 15, 0.42) 100%),
      linear-gradient(90deg, rgba(18, 16, 15, 0.84), rgba(18, 16, 15, 0.34));
  }

  .hero-shot-large {
    right: -28%;
    top: 8%;
    width: 92%;
    height: 42%;
  }

  .hero-shot-mid {
    right: 2%;
    bottom: 18%;
    width: 54%;
    height: 25%;
  }

  .hero-shot-small {
    left: 5%;
    right: auto;
    bottom: 16%;
    width: 45%;
    height: 24%;
  }

  .hero-shot-mobile {
    display: none;
  }

  h1 {
    max-width: 9em;
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.1rem;
  }

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

  .hero-proof {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .intro-strip span {
    width: fit-content;
  }

  .section {
    padding: 78px 18px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-index,
  .process-step span {
    margin-bottom: 38px;
  }

  .work-grid {
    gap: 14px;
  }

  .work-body {
    min-height: auto;
  }

  .value-item,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 56px 18px;
  }

  .contact-content,
  .contact-panel {
    padding: 28px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
