:root {
  --ink: #201b19;
  --paper: #f4efe6;
  --paper-2: #ebe1d2;
  --cream: #fffaf1;
  --wine: #8f2638;
  --wine-dark: #661824;
  --blue: #b8d9e8;
  --line: rgba(32, 27, 25, 0.18);
  --shadow: 0 24px 70px rgba(52, 34, 26, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 9%, rgba(184, 217, 232, 0.28), transparent 24rem),
    var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 99;
  padding: .7rem 1rem; background: var(--ink); color: white; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 17px;
  background: rgba(255, 250, 241, .78);
  box-shadow: 0 8px 30px rgba(52,34,26,.07);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, "Songti SC", serif; font-size: 1.25rem; letter-spacing: .18em; }
.brand small { margin-top: 5px; font-size: .55rem; letter-spacing: .18em; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: .85rem; }
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px;
  background: var(--wine); transition: right .2s ease;
}
.site-header nav a:hover::after { right: 0; }
.header-cta {
  padding: 11px 19px; color: white; background: var(--wine); border-radius: 999px;
  font-size: .83rem; box-shadow: 0 7px 18px rgba(143,38,56,.2);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 660px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 34px 0 54px;
}
.eyebrow, .kicker { margin: 0 0 18px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--wine); }
.eyebrow span { width: 38px; height: 1px; background: var(--wine); }
.hero h1 {
  max-width: 580px;
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(3.2rem, 6vw, 5.45rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.055em;
}
.hero h1 em { display: inline-block; color: var(--wine); font-style: italic; white-space: nowrap; }
.hero-lead { max-width: 560px; margin: 28px 0 0; color: #625853; font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-width: 138px; padding: 14px 19px; display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: .86rem; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 8px 22px rgba(32,27,25,.16); }
.button-ghost { background: rgba(255,255,255,.25); }
.hero-trust { display: flex; gap: 0; margin-top: 48px; }
.hero-trust div { min-width: 112px; padding: 0 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.hero-trust div:first-child { padding-left: 0; border-left: 0; }
.hero-trust strong { font-family: Georgia, serif; font-size: 1.35rem; }
.hero-trust span { color: #746a65; font-size: .7rem; }
.hero-visual { position: relative; padding: 18px 18px 38px 0; }
.hero-photo-wrap { position: relative; transform: rotate(1.6deg); }
.hero-photo-wrap::before {
  content: ""; position: absolute; inset: 15px -16px -15px 16px; z-index: -1;
  background: var(--blue); border: 1px solid rgba(32,27,25,.14); border-radius: 46% 54% 51% 49% / 56% 43% 57% 44%;
}
.hero-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
  border: 8px solid var(--cream); border-radius: 48% 52% 45% 55% / 52% 42% 58% 48%;
  box-shadow: var(--shadow);
}
.hero-photo.hero-logo {
  object-fit: contain;
  padding: clamp(20px, 5vw, 56px);
  background: #fff;
}
.photo-stamp {
  position: absolute; right: -12px; top: -24px; width: 88px; height: 88px;
  display: grid; place-items: center; text-align: center; color: white; background: var(--wine);
  border-radius: 50%; border: 2px dashed rgba(255,255,255,.7); outline: 6px solid var(--wine);
  font: 700 .57rem/1.45 Georgia, serif; letter-spacing: .14em; transform: rotate(9deg);
}
.hero-note {
  position: absolute; right: -3px; bottom: 0; padding: 12px 18px;
  background: var(--cream); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(32,27,25,.12);
  font: .76rem/1.55 Georgia, "Songti SC", serif; transform: rotate(-3deg);
}
.hero-note span { margin-right: 8px; color: var(--wine); font-size: .66rem; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--wine); color: white; }
.ticker p { width: max-content; min-width: 100%; margin: 0; padding: 13px 2rem; text-align: center; font: .76rem/1.4 Georgia, serif; letter-spacing: .12em; white-space: nowrap; }
.ticker i { margin: 0 22px; color: #edc8b6; font-style: normal; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 80px; margin-bottom: 42px; }
.section-heading h2, .gallery-copy h2, .keepsake h2, .contact h2 {
  margin: 0; font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 500; line-height: 1.15; letter-spacing: -.045em;
}
.section-heading > p { margin: 0; color: #706660; font-size: .9rem; line-height: 1.8; }
.kicker { color: var(--wine); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 310px; padding: 25px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 170px; height: 170px; border: 1px solid currentColor; opacity: .12; border-radius: 50%; }
.feature-card-dark { color: white; background: var(--ink); }
.feature-card-blue { background: var(--blue); }
.feature-card-cream { background: var(--cream); }
.feature-no { position: absolute; right: 22px; top: 22px; font: italic .8rem Georgia, serif; opacity: .65; }
.feature-icon { width: 64px; height: 64px; margin-bottom: 52px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 1.7rem Georgia, serif; }
.feature-card h3 { margin: 0 0 12px; font: 500 1.25rem/1.3 Georgia, "Songti SC", serif; }
.feature-card p { max-width: 290px; margin: 0; opacity: .7; font-size: .82rem; line-height: 1.75; }

.gallery-section { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(36px, 7vw, 92px); border-top: 1px solid var(--line); }
.gallery-copy { align-self: start; position: sticky; top: 40px; }
.gallery-copy > p:not(.kicker) { margin: 20px 0 28px; color: #716761; font-size: .86rem; line-height: 1.75; }
.category-tabs { display: grid; gap: 3px; }
.category-tabs button {
  width: 100%; padding: 15px 3px; display: flex; justify-content: space-between;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left;
  font-size: .9rem; transition: color .2s ease, padding .2s ease;
}
.category-tabs button span { color: #8c827c; font: .7rem Georgia, serif; }
.category-tabs button[aria-selected="true"] { padding-left: 12px; color: var(--wine); font-weight: 700; border-bottom-color: var(--wine); }
.category-tabs button[aria-selected="true"]::before { content: "•"; margin-left: -12px; }
.gallery-frame { padding: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.gallery-image-shell { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #ded4c8; border-radius: 17px; cursor: grab; outline: none; }
.gallery-image-shell:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gallery-image-shell:active { cursor: grabbing; }
.gallery-image-shell img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease, transform .45s ease; user-select: none; -webkit-user-drag: none; }
.gallery-image-shell img.is-changing { opacity: .1; transform: scale(.985); }
.gallery-image-shell:hover img { transform: scale(1.015); }
.gallery-badge { position: absolute; left: 14px; top: 14px; padding: 7px 11px; color: white; background: rgba(32,27,25,.74); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; backdrop-filter: blur(8px); font-size: .68rem; }
.expand-button { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; color: white; background: rgba(32,27,25,.66); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; }
.gallery-meta { min-height: 86px; padding: 17px 6px 6px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-meta p { margin: 0 0 6px; font: 500 1rem/1.3 Georgia, "Songti SC", serif; }
.gallery-meta span { color: #786f69; font-size: .7rem; }
.gallery-controls { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.gallery-controls button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; transition: color .2s ease, background .2s ease; }
.gallery-controls button:hover { color: white; background: var(--wine); }
.gallery-count { min-width: 56px; margin-right: 7px; font: .67rem Georgia, serif; }
.gallery-count b { color: var(--wine); font-size: 1.05rem; }
.gallery-progress { height: 2px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: #e2d9ce; }
.gallery-progress span { display: block; width: 20%; height: 100%; background: var(--wine); transition: width .35s ease; }

.keepsake { padding-top: 40px; }
.keepsake-card { padding: clamp(30px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: clamp(28px, 6vw, 72px); color: white; background: var(--wine); border-radius: 30px; box-shadow: 0 26px 60px rgba(111,24,38,.2); }
.keepsake .kicker { color: #efc7ce; }
.keepsake-rule { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.keepsake-items { display: grid; gap: 28px; }
.keepsake-items article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.keepsake-items strong { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font: italic 1.1rem Georgia, serif; }
.keepsake-items h3 { margin: 1px 0 7px; font: 500 1rem Georgia, "Songti SC", serif; }
.keepsake-items p { margin: 0; color: rgba(255,255,255,.68); font-size: .79rem; line-height: 1.7; }

.section-heading.compact { display: block; margin-bottom: 38px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 108px; padding: 24px 8px; display: grid; grid-template-columns: 72px 1fr; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.process-list li:hover { padding-inline: 20px; background: rgba(255,255,255,.25); }
.process-list > li > span { color: var(--wine); font: italic .78rem Georgia, serif; }
.process-list div { display: grid; grid-template-columns: minmax(180px, .5fr) 1fr; align-items: center; gap: 36px; }
.process-list h3 { margin: 0; font: 500 1.2rem Georgia, "Songti SC", serif; }
.process-list p { margin: 0; color: #6e645f; font-size: .82rem; line-height: 1.7; }

.contact { padding-top: 20px; }
.contact-card { min-height: 380px; padding: clamp(34px, 6vw, 76px); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; position: relative; overflow: hidden; background: var(--blue); border: 1px solid var(--line); border-radius: 30px; }
.contact-card .kicker { color: #4f6871; }
.contact-action { display: grid; justify-items: start; position: relative; z-index: 1; }
.contact-action > span { margin-bottom: 8px; color: #586a70; font-size: .72rem; }
.contact-action strong { margin-bottom: 22px; font: 500 clamp(1.5rem, 3vw, 2.3rem) Georgia, serif; letter-spacing: .02em; }
.copy-button { min-width: 180px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 30px; color: white; background: var(--ink); border: 0; border-radius: 999px; cursor: pointer; }
.contact-action p { margin: 13px 0 0; color: #5f737a; font-size: .68rem; }
.contact-mark { position: absolute; right: -20px; bottom: -100px; color: rgba(255,255,255,.32); font: 13rem Georgia, "STSong", serif; transform: rotate(-10deg); }

footer { width: min(1180px, calc(100% - 40px)); min-height: 150px; margin: 0 auto; padding: 35px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; color: #756a64; border-top: 1px solid var(--line); font-size: .7rem; }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 44px; height: 44px; }
.mobile-contact { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; padding: 11px 16px; color: white; background: var(--ink); border-radius: 999px; box-shadow: var(--shadow); font-size: .78rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.lightbox { width: min(1000px, calc(100% - 34px)); padding: 12px; border: 0; border-radius: 20px; background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(20,16,14,.8); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; background: #ded5cb; }
.lightbox p { margin: 11px 8px 2px; font: .86rem Georgia, "Songti SC", serif; }
.lightbox button { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; z-index: 2; color: white; background: rgba(20,16,14,.65); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; font-size: 1.3rem; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(680px, 94%); margin: 22px auto 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { max-width: 580px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-icon { margin-bottom: 34px; }
  .gallery-section { grid-template-columns: 1fr; }
  .gallery-copy { position: static; }
  .category-tabs { grid-template-columns: repeat(4, 1fr); gap: 8px; overflow-x: auto; }
  .category-tabs button { min-width: 120px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 999px; }
  .category-tabs button[aria-selected="true"] { padding-left: 12px; color: white; background: var(--wine); }
  .category-tabs button[aria-selected="true"]::before { display: none; }
  .category-tabs button[aria-selected="true"] span { color: rgba(255,255,255,.7); }
  .keepsake-card { grid-template-columns: 1fr; }
  .keepsake-rule { width: 100%; height: 1px; }
  .contact-card { grid-template-columns: 1fr; gap: 35px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:nth-child(2) { display: none; }
  footer > p:last-child { text-align: right; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 24px); height: 66px; margin-top: 8px; }
  .brand img { width: 42px; height: 42px; }
  .header-cta { padding: 9px 14px; }
  .hero, .section, footer { width: calc(100% - 28px); }
  .hero { margin-top: 0; padding: 50px 0 42px; }
  .hero h1 { font-size: clamp(2.95rem, 14vw, 4.4rem); }
  .hero-lead { font-size: .88rem; }
  .hero-trust { margin-top: 36px; }
  .hero-trust div { min-width: 0; flex: 1; padding: 0 12px; }
  .hero-trust strong { font-size: 1.08rem; }
  .hero-trust span { font-size: .62rem; }
  .hero-visual { width: 95%; padding-right: 5px; }
  .photo-stamp { width: 72px; height: 72px; right: -6px; top: -18px; }
  .hero-note { right: -5px; }
  .ticker p { text-align: left; animation: marquee 18s linear infinite; }
  .section { padding: 78px 0; }
  .section-heading h2, .gallery-copy h2, .keepsake h2, .contact h2 { font-size: 2.2rem; }
  .gallery-section { gap: 30px; }
  .category-tabs { margin-right: -14px; padding-right: 14px; }
  .gallery-frame { padding: 8px; border-radius: 18px; }
  .gallery-image-shell { aspect-ratio: 4 / 5; border-radius: 12px; }
  .gallery-image-shell img { object-position: center; }
  .gallery-meta { min-height: 112px; padding: 14px 5px 7px; align-items: flex-start; }
  .gallery-meta > div:first-child { max-width: 55%; }
  .gallery-controls { align-self: flex-end; }
  .gallery-count { display: none; }
  .keepsake { padding-top: 15px; }
  .keepsake-card, .contact-card { border-radius: 22px; }
  .process-list li { grid-template-columns: 42px 1fr; }
  .process-list div { grid-template-columns: 1fr; gap: 8px; }
  .contact { padding-top: 0; }
  .contact-mark { font-size: 10rem; }
  footer { margin-bottom: 68px; }
  .mobile-contact { display: block; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 20; padding: 13px 16px; color: white; background: var(--wine); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; box-shadow: 0 12px 32px rgba(88,20,32,.3); text-align: center; font-size: .8rem; }
  .toast { bottom: 76px; }
}

@keyframes marquee { to { transform: translateX(-48%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
