:root {
  color-scheme: light;
  --ink: #102349;
  --muted: #435575;
  --blue: #0a38a8;
  --blue-deep: #092b78;
  --blue-light: #edf3ff;
  --line: #d7e1f1;
  --paper: #fff;
  --shell: 1232px;
  --gutter: clamp(1.25rem, 4.2vw, 4rem);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; }
section[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #be5d21; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 7vw, 7rem); }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  inset: .5rem auto auto .5rem;
  padding: .75rem 1rem;
  color: var(--blue);
  background: var(--paper);
}

.site-header { position: relative; background: var(--paper); z-index: 2; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.15rem;
  gap: 2rem;
}
.brand { display: inline-flex; width: fit-content; align-items: center; padding-block: .45rem; }
.brand img { width: 9.9rem; height: auto; }
.site-nav { display: flex; gap: clamp(1.5rem, 3.4vw, 3.25rem); }
.site-nav a, .footer-links a { text-decoration: none; }
.site-nav a { color: var(--muted); font-weight: 600; transition: color .18s ease; }
.site-nav a:hover { color: var(--blue); }
.header-cta { justify-self: end; }
.menu-button { display: none; }
.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .34rem;
  padding: .58rem 1.22rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button-outline { color: var(--blue); border-color: #b6c8e6; }
.button-outline:hover { background: var(--blue-light); border-color: var(--blue); }
.button-white { background: var(--paper); color: var(--blue-deep); }
.button-white:hover { background: #dbe7ff; }
.button-ghost { color: var(--paper); border-color: #aabfee; }
.button-ghost:hover { background: #ffffff1c; border-color: var(--paper); }
.button-blue { background: var(--blue); color: var(--paper); }
.button-blue:hover { background: var(--blue-deep); }

.hero { background: var(--blue); color: var(--paper); }
.hero-inner { max-width: 1750px; margin-inline: auto; display: grid; grid-template-columns: 47% 53%; }
.hero-copy {
  min-height: clamp(30rem, 42.75vw, 42rem);
  align-content: center;
  padding: clamp(3.75rem, 6.8vw, 8rem) clamp(1.3rem, 3.4vw, 3.25rem) clamp(3.75rem, 6.8vw, 8rem) max(var(--gutter), calc((min(100vw, 1750px) - var(--shell)) / 2));
}
.hero h1 {
  margin-inline-start: -.053em;
  font-size: clamp(2.5rem, 4.68vw, 4.8rem);
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: -.065em;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero-copy p { max-width: 24rem; margin-top: 1.45rem; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.85; color: #e0eaff; }
.hero-actions { margin-top: 1.8rem; display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(#d7d5d1, #e3dfdc 20%, #e7e3e0 56%, #e5e3e1 80%, #dbd9da)
    left / 50% 100% no-repeat #dbd7d3;
}
.hero-media img {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-46%);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
}

.section-heading { margin-bottom: 1.9rem; }
.section-heading p { color: var(--muted); margin-top: .6rem; font-size: 1.06rem; }
.frame-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.1vw, 2rem); }
.frame-card { min-width: 0; display: flex; flex-direction: column; }
.frame-media { overflow: hidden; aspect-ratio: 5 / 3; border: 1px solid var(--line); border-radius: .45rem; background: #fff; }
.frame-media img { width: 100%; height: 100%; object-fit: contain; }
.frame-card h3 { margin-top: 1.15rem; }
.frame-card p { color: var(--muted); margin-top: .45rem; }
.support-note { color: var(--muted); font-size: .875rem; margin-top: 1.5rem; }

.service { background: #f2f6fd; padding-block: clamp(3.75rem, 7vw, 6.25rem); }
.service-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2.4rem, 6vw, 6rem); }
.store-gallery { min-width: 0; }
.store-gallery-image {
  overflow: hidden;
  aspect-ratio: 1.5;
  border-radius: .45rem;
  background: #e3eaf5;
}
.store-gallery-image img { width: 100%; height: 100%; object-fit: contain; }
.store-gallery figcaption { margin-top: .6rem; font-weight: 650; }
.carousel-controls, .carousel-navigation {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.carousel-controls { margin-top: .65rem; justify-content: space-between; flex-wrap: wrap; }
.carousel-navigation { margin-inline-start: auto; }
.carousel-controls button {
  min-height: 2.75rem;
  padding: .35rem .7rem;
  border: 1px solid #b8c8e1;
  border-radius: .34rem;
  color: var(--blue-deep);
  background: var(--paper);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.carousel-controls button:hover { border-color: var(--blue); background: var(--blue-light); }
.frame-card .carousel-controls { margin-top: auto; padding-top: .85rem; }
.frame-card .carousel-controls button { padding-inline: .55rem; }
.carousel-position { min-width: 2.5rem; text-align: center; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.service-copy > p { color: var(--muted); margin-top: .75rem; }
.service-copy dl { margin-block: 1.5rem; }
.service-copy dl div { padding-block: .68rem; border-top: 1px solid var(--line); }
.service-copy dl div:last-child { border-bottom: 1px solid var(--line); }
.service-copy dt { font-weight: 700; }
.service-copy dd { color: var(--muted); margin-top: .18rem; }

.stores-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.filters button {
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: .4rem .9rem;
  min-height: 2.75rem;
  color: var(--muted);
  background: var(--paper);
  cursor: pointer;
}
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--blue); border-color: var(--blue); }
.store-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.store-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: .45rem; }
.store-card h3 { font-size: 1.24rem; }
.store-card p { color: var(--muted); margin-top: .45rem; }
.store-card a { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .35rem; color: var(--blue); font-weight: 650; text-underline-offset: .23em; }
.store-card a:hover { color: var(--blue-deep); }

.about {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.1rem, 7vw, 7rem);
}
.about-copy p { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; max-width: 29rem; line-height: 1.85; }
.visit h3 { margin-bottom: .7rem; }
.visit details { border-top: 1px solid var(--line); }
.visit details:last-child { border-bottom: 1px solid var(--line); }
.visit details p { color: var(--muted); padding: 0 2rem 1rem 0; }
.visit summary { position: relative; list-style: none; cursor: pointer; min-height: 2.75rem; padding: .85rem 2rem .85rem 0; font-weight: 650; }
.visit summary::-webkit-details-marker { display: none; }
.visit summary::after { content: "+"; position: absolute; top: .68rem; right: .2rem; color: var(--blue); font-size: 1.3rem; }
.visit details[open] summary::after { content: "−"; }
.visit summary:hover { color: var(--blue); }

.footer { color: #e2ebff; background: var(--blue-deep); }
.footer-inner { padding-block: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer .brand img { width: 8.5rem; filter: brightness(0) invert(1); }
.footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer p { font-size: .9rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 49% 51%; }
  .hero-copy { min-height: 27rem; }
  .service-inner { gap: 2rem; }
}
@media (max-width: 700px) {
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 4.45rem; gap: .55rem; }
  .brand img { width: clamp(6.4rem, 31vw, 8.35rem); }
  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    color: var(--blue-deep);
    background: var(--paper);
    padding: .45rem;
    min-height: 2.75rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 650;
  }
  .menu-button span { width: .9rem; height: .65rem; border-block: 1.5px solid currentColor; position: relative; }
  .menu-button span::after { content: ""; position: absolute; top: calc(50% - .75px); width: 100%; left: 0; border-top: 1.5px solid currentColor; }
  .header-cta { min-height: 2.75rem; font-size: .9375rem; padding-inline: .62rem; white-space: nowrap; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: .3rem var(--gutter) .85rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .menu-button[aria-expanded="true"] + .site-nav { display: grid; gap: 0; }
  .site-nav a { padding-block: .7rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; padding: 2.8rem var(--gutter) 2.65rem; }
  .hero h1 { font-size: clamp(2.25rem, 8.65vw, 3.8rem); }
  .hero-copy p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-media { aspect-ratio: 1.39; }
  .frame-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .frame-card h3 { margin-top: .82rem; }
  .service-inner { grid-template-columns: 1fr; }
  .service-copy { grid-row: 1; }
  .stores-heading { display: block; }
  .filters { margin-top: 1.1rem; }
  .store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .store-list { grid-template-columns: 1fr; gap: .7rem; }
  .store-card { padding-block: .95rem; }
  .store-card a { margin-top: .16rem; }
  .footer-inner { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
