:root {
      --bg: #f7f3ec;
      --paper: #fffdf8;
      --ink: #20201d;
      --muted: #6f6a60;
      --line: rgba(32, 32, 29, .12);
      --gold: #aa8750;
      --moss: #66745e;
      --clay: #b96d55;
      --warm: #e8dfd0;
      --shadow: 0 24px 70px rgba(32, 32, 29, .10);
      --max: 1180px;
      --pad: clamp(20px, 4vw, 64px);
      --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", Georgia, serif;
      --sans: "Inter", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--sans);
      line-height: 1.75;
      letter-spacing: 0;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: .34;
      background-image:
        linear-gradient(rgba(32, 32, 29, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 32, 29, .02) 1px, transparent 1px);
      background-size: 48px 48px;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input, textarea, select { font: inherit; }
    :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      z-index: 99;
      padding: 10px 14px;
      background: var(--ink);
      color: var(--paper);
      transform: translateY(-150%);
      transition: transform .2s ease;
    }

    .skip-link:focus { transform: translateY(0); }

    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 40;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px var(--pad);
      background: rgba(247, 243, 236, .86);
      border-bottom: 1px solid transparent;
      backdrop-filter: blur(18px);
      transition: border-color .25s ease, padding .25s ease;
    }

    .nav.is-scrolled {
      padding-top: 10px;
      padding-bottom: 10px;
      border-color: var(--line);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
    }

    .brand strong {
      display: block;
      font-family: var(--serif);
      font-size: clamp(17px, 2vw, 23px);
      line-height: 1.2;
      font-weight: 700;
      white-space: nowrap;
    }

    .brand span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.2;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(14px, 2vw, 28px);
      color: rgba(32, 32, 29, .78);
      font-size: 14px;
    }

    .nav-links a { transition: color .2s ease; }
    .nav-links a:hover { color: var(--ink); }

    .nav-cta {
      padding: 10px 16px;
      border: 1px solid rgba(170, 135, 80, .42);
      border-radius: 999px;
      color: var(--ink);
      background: rgba(255, 253, 248, .62);
    }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: rgba(255, 253, 248, .78);
      color: var(--ink);
      cursor: pointer;
      place-items: center;
    }

    .menu-toggle-lines,
    .menu-toggle-lines::before,
    .menu-toggle-lines::after {
      content: "";
      width: 18px;
      height: 1px;
      display: block;
      position: relative;
      background: currentColor;
      transition: transform .25s ease, opacity .25s ease;
    }

    .menu-toggle-lines::before,
    .menu-toggle-lines::after {
      position: absolute;
      left: 0;
    }

    .menu-toggle-lines::before { transform: translateY(-6px); }
    .menu-toggle-lines::after { transform: translateY(6px); }
    .nav.is-open .menu-toggle-lines { background: transparent; }
    .nav.is-open .menu-toggle-lines::before { transform: rotate(42deg); background: var(--ink); }
    .nav.is-open .menu-toggle-lines::after { transform: rotate(-42deg); background: var(--ink); }

    main, footer { position: relative; z-index: 1; }
    section { padding: clamp(74px, 10vw, 140px) var(--pad); scroll-margin-top: 82px; }
    .inner { width: min(100%, var(--max)); margin: 0 auto; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      color: var(--moss);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 1px;
      background: currentColor;
    }

    h1, h2, h3, p { margin: 0; }

    h1, h2 {
      font-family: var(--serif);
      font-weight: 700;
      line-height: 1.12;
      overflow-wrap: anywhere;
    }

    h1 {
      max-width: 900px;
      font-size: clamp(44px, 8vw, 96px);
      overflow-wrap: anywhere;
    }

    h2 {
      max-width: 860px;
      font-size: clamp(34px, 5vw, 68px);
    }

    h3 {
      font-family: var(--serif);
      font-size: clamp(21px, 2vw, 28px);
      line-height: 1.25;
    }

    .lead {
      max-width: 760px;
      color: var(--muted);
      font-size: clamp(17px, 2vw, 22px);
      overflow-wrap: anywhere;
    }

    .section-head {
      display: grid;
      gap: 18px;
      margin-bottom: clamp(32px, 6vw, 70px);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 12px 20px;
      border: 1px solid rgba(32, 32, 29, .18);
      border-radius: 999px;
      background: rgba(255, 253, 248, .66);
      color: var(--ink);
      font-weight: 700;
      transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      border-color: rgba(170, 135, 80, .55);
      background: var(--paper);
    }

    .btn-primary {
      border-color: var(--ink);
      background: var(--ink);
      color: var(--paper);
    }

    .btn-primary:hover {
      background: #11110f;
      border-color: #11110f;
    }

    .hero {
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding-top: 132px;
      padding-bottom: 70px;
      background:
        linear-gradient(120deg, rgba(247, 243, 236, .98), rgba(255, 253, 248, .84) 46%, rgba(232, 223, 208, .72)),
        url("../images/hero/ai-hero-luxury-brand.webp") center / cover no-repeat;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
      gap: clamp(32px, 6vw, 84px);
      align-items: end;
    }

    .hero-copy {
      display: grid;
      gap: 24px;
    }

    .positioning {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      color: var(--moss);
      font-weight: 700;
    }

    .positioning span {
      padding: 8px 12px;
      border: 1px solid rgba(102, 116, 94, .28);
      border-radius: 999px;
      background: rgba(255, 253, 248, .72);
    }

    .hero-actions, .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .hero-panel {
      padding: clamp(22px, 4vw, 34px);
      border: 1px solid var(--line);
      background: rgba(255, 253, 248, .78);
      box-shadow: var(--shadow);
      backdrop-filter: blur(16px);
    }

    .hero-panel img {
      width: 86px;
      height: 86px;
      margin-bottom: 22px;
      object-fit: contain;
    }

    .hero-panel p { color: var(--muted); }
    .hero-panel h2 { font-size: clamp(30px, 4vw, 44px); }

    .signal-list {
      display: grid;
      gap: 12px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .signal-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: var(--ink);
    }

    .signal-list li::before {
      content: "";
      width: 7px;
      height: 7px;
      margin-top: 11px;
      flex: 0 0 7px;
      border-radius: 50%;
      background: var(--gold);
    }

    .problem-grid, .service-grid, .why-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .problem-item,
    .service-card,
    .plan-card,
    .why-item,
    .contact-card {
      border: 1px solid var(--line);
      background: rgba(255, 253, 248, .72);
      box-shadow: 0 16px 44px rgba(32, 32, 29, .06);
    }

    .problem-item {
      min-height: 112px;
      display: flex;
      align-items: center;
      padding: 22px;
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 700;
    }

    .problem-item span {
      display: inline-grid;
      place-items: center;
      width: 34px;
      height: 34px;
      margin-right: 12px;
      border-radius: 50%;
      background: rgba(170, 135, 80, .14);
      color: var(--gold);
      font-family: var(--sans);
      font-size: 15px;
    }

    .services { background: linear-gradient(180deg, rgba(255, 253, 248, .42), rgba(232, 223, 208, .45)); }

    .service-card {
      display: grid;
      gap: 18px;
      padding: clamp(24px, 4vw, 34px);
    }

    .service-card .tag {
      width: fit-content;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(102, 116, 94, .12);
      color: var(--moss);
      font-size: 13px;
      font-weight: 700;
    }

    .service-card ul, .plan-card ul, .why-grid ul, .conversion-points {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: var(--muted);
    }

    .service-card li, .plan-card li, .why-grid li, .conversion-points li {
      position: relative;
      padding-left: 20px;
    }

    .service-card li::before,
    .plan-card li::before,
    .why-grid li::before,
    .conversion-points li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .72em;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--gold);
    }

    .service-card.featured {
      grid-column: span 2;
      background:
        linear-gradient(135deg, rgba(32, 32, 29, .92), rgba(70, 73, 61, .92)),
        url("../images/services/brand-cis-service.png") center / cover no-repeat;
      color: var(--paper);
    }

    .service-card.featured .tag {
      background: rgba(255, 253, 248, .16);
      color: var(--warm);
    }

    .service-card.featured ul { color: rgba(255, 253, 248, .78); }

    .plans-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
    }

    .plan-card {
      display: grid;
      gap: 22px;
      padding: clamp(24px, 4vw, 34px);
    }

    .plan-card.recommended {
      border-color: rgba(170, 135, 80, .48);
      background: #fffaf0;
      transform: translateY(-10px);
    }

    .price {
      font-family: var(--serif);
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }

    .about {
      background: var(--paper);
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
      gap: clamp(28px, 6vw, 80px);
      align-items: center;
    }

    .about-copy {
      display: grid;
      gap: 22px;
    }

    .about-visual {
      min-height: 420px;
      border: 1px solid var(--line);
      background:
        linear-gradient(180deg, rgba(32, 32, 29, .08), rgba(32, 32, 29, .40)),
        url("../images/services/brand-identity-system.webp") center / cover no-repeat;
      box-shadow: var(--shadow);
    }

    .why-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-item {
      padding: 22px;
      color: var(--ink);
      font-weight: 700;
    }

    .why-item p {
      color: var(--muted);
      font-weight: 400;
      margin-top: 6px;
    }

    .process {
      background: linear-gradient(180deg, rgba(32, 32, 29, .94), rgba(50, 53, 44, .94));
      color: var(--paper);
    }

    .process .eyebrow,
    .process .lead { color: rgba(255, 253, 248, .72); }

    .timeline {
      display: grid;
      grid-template-columns: repeat(6, minmax(150px, 1fr));
      gap: 1px;
      overflow-x: auto;
      border: 1px solid rgba(255, 253, 248, .16);
      background: rgba(255, 253, 248, .16);
    }

    .step {
      min-height: 210px;
      display: grid;
      align-content: start;
      gap: 12px;
      padding: 22px;
      background: rgba(255, 253, 248, .08);
    }

    .step span {
      color: var(--gold);
      font-weight: 800;
    }

    .step p { color: rgba(255, 253, 248, .68); }

    .contact {
      background:
        linear-gradient(180deg, rgba(247, 243, 236, .92), rgba(255, 253, 248, .86)),
        url("../images/services/ai-service-workflow.webp") center / cover no-repeat;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
      gap: clamp(28px, 6vw, 78px);
      align-items: start;
    }

    .contact-card {
      display: grid;
      gap: 20px;
      padding: clamp(24px, 4vw, 36px);
    }

    .line-card {
      justify-items: center;
      text-align: center;
    }

    .line-qr {
      width: min(100%, 280px);
      height: auto;
      border: 1px solid var(--line);
      background: var(--paper);
      padding: 12px;
    }

    form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .field {
      display: grid;
      gap: 7px;
    }

    .field.full { grid-column: 1 / -1; }

    label {
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
    }

    input, textarea, select {
      width: 100%;
      border: 1px solid rgba(32, 32, 29, .16);
      border-radius: 0;
      background: rgba(255, 253, 248, .88);
      color: var(--ink);
      padding: 12px 14px;
      min-height: 48px;
    }

    textarea {
      min-height: 120px;
      resize: vertical;
    }

    .form-note {
      grid-column: 1 / -1;
      color: var(--muted);
      font-size: 14px;
    }

    form .btn { grid-column: 1 / -1; width: fit-content; }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1px;
      margin-top: 28px;
      border: 1px solid var(--line);
      background: var(--line);
    }

    .info-item {
      padding: 18px;
      background: rgba(255, 253, 248, .78);
    }

    .info-item strong {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-size: 13px;
    }

    footer {
      padding: 44px var(--pad);
      background: var(--ink);
      color: rgba(255, 253, 248, .78);
    }

    .footer-grid {
      width: min(100%, var(--max));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(150px, .7fr));
      gap: 28px;
    }

    footer img {
      width: 70px;
      height: 70px;
      margin-bottom: 14px;
      object-fit: contain;
    }

    footer h2 {
      max-width: 340px;
      color: var(--paper);
      font-size: 26px;
    }

    .footer-col {
      display: grid;
      align-content: start;
      gap: 8px;
    }

    .footer-col strong {
      color: var(--paper);
      margin-bottom: 4px;
    }

    .floating-cta {
      position: fixed;
      right: var(--pad);
      bottom: 22px;
      z-index: 35;
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
      transition: opacity .25s ease, transform .25s ease;
      box-shadow: 0 20px 60px rgba(32, 32, 29, .20);
    }

    .mobile-break { display: none; }

    .floating-cta.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .reveal,
    .reveal.is-visible {
      opacity: 1;
      transform: none;
    }

    @media (max-width: 1020px) {
      .menu-toggle { display: grid; }
      .nav-links {
        position: fixed;
        inset: 0;
        display: grid;
        place-content: center;
        gap: 22px;
        background: rgba(247, 243, 236, .96);
        color: var(--ink);
        font-size: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease;
      }
      .nav.is-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
      .hero-grid,
      .about-grid,
      .contact-layout {
        grid-template-columns: 1fr;
      }
      .problem-grid,
      .service-grid,
      .plans-grid,
      .why-grid,
      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .service-card.featured { grid-column: span 1; }
    }

    @media (max-width: 700px) {
      .brand strong { white-space: normal; font-size: 16px; }
      .brand span { display: none; }
      .brand img { width: 42px; height: 42px; }
      section { padding-top: 68px; padding-bottom: 68px; }
      .hero { min-height: auto; padding-top: 118px; }
      h1 { font-size: clamp(36px, 11vw, 43px); }
      h2 { font-size: clamp(28px, 8vw, 34px); }
      h1,
      h2,
      h3,
      p,
      li,
      .problem-item,
      .info-item {
        word-break: break-all;
        overflow-wrap: anywhere;
      }
      .hero-copy,
      .hero-panel,
      .section-head,
      .lead {
        width: 100%;
        max-width: 100%;
      }
      .lead { font-size: 16px; }
      .mobile-break { display: block; }
      .hero-panel h2 { font-size: 28px; }
      .hero-panel,
      .contact-card,
      .plan-card,
      .service-card {
        min-width: 0;
      }
      .problem-grid,
      .service-grid,
      .plans-grid,
      .why-grid,
      .footer-grid,
      form,
      .info-grid {
        grid-template-columns: 1fr;
      }
      .plan-card.recommended { transform: none; }
      .problem-item { min-height: 92px; font-size: 20px; }
      .about-visual { min-height: 300px; }
      form .btn { width: 100%; }
      .floating-cta { left: 20px; right: 20px; width: auto; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
      }
    }
