:root {
  --ink: #202522;
  --muted: #626a65;
  --paper: #ffffff;
  --soft: #f3f5f2;
  --line: #d9ded9;
  --red: #b92f28;
  --red-dark: #8d211c;
  --green: #286f54;
  --gold: #c9962f;
  --header-height: 72px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 37, 34, 0.12);
  background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(31, 35, 32, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 28px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: 50% 46%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand strong {
  font-size: 18px;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

.site-nav a {
  position: relative;
  padding: 23px 0 20px;
  color: #343a36;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

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

.header-phone {
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 560px;
  height: min(720px, calc(100svh - 112px));
  color: var(--paper);
  background-image: url("assets/storefront.jpg");
  background-position: center 52%;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 20, 18, 0.5);
  content: "";
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #f4c55c;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.16;
  font-weight: 900;
  text-wrap: balance;
}

.hero-lead {
  margin: 16px 0 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
}

.hero-description {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-actions,
.mini-program-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-ghost,
.button-outline-light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-outline-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-outline-dark {
  color: var(--ink);
  border-color: var(--ink);
}

.metrics {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-grid div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.metrics-grid div:first-child {
  border-left: 1px solid var(--line);
}

.metrics-grid strong {
  color: var(--red-dark);
  font-size: 28px;
  line-height: 1.2;
}

.metrics-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.mini-program-copy h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.28;
  font-weight: 850;
  text-wrap: balance;
}

.section-heading > p:last-child,
.mini-program-copy > p:last-of-type {
  margin: 16px 0 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: center;
  gap: 84px;
}

.section-lead {
  margin: 24px 0 0;
  color: #343b36;
  font-size: 20px;
  line-height: 1.8;
}

.about-copy > p:last-of-type {
  margin: 16px 0 0;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles dt {
  color: var(--green);
  font-size: 18px;
  font-weight: 850;
}

.principles dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.mascot-figure {
  margin: 0;
  text-align: center;
}

.mascot-figure img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.mascot-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.business-section {
  color: var(--paper);
  background: var(--ink);
}

.section-heading-light .eyebrow {
  color: #f4c55c;
}

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

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.business-grid li {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.business-grid span {
  color: #f4c55c;
  font-size: 13px;
  font-weight: 800;
}

.business-grid h3 {
  margin: 28px 0 0;
  font-size: 24px;
  line-height: 1.3;
}

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

.capability-grid article {
  min-height: 210px;
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid span {
  color: var(--green);
  font-size: 20px;
  font-weight: 850;
}

.capability-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline-section {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--red);
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 32px 24px 0 0;
}

.timeline li::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--soft);
  content: "";
}

.timeline time {
  color: var(--red-dark);
  font-size: 22px;
  font-weight: 900;
}

.timeline h3 {
  margin: 10px 0 0;
  font-size: 17px;
}

.timeline p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.brand-board {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.brand-board img {
  width: 100%;
  height: auto;
}

.customers-section {
  background: var(--soft);
}

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

.customer-shot {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background-image: url("assets/customer-partners.jpg");
  background-repeat: no-repeat;
  background-size: 700% 300%;
  box-shadow: inset 0 0 0 1px rgba(32, 37, 34, 0.08);
}

.shot-1 { background-position: 16.666% 0; }
.shot-2 { background-position: 66.666% 0; }
.shot-3 { background-position: 16.666% 50%; }
.shot-4 { background-position: 33.333% 50%; }
.shot-5 { background-position: 83.333% 50%; }
.shot-6 { background-position: 100% 50%; }

.mini-program-section {
  color: var(--paper);
  background: #25352e;
}

.mini-program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 96px;
}

.mini-program-copy .eyebrow {
  color: #f4c55c;
}

.mini-program-copy > p:last-of-type {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.qr-figure {
  margin: 0;
  padding: 22px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
}

.qr-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.qr-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px 80px;
}

.contact-layout .section-heading {
  grid-row: span 2;
  margin-bottom: 0;
}

.contact-details {
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-details div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  color: var(--muted);
  font-size: 14px;
}

.contact-details strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-actions {
  margin-top: 0;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #181c1a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: var(--paper);
  font-size: 15px;
}

.footer-inner span,
.footer-inner a {
  font-size: 12px;
}

.footer-legal {
  align-items: flex-end;
}

.footer-legal a:hover {
  color: var(--paper);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1020px) {
  .site-nav {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

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

  .about-layout {
    gap: 48px;
  }

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

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 0;
    border-top: 0;
  }

  .timeline li {
    padding-top: 22px;
    border-top: 3px solid var(--red);
  }

  .timeline li::before {
    top: -9px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

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

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 32px rgba(31, 35, 32, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

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

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  .hero {
    min-height: 500px;
    height: min(680px, calc(100svh - 96px));
    background-position: 58% 50%;
  }

  .hero-inner {
    padding-bottom: 42px;
  }

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

  .hero-lead {
    font-size: 23px;
  }

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

  .metrics-grid div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .metrics-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .mini-program-copy h2 {
    font-size: 32px;
  }

  .about-layout,
  .mini-program-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 44px;
  }

  .mascot-figure img {
    max-height: 300px;
  }

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

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

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

  .mini-program-layout {
    gap: 48px;
  }

  .qr-figure {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .contact-layout .section-heading {
    grid-row: auto;
  }

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

  .footer-legal {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: 460px;
    height: min(620px, calc(100svh - 92px));
    background-position: 59% 52%;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.24;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 136px;
  }

  .metrics-grid div {
    min-height: 98px;
    padding: 18px;
  }

  .metrics-grid strong {
    font-size: 22px;
  }

  .section {
    padding: 60px 0;
  }

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

  .section-heading h2,
  .about-copy h2,
  .mini-program-copy h2 {
    font-size: 28px;
  }

  .section-lead {
    font-size: 17px;
  }

  .principles,
  .business-grid,
  .capability-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .business-grid li {
    min-height: 108px;
    padding: 22px;
  }

  .business-grid h3 {
    margin-top: 14px;
    font-size: 21px;
  }

  .capability-grid article {
    min-height: 0;
    padding: 24px 22px;
  }

  .timeline {
    gap: 28px;
  }

  .customer-gallery {
    gap: 8px;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-actions .button,
  .mini-program-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
