:root {
  --ink: #2f2828;
  --muted: #756b6b;
  --cream: #faf6f1;
  --paper: #fffdf9;
  --rose: #c77c78;
  --rose-dark: #9e5e5c;
  --blush: #ead6d1;
  --lilac: #c9bfd8;
  --sage: #a9b5a3;
  --line: rgba(47,40,40,.13);
  --shadow: 0 24px 70px rgba(78,53,49,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang TC", "Microsoft JhengHei", sans-serif; line-height: 1.7; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.announcement { min-height: 34px; padding: 7px 16px; background: var(--ink); color: #fff; text-align: center; font-size: 12px; letter-spacing: .12em; }
.site-header { position: sticky; top: 0; z-index: 50; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px,5vw,76px); background: rgba(255,253,249,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 48px; height: 40px; display: grid; place-items: center; border-radius: 14px; background: var(--rose); color: white; font: 700 13px/1 Georgia, "Times New Roman", serif; transform: rotate(-3deg); }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: .18em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .42em; }
.desktop-nav { display: flex; gap: clamp(20px,2.5vw,42px); font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:1px; background:var(--rose); transition:.3s; }
.desktop-nav a:hover::after { right:0; }
.header-actions { display:flex; align-items:center; gap:8px; }
.icon-button, .cart-button, .menu-button { border:0; background:transparent; color:var(--ink); cursor:pointer; }
.icon-button { width:42px; height:42px; display:grid; place-items:center; }
.icon-button svg, .cart-button svg { width:20px; fill:none; stroke:currentColor; stroke-width:1.7; }
.cart-button { display:flex; align-items:center; gap:8px; height:44px; padding:0 13px; border:1px solid var(--line); border-radius:99px; }
.cart-button span { font-size:12px; }
.cart-button b { min-width:21px; height:21px; display:grid; place-items:center; border-radius:50%; background:var(--rose); color:#fff; font-size:10px; }
.menu-button { width:42px; height:42px; display:none; place-items:center; gap:5px; }
.menu-button span { width:20px; height:1px; background:var(--ink); }

.hero { min-height: calc(100vh - 116px); display:grid; grid-template-columns: 1.05fr .95fr; align-items:center; gap:5vw; padding: clamp(70px,8vw,120px) clamp(22px,7vw,110px); overflow:hidden; background: radial-gradient(circle at 82% 28%, rgba(234,214,209,.65), transparent 30%), linear-gradient(135deg, #fffdf9 0%, #f9f2ed 100%); }
.eyebrow { display:inline-block; color:var(--rose-dark); font-size:11px; font-weight:700; letter-spacing:.22em; }
.hero h1 { margin:19px 0 24px; font-size:clamp(48px,6.2vw,92px); line-height:1.12; letter-spacing:-.045em; font-weight:500; }
.hero h1 em { font-family:Georgia, "Times New Roman", serif; color:var(--rose-dark); font-weight:600; }
.hero-copy > p { max-width:620px; color:var(--muted); font-size:clamp(15px,1.25vw,18px); }
.hero-buttons { display:flex; flex-wrap:wrap; gap:12px; margin:34px 0 44px; }
.button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; padding:0 25px; border-radius:999px; border:1px solid transparent; cursor:pointer; font-size:13px; font-weight:700; letter-spacing:.05em; transition:transform .25s, background .25s, color .25s, box-shadow .25s; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--ink); color:#fff; box-shadow:0 12px 28px rgba(47,40,40,.16); }
.button-primary:hover { background:var(--rose-dark); }
.button-ghost { border-color:var(--ink); background:transparent; color:var(--ink); }
.button-ghost:hover { background:var(--ink); color:#fff; }
.hero-stats { display:flex; gap:34px; }
.hero-stats div { display:grid; }
.hero-stats strong { font:600 25px Georgia, "Times New Roman", serif; }
.hero-stats span { color:var(--muted); font-size:11px; }
.hero-visual { position:relative; min-height:590px; }
.hero-orbit { position:absolute; border:1px solid rgba(158,94,92,.25); border-radius:50%; }
.orbit-one { width:540px; height:540px; left:50%; top:50%; transform:translate(-48%,-50%); }
.orbit-two { width:400px; height:400px; left:50%; top:50%; transform:translate(-40%,-47%); border-style:dashed; }
.mock-card { position:absolute; box-shadow:var(--shadow); }
.mock-card-main { width:min(360px,70%); aspect-ratio:.74; left:50%; top:50%; transform:translate(-50%,-50%) rotate(4deg); padding:35px; background:#efe1dc; border:10px solid rgba(255,255,255,.72); }
.mock-label { font:600 22px Georgia, "Times New Roman", serif; letter-spacing:.07em; }
.mock-serif { position:absolute; left:35px; bottom:58px; font:600 34px/1.12 Georgia, "Times New Roman", serif; }
.mock-card-main small { position:absolute; left:35px; bottom:28px; font-size:7px; letter-spacing:.24em; }
.mock-flower { position:absolute; top:112px; left:50%; width:180px; height:180px; transform:translateX(-50%); }
.mock-flower span { position:absolute; left:50%; top:50%; width:80px; height:118px; margin:-59px -40px; border-radius:80% 20% 70% 30%; background:rgba(194,108,111,.82); transform-origin:50% 85%; }
.mock-flower span:nth-child(2){transform:rotate(90deg)} .mock-flower span:nth-child(3){transform:rotate(180deg)} .mock-flower span:nth-child(4){transform:rotate(270deg)}
.mock-flower i { position:absolute; left:50%; top:50%; width:45px; height:45px; border-radius:50%; background:#f6d9b2; transform:translate(-50%,-50%); }
.mock-card-small { width:190px; height:225px; right:0; top:58px; padding:25px; background:#82907f; color:white; transform:rotate(-8deg); }
.mock-card-small span, .mock-card-small small { display:block; font-size:8px; letter-spacing:.2em; }
.mock-card-small strong { display:block; margin:42px 0 56px; font:600 42px Georgia, "Times New Roman", serif; }
.mock-card-tag { width:112px; height:142px; left:6px; bottom:60px; display:grid; place-items:center; text-align:center; background:#3a3232; color:#fff; font:600 23px/1.2 Georgia, "Times New Roman", serif; transform:rotate(-7deg); }
.hero-badge { position:absolute; right:7%; bottom:9%; width:116px; height:116px; display:grid; place-content:center; text-align:center; border-radius:50%; background:#f7efe3; border:1px solid rgba(47,40,40,.16); font:700 24px Georgia, "Times New Roman", serif; transform:rotate(9deg); }
.hero-badge span { font:500 8px "PingFang TC", "Microsoft JhengHei", sans-serif; letter-spacing:.12em; }

.marquee { overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.marquee div { width:max-content; padding:14px 0; animation:marquee 23s linear infinite; font:600 13px Georgia, "Times New Roman", serif; letter-spacing:.15em; }
.marquee span { color:var(--rose); margin:0 22px; }
@keyframes marquee { to { transform:translateX(-50%); } }

.section { padding:clamp(80px,10vw,150px) clamp(22px,7vw,110px); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:45px; }
.section-heading h2, .process-intro h2, .about-copy h2, .contact-copy h2, .newsletter h2, .testimonial-section h2 { margin:8px 0 0; font-size:clamp(36px,4.5vw,65px); line-height:1.15; font-weight:500; letter-spacing:-.035em; }
.section-heading p { max-width:530px; margin:0; color:var(--muted); font-size:14px; }
.portfolio-section { background:#f8f3ed; }
.filter-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.filter-tabs button { padding:10px 17px; border:1px solid var(--line); border-radius:99px; background:rgba(255,255,255,.55); color:var(--muted); cursor:pointer; font-size:12px; transition:.25s; }
.filter-tabs button.active, .filter-tabs button:hover { background:var(--ink); color:#fff; }
.portfolio-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:25px; }
.portfolio-card { grid-column:span 4; }
.portfolio-card.large { grid-column:span 7; }
.portfolio-card.large + .portfolio-card { grid-column:span 5; }
.portfolio-card.wide { grid-column:span 8; }
.portfolio-card.wide + .portfolio-card { grid-column:span 4; }
.portfolio-card.hidden { display:none; }
.art { position:relative; aspect-ratio:1.12; overflow:hidden; transition:transform .45s ease, box-shadow .45s; }
.portfolio-card:hover .art { transform:translateY(-6px); box-shadow:var(--shadow); }
.portfolio-meta { display:flex; justify-content:space-between; gap:12px; padding:17px 2px 28px; border-bottom:1px solid var(--line); }
.portfolio-meta span { color:var(--rose-dark); font-size:10px; letter-spacing:.08em; }
.portfolio-meta h3 { margin:4px 0 0; font-size:17px; font-weight:600; }
.portfolio-meta b { color:rgba(47,40,40,.25); font:600 24px Georgia, "Times New Roman", serif; }
.art-rose { background:linear-gradient(135deg,#d7aaa5,#f2ded8); }
.box { position:absolute; display:grid; place-items:center; background:#f9eee9; color:#9c6864; box-shadow:0 24px 45px rgba(70,40,40,.18); font-family:Georgia, "Times New Roman", serif; letter-spacing:.12em; }
.box-a { width:48%; height:56%; left:12%; top:18%; transform:rotate(-7deg); }
.box-b { width:31%; height:38%; right:12%; bottom:14%; font-size:45px; transform:rotate(9deg); }
.ribbon { position:absolute; width:180%; height:22px; top:48%; left:-30%; background:rgba(255,255,255,.75); transform:rotate(-32deg); }
.art-green { display:grid; place-content:center; text-align:center; background:#bac7b5; color:#294034; }
.leaf-logo { width:90px; height:90px; margin:auto auto 20px; display:grid; place-items:center; border-radius:62% 38% 64% 36%; border:1px solid currentColor; font:600 48px Georgia, "Times New Roman", serif; transform:rotate(-9deg); }
.art-green span { font:600 24px Georgia, "Times New Roman", serif; letter-spacing:.16em; }
.art-green small { margin-top:7px; font-size:8px; letter-spacing:.28em; }
.art-exhibit { display:flex; align-items:center; justify-content:center; gap:3%; padding:8%; background:#443840; }
.poster { height:75%; width:28%; padding:12px; background:#eee5df; color:#443840; box-shadow:0 16px 35px rgba(0,0,0,.2); font:600 clamp(12px,1.5vw,23px)/1.1 Georgia, "Times New Roman", serif; }
.poster.one { transform:rotate(-6deg); background:#d3a6a0; } .poster.two { transform:translateY(-12px); display:grid; place-items:end start; } .poster.three { transform:rotate(5deg); writing-mode:vertical-rl; }
.art-web { aspect-ratio:1.55; display:grid; place-items:center; background:#c7b9ce; }
.browser { width:72%; height:73%; border:8px solid #eee8e3; background:#fff9f5; box-shadow:0 20px 45px rgba(54,45,61,.25); }
.browser-bar { height:24px; display:flex; gap:5px; align-items:center; padding:0 9px; background:#eee8e3; }
.browser-bar i { width:5px; height:5px; border-radius:50%; background:#8b7c8f; }
.browser-body { height:calc(100% - 24px); padding:7%; background:linear-gradient(105deg,rgba(255,250,247,.8),rgba(214,194,211,.48)), radial-gradient(circle at 80% 45%,#ba8e9b 0 16%,transparent 17%); }
.browser-body span { font:600 13px Georgia, "Times New Roman", serif; } .browser-body strong { display:block; margin:9% 0 5%; font:600 clamp(18px,2.4vw,37px)/1.03 Georgia, "Times New Roman", serif; } .browser-body button { border:0; padding:6px 12px; background:#413741; color:#fff; font-size:7px; letter-spacing:.12em; }
.phone { position:absolute; right:8%; bottom:6%; width:18%; height:55%; padding:5px; border-radius:15px; background:#2c2730; box-shadow:0 20px 35px rgba(0,0,0,.25); }
.phone div { height:100%; display:grid; place-content:center; text-align:center; border-radius:11px; background:#f4ecee; font:600 20px Georgia, "Times New Roman", serif; } .phone span { display:block; font-size:9px; }
.art-editorial { background:#e7d9c5; }
.book { position:absolute; width:46%; height:70%; padding:10%; box-shadow:0 25px 40px rgba(66,49,36,.2); }
.book.back { right:14%; top:12%; background:#7d6b57; color:#fff; transform:rotate(8deg); font:600 24px/1.1 Georgia, "Times New Roman", serif; }
.book.front { left:14%; bottom:10%; background:#f6f0e6; transform:rotate(-8deg); }
.book.front small,.book.front span { display:block; font-size:7px; letter-spacing:.15em; } .book.front strong { display:block; margin:35% 0 45%; font:600 27px Georgia, "Times New Roman", serif; }
.art-lilac { background:#cfc4dc; }
.tube,.jar { position:absolute; display:grid; place-items:center; color:#6a557b; background:#f5f0f7; box-shadow:0 25px 40px rgba(61,49,70,.2); font-family:Georgia, "Times New Roman", serif; }
.tube { width:22%; height:60%; left:26%; top:18%; border-radius:8px 8px 18px 18px; writing-mode:vertical-rl; letter-spacing:.18em; }
.jar { width:31%; aspect-ratio:1; right:21%; bottom:17%; border-radius:12px; font-size:38px; }
.shadow { position:absolute; width:70%; height:18%; left:15%; bottom:8%; border-radius:50%; background:rgba(78,57,91,.14); filter:blur(10px); }

.services-section { background:var(--paper); }
.service-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.service-toolbar p { color:var(--muted); font-size:12px; }
.service-toolbar select { border:0; background:transparent; color:var(--ink); outline:none; font-size:12px; cursor:pointer; }
.product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.product-card { position:relative; background:#fff; border:1px solid var(--line); overflow:hidden; transition:.35s; }
.product-card:hover { transform:translateY(-5px); box-shadow:0 24px 55px rgba(67,50,48,.1); }
.product-image { position:relative; aspect-ratio:1.25; overflow:hidden; background:var(--cream); }
.product-image::after { content:"VIEW DETAILS"; position:absolute; inset:auto 14px 14px; display:grid; place-items:center; height:38px; border-radius:99px; background:rgba(255,255,255,.9); opacity:0; transform:translateY(8px); transition:.3s; font-size:9px; letter-spacing:.16em; }
.product-card:hover .product-image::after { opacity:1; transform:translateY(0); }
.product-badge { position:absolute; z-index:2; left:12px; top:12px; padding:6px 9px; border-radius:99px; background:var(--ink); color:#fff; font-size:8px; letter-spacing:.1em; }
.product-visual { position:absolute; inset:0; display:grid; place-items:center; }
.product-info { padding:20px; }
.product-category { color:var(--rose-dark); font-size:9px; letter-spacing:.12em; }
.product-info h3 { min-height:52px; margin:6px 0 10px; font-size:18px; }
.product-info p { min-height:48px; margin:0 0 16px; color:var(--muted); font-size:12px; }
.product-price-row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.product-price { display:grid; }
.product-price small { color:var(--muted); font-size:9px; }
.product-price strong { font:600 20px Georgia, "Times New Roman", serif; }
.add-cart { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--ink); border-radius:50%; background:transparent; color:var(--ink); cursor:pointer; font-size:20px; transition:.25s; }
.add-cart:hover { background:var(--ink); color:#fff; }
.visual-packaging { background:linear-gradient(145deg,#e3b9b6,#f5e5df); }
.visual-packaging::before { content:"FTD"; width:40%; aspect-ratio:1.1; display:grid; place-items:center; background:#fff8f2; box-shadow:18px 17px 0 #c27e7c; transform:rotate(-6deg); font:600 22px Georgia, "Times New Roman", serif; letter-spacing:.15em; }
.visual-exhibition { background:#343239; }
.visual-exhibition::before { content:"HER\A STORY"; white-space:pre; width:54%; height:75%; padding:10%; color:#422d35; background:#dcb0af; transform:rotate(4deg); font:600 30px/1 Georgia, "Times New Roman", serif; box-shadow:-15px 14px 0 #f1e7df; }
.visual-branding { background:#b8c2b1; }
.visual-branding::before { content:"a"; width:38%; aspect-ratio:1; display:grid; place-items:center; border-radius:50%; border:1px solid #314336; color:#314336; font:600 80px Georgia, "Times New Roman", serif; }
.visual-web { background:#c9bdd5; }
.visual-web::before { content:"FTD\A BRAND SITE"; white-space:pre; width:70%; height:58%; padding:8%; color:#443d4b; background:#f6f0f4; border:8px solid #fff; box-shadow:12px 15px 0 rgba(67,59,75,.22); font:600 26px/1.1 Georgia, "Times New Roman", serif; }
.visual-editorial { background:#e6d6bd; }
.visual-editorial::before { content:"FORM\A 2026"; white-space:pre; width:42%; height:72%; padding:10%; color:#efe8dd; background:#75634e; transform:rotate(-7deg); font:600 28px/1.05 Georgia, "Times New Roman", serif; box-shadow:20px 14px 0 #f6efe5; }

.benefit-strip { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#f7f0eb; }
.benefit-strip div { position:relative; min-height:155px; display:grid; align-content:center; padding:25px 34px; border-right:1px solid var(--line); }
.benefit-strip div:last-child { border-right:0; }
.benefit-strip span { position:absolute; right:18px; top:12px; color:rgba(47,40,40,.15); font:600 24px Georgia, "Times New Roman", serif; }
.benefit-strip strong { font-size:15px; }
.benefit-strip small { margin-top:5px; color:var(--muted); font-size:11px; }

.process-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:9vw; background:#302929; color:#fff; }
.process-intro { align-self:start; position:sticky; top:120px; }
.process-intro .eyebrow { color:#d9a6a1; }
.process-intro p { max-width:440px; color:rgba(255,255,255,.62); font-size:14px; }
.text-link { display:inline-flex; gap:20px; margin-top:28px; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.4); font-size:13px; }
.process-list { margin:0; padding:0; list-style:none; }
.process-list li { display:grid; grid-template-columns:80px 1fr; gap:20px; padding:36px 0; border-bottom:1px solid rgba(255,255,255,.13); }
.process-list > li > span { color:#d9a6a1; font:600 24px Georgia, "Times New Roman", serif; }
.process-list h3 { margin:0 0 8px; font-size:24px; font-weight:500; }
.process-list p { margin:0; color:rgba(255,255,255,.55); font-size:13px; }

.about-section { display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:center; }
.about-art { position:relative; min-height:560px; display:grid; place-items:center; background:#ead8d3; overflow:hidden; }
.about-circle { width:360px; height:360px; border-radius:50%; border:1px solid rgba(47,40,40,.2); }
.about-card { position:absolute; box-shadow:var(--shadow); }
.about-card.a { width:220px; height:300px; left:14%; top:18%; padding:35px; background:#f9f4ec; font:600 36px/1.1 Georgia, "Times New Roman", serif; transform:rotate(-8deg); }
.about-card.b { right:13%; bottom:17%; width:230px; height:145px; display:flex; align-items:center; justify-content:center; gap:15px; background:#83907e; color:#fff; transform:rotate(7deg); }
.about-card.b b { font-family:Georgia, "Times New Roman", serif; font-size:28px; }
.about-sticker { position:absolute; right:12%; top:12%; width:105px; height:105px; display:grid; place-content:center; text-align:center; border-radius:50%; background:#302929; color:#fff; font:600 17px/1.2 Georgia, "Times New Roman", serif; transform:rotate(12deg); }
.about-copy p { color:var(--muted); font-size:14px; }
.about-tags { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.about-tags span { padding:9px 14px; border-radius:99px; background:#f6eee8; font-size:11px; }

.testimonial-section { padding:clamp(80px,9vw,130px) 10%; text-align:center; background:#f7f0eb; }
.quote-slider { max-width:920px; min-height:210px; margin:25px auto 0; }
.quote-slider blockquote { display:none; margin:0; }
.quote-slider blockquote.active { display:block; animation:fade .5s ease; }
.quote-slider p { margin:0; font:500 clamp(27px,3.5vw,48px)/1.45 Georgia, "Times New Roman", "PingFang TC", serif; }
.quote-slider footer { margin-top:25px; color:var(--muted); font-size:12px; }
.quote-dots { display:flex; justify-content:center; gap:8px; }
.quote-dots button { width:7px; height:7px; padding:0; border:0; border-radius:50%; background:#ccbdb8; cursor:pointer; }
.quote-dots button.active { width:24px; border-radius:99px; background:var(--rose-dark); }
@keyframes fade { from { opacity:0; transform:translateY(7px); } }

.contact-section { display:grid; grid-template-columns:.9fr 1.1fr; gap:8vw; padding:clamp(80px,10vw,150px) clamp(22px,7vw,110px); background:#dcb5b0; }
.contact-copy p { max-width:480px; }
.contact-info { display:grid; gap:4px; margin-top:30px; font-size:13px; }
.contact-form { padding:clamp(25px,4vw,52px); background:rgba(255,252,248,.9); box-shadow:var(--shadow); }
.contact-form label, .checkout-dialog label { display:grid; gap:6px; margin-bottom:15px; font-size:11px; font-weight:600; }
.contact-form input,.contact-form select,.contact-form textarea,.checkout-dialog input,.checkout-dialog textarea { width:100%; border:0; border-bottom:1px solid rgba(47,40,40,.24); border-radius:0; padding:11px 2px; outline:none; background:transparent; color:var(--ink); }
.contact-form textarea,.checkout-dialog textarea { resize:vertical; }
.contact-form .button { width:100%; margin-top:7px; }
.contact-form small,.checkout-dialog small { display:block; margin-top:12px; color:var(--muted); font-size:9px; }
.newsletter { display:flex; justify-content:space-between; align-items:center; gap:40px; padding:58px clamp(22px,7vw,110px); background:#f8f3ed; border-bottom:1px solid var(--line); }
.newsletter h2 { font-size:clamp(25px,3vw,40px); }
.newsletter form { min-width:min(100%,460px); display:flex; border-bottom:1px solid var(--ink); }
.newsletter input { flex:1; border:0; outline:none; padding:13px 0; background:transparent; }
.newsletter button { border:0; background:transparent; font-weight:700; cursor:pointer; }

.site-footer { padding:65px clamp(22px,7vw,110px) 25px; background:#f8f3ed; }
.site-footer { display:grid; grid-template-columns:1.2fr .8fr; gap:50px; }
.footer-brand p { max-width:430px; margin-top:25px; color:var(--muted); font-size:12px; }
.footer-links { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.footer-links div { display:grid; align-content:start; gap:8px; font-size:12px; }
.footer-links strong { margin-bottom:10px; }
.footer-links a { color:var(--muted); }
.footer-bottom { grid-column:1/-1; display:flex; justify-content:space-between; padding-top:25px; border-top:1px solid var(--line); color:var(--muted); font-size:9px; letter-spacing:.08em; }

.overlay { position:fixed; z-index:80; inset:0; background:rgba(31,25,25,.45); opacity:0; visibility:hidden; transition:.3s; }
.overlay.active { opacity:1; visibility:visible; }
.cart-drawer { position:fixed; z-index:90; right:0; top:0; width:min(450px,100%); height:100dvh; display:flex; flex-direction:column; background:var(--paper); transform:translateX(102%); transition:.38s cubic-bezier(.22,.75,.25,1); box-shadow:-20px 0 60px rgba(47,40,40,.18); }
.cart-drawer.open { transform:translateX(0); }
.cart-head { display:flex; justify-content:space-between; align-items:center; padding:24px 25px; border-bottom:1px solid var(--line); }
.cart-head span { color:var(--rose-dark); font-size:9px; letter-spacing:.2em; }
.cart-head h2 { margin:2px 0 0; font-size:28px; }
.cart-head button,.mobile-menu-head button,.search-row button,.dialog-close { border:0; background:transparent; font-size:30px; cursor:pointer; }
.cart-body { flex:1; overflow:auto; padding:10px 25px; }
.cart-item { display:grid; grid-template-columns:80px 1fr auto; gap:13px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.cart-thumb { width:80px; height:80px; display:grid; place-items:center; background:#f0ddd8; font:600 25px Georgia, "Times New Roman", serif; }
.cart-item h4 { margin:0 0 4px; font-size:13px; }
.cart-item p { margin:0; color:var(--muted); font-size:10px; }
.quantity { display:flex; align-items:center; gap:9px; margin-top:9px; }
.quantity button { width:23px; height:23px; border:1px solid var(--line); background:transparent; cursor:pointer; }
.remove-item { border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:18px; }
.cart-empty { flex:1; display:grid; place-content:center; text-align:center; padding:40px; }
.cart-empty div { color:var(--rose); font-size:50px; }
.cart-empty h3 { margin:8px 0; }
.cart-empty p { margin:0 0 22px; color:var(--muted); font-size:12px; }
.cart-footer { padding:20px 25px 26px; border-top:1px solid var(--line); }
.cart-subtotal { display:flex; justify-content:space-between; }
.cart-subtotal strong { font:600 22px Georgia, "Times New Roman", serif; }
.cart-footer p { color:var(--muted); font-size:9px; }
.cart-footer .button { width:100%; }

.mobile-menu { position:fixed; z-index:100; inset:0; display:grid; align-content:start; gap:0; padding:22px; background:#f9f3ee; transform:translateY(-105%); transition:.35s; }
.mobile-menu.open { transform:translateY(0); }
.mobile-menu-head { display:flex; justify-content:space-between; align-items:center; padding-bottom:20px; border-bottom:1px solid var(--line); }
.mobile-menu > a { padding:20px 5px; border-bottom:1px solid var(--line); font:500 28px Georgia, "Times New Roman", "PingFang TC", serif; }
.search-panel { position:fixed; z-index:85; left:0; right:0; top:116px; padding:35px 5vw; background:var(--paper); box-shadow:0 20px 45px rgba(47,40,40,.1); transform:translateY(-160%); transition:.35s; }
.search-panel.open { transform:translateY(0); }
.search-inner { max-width:800px; margin:auto; }
.search-inner > label { font-size:10px; color:var(--rose-dark); letter-spacing:.18em; }
.search-row { display:flex; border-bottom:1px solid var(--ink); }
.search-row input { flex:1; border:0; outline:none; padding:13px 0; background:transparent; font-size:22px; }
.search-results { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.search-results button { padding:8px 12px; border:1px solid var(--line); border-radius:99px; background:transparent; cursor:pointer; font-size:11px; }

.product-dialog,.checkout-dialog { width:min(880px,calc(100% - 24px)); max-height:90dvh; padding:0; border:0; background:var(--paper); box-shadow:var(--shadow); }
.product-dialog::backdrop,.checkout-dialog::backdrop { background:rgba(31,25,25,.55); }
.dialog-close { position:absolute; z-index:2; right:14px; top:8px; }
.dialog-layout { display:grid; grid-template-columns:1fr 1fr; }
.dialog-art { min-height:480px; display:grid; place-items:center; background:#e8d4cf; }
.dialog-art span { width:58%; aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(47,40,40,.2); border-radius:50%; font:600 72px Georgia, "Times New Roman", serif; }
.dialog-copy { padding:50px; }
.dialog-copy h2 { margin:8px 0; font-size:34px; line-height:1.2; }
.dialog-copy > p { color:var(--muted); font-size:13px; }
.dialog-copy ul { padding-left:18px; color:var(--muted); font-size:12px; }
.dialog-price { display:flex; justify-content:space-between; align-items:center; margin:27px 0; padding-top:20px; border-top:1px solid var(--line); }
.dialog-price strong { font:600 26px Georgia, "Times New Roman", serif; }
.dialog-copy .button { width:100%; }
.checkout-content { padding:45px; }
.checkout-content h2 { margin:7px 0 25px; font-size:34px; }
.checkout-summary { margin-bottom:25px; padding:16px; background:#f7f0eb; font-size:11px; }
.checkout-line { display:flex; justify-content:space-between; padding:5px 0; }
.checkout-line.total { margin-top:8px; padding-top:12px; border-top:1px solid var(--line); font-weight:700; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.checkout-dialog .button { width:100%; }

.toast { position:fixed; z-index:120; left:50%; bottom:26px; padding:12px 20px; border-radius:99px; background:var(--ink); color:#fff; box-shadow:var(--shadow); font-size:11px; opacity:0; visibility:hidden; transform:translate(-50%,12px); transition:.3s; }
.toast.show { opacity:1; visibility:visible; transform:translate(-50%,0); }
.reveal { opacity:0; transform:translateY(25px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1040px) {
  .desktop-nav { display:none; }
  .menu-button { display:grid; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { max-width:760px; }
  .hero-visual { min-height:560px; }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .benefit-strip { grid-template-columns:repeat(2,1fr); }
  .benefit-strip div:nth-child(2) { border-right:0; }
  .benefit-strip div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}

@media (max-width: 760px) {
  .announcement { font-size:10px; letter-spacing:.06em; }
  .site-header { height:70px; padding:0 16px; }
  .brand-mark { width:35px; height:35px; }
  .brand strong { font-size:17px; }
  .cart-button span { display:none; }
  .icon-button { display:none; }
  .hero { min-height:auto; padding-top:62px; }
  .hero h1 { font-size:47px; }
  .hero-stats { gap:22px; }
  .hero-visual { min-height:470px; margin-top:10px; }
  .orbit-one { width:420px; height:420px; }
  .orbit-two { width:300px; height:300px; }
  .mock-card-small { width:145px; height:175px; right:-18px; }
  .mock-card-tag { width:90px; height:112px; left:-8px; bottom:50px; font-size:18px; }
  .hero-badge { width:90px; height:90px; right:0; bottom:2%; }
  .section-heading { display:block; }
  .section-heading p { margin-top:18px; }
  .portfolio-grid { display:block; }
  .portfolio-card { margin-bottom:28px; }
  .art-web { aspect-ratio:1.12; }
  .product-grid { grid-template-columns:1fr; }
  .benefit-strip { grid-template-columns:1fr; }
  .benefit-strip div { border-right:0; border-bottom:1px solid var(--line); }
  .process-section,.about-section,.contact-section { grid-template-columns:1fr; }
  .process-intro { position:static; }
  .about-art { min-height:480px; }
  .about-card.a { width:190px; height:270px; left:8%; }
  .about-card.b { width:190px; right:6%; }
  .newsletter { display:block; }
  .newsletter form { margin-top:25px; min-width:0; }
  .site-footer { grid-template-columns:1fr; }
  .footer-bottom { grid-column:auto; gap:20px; }
  .dialog-layout { grid-template-columns:1fr; }
  .dialog-art { min-height:260px; }
  .dialog-copy,.checkout-content { padding:35px 22px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .search-panel { top:104px; }
}

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


/* FTD integration and portfolio protection */
.portfolio-notice{margin:-18px 0 25px;padding:12px 16px;border-left:3px solid var(--rose);background:rgba(255,255,255,.65);color:var(--muted);font-size:12px}
.portfolio-card .art::after,.product-visual::after{content:"FTD 方拓斗｜作品展示";position:absolute;left:50%;top:50%;z-index:8;transform:translate(-50%,-50%) rotate(-24deg);width:max-content;padding:8px 14px;border:1px solid rgba(255,255,255,.55);background:rgba(47,40,40,.24);color:rgba(255,255,255,.82);font-size:10px;font-weight:700;letter-spacing:.14em;pointer-events:none;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.portfolio-card .art,.product-visual{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.newsletter-actions{display:flex;flex-wrap:wrap;gap:12px}.newsletter-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid currentColor;border-radius:999px;font-size:12px;font-weight:700}.newsletter-actions a:first-child{background:var(--ink);color:#fff;border-color:var(--ink)}
.brand-mark{letter-spacing:-.04em}
@media(max-width:700px){.newsletter-actions{width:100%}.newsletter-actions a{flex:1;min-width:210px}}


/* 雞肉店線上訂購系統作品卡 */
.featured-system-card{
  grid-column:1 / -1;
  display:block;
  color:inherit;
  text-decoration:none;
}
.art-system-preview{
  position:relative;
  aspect-ratio:1.72;
  overflow:hidden;
  background:#f3e8dc;
}
.art-system-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .6s ease;
}
.featured-system-card:hover .art-system-preview img{
  transform:scale(1.025);
}
.system-card-badge{
  position:absolute;
  left:22px;
  top:22px;
  z-index:10;
  padding:9px 14px;
  border-radius:999px;
  background:#a3401d;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 10px 25px rgba(74,35,20,.2);
}
.system-card-action{
  position:absolute;
  right:22px;
  bottom:22px;
  z-index:10;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(47,40,40,.92);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  backdrop-filter:blur(8px);
}
@media(max-width:680px){
  .art-system-preview{aspect-ratio:1.2}
  .system-card-badge{left:12px;top:12px}
  .system-card-action{right:12px;bottom:12px}
}
