/* Holtrics homepage
   Night = the price poster's black + gold, colours copied exactly.
   Day   = Mediterranean: Athens blue + marble white (the user's words).
           Marble white #F4F2EE; deep Athens blue #1D4E89, slab #FAF8F4, text #1c2430,
           muted #5b6573, rule #d9d6cf, soft text on blue #C9D6E8 were chosen by Claude.
           Marble texture + Greek key: see the "Day theme" block at the end of this file. */

:root {
  --font-display: 'Marcellus SC', 'Noto Serif SC', serif;
  --font-en: 'Marcellus', 'Noto Serif SC', Georgia, serif;
  --font-zh: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --header-h: 64px;
  --wrap: 1120px;
  --gutter: 24px;
}

html[data-theme="night"] {
  --bg: #1a1a1a;
  --surface: #14110b;
  --text: #d8d2c4;
  --muted: #9a9387;
  --accent: #c0a25c;
  --on-accent: #1a1a1a;
  --rule: rgba(192, 162, 92, 0.30);
  --rule-soft: rgba(192, 162, 92, 0.12);
  color-scheme: dark;
}

html[data-theme="day"] {
  --bg: #F4F2EE;
  --surface: #FAF8F4;
  --text: #1c2430;
  --muted: #5b6573;
  --accent: #1D4E89;
  --on-accent: #F4F2EE;
  --rule: #d9d6cf;
  --rule-soft: #d9d6cf;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-zh);
  font-size: 17px;
  line-height: 1.8;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}
html[data-lang="en"] body { font-family: var(--font-en); }

/* Language switch: show only the current language */
html[data-lang="zh"] [data-l="en"],
html[data-lang="en"] [data-l="zh"] { display: none !important; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; overflow-wrap: anywhere; text-wrap: balance; }
.hero-text, .sec-sub, .price-desc, .price-note, .opt-desc, .opt-note, .feature p, .case-body p { text-wrap: pretty; }
.price-meta { text-wrap: balance; }
a { color: inherit; }
b { font-weight: 600; color: var(--text); }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 14px;
}
.skip:focus { left: 8px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  transition: background-color .35s ease, border-color .35s ease;
}
.header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a:hover { color: var(--accent); }

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.seg {
  display: inline-flex;
  border: 1px solid var(--rule);
}
.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--rule); }
.seg-btn:hover { color: var(--accent); }
.seg-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
.ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-btn {
  display: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
html[data-lang="zh"] .eyebrow { font-size: 15px; letter-spacing: 0.4em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  transition: background-color .35s ease, border-color .35s ease;
}
.card-kicker {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
html[data-lang="zh"] .card-kicker { font-size: 15px; letter-spacing: 0.35em; }

.om {
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1.8;
  flex: none;
}

/* ---------- 1. Hero ---------- */
.hero { padding: 56px 0; }
.hero-frame {
  position: relative;
  min-height: min(640px, calc(100svh - var(--header-h) - 112px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 40px;
}
.hero-frame::before,
.hero-frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero-frame::before { inset: 0; border: 1px solid var(--rule); }
.hero-frame::after { inset: 8px; border: 1px solid var(--rule-soft); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 120px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  margin-top: 18px;
}
.hero-rule {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--accent);
  margin: 28px auto;
}
.hero-text {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 36px;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--header-h);
}
#home { scroll-margin-top: var(--header-h); }
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  margin-top: 14px;
}
html[data-lang="zh"] .sec-head h2 { font-family: var(--font-zh); font-weight: 500; letter-spacing: 0.08em; }
.sec-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- 2. Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  margin-bottom: 24px;
}
.price-main, .price-opts, .included, .payment { padding: 36px; }
.price-main { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.price {
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 22px;
}
.price-num { font-size: clamp(64px, 9vw, 88px); }
.price-unit { font-size: 24px; margin-left: 4px; }
.price-meta {
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 2;
}
.card-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--rule);
  margin: 22px auto;
}
.price-desc { color: var(--muted); font-size: 15px; line-height: 1.85; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

.opt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.opt:first-of-type { padding-top: 0; }
.opt-name { font-size: 18px; }
.opt-desc { color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 4px; }
.opt-price {
  font-family: var(--font-display);
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}
.opt-num { font-size: 32px; line-height: 1.1; }
.opt-per { font-size: 14px; color: var(--muted); }
.opt-yearly { font-size: 18px; line-height: 1.6; }
html[data-lang="zh"] .opt-yearly { font-family: var(--font-zh); }
.opt-note {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-top: 18px;
}
html[data-lang="zh"] .opt-note { font-style: normal; }

.included { margin-bottom: 24px; }
.om-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}
.om-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.om-list p { color: var(--muted); font-size: 16px; line-height: 1.8; }

