/* Wild Spirit Florist 概念 demo
   颜色：象牙白底、苔藓绿（店方作品里大量的绿叶）、圣诞丝绒紫（工作坊海报上的丝绒缎带）、玫瑰粉作点缀。
   主角是工作坊区的“文字花环”：一圈今年真实花材的名字，中间是选中的场次。 */
@font-face { font-family: "Young Serif"; src: url(../fonts/young-serif-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(../fonts/albert-sans-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Albert Sans"; font-style: italic; src: url(../fonts/albert-sans-latin-wght-italic.woff2) format("woff2-variations"); font-weight: 300 800; font-display: swap; }

:root {
  --ivory: #fbf9f4;
  --paper: #f3efe6;
  --moss: #2b3626;
  --moss-2: #3c4a35;
  --sage: #8c9c80;
  --plum: #4a2a41;
  --plum-2: #5d3753;
  --rose: #d8b4c4;
  --gold: #c58a3a;
  --soft: #5d6559;
  --line: #ddd6c8;
  --display: "Young Serif", Georgia, serif;
  --text: "Albert Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.js:not(.ready) body { visibility: hidden; }
body { margin: 0; background: var(--ivory); color: var(--moss); font: 400 1.0625rem/1.65 var(--text); }
:lang(zh-CN) body, :lang(ja) body, :lang(ko) body { line-height: 1.8; }
h1, h2, h3, p, dl, dd, ol, ul, figure, fieldset { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
:lang(zh-CN) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3) { font-family: var(--text); font-weight: 700; letter-spacing: 0; }
:lang(ja) :is(h1, h2) { word-break: auto-phrase; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--moss); color: #fff; padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }
.muted { color: var(--soft); font-size: 0.9375rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 1.125rem; border: 0; border-radius: 999px; background: var(--moss); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s ease; }
.btn:hover { background: #1d2519; }
.btn-ghost { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(43, 54, 38, .07); }
.link-strong { font-weight: 700; }

/* 概念声明条 */
.concept-bar { margin: 0; padding: 0.375rem var(--gutter); background: var(--paper); color: var(--soft); font-size: 0.8125rem; text-align: center; }

/* 顶栏 */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem var(--gutter); position: relative; z-index: 20; }
.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 0.375rem; white-space: nowrap; }
.wordmark .w1 { font: 400 1.5rem/1 var(--display); }
.wordmark .w2 { font: italic 500 1rem/1 var(--text); color: var(--sage); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links, .lang-switch { list-style: none; display: flex; gap: 1.25rem; }
.nav-links a { text-decoration: none; font-size: 0.9375rem; padding: 0.25rem 0; }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--sage); }
.lang-switch { gap: 0.125rem; }
.lang-switch a { display: inline-block; text-decoration: none; font-size: 0.8125rem; padding: 0.25rem 0.5rem; border-radius: 999px; }
.lang-switch a[aria-current="true"] { background: var(--moss); color: #fff; }
.menu-btn { display: none; }
@media (max-width: 62rem) {
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
  .menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--moss); transition: transform .25s ease; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.25rem var(--gutter) 1.75rem; background: var(--ivory); box-shadow: 0 16px 30px rgba(43, 54, 38, .14); }
  .menu-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; gap: 0.75rem; }
  .nav-links a { font-size: 1.125rem; }
}

