:root {
  color-scheme: light;
  --paper: #fcfbfa;
  --wash: #f1edf0;
  --ink: #28242a;
  --muted: #625a63;
  --accent: #5d3e58;
  --dark-accent: #432740;
  --line: #dcd4da;
  --content: 72.5rem;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.75;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 4.75rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 600; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: white; }
.wrap { width: min(var(--content), calc(100% - 5rem)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  padding: .65rem 1rem;
  background: var(--paper);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark { font-size: 1.25rem; font-weight: 650; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; column-gap: clamp(.875rem, 3.2vw, 2.5rem); }
nav a { color: var(--muted); font-size: .9rem; padding: .55rem 0; }
nav a:hover, nav a:focus-visible { color: var(--dark-accent); text-decoration: underline; text-underline-offset: .36em; }

.hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.7vw, 4.5rem);
}
.hero h1 { font-size: clamp(3.85rem, 7vw, 6rem); line-height: 1.14; letter-spacing: .025em; }
.hero-role {
  width: fit-content;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.hero-intro { max-width: 27em; margin-top: 1.2rem; color: var(--muted); font-size: 1.125rem; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.6rem; margin-top: 1.9rem; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .55rem 1.2rem;
  font-size: .94rem;
}
.action-primary { background: var(--accent); color: white; }
.action-primary:hover { background: var(--dark-accent); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: .32em; font-size: .94rem; }
.inline-link:hover { color: var(--dark-accent); }
.image-link { display: block; overflow: hidden; background: #e9e3e8; cursor: zoom-in; }
.image-link img { transition: transform .25s ease; }
.image-link:hover img { transform: scale(1.02); }
.hero-image { width: 100%; max-width: 27rem; aspect-ratio: 4 / 5; justify-self: end; }
.hero-image img { height: 100%; object-fit: cover; object-position: 50% 43%; }

.section { padding-block: clamp(3.4rem, 6vw, 5.3rem); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.25rem; margin-bottom: 1.75rem; }
h2 { font-size: clamp(1.7rem, 2.65vw, 2.2rem); }
.section-heading h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.section-heading p, figcaption { color: var(--muted); font-size: .9375rem; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.account { min-width: 0; padding: 1.55rem 2rem 1.65rem 0; }
.account + .account { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--line); }
.account-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; align-items: baseline; }
.account-heading h3 { font-size: 1.2rem; }
.account-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.account-metrics div { display: flex; flex-direction: column; }
.account-metrics dt { margin-top: .3rem; color: var(--muted); font-size: .9rem; }
.account-metrics dd {
  order: -1;
  color: var(--accent);
  font-size: clamp(1.9rem, 3.65vw, 3.2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.account-metrics dd span { margin-left: .18em; font-size: .42em; letter-spacing: 0; }

.case-section { background: var(--wash); border-block: 1px solid var(--line); }
.case { border-top: 1px solid var(--line); padding-top: 1.65rem; }
.case-copy { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 2rem; align-items: center; }
.brand-name { color: var(--accent); font-weight: 650; font-size: .92rem; letter-spacing: .095em; }
.case-copy h3 { grid-column: 1; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.case-meta { grid-column: 2; grid-row: 1 / span 2; justify-self: end; color: var(--ink); font-size: .95rem; }
.case-meta div { display: grid; grid-template-columns: auto 1fr; gap: .9rem; }
.case-meta dt { color: var(--muted); }
.case-copy > p:last-child { grid-column: 1 / -1; margin-top: .65rem; color: var(--muted); }
.case-images, .photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.35rem); }
.case-images { margin-top: 1.45rem; }
.case-photo img { height: auto; }

.fan-section { margin-top: clamp(2.7rem, 5vw, 4.35rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.fan-section .section-heading { margin-bottom: 1.3rem; }
.fan-grid, .video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.8vw, 1.35rem); }
.fan-image { aspect-ratio: 3 / 2; }
.fan-image img { height: 100%; object-fit: cover; object-position: 50% 37%; }
.fan-post:nth-child(2) img { object-position: 50% 47%; }
.fan-post:nth-child(3) img { object-position: 50% 30%; }
.fan-post figcaption { padding-top: .75rem; }
.fan-post h4 { color: var(--ink); font-size: 1rem; }
.fan-post p { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin-top: .25rem; }
.fan-post strong { color: var(--accent); font-size: 1.06rem; font-weight: 650; }

.video-grid figure { min-width: 0; }
.video-grid video { aspect-ratio: 9 / 16; object-fit: contain; background: #242025; }
.video-grid figcaption, .group-photo figcaption { margin-top: .6rem; }
.group-photo { margin-top: clamp(2.1rem, 4vw, 3.4rem); }
.group-photo img { height: auto; }
.photo-section { background: var(--wash); border-top: 1px solid var(--line); }
.photo-grid { max-width: 60rem; margin-inline: auto; }
.life-photo { aspect-ratio: 4 / 5; }
.life-photo img { height: 100%; object-fit: cover; object-position: 50% 42%; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5.2rem; }

body:has(.lightbox[open]) { overflow: hidden; }
.lightbox {
  width: min(70rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: .9rem 1rem;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop { background: rgb(35 25 36 / .9); }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: min(72dvh, 46rem); object-fit: contain; margin: .75rem auto; }
.lightbox-header, .lightbox-nav { display: flex; justify-content: space-between; align-items: center; gap: .65rem; font-size: .88rem; }
.lightbox-nav p { flex: 1; text-align: center; }
.lightbox button { border: 1px solid var(--line); min-height: 2.75rem; padding: .3rem .65rem; background: var(--paper); color: var(--accent); white-space: nowrap; cursor: pointer; }
.lightbox button:hover { background: var(--wash); }

@media (max-width: 55rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-layout { gap: 2rem; }
  .account { padding-right: 1rem; }
  .account + .account { padding-left: 1rem; }
}
@media (max-width: 42rem) {
  html { scroll-padding-top: 6.25rem; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; align-items: start; flex-direction: column; gap: 0; padding-top: .55rem; }
  nav { width: 100%; justify-content: space-between; column-gap: .65rem; }
  nav a { font-size: .875rem; padding: .45rem 0 .6rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.55rem; padding-block: 2.3rem 1.7rem; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 4.5rem); }
  .hero-role { font-size: 1.1rem; margin-top: .6rem; }
  .hero-intro { margin-top: .65rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-image { justify-self: start; max-width: none; aspect-ratio: 4 / 4.6; }
  .section-heading { margin-bottom: 1.1rem; }
  .account-grid { grid-template-columns: 1fr; }
  .account, .account + .account { padding: 1rem 0 1.15rem; border-left: 0; }
  .account + .account { border-top: 1px solid var(--line); }
  .account-metrics { margin-top: .65rem; }
  .account-metrics dd { font-size: 2.2rem; }
  .case-copy { display: block; }
  .case-meta { margin-top: .75rem; }
  .case-images { grid-template-columns: 1fr; margin-top: 1rem; }
  .fan-grid { grid-template-columns: 1fr; }
  .fan-post { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1fr); gap: .85rem; align-items: center; }
  .fan-post figcaption { padding-top: 0; }
  .fan-post p { display: grid; gap: .05rem; }
  .video-grid { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; }
  .video-grid figure { width: min(100%, 22rem); }
  .lightbox { padding: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .image-link img { transition: none; }
}
