:root {
  color-scheme: dark;
  --bg: #0d1530;
  --bg-deep: #070b1c;
  --surface: #151e38;
  --ink: #fff3dc;
  --muted: #b9c0d0;
  --gold: #e6c98d;
  --line: rgba(230, 201, 141, .2);
  --radius: 8px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-deep); color: var(--ink); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.wrap { width: min(calc(100% - 48px), 1040px); margin-inline: auto; }
.site-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 14px; align-items: center; font-size: 21px; font-weight: 600; letter-spacing: .16em; }
.brand span { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.instagram { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--muted); font-size: 13px; }
.instagram:hover { color: var(--ink); }
/* 頭像、名字和文案共同構圖；場景獨立裁切，無互動、無動畫。 */
.hero-scene { position: relative; isolation: isolate; }
.hero-scene::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -72px 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, #0d1530, #070b1c);
}
.hero-scene::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -72px 0 0;
  pointer-events: none;
  background: url("/assets/fanli-scene.webp") center calc(100% + 175px) / auto 790px no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 15%, #000 45%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 15%, #000 45%, #000 82%, transparent 100%);
}
.hero { position: relative; padding-block: 32px 118px; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -8px 80px;
  pointer-events: none;
  background: radial-gradient(ellipse at 45% 42%, rgba(7,11,28,.58), rgba(7,11,28,.18) 55%, transparent 78%);
}
.hero-copy { max-width: 540px; }
.identity { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.portrait { display: block; flex-shrink: 0; width: 68px; height: 68px; object-fit: cover; border: 1px solid rgba(230,201,141,.55); border-radius: 50%; padding: 3px; background: var(--bg-deep); }
.identity-name { margin: 0 0 2px; font-size: 29px; font-weight: 500; line-height: 1.4; letter-spacing: .18em; }
.identity-caption { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(29px, 8vw, 36px); font-weight: 500; line-height: 1.6; letter-spacing: .025em; }
.title-emphasis { color: var(--gold); }
.intro { max-width: 30em; margin: 18px 0 8px; color: var(--muted); font-size: 16px; line-height: 1.95; text-wrap: pretty; }
.service-format { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; margin: 0; font-size: 14px; color: var(--ink); }
.service-format span { color: rgba(230,201,141,.55); font-size: 11px; }
.hero-action { width: 100%; max-width: 320px; margin-top: 28px; }
.service-status { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.service-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 3px 0; border-radius: 50%; background: var(--muted); }
.primary-button { display: flex; width: 100%; min-height: 54px; padding: 12px 22px; align-items: center; justify-content: space-between; gap: 24px; border-radius: var(--radius); background: var(--gold); color: var(--bg); font-size: 16px; font-weight: 700; }
.primary-button[aria-disabled="true"] { cursor: default; opacity: .45; }
.primary-button[href]:hover { background: #f0d7a5; }
.cta-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.about { position: relative; background: linear-gradient(125deg, #151e38, #10172b); border-top: 1px solid var(--line); }
.about-inner { padding-block: 36px 44px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.eyebrow span { width: 24px; height: 1px; background: var(--gold); }
h2 { margin: 0; font-size: 25px; font-weight: 500; line-height: 1.6; letter-spacing: .025em; }
.desktop-break { display: none; }
.about-copy { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.about-copy > p { margin: 0; text-wrap: pretty; }
.service-details { margin: 26px 0 0; border-top: 1px solid var(--line); }
.service-details > div { display: grid; grid-template-columns: 1fr; row-gap: 5px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.service-details dt { color: var(--gold); font-size: 14px; font-weight: 500; }
.service-details dd { margin: 0; }
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { display: inline-block; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .wrap { width: min(calc(100% - 96px), 1040px); }
  .site-header { min-height: 88px; }
  .brand { font-size: 23px; }
  .instagram { font-size: 14px; }
  .hero { padding-block: 56px 80px; }
  .hero-scene::before {
    top: -88px;
  }
  .hero-scene::after {
    top: -88px;
    left: auto;
    width: 56%;
    max-width: 800px;
    background-size: 100% auto;
    background-position: center calc(100% + 150px);
    -webkit-mask-image: radial-gradient(closest-side at 50% 54%, #000 35%, rgba(0,0,0,.7) 65%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 54%, #000 35%, rgba(0,0,0,.7) 65%, transparent 100%);
  }
  .hero::before { inset: 0 45% 0 -30px; background: radial-gradient(ellipse at 28% 40%, rgba(13,21,48,.5), transparent 75%); }
  .identity { gap: 18px; margin-bottom: 30px; }
  .portrait { width: 76px; height: 76px; }
  .identity-name { font-size: 32px; }
  h1 { font-size: 46px; line-height: 1.5; }
  .intro { margin-top: 22px; font-size: 17px; }
  .hero-action { margin-top: 30px; max-width: 280px; }
  .about-inner { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 80px; padding-block: 48px 56px; }
  .about-copy { margin-top: 0; }
  h2 { font-size: 30px; line-height: 1.7; }
  .desktop-break { display: initial; }
}
@media (min-width: 1000px) {
  .service-details > div { grid-template-columns: 80px 1fr; column-gap: 16px; padding-block: 20px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 40px); }
  .brand { gap: 10px; font-size: 20px; }
  .brand span { padding-left: 10px; font-size: 12px; }
  .instagram { gap: 4px; font-size: 12px; }
  .hero { padding-top: 28px; }
  .identity { gap: 14px; }
  .portrait { width: 62px; height: 62px; }
  .identity-caption { font-size: 13px; }
  .hero-scene::after { background-size: auto 760px; background-position: center calc(100% + 165px); }
  h2 { font-size: 23px; }
}