.payment .pay-lines p { font-size: 18px; line-height: 2; }

/* ---------- 3. Mini programs ---------- */
.list-title {
  text-align: center;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
html[data-lang="zh"] .list-title { font-size: 15px; letter-spacing: 0.35em; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.feature { grid-column: span 2; padding: 28px; }
.feature:nth-child(4) { grid-column: 2 / span 2; }
.feature:nth-child(5) { grid-column: 4 / span 2; }
.feature .om { display: block; font-size: 18px; margin-bottom: 6px; }
.feature h3 { font-size: 20px; line-height: 1.5; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.btn-row.center { justify-content: center; }

/* ---------- 4. Work ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case { display: flex; flex-direction: column; overflow: hidden; }
.case-media {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-media-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.phone {
  height: 100%;
  aspect-ratio: 9 / 16;
  max-height: 220px;
  border: 1px solid var(--accent);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.phone-slot {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.case-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.case-tag {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.case h3 { font-size: 21px; line-height: 1.45; }
.case-body > p:not(.case-tag) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.case-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.case-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 5. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 36px 24px;
  text-decoration: none;
}
.contact-card:hover { border-color: var(--accent); }
.contact-label {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.contact-value {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}
.contact-email { font-family: var(--font-en); letter-spacing: 0.03em; }
.contact-action { color: var(--text); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-row { gap: 12px; }
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav a:last-child { border-bottom: 0; }

  .price-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: auto; }
  .feature:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .seg-label { display: none; }
  .om-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand { font-size: 20px; letter-spacing: 0.05em; }
  .controls { gap: 6px; }
  .seg-btn { padding: 0 8px; }
  .menu-btn { padding: 0 10px; }
  .hero { padding: 32px 0; }
  .hero-frame { padding: 56px 20px; }
  .hero-text { font-size: 16px; }
  .price-main, .price-opts, .included, .payment { padding: 26px 20px; }
  .opt { flex-direction: column; gap: 6px; }
  .opt-price { text-align: left; }
  .feature { padding: 24px 20px; }
  .case-body { padding: 20px 20px 24px; }
}

/* =====================================================================
   Day theme: Mediterranean marble + Athens blue, "airy" version (2026-11-22).
   User on the first marble version: "背景这个纹理太刻意了，而且这样一对比显得
   蓝色部分很突兀。他们应该有一种通透感".
   - marble veins much fainter + softly blurred (images/marble.jpg = our own
     code-drawn noise, tools/marble-gen.js candidate L2, baked to JPEG because
     live SVG noise made iPhone/WebKit paint ~7x slower);
   - cards: plain polished marble (light sheen), no veins;
   - intro block: Athens-blue gradient, slightly see-through, light glass edge, soft shadow;
   - $850 card: marble card with an Athens-blue frame (no solid blue);
   - contact: fades from marble into a pale sky blue; the footer continues the sky.
   Marble white #F4F2EE is the user's. Chosen by Claude: deep Athens blue #1D4E89,
   gradient #2F62A0 -> #1A4880, sky #DCE6F1, slab #FAF8F4.
   Night (black + gold) is untouched.
   ===================================================================== */
html[data-theme="day"] {
  --accent: #1D4E89;
  --on-accent: #F4F2EE;
  --surface: #FAF8F4;
  /* one text colour (2026-11-25, user: "文字读起来有点费力" + "字体颜色需要统一一下"):
     the grey #5b6573 for descriptions / nav / labels / footer is gone; all body text
     uses the heading colour #1c2430. Blue stays for accents only. */
  --muted: #1c2430;
  --sky: #DCE6F1;
  --marble: url("images/marble.jpg");
  --sheen: linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 50%);
  --key: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%231D4E89%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-light-top: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%20transform%3D%27matrix(1%200%200%20-1%200%2012)%27%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-size: 22px;
  --key-w: calc(var(--key-size) * 0.75);
}

/* faint marble on the page */
html[data-theme="day"] .hero,
html[data-theme="day"] .section {
  background-image: var(--marble);
  background-size: cover;
  background-position: center;
}
html[data-theme="day"] #mini { background-position: 20% 80%; }
html[data-theme="day"] #work { background-position: 80% 30%; }

/* Greek key replaces the thin lines between sections */
html[data-theme="day"] .section,
html[data-theme="day"] .site-footer { border-top: 0; position: relative; }
html[data-theme="day"] .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(var(--wrap), 100%) - 2 * var(--gutter));
  height: var(--key-size);
  background: var(--key) left center / var(--key-w) var(--key-size);
  background-repeat: round no-repeat;
}