/* 首屏：叶片形状的真实照片 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); grid-template-areas: "copy img" "credit img"; gap: 0 clamp(1.5rem, 4vw, 4rem); padding: clamp(1rem, 3vw, 2.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); max-width: 84rem; margin-inline: auto; align-items: center; }
.hero-img { grid-area: img; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 9rem 0 9rem; }
.hero-copy { grid-area: copy; }
.kicker { font-size: 0.875rem; font-weight: 600; color: var(--sage); }
.hero h1 { margin-top: 0.75rem; font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.04; }
:lang(zh-CN) .hero h1, :lang(ja) .hero h1, :lang(ko) .hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.25; }
.hero .lede { margin-top: 1.125rem; max-width: 32rem; color: var(--soft); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.75rem; }
.btn-light { background: var(--plum); }
.btn-light:hover { background: #351d2f; }
.btn-ghost-light { background: none; color: var(--moss); box-shadow: inset 0 0 0 1.5px var(--moss); }
.hero-credit { grid-area: credit; align-self: end; font-size: 0.8125rem; color: var(--soft); }

/* 工作坊：丝绒紫 */
.ws { background: var(--plum); color: #f6eef2; padding: clamp(3rem, 6vw, 5rem) 0; scroll-margin-top: 0; }
.ws-head h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.1; color: #fff; }
.ws-head p { margin-top: 0.75rem; max-width: 46rem; color: #e3d2db; }
.ws-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; align-items: start; }
.ring { position: sticky; top: 1.5rem; aspect-ratio: 1; max-width: 30rem; width: 100%; justify-self: center; }
.ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ring-o { fill: none; stroke: var(--rose); stroke-width: 1; opacity: .45; }
.ring-i { fill: var(--plum-2); stroke: var(--rose); stroke-width: 1; opacity: .9; }
.ring-text { fill: #f1e2ea; font: 500 13px/1 var(--text); }
.rev .ring-text { fill: var(--rose); }
.ring-spin { transform-origin: 200px 200px; animation: spin 160s linear infinite; }
.ring-spin.rev { animation-direction: reverse; animation-duration: 200s; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.rc-day { font: 400 clamp(4rem, 9vw, 6.5rem)/0.95 var(--display); color: #fff; }
.rc-month { font-size: 1.125rem; font-weight: 600; text-transform: none; color: var(--rose); }
.rc-time { margin-top: 0.25rem; font-size: 0.9375rem; color: #e9dae2; }
.rc-status { margin-top: 0.625rem; padding: 0.125rem 0.75rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: var(--rose); color: var(--plum); }
.ring.st-full .rc-status { background: #8c7884; color: #fff; }
.ring.st-full .ring-text { opacity: .55; }
.ring-cap { position: absolute; left: 0; right: 0; bottom: -1.75rem; text-align: center; font-size: 0.8125rem; color: #cdb6c2; }
.step-h { font-weight: 700; margin-bottom: 0.625rem; }
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
.date { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "dn dm" "dn dt" "dv dv" "ds ds"; gap: 0 0.75rem; align-items: center; text-align: left; padding: 0.75rem 0.875rem; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 1rem; background: none; color: inherit; font: inherit; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.date:hover { border-color: #fff; }
.date .dn { grid-area: dn; font: 400 2.25rem/1 var(--display); }
.date .dm { grid-area: dm; font-weight: 700; font-size: 0.9375rem; }
.date .dt { grid-area: dt; font-size: 0.875rem; opacity: .85; }
.date .dv { grid-area: dv; margin-top: 0.375rem; font-size: 0.8125rem; opacity: .85; }
.date .ds { grid-area: ds; justify-self: start; margin-top: 0.375rem; padding: 0 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgba(216, 180, 196, .22); }
.date.st-full .ds { background: rgba(255, 255, 255, .12); }
.date.st-full .dn { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .6; }
.date[aria-checked="true"] { background: var(--ivory); color: var(--plum); border-color: var(--ivory); }
.date[aria-checked="true"] .ds { background: var(--rose); color: var(--plum); }
.detail, .composer { margin-top: 1rem; padding: 1.125rem 1.25rem; border-radius: 1.25rem; background: var(--ivory); color: var(--moss); }
.d-date { font: 400 1.5rem/1.2 var(--display); }
:lang(zh-CN) .d-date, :lang(ja) .d-date, :lang(ko) .d-date { font: 700 1.25rem/1.4 var(--text); }
.d-time { font-weight: 600; margin-top: 0.125rem; }
.d-venue { margin-top: 0.5rem; font-size: 0.9375rem; }
.d-status { margin-top: 0.625rem; font-size: 0.9375rem; color: var(--soft); }
.badge { display: inline-block; padding: 0 0.625rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: var(--rose); color: var(--plum); }
.badge.st-full { background: #e6dde2; color: #6b5562; }
.d-price { margin-top: 0.875rem; font: 400 1.375rem/1.2 var(--display); color: var(--plum); }
:lang(zh-CN) .d-price, :lang(ja) .d-price, :lang(ko) .d-price { font: 700 1.25rem/1.4 var(--text); }
.d-facts { list-style: none; margin-top: 0.5rem; display: grid; gap: 0.375rem; font-size: 0.9375rem; }
.d-facts li { padding-left: 1.125rem; position: relative; }
.d-facts li::before { content: ""; position: absolute; left: 0.125rem; top: 0.6em; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--sage); }
.d-how { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--plum); }
.composer h3 { font-size: 1.25rem; }
.c-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem 1rem; margin-top: 0.75rem; align-items: end; }
.c-row label, .c-preview { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.stepper button { width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--moss); border-radius: 50%; }
.stepper output { min-width: 2rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
input[type=text], input[type=date], textarea { width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1.5px solid var(--line); border-radius: 0.75rem; background: #fff; color: var(--moss); font: inherit; font-weight: 400; }
textarea { resize: vertical; font-size: 0.9375rem; line-height: 1.5; background: var(--paper); }
.c-preview { margin-top: 0.875rem; }
.c-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.c-copied { min-height: 1.25rem; margin-top: 0.375rem; font-size: 0.875rem; font-weight: 700; color: var(--moss-2); }
.c-note { font-size: 0.8125rem; color: var(--soft); }
.asof { margin-top: 0.875rem; font-size: 0.8125rem; color: #d6c3cd; }
.asof a { color: #fff; }

/* 首页婚礼预览 */
.wt { padding: clamp(3rem, 6vw, 5rem) 0; }
.wt h2, .page-head h1, .q-grid h2, .about h1, .demo h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.1; }
.wt-lede { margin-top: 0.5rem; color: var(--soft); max-width: 40rem; }
.wt-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 1.25rem; }
.wt-grid a { display: block; text-decoration: none; }
.wt-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 3.5rem 0 3.5rem; }
.wt-grid b { display: block; margin-top: 0.5rem; font-family: var(--display); font-weight: 400; font-size: 1.125rem; }
.wt-grid span { font-size: 0.8125rem; color: var(--soft); }

/* 婚礼页 */
.page-head { padding: clamp(1.5rem, 4vw, 3rem) 0 1rem; }
.page-head .lede { margin-top: 0.75rem; max-width: 44rem; color: var(--soft); }
.case { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.case header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.case h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.case header p { color: var(--soft); font-size: 0.9375rem; }
.case-photos { list-style: none; display: grid; gap: 0.75rem; margin-top: 1rem; }
.case-photos.n1 { grid-template-columns: minmax(0, 32rem); }
.case-photos.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-photos.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0.875rem; }
.case-photos.n1 img { aspect-ratio: auto; max-height: 40rem; }
.case-photos li:first-child img { border-top-left-radius: 3.5rem; }
.case-credit { margin-top: 0.625rem; font-size: 0.875rem; color: var(--soft); }
.quote { background: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0; scroll-margin-top: 0; }
.q-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.q-grid > div p { margin-top: 0.75rem; color: var(--soft); max-width: 28rem; }
.q-price { font-weight: 700; color: var(--moss) !important; }
.q-form { display: grid; gap: 0.875rem; padding: 1.25rem; border-radius: 1.25rem; background: var(--ivory); }
.q-form > label, .q-form .c-preview { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.q-form fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.q-form legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; padding: 0; }
.chk { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.25rem 0.875rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.9375rem; }
.chk input { accent-color: var(--moss); width: 1.125rem; height: 1.125rem; margin: 0; }
.chk:has(input:checked) { border-color: var(--moss); background: #eef1ea; }

/* 关于页 */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); align-items: start; }
.a-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9rem 0 9rem 0; }
.a-photo figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--soft); }
.a-copy .lede { margin-top: 0.875rem; color: var(--soft); max-width: 36rem; }
.a-copy h2 { margin-top: 2rem; font-size: 1.5rem; scroll-margin-top: 1rem; }
.contact { margin-top: 0.75rem; border-top: 1px solid var(--line); }
.contact > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.contact dt { color: var(--soft); }
.a-copy .muted { margin-top: 0.75rem; }
.demo { background: var(--paper); padding: clamp(2.5rem, 5vw, 4rem) 0; scroll-margin-top: 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.demo p { margin-top: 0.875rem; max-width: 34rem; }
.demo h3 { font-size: 1.125rem; }
.demo-steps { margin-top: 0.875rem; padding-left: 1.25rem; display: grid; gap: 0.5rem; }

/* 页脚 */
.foot { padding: 2.25rem 0 3rem; background: var(--moss); color: #cdd4c6; font-size: 0.875rem; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem 3rem; }
.foot p + p { margin-top: 0.375rem; }
.foot-name { font: 400 1.375rem/1.2 var(--display); color: #fff; }

/* 窄屏 */
@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "img" "copy" "credit"; padding-top: 0.25rem; }
  .hero-img { aspect-ratio: 4 / 3.4; border-radius: 0 5rem 0 5rem; }
  .hero h1 { margin-top: 0.5rem; }
  .hero-credit { margin-top: 0.75rem; }
  .ws-grid { grid-template-columns: 1fr; }
  .ring { position: relative; top: 0; max-width: 15.5rem; margin-bottom: 1.5rem; }
  .wt-grid { grid-template-columns: 1fr 1fr; }
  .wt-grid li:last-child { display: none; }
  .case-photos.n3, .case-photos.n4 { grid-template-columns: 1fr 1fr; }
  .case-photos.n3 li:first-child { grid-column: 1 / -1; }
  .case-photos.n3 li:first-child img { aspect-ratio: 4 / 3; }
  .q-grid, .about, .demo-grid, .foot-grid { grid-template-columns: 1fr; }
  .a-photo { max-width: 22rem; }
  .contact > div { grid-template-columns: 6rem minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .dates { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .date { padding: 0.625rem; }
  .c-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
.contact dd, .foot p { overflow-wrap: anywhere; }
