@charset "UTF-8";

/* 全站變數：沿用樣本網站 A 的灰底、墨黑、深藍綠與金色裝飾 */
:root {
  --color-ink: #1b1b1b;
  --color-muted: #555b60;
  --color-paper: #d7d9dc;
  --color-deep: #0c2c34;
  --color-gold: #e8ad20;
  --color-line: rgba(27, 27, 27, .3);
  --font-body: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-en: "Inter", var(--font-body);
  --font-base: 16px;
  --font-small: 14px;
  --font-note: 12px;
  --font-large: 20px;
  --content-width: 1100px;
  --page-gutter: clamp(24px, 5vw, 80px);
  --header-height: 96px;
  --section-space: clamp(100px, 12vw, 190px);
  --transition: .3s ease;
}
@media (max-width: 1199px) {
  :root { --header-height: 76px; }
}
@media (max-width: 767px) {
  :root { --header-height: 68px; --section-space: 90px; }
}

/* 修正舊 offcanvas 的 overflow-x: hidden，避免 body 成為 sticky 的捲動祖先 */
.page-home, .page-inner { overflow-x: clip; }

/* 基礎排版與無障礙 */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
.page-home, .page-inner { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--font-base)/2 var(--font-body); letter-spacing: .08em; }
.page-home *, .page-home *::before, .page-home *::after, .page-inner *, .page-inner *::before, .page-inner *::after { box-sizing: border-box; }
.page-home::after, .page-inner::after { content: ""; position: fixed; inset: 0; z-index: 20; background: url("../img/background/bg-texture.png") repeat; background-size: 400px; opacity: .2; pointer-events: none; }
.page-home h1, .page-home h2, .page-home h3, .page-home p, .page-home figure, .page-home ul, .page-home dl, .page-inner h1, .page-inner h2, .page-inner h3, .page-inner p, .page-inner figure, .page-inner ul, .page-inner dl { margin: 0; }
.page-home ul, .page-inner ul { list-style: none; padding: 0; }
.page-home a, .page-inner a { color: inherit; text-decoration: none; }
.page-home :where(button), .page-inner :where(button) { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
.page-home img, .page-inner img { display: block; max-width: 100%; height: auto; }
.page-home :focus-visible, .page-inner :focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.page-home ::selection, .page-inner ::selection { color: #fff; background: var(--color-deep); }
.page-home h2, .page-inner h2 { font: 400 clamp(28px, 3vw, 40px)/1.8 var(--font-body); letter-spacing: .15em; }
.page-home p + p, .page-inner p + p { margin-top: 24px; }
.wrap { width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.section-space { position: relative; padding-block: var(--section-space); }
.eyebrow { display: block; font: 500 var(--font-note)/1.8 var(--font-en); letter-spacing: .18em; margin-bottom: 24px; }
.section-heading { margin-bottom: 56px; }
.section-heading h2 + p { margin-top: 22px; }
.centered { text-align: center; }
.vertical-title { writing-mode: vertical-rl; }
.reveal { transition: opacity .9s ease, transform .9s ease; }
.reveal.is-waiting { opacity: 0; transform: translateY(24px); }

/* 共用按鈕：樣本 A 的白底交錯細框、短橫線與反白效果 */
.page-home .box_btn {position: relative;display: inline-flex;align-items: center;justify-content: center;width: 242px;max-width: calc(100% - 22px);min-height: 42px;margin-inline: 11px;padding: 16px 42px;border: 0;border-radius: 0;background: #fff;color: var(--color-ink);font-size: var(--font-base);font-weight: 500;line-height: 1.5;text-align: center;transition: color .5s ease-in-out, background-color .5s ease-in-out;}
.box_btn .line { position: absolute; pointer-events: none; border-color: var(--color-ink); transition: border-color .5s ease-in-out; }
.box_btn .line.-h { left: -11px; right: -11px; border-top: 1px solid var(--color-ink); }
.box_btn .line.-v { top: -11px; bottom: -11px; width: 1px; border-right: 1px solid var(--color-ink); }
.box_btn .line.-t { top: 0; }
.box_btn .line.-b { bottom: 0; }
.box_btn .line.-l { left: 0; }
.box_btn .line.-r { right: 0; }
.box_btn .line.-p { left: auto; right: 0; top: 50%; width: 38px; border-color: currentColor; }
.page-home .box_btn.solid { background: var(--color-ink); color: #fff; }
.page-home .box_btn.white { background: transparent; color: #fff; }
.box_btn.white .line { border-color: #fff; }
.page-home .box_btn.solid.white { background: #fff; color: var(--color-ink); }
.box_btn.white .line.-p { border-color: currentColor; }
.page-home .box_btn:focus-visible { outline-offset: 14px; }
@media (hover: hover) {
  .page-home .box_btn:hover { background: var(--color-ink); color: #fff; }
  .page-home .box_btn.solid:hover, .page-home .box_btn.white:hover { background: #fff; color: var(--color-ink); }
  .page-home .box_btn.solid.white:hover { background: transparent; color: #fff; }
}
.button-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.text-link { display: inline-flex; gap: 24px; border-bottom: 1px solid currentColor; font-size: var(--font-small); }

/* 入口視覺：直接播放影片、直排文字淡入 */
.index_main { position: relative; z-index: 0; height: calc(100svh - var(--header-height)); min-height: 550px; overflow: hidden; clip-path: inset(0); background: var(--color-deep); color: #fff; }
/* 兩處影片固定於視窗，由各自區塊裁切；影片、遮罩、文字依序堆疊 */
.hero-video, .landscape-video { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.index_main::after, .index_break_movie::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 24, 28, .52), rgba(6, 24, 28, .06) 70%); pointer-events: none; }
.index_main::after, .index_break_movie::after { z-index: 0; }
.hero-logo { position: absolute; top: 50px; left: var(--page-gutter); width: 170px; z-index: 1; }
.hero-copy { position: absolute; left: 14%; bottom: 17%; z-index: 1; display: flex; flex-direction: row-reverse; gap: 24px; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.5; letter-spacing: .26em; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
.hero-copy span { writing-mode: vertical-rl; animation: hero-in 1.5s both; }
.hero-copy span:nth-child(2) { margin-top: 36px; animation-delay: .25s; }
.hero-copy span:nth-child(3) { margin-top: 70px; animation-delay: .5s; }
.hero-caption { position: absolute; z-index: 1; right: var(--page-gutter); top: 50px; writing-mode: vertical-rl; font: 400 var(--font-note)/1.5 var(--font-en); letter-spacing: .2em; }
.hero-copyright { position: absolute; z-index: 1; right: var(--page-gutter); bottom: 40px; font: 400 var(--font-note)/1.5 var(--font-en); writing-mode: vertical-rl; }
.hero-scroll { position: absolute; z-index: 1; bottom: 32px; left: var(--page-gutter); display: flex; align-items: center; gap: 18px; font: 400 var(--font-note)/1 var(--font-en); letter-spacing: .2em; }
.hero-scroll i { width: 1px; height: 52px; background: rgba(255, 255, 255, .6); transform-origin: top; animation: scroll-line 2.5s infinite; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scroll-line { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

/* 導覽：桌機橫列、平板與手機側邊選單 */
#header { position: sticky; top: 0; height: var(--header-height); z-index: 50; color: #fff; background: var(--color-ink); transition: top var(--transition); }
/* 以 top 滑動，保留手機側邊選單與遮罩的視窗定位 */
#header.is-hidden { top: calc(-1 * var(--header-height)); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-inline: var(--page-gutter); }
#header .logo { flex: 0 0 158px; }
#header .gnav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
#header .gnav a, #header .nav-dropdown-toggle { display: block; padding-block: 20px; white-space: nowrap; font-size: var(--font-base); transition: opacity var(--transition); }
#header .gnav a:hover, #header .nav-dropdown-toggle:hover { opacity: .6; }
#header .hnav, .nav-btn, .nav-shop, .nav-cover { display: none; }

/* 共用下拉選單：桌機懸停、觸控點擊與鍵盤展開 */
#header .has-dropdown { position: relative; }
/* 導覽按鈕移除外框，鍵盤聚焦以底色辨識 */
#header button:focus { outline: none; }
#header .nav-dropdown-toggle:focus-visible, #header .nav-btn:focus-visible { background: rgba(255, 255, 255, .14); }
#header .nav-dropdown.is-animating { overflow: hidden; }
#header .nav-dropdown-toggle { display: flex; align-items: center; gap: 10px; padding-inline: 0; border: 0; background: transparent; }
.nav-dropdown-toggle i { width: 7px; height: 7px; margin-top: -4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform var(--transition); }
.nav-dropdown-toggle[aria-expanded="true"] i { transform: translateY(4px) rotate(225deg); }
#header .nav-dropdown { position: absolute; top: 100%; left: 50%; min-width: 180px; padding: 10px; border: 1px solid rgba(255, 255, 255, .2); background: var(--color-ink); box-shadow: 0 12px 24px rgba(0, 0, 0, .15); transform: translateX(-50%); }
#header .nav-dropdown a, #header .nav-dropdown span { display: block; padding: 12px 16px; white-space: nowrap; font-size: var(--font-base); }
#header .nav-dropdown a:hover, #header .nav-dropdown a:focus-visible { background: rgba(255, 255, 255, .1); opacity: 1; }
#header .nav-dropdown [aria-disabled="true"] { opacity: .65; cursor: default; }

/* 桌機子選單避開畫面下緣，清單過高時可在選單內捲動 */
@media (min-width: 1200px) {
  #header .nav-dropdown { overflow-y: auto; overscroll-behavior: contain; }
  #header .has-dropdown.opens-up .nav-dropdown { top: auto; bottom: 100%; }
}

/* 共用山形與浮動裝飾：配置交由外層，yurayura 僅負責浮動 */
#container { overflow: hidden; }
.decor { position: absolute; z-index: 0; pointer-events: none; width: clamp(240px, 35vw, 550px); }
.decor img { width: 100%; }
.decor img + img {width: 75%;margin: -34% 0 0 20%;}
.mountain { position: absolute; z-index: 0; pointer-events: none; }
.section-space > .wrap, .photo-pair, .photo-wide { position: relative; z-index: 1; }
.decor-about { right: -10%; top: -20px; transform: rotate(-12deg); }
.mountain-about { left: -8%; bottom: -80px; width: 48%; }
.decor-photos { left: -10%; top: 25%; transform: rotate(15deg); }
.mountain-photos { width: 100%; bottom: -180px; left: 0; }
.decor-history {left: -8%;top: -15%;}
.decor-tea {right: -5%;top: 10%;}
.mountain-tea { left: -10%; bottom: -160px; width: 46%; }
.decor-shop {left: -12%;top: -130px;}
.mountain-shop { bottom: -70px; width: 100%; }
.decor-news {right: -10%;top: 4%;}

/* 品牌介紹與照片 */
.about-layout { display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: center; gap: 60px; }
.about-layout .section-heading { margin: 0; }
.about-layout .eyebrow { writing-mode: vertical-rl; position: absolute; right: -24px; top: 0; }
.about-layout h2 { line-height: 1.9; }
.about-copy { writing-mode: vertical-rl; height: 355px; line-height: 2.4; letter-spacing: .16em; padding-top: 20px; }
.about-copy p + p { margin: 0 28px 0 0; }
.about-layout > .box_btn {writing-mode: vertical-rl;flex-shrink: 0;width: 54px;min-height: 202px;padding: 0 9px 20px;margin-top: 20px;}
.about-layout > .box_btn .line.-p { right: 50%; top: auto; bottom: 0; transform-origin: 100% 100%; transform: rotate(90deg); }
.index_about_phs { position: relative; padding-bottom: 30px; }
.photo-wide { width: 78%; margin-left: auto !important; }
.photo-wide img { width: 100%; aspect-ratio: 1.88; object-fit: cover; }
.page-home figcaption { margin-top: 16px; font-size: var(--font-note); letter-spacing: .18em; }
.photo-wide figcaption { padding-right: var(--page-gutter); text-align: right; }
.photo-pair { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 120px; gap: 15%; }
.photo-pair figure { width: 40%; }
.photo-pair figure:nth-child(2) { margin-top: 110px; }
.photo-pair img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }

/* 品牌故事 */
.history-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 10%; }
.history-photos { position: relative; }
.history-photos > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.photo-controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 28px; }
.photo-controls button { width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-line); }
.photo-controls button:hover { background: var(--color-ink); color: #fff; }
.photo-count { font: 400 var(--font-note)/1 var(--font-en); }
.history-copy h2 { margin-bottom: 30px; }
.history-copy p { line-height: 2.2; }
.history-copy .box_btn { margin-top: 38px; }

/* 寬幅影片過場 */
.index_break_movie { position: relative; z-index: 0; min-height: 460px; height: 65vw; max-height: 720px; overflow: hidden; clip-path: inset(0); color: #fff; display: grid; place-items: center; text-align: center; }
.index_break_movie::after { background: rgba(7, 21, 23, .35); }
.landscape-copy { position: relative; z-index: 1; padding: 50px var(--page-gutter); }
.landscape-copy h2 { font-size: clamp(26px, 3vw, 40px); }
.landscape-copy p { margin-top: 24px; }

/* 五星製茶與精選榮譽：沿用首頁留白、細線與山形裝飾 */
.index_menu { text-align: center; padding-bottom: 90px; }
#tea-title span { display: inline-block; }
.tea-craft { display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; gap: 64px; max-width: 920px; margin-inline: auto; padding-block: 48px; border-block: 1px solid var(--color-line); }
.tea-rating { color: var(--color-deep); }
.tea-rating time, .tea-list time { display: block; color: var(--color-muted); font: 500 var(--font-small)/1.8 var(--font-en); letter-spacing: .16em; }
.tea-stars { display: block; margin: 20px 0 12px; font-size: var(--font-large); letter-spacing: .3em; padding-left: .3em; }
.tea-rating h3, .tea-craft-copy h3, .tea-list h3 { font-size: var(--font-large); font-weight: 500; line-height: 1.8; }
.tea-rating h3 { letter-spacing: .2em; }
.tea-rating p { margin-top: 12px; font-size: var(--font-small); }
.tea-craft-copy { text-align: left; }
.tea-craft-copy h3 { margin-bottom: 20px; }
.tea-craft-copy p { line-height: 2.2; }
.index_menu .tea-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; margin: 56px auto 0; }
.tea-list li { padding: 8px 24px; }
.tea-list li + li { border-left: 1px solid var(--color-line); }
.tea-list h3 { margin-top: 14px; color: var(--color-deep); }
.tea-list p { margin-top: 14px; color: var(--color-muted); font-size: var(--font-small); }
.index_menu .tea-note { max-width: 640px; margin: 40px auto 0; color: var(--color-muted); font-size: var(--font-small); }

/* 茶席介紹：標題沿用共用樣式，右側直排短句與下方滿版圖片輪轉 */
.cuisine-intro { padding-right: 180px; }
.cuisine-copy { max-width: 570px; margin: 72px 0 0 10%; line-height: 2.2; }
.cuisine-copy .box_btn { margin-top: 32px; }
.cuisine-tagline { position: absolute; top: 100px; right: 0; display: flex; flex-direction: row-reverse; gap: 32px; font-size: var(--font-large); font-weight: 400; line-height: 1.8; letter-spacing: .25em; }
.cuisine-tagline span { writing-mode: vertical-rl; }
.cuisine-tagline span + span { margin-top: 64px; }
.cuisine-slider { position: relative; z-index: 1; margin-top: 120px; overflow: hidden; }
.page-home .cuisine-slider:focus-visible { outline-offset: -4px; }
.cuisine-track { display: flex; width: max-content; animation: cuisine-scroll 60s linear infinite; }
.page-home .cuisine-group { display: flex; flex: 0 0 auto; gap: 40px; padding-right: 40px; }
.cuisine-group li { flex: 0 0 400px; width: 400px; }
.cuisine-group img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cuisine-slider:hover .cuisine-track, .cuisine-slider:focus-within .cuisine-track { animation-play-state: paused; }
@keyframes cuisine-scroll { to { transform: translateX(-25%); } }

/* 本店資訊與 Google 地圖：沿用灰底、細框與低彩度風格 */
.index_shop { padding-top: 100px; }
.shops-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.shop-item { border-top: 1px solid var(--color-line); }
.shop-item:last-child { border-bottom: 1px solid var(--color-line); }
.shop-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; list-style: none; cursor: pointer; font-size: var(--font-large); }
.shop-item summary::-webkit-details-marker { display: none; }
.shop-item summary > span { position: relative; flex: 0 0 18px; height: 18px; }
.shop-item summary > span::before, .shop-item summary > span::after { content: ""; position: absolute; background: currentColor; inset: 8px 0 auto; height: 1px; }
.shop-item summary > span::after { transform: rotate(90deg); transition: transform var(--transition); }
.shop-item[open] summary > span::after { transform: rotate(0); }
.shop-info { padding-bottom: 32px; font-size: var(--font-small); }
.shop-info dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px 14px; margin-block: 26px; }
.shop-info dt { font-weight: 500; }
.shop-info dd { margin: 0; color: var(--color-muted); overflow-wrap: anywhere; }
.shop-map { border: 1px solid var(--color-line); background: var(--color-paper); }
.shop-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.8); }

/* 最新消息 */
.index_news { padding-top: 70px; text-align: center; }
.index_news > .wrap { max-width: 920px; }
.news-list { text-align: left; margin-bottom: 48px !important; }
.news-list li { border-top: 1px solid var(--color-line); }
.news-list li:last-child { border-bottom: 1px solid var(--color-line); }
.news-list a {display: grid;grid-template-columns: 110px 1fr 90px 0px;align-items: center;gap: 24px;padding: 30px 10px;transition: background var(--transition);}
.news-list a:hover { background: rgba(255, 255, 255, .2); }
.news-list time { font: 400 var(--font-small)/1.8 var(--font-en); }
.news-list h3 { font-size: var(--font-base); font-weight: 400; line-height: 1.9; }
.news-category { border: 1px solid var(--color-line); padding: 2px 8px; text-align: center; font-size: var(--font-note); }
.news-arrow { font-size: var(--font-large); }

/* 頁尾山景與直排導覽 */
#footer {position: relative;isolation: isolate;overflow: hidden;padding: clamp(280px, 42vw, 650px) 0 40px;text-align: center;background-color: var(--color-paper);}
.footer-mountains { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.footer-mountains img { position: absolute; width: 100%; min-width: 1000px; max-width: none; height: 1500px; left: 50%; transform: translateX(-50%); object-fit: fill; }
.footer-mountains img:nth-child(2) { top: 30px; }
.footer-mountains img:nth-child(3) { top: 90px; }
.footer-mountains img:nth-child(4) { top: 220px; }
.footer-mountains img:nth-child(5) { top: 260px; }
.decor-footer { inset: 60px 0 auto; width: 100%; z-index: -1; }
.decor-footer img { position: absolute; width: 36%; left: -7%; }
.decor-footer img:nth-child(2) { left: 62%; top: 80px; width: 34%; margin: 0; }
.decor-footer img:nth-child(3) { left: 12%; top: 210px; width: 25%; margin: 0; }
.footer-content { position: relative; }
.footer-logo { display: block; width: 293px; margin: 0 auto; }
.footer-tagline { margin: 30px 0 60px !important; font-size: var(--font-small); letter-spacing: .2em; }
#footer nav { display: flex; flex-direction: row-reverse; justify-content: center; gap: 40px; margin-bottom: 85px; }
#footer nav ul { display: flex; flex-direction: row-reverse; }
#footer nav a { display: block; writing-mode: vertical-rl; padding: 12px 20px; line-height: 1.6; letter-spacing: .3em; transition: opacity var(--transition); }
#footer nav a:hover { opacity: .5; }
.footer-gnav { font-size: var(--font-large); }
.footer-hnav { font-size: var(--font-small); }
.footer-info { font-size: var(--font-small); margin-bottom: 36px; }
.footer-info p + p { font-size: var(--font-note); margin-top: 8px; }
#footer small { font: 400 var(--font-note)/1.8 var(--font-en); letter-spacing: .08em; }
.back-top { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; font-size: var(--font-large); }
.back-top span { font: 400 var(--font-note)/2 var(--font-en); }

/* 手機選單開啟時鎖定背景捲動 */
html.has-overlay { overflow: hidden; }

/* 平板與窄桌機 */
@media (max-width: 1199px) {
  #header .logo { flex-basis: 125px; }
  .nav-shop { display: block; margin-left: auto; font-size: var(--font-small); border-bottom: 1px solid rgba(255, 255, 255, .5); }
  .nav-btn { display: flex; position: relative; align-items: center; gap: 14px; z-index: 3; border: 0; background: transparent; padding: 14px 0 14px 14px; font-size: var(--font-note); }
  .nav-btn i { position: relative; width: 24px; height: 16px; }
  .nav-btn i::before, .nav-btn i::after { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 1px; background: #fff; transition: transform var(--transition); }
  .nav-btn i::after { top: 12px; }
  .nav-btn[aria-expanded="true"] i::before { transform: translateY(4px) rotate(45deg); }
  .nav-btn[aria-expanded="true"] i::after { transform: translateY(-4px) rotate(-45deg); }
  #main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(380px, 90vw); padding: calc(var(--header-height) + 28px) 32px 36px; background: var(--color-ink); transform: translateX(100%); visibility: hidden; transition: transform var(--transition), visibility var(--transition); overflow-y: auto; overscroll-behavior: contain; }
  #header.is-open #main-nav { transform: none; visibility: visible; }
  #header .gnav { display: block; }
  #header .gnav > li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
  #header .gnav > li > a, #header .nav-dropdown-toggle { width: 100%; padding: 16px 0; }
  #header .nav-dropdown-toggle { justify-content: space-between; }
  #header .nav-dropdown { position: static; min-width: 0; padding: 0 0 12px 16px; border: 0; box-shadow: none; transform: none; }
  #header .nav-dropdown a, #header .nav-dropdown span { padding: 10px 12px; }
  #header .hnav {display: flex;gap: 28px;margin-top: 30px;font-size: var(--font-small);flex-wrap: wrap;}
  .nav-cover { position: fixed; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: rgba(9, 21, 25, .65); }
  .about-layout { gap: 32px; }
  .about-copy { font-size: var(--font-small); line-height: 2.1; }
  .about-copy p + p { margin-right: 18px; }
  .history-layout { gap: 7%; }
  #footer nav { gap: 20px; }
  #footer nav a { padding-inline: 14px; }
}

/* 茶席介紹平板版：短句改橫排，圖片維持連續輪轉 */
@media (max-width: 990px) {
  .cuisine-intro { padding-right: 0; }
  .cuisine-intro .cuisine-tagline { position: static; flex-direction: column; gap: 16px; margin: 48px 0 0 10%; }
  .cuisine-tagline span { writing-mode: horizontal-tb; }
  .cuisine-tagline span + span { margin-top: 0; }
  .cuisine-copy { margin-top: 40px; }
  .cuisine-slider { margin-top: 80px; }
  .cuisine-group li { flex-basis: 310px; width: 310px; }
}

/* 手機：水平內文、收斂裝飾與適合觸控的間距 */
@media (max-width: 767px) {
  .page-home, .page-inner { letter-spacing: .06em; }
  .page-home h2, .page-inner h2 { font-size: 28px; }
  .section-heading { margin-bottom: 40px; }
  .eyebrow { letter-spacing: .12em; margin-bottom: 18px; }
  #header { position: fixed; left: 0; right: 0; top: 0; }
  .header-in { gap: 20px; padding-inline: 20px; }
  #header .logo { flex-basis: 104px; }
  .nav-btn { gap: 10px; }
  .nav-shop { font-size: var(--font-note); }
  .index_main { height: 100svh; min-height: 620px; }
  .hero-logo { display: none; }
  .hero-copy { left: 12%; bottom: 22%; gap: 16px; font-size: 30px; }
  .hero-caption { top: calc(var(--header-height) + 34px); right: 24px; }
  .hero-copyright { display: none; }
  .hero-scroll { bottom: 32px; }
  .decor { width: 260px; opacity: .85; }
  .decor-about {top: -5px;right: inherit;left: -125px;transform: scale(1.5);mix-blend-mode: color-burn;}
  .about-layout { display: block; }
  .about-layout .section-heading { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 24px; margin-bottom: 56px; }
  .about-layout .eyebrow { position: static; margin: 0; }
  .about-copy { writing-mode: horizontal-tb; height: auto; padding: 0; font-size: var(--font-base); line-height: 2.2; letter-spacing: .06em; }
  .about-copy p + p { margin: 24px 0 0; }
  .page-home .box_btn {width: 212px;min-height: 37px;padding: 12px 35px;font-size: var(--font-small);}
  .box_btn .line.-p { width: 31px; }
  .about-layout > .box_btn { writing-mode: horizontal-tb; margin-top: 36px; }
  .about-layout > .box_btn .line.-p { right: 0; top: 50%; bottom: auto; transform: none; }
  .mountain-about { width: 90%; bottom: 0; left: -30%; }
  .photo-wide { width: 92%; }
  .photo-wide img { aspect-ratio: 1.45; }
  .photo-wide figcaption { font-size: var(--font-note); }
  .photo-pair { margin-top: 56px; gap: 36px; display: block; }
  .photo-pair figure { width: 76%; }
  .photo-pair figure:nth-child(2) { margin-top: 45px; margin-left: auto; }
  .decor-photos { top: 29%; left: -130px; }
  .mountain-photos { bottom: -30px; width: 160%; max-width: none; }
  .history-layout { display: flex; flex-direction: column-reverse; gap: 50px; }
  .history-copy h2 { font-size: 28px; }
  .history-photos { width: 85%; }
  .decor-history { top: auto; bottom: -30px; left: -130px; }
  .index_break_movie { height: 70svh; min-height: 420px; max-height: 650px; }
  .landscape-copy h2 { max-width: 250px; margin: 0 auto; line-height: 2; }
  .landscape-copy .eyebrow { font-size: var(--font-note); }
  /* 五星製茶手機版：評鑑與說明上下排列，獎項逐項閱讀 */
  .tea-craft { grid-template-columns: 1fr; gap: 32px; padding-block: 32px; }
  .tea-craft-copy h3 { text-align: center; }
  .index_menu .tea-list { grid-template-columns: 1fr; margin-top: 32px; }
  .tea-list li { padding: 28px 0; }
  .tea-list li + li { border-left: 0; border-top: 1px solid var(--color-line); }
  .index_menu .tea-note { margin-top: 24px; }
  .decor-tea {top: -40px;right: -80px;transform: scale(1.5);mix-blend-mode: color-burn;}
  .mountain-tea { width: 90%; left: -45%; bottom: 0; }
  .index_shop { padding-top: 80px; }
  .shops-layout { grid-template-columns: 1fr; gap: 36px; }
  .shop-item summary { font-size: var(--font-base); padding-block: 24px; }
  .shop-map iframe { height: 300px; }
  .button-group { gap: 32px; margin-top: 36px; }
  .button-group .box_btn { width: calc(100% - 22px); }
  .decor-shop { left: -180px; top: -15px; }
  .mountain-shop { max-width: none; width: 180%; left: -40%; }
  .index_news { padding-top: 30px; }
  .news-list a {grid-template-columns: 1fr auto 0px;gap: 10px 14px;padding: 24px 0;}
  .news-list time { font-size: var(--font-note); }
  .news-list h3 { grid-row: 2; grid-column: 1 / 3; }
  .news-category { grid-row: 1; grid-column: 2; }
  .news-arrow { grid-row: 2; grid-column: 3; }
  .decor-news { top: 0; right: -190px; }
  #footer { padding-top: 280px; padding-bottom: 28px; }
  .footer-mountains img { min-width: 650px; height: 1100px; }
  .footer-mountains img:nth-child(4) { top: 100px; }
  .footer-mountains img:nth-child(5) { top: 130px; }
  .decor-footer { width: 100%; top: 40px; }
  .decor-footer img { width: 65%; left: -20%; }
  .decor-footer img:nth-child(2) { width: 65%; left: 60%; top: 40px; }
  .decor-footer img:nth-child(3) { width: 40%; top: 140px; left: 0; }
  .footer-logo { width: 184px; }
  .footer-tagline { margin-bottom: 38px !important; }
  #footer nav { display: block; margin-bottom: 48px; }
  #footer nav ul {justify-content: center;flex-direction: column;}
  #footer nav a {padding-inline: clamp(5px, 2vw, 10px);writing-mode: inherit;}
  .footer-gnav { font-size: var(--font-base); }
  .footer-hnav { margin-top: 30px !important; }
  .footer-info { margin-bottom: 24px; }
  #footer small { display: block; max-width: 240px; margin-inline: auto; }
  .back-top { right: -4px; }
}

/* 元件隱藏狀態與減少動態偏好 */
.page-home [hidden], .page-inner [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy span, .hero-scroll i { animation: none; }
  .reveal, #header, #main-nav, .nav-dropdown-toggle i, .page-home .box_btn, .box_btn .line { transition: none; }
  .reveal.is-waiting { opacity: 1; transform: none; }
  .cuisine-track { animation: none; width: 100%; }
  .page-home .cuisine-group { width: 100%; flex-wrap: wrap; justify-content: center; padding-inline: var(--page-gutter); }
  .cuisine-group li { flex-basis: min(400px, 100%); width: min(400px, 100%); }
  .cuisine-group[aria-hidden="true"] { display: none; }
}