/* cards = polished marble, no veins */
html[data-theme="day"] .card {
  background-color: var(--surface);
  background-image: var(--sheen);
  box-shadow: 0 14px 40px -24px rgba(28, 36, 48, 0.18);
}

/* 1. Intro: Athens-blue glass */
html[data-theme="day"] .hero-frame {
  background: linear-gradient(135deg, rgba(47, 98, 160, 0.94) 0%, rgba(37, 87, 144, 0.94) 45%, rgba(26, 72, 128, 0.95) 100%);
  color: var(--on-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 60px -28px rgba(29, 78, 137, 0.35);
}
html[data-theme="day"] .hero-frame::before,
html[data-theme="day"] .hero-frame::after {
  border: 0;
  left: 20px;
  right: 20px;
  height: var(--key-size);
  background-size: var(--key-w) var(--key-size);
  background-repeat: round no-repeat;
  opacity: 0.85;
}
html[data-theme="day"] .hero-frame::before { top: 20px; bottom: auto; background-image: var(--key-light-top); }
html[data-theme="day"] .hero-frame::after { bottom: 20px; top: auto; background-image: var(--key-light); }
html[data-theme="day"] .hero-frame .eyebrow,
html[data-theme="day"] .hero-title,
html[data-theme="day"] .hero-text { color: var(--on-accent); }
html[data-theme="day"] .hero-rule { background: var(--on-accent); }
html[data-theme="day"] .hero-frame .btn-primary { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
html[data-theme="day"] .hero-frame .btn-primary:hover { background: transparent; color: var(--on-accent); }
html[data-theme="day"] .hero-frame .btn-ghost { color: var(--on-accent); border-color: var(--on-accent); }
html[data-theme="day"] .hero-frame .btn-ghost:hover { background: var(--on-accent); color: var(--accent); }

/* 2. The $850 card: marble with an Athens-blue frame */
html[data-theme="day"] .price-main { border-color: var(--accent); }

/* 5. Contact: marble fading into a pale sky blue; the footer continues the sky */
html[data-theme="day"] #contact {
  background-image: linear-gradient(180deg, rgba(220, 230, 241, 0) 0%, rgba(220, 230, 241, 0.75) 55%, rgba(220, 230, 241, 1) 100%), var(--marble);
  background-size: auto, cover;
  background-position: 0 0, center;
}
html[data-theme="day"] .contact-card:hover { border-color: var(--accent); }
html[data-theme="day"] .site-footer { background: var(--sky); }

/* smaller Greek key on phones (must stay after the day block) */
@media (max-width: 480px) {
  html[data-theme="day"] { --key-size: 18px; }
}

/* =====================================================================
   Night theme in the airy day style (preview 2026-11-25).
   User: "黑夜版本也改成白天版本这个风格吧" + "颜色还是我这个" -> the night colours
   stay the poster's black + gold exactly (#1a1a1a, #14110b, #c0a25c, #d8d2c4,
   #9a9387); only the day theme's style is carried over:
   - faint black marble on the page (images/marble-night.jpg = same code-drawn
     noise as the day marble, warm grey-gold veins, strength v1 .085 / cloud .035,
     baked to JPEG; brightest pixel #2D2C2A keeps the muted text >= 4.5:1);
   - Greek key in gold instead of the thin lines between sections;
   - cards + intro block: flat poster slab #14110b with a crisp solid gold 1px line;
   - gold Greek key top + bottom inside the intro block;
   - NO glow, sheen, gradient or soft shadow anywhere (user 2026-11-25: the first
     version's glows were "极光" and "非常丑陋" -> removed);
   - footer: solid deeper black #100E0A (Claude's choice).
   ===================================================================== */
html[data-theme="night"] {
  --marble: url("images/marble-night.jpg");
  --deep: #100E0A;
  --key: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-light-top: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%209%2012%27%20width%3D%279%27%20height%3D%2712%27%3E%3Cg%20transform%3D%27matrix(1%200%200%20-1%200%2012)%27%3E%3Cpath%20d%3D%27M0%200.6H9M0%2011.4H9M0%209V3H6V6H3V9H9%27%20fill%3D%27none%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27square%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --key-size: 22px;
  --key-w: calc(var(--key-size) * 0.75);
}

/* faint black marble on the page */
html[data-theme="night"] .hero,
html[data-theme="night"] .section {
  background-image: var(--marble);
  background-size: cover;
  background-position: center;
}
html[data-theme="night"] #mini { background-position: 20% 80%; }
html[data-theme="night"] #work { background-position: 80% 30%; }

/* gold Greek key replaces the thin lines between sections */
html[data-theme="night"] .section,
html[data-theme="night"] .site-footer { border-top: 0; position: relative; }
html[data-theme="night"] .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(var(--wrap), 100%) - 2 * var(--gutter));
  height: var(--key-size);
  background: var(--key) left center / var(--key-w) var(--key-size);
  background-repeat: round no-repeat;
}

/* cards = flat dark slab, crisp gold line, no glow */
html[data-theme="night"] .card {
  background-color: var(--surface);
  background-image: none;
  box-shadow: none;
  border-color: var(--accent);
}

/* 1. Intro: flat dark slab, crisp gold line, no glow */
html[data-theme="night"] .hero-frame {
  background: var(--surface);
  box-shadow: none;
  border: 1px solid var(--accent);
}
html[data-theme="night"] .hero-frame::before,
html[data-theme="night"] .hero-frame::after {
  border: 0;
  inset: auto;
  left: 20px;
  right: 20px;
  height: var(--key-size);
  background-size: var(--key-w) var(--key-size);
  background-repeat: round no-repeat;
  opacity: 1;
}
html[data-theme="night"] .hero-frame::before { top: 20px; bottom: auto; background-image: var(--key-light-top); }
html[data-theme="night"] .hero-frame::after { bottom: 20px; top: auto; background-image: var(--key-light); }

/* 5. Contact: same marble as the other sections (no fade); footer solid deeper black */
html[data-theme="night"] .site-footer { background: var(--deep); }

/* smaller Greek key on phones (must stay after the night block) */
@media (max-width: 480px) {
  html[data-theme="night"] { --key-size: 18px; }
}


/* =====================================================================
   Style scheme draft (2026-11-25, user: one complete scheme, "简洁, 通透, 古希腊").
   One rule set for day and night:
   - meander ONLY on the 4 section dividers (unchanged above);
   - wave (running scroll, a motif painted flat on Greek vases) frames the important
     things only: intro block top + bottom (mirrored), top of the $850 card;
   - flat panels with one solid accent line: no gradient, sheen or shadow;
   - clickable cards invert on hover;
   - one body text colour per theme.
   ===================================================================== */
html[data-theme="day"] { --wave: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%231D4E89%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%231D4E89%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E"); --wave-flip: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cg%20transform%3D%27matrix(1%200%200%20-1%200%2012)%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%231D4E89%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%231D4E89%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); --wave-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E"); --wave-light-flip: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cg%20transform%3D%27matrix(1%200%200%20-1%200%2012)%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%23F4F2EE%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
html[data-theme="night"] { --wave: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E"); --wave-flip: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2012%27%20width%3D%2716%27%20height%3D%2712%27%3E%3Cg%20transform%3D%27matrix(1%200%200%20-1%200%2012)%27%3E%3Cpath%20d%3D%27M0%200.6H16M0%2011.4H16%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%270.9%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0%209.7C3.2%209.7%205.7%208.7%205.7%206.1L5.75%205.75L5.83%205.41L5.94%205.08L6.07%204.76L6.24%204.46L6.43%204.18L6.64%203.92L6.87%203.68L7.13%203.46L7.39%203.28L7.68%203.11L7.97%202.98L8.27%202.87L8.58%202.8L8.89%202.75L9.2%202.73L9.51%202.74L9.81%202.78L10.1%202.84L10.39%202.93L10.66%203.04L10.92%203.18L11.17%203.34L11.39%203.52L11.6%203.72L11.78%203.93L11.95%204.16L12.09%204.4L12.2%204.65L12.29%204.9L12.36%205.16L12.41%205.42L12.42%205.68L12.42%205.94L12.39%206.2L12.34%206.45L12.26%206.69L12.17%206.92L12.06%207.13L11.93%207.34L11.78%207.52L11.61%207.7L11.44%207.85L11.25%207.99L11.05%208.1L10.85%208.2L10.64%208.27L10.43%208.33L10.22%208.37L10%208.38L9.79%208.38L9.58%208.35L9.38%208.31L9.19%208.25L9.01%208.17L8.83%208.08L8.67%207.98L8.52%207.86L8.38%207.73L8.26%207.59L8.16%207.44L8.07%207.28L7.99%207.12L7.93%206.96L7.89%206.79L7.87%206.62L7.86%206.46L7.86%206.29L7.89%206.14L7.92%205.98L7.97%205.84L8.03%205.7L8.1%205.57L8.19%205.45L8.28%205.34L8.38%205.24L8.49%205.15L8.6%205.08L8.72%205.02L8.84%204.97L8.96%204.93L9.08%204.91L9.2%204.89L9.32%204.89L9.43%204.9L9.54%204.92L9.65%204.96L9.75%205L9.84%205.05L9.92%205.1M12.4%206.1C12.4%208.5%2014%209.7%2016%209.7%27%20fill%3D%27none%27%20stroke%3D%27%23C0A25C%27%20stroke-width%3D%270.95%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }

/* 1. $850 card: one thin wave band inside its top */
.price-main { position: relative; }
.price-main::before { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; height: 12px; pointer-events: none;
  background: var(--wave) left center / calc(12px * 16 / 12) 12px; background-repeat: round no-repeat; }

/* 2. Day card lines = solid Athens blue, like the night's solid gold */
html[data-theme="day"] .card { border-color: var(--accent); }

/* 3. Intro block bands: meander -> wave (top normal, bottom mirrored) */
html[data-theme="night"] .hero-frame::before { background-image: var(--wave); background-size: calc(var(--key-size) * 16 / 12) var(--key-size); }
html[data-theme="night"] .hero-frame::after { background-image: var(--wave-flip); background-size: calc(var(--key-size) * 16 / 12) var(--key-size); }

/* 5. Day cards flat: no sheen, no shadow */
html[data-theme="day"] .card { background-image: none; box-shadow: none; }

/* 6. Contact section plain marble like the others; footer = card slab + one accent line (both themes) */
html[data-theme="day"] #contact { background-image: var(--marble); background-size: cover; background-position: center; }
html[data-theme="day"] .site-footer,
html[data-theme="night"] .site-footer { background: var(--surface); border-top: 1px solid var(--accent); }

/* 7. Contact cards (email / phone) invert on hover and keyboard focus */
html[data-theme="day"] .contact-card:hover, html[data-theme="day"] .contact-card:focus-visible,
html[data-theme="night"] .contact-card:hover, html[data-theme="night"] .contact-card:focus-visible { background-color: var(--accent); background-image: none; border-color: var(--accent); }
.contact-card:hover .contact-label, .contact-card:hover .contact-value, .contact-card:hover .contact-action,
.contact-card:focus-visible .contact-label, .contact-card:focus-visible .contact-value, .contact-card:focus-visible .contact-action { color: var(--on-accent); }

/* 8. Night body text in one colour (like the day): descriptions use the text colour */
html[data-theme="night"] { --muted: #d8d2c4; }

/* 3 + 4a. Day intro block = light slab + one blue line (mirrors the night's dark slab + gold line); blue wave bands */
html[data-theme="day"] .hero-frame { background: var(--surface); box-shadow: none; border: 1px solid var(--accent); color: var(--text); }
html[data-theme="day"] .hero-frame::before { background-image: var(--wave); background-size: calc(var(--key-size) * 16 / 12) var(--key-size); opacity: 1; }
html[data-theme="day"] .hero-frame::after { background-image: var(--wave-flip); background-size: calc(var(--key-size) * 16 / 12) var(--key-size); opacity: 1; }
html[data-theme="day"] .hero-frame .eyebrow { color: var(--accent); }
html[data-theme="day"] .hero-title,
html[data-theme="day"] .hero-text { color: var(--text); }
html[data-theme="day"] .hero-rule { background: var(--accent); }
html[data-theme="day"] .hero-frame .btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
html[data-theme="day"] .hero-frame .btn-primary:hover { background: transparent; color: var(--accent); }
html[data-theme="day"] .hero-frame .btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
html[data-theme="day"] .hero-frame .btn-ghost:hover { background: var(--accent); color: var(--on-accent); }

/* =====================================================================
   Light / dark toggle (2026-11-25, user picked option C): ONE button with a
   half-filled circle, no text. Colours follow the theme: light = blue on white,
   dark = gold on black. Internal theme names stay day / night.
   ===================================================================== */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: border-color .2s ease;
}
.theme-btn:hover { border-color: var(--accent); }
.ico-contrast { width: 18px; height: 18px; display: block; }
.ico-contrast circle { fill: var(--surface); stroke: currentColor; stroke-width: 1.6; }
.ico-contrast .half { fill: currentColor; stroke: none; }

/* =====================================================================
   Hover effects (2026-11-25, user: "鼠标悬浮在区域那种").
   Mouse devices only; off for "reduce motion". Flat: no shadow, no glow.
   - every card lifts 4px; case cards: the screenshot zooms to 1.04 inside its frame;
   - wave bands ($850 card top, intro block top + bottom) flow while hovered
     and stop where they are when the mouse leaves. The flow never wraps in practice
     (100000px at ~13-17 px/s = 80+ minutes of hovering), because browsers snap the
     "round" tiles to device pixels and a 0% -> 100% loop showed a 2-3px jump.
   ===================================================================== */
@keyframes wave-flow-right { from { background-position-x: 0px; } to { background-position-x: 100000px; } }
@keyframes wave-flow-left { from { background-position-x: 0px; } to { background-position-x: -100000px; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform .25s ease, background-color .35s ease, border-color .35s ease; }
  .card:hover { transform: translateY(-4px); }
  .case-media > * { transition: transform .6s ease; }
  .case:hover .case-media > * { transform: scale(1.04); }
  .price-main::before { animation: wave-flow-right 7500s linear infinite paused; }
  .price-main:hover::before { animation-play-state: running; }
  .hero-frame::before { animation: wave-flow-right 6000s linear infinite paused; }
  .hero-frame::after { animation: wave-flow-left 6000s linear infinite paused; }
  .hero-frame:hover::before,
  .hero-frame:hover::after { animation-play-state: running; }
}

/* Deploy 2026-11-26: mini program screenshot frame hidden until the user sends screenshots (decision C). Delete this rule to show it again. */
.case-media-phone { display: none; }
