:root {
  --bg: #f6f1e8;
  --bg-soft: rgba(255,248,240,.70);
  --card: rgba(255,252,247,.78);
  --text: #2b221b;
  --muted: #6e5e50;
  --primary: #6f8b74;
  --primary-2: #9fb59b;
  --accent: #b79263;
  --line: rgba(111,139,116,.14);
  --shadow: 0 24px 70px rgba(51,34,20,.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1180px, calc(100vw - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Serif TC", "Noto Serif JP", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(159,181,155,.16), transparent 28%),
    radial-gradient(circle at top right, rgba(183,146,99,.16), transparent 24%),
    linear-gradient(180deg, #fbf8f3, #f4eee5 48%, #f9f6f0 100%);
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select { font: inherit; }
.page-shell { position: relative; isolation: isolate; }
.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: .35;
  z-index: -1;
}
.page-shell::before { top: -80px; left: -80px; background: rgba(159,181,155,.25); }
.page-shell::after { right: -100px; bottom: 10vh; background: rgba(183,146,99,.16); }
.container { width: var(--container); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(248,243,236,.62);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 28px rgba(43,34,27,.04);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 6px 0 4px;
}
.brand-wrap { justify-self: center; text-align: center; }
.brand-wrap img { width: min(158px, 28vw); margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(111,139,116,.10)); }
.brand-subtitle { font-size: .82rem; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.header-spacer { min-height: 1px; }
.lang-switcher {
  justify-self: end; display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; align-items: center;
}
.lang-btn {
  border: none;
  background: transparent;
  color: rgba(110,94,80,.82);
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: .08em;
  font-size: .76rem;
  transition: color .24s ease, opacity .24s ease;
  box-shadow: none;
  position: relative;
}
.lang-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .24s ease;
}
.lang-btn:hover, .lang-btn.active {
  transform: none;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}
.lang-btn:hover::after, .lang-btn.active::after { width: 100%; }
.site-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
  padding: 0 0 8px;
}
.site-nav a {
  padding: 6px 0;
  border-radius: 0;
  color: rgba(110,94,80,.9);
  font-weight: 600;
  letter-spacing: .14em;
  font-size: .86rem;
  transition: color .24s ease, transform .24s ease;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .24s ease;
}
.site-nav a:hover, .site-nav a.active {
  background: transparent;
  color: var(--text);
  transform: none;
  box-shadow: none;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.hero {
  width: var(--container); margin: 18px auto 0; position: relative; overflow: hidden;
  border-radius: 40px; min-height: 86vh; display: grid; align-items: end;
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 40%);
  pointer-events: none;
  z-index: 1;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,16,16,.10), rgba(20,26,26,.34) 54%, rgba(10,16,16,.72));
}
.hero-content {
  position: relative; z-index: 2; color: white; padding: clamp(28px, 4vw, 52px);
  max-width: 700px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,248,240,.12); border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px; padding: 10px 16px; backdrop-filter: blur(10px);
  font-size: .86rem;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,217,142,.16);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: .08em; line-height: 1.08; margin: 16px 0; }
.hero p { font-size: clamp(1rem, 1.15vw, 1.1rem); color: rgba(255,255,255,.90); max-width: 42rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 20px; font-weight: 700; cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
  border: none;
}
.btn:hover { transform: translateY(-3px) scale(1.01); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; box-shadow: 0 18px 34px rgba(15,138,138,.22); }
.btn-secondary { background: rgba(255,255,255,.14); color: white; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); }
section { padding: 72px 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 3.1rem); line-height: 1.1; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.glass-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-xl);
  box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.story-grid, .split-grid, .gallery-grid, .contact-grid, .feature-grid {
  display: grid; gap: 24px;
}
.story-grid { grid-template-columns: 1.08fr .92fr; }
.split-grid { grid-template-columns: 1fr 1fr; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(12, 1fr); }
.gallery-card {
  position: relative; overflow: hidden; min-height: 240px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow); cursor: pointer; transform: translateY(0) rotate(0deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 28px 54px rgba(19,49,49,.18); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 34%);
  mix-blend-mode: screen; z-index: 1; pointer-events: none;
}
.gallery-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(6,22,22,.55));
}
.gallery-card .caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: white;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
}
.gallery-card .caption strong { font-size: 1.1rem; }
.gallery-card .caption span { font-size: .95rem; opacity: .9; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.story-card, .info-card, .table-wrap, .timeline, .contact-card {
  padding: 28px;
}
.story-card p, .info-card p, .contact-card p { color: var(--muted); }
.badge-row, .icon-list, .chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(15,138,138,.08); color: var(--primary); font-weight: 700;
}
.floaty {
  animation: floaty 5.6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.info-card {
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ""; position: absolute; inset: auto -20px -20px auto; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,217,142,.45), transparent 65%);
}
.image-stack {
  display: grid; grid-template-columns: repeat(12, 1fr); align-items: center;
}
.image-stack .img-a, .image-stack .img-b {
  overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); position: relative;
}
.image-stack .img-a img, .image-stack .img-b img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.image-stack .img-a:hover img, .image-stack .img-b:hover img { transform: scale(1.08); }
.image-stack .img-a { grid-column: 1 / span 8; min-height: 500px; }
.image-stack .img-b { grid-column: 7 / span 6; min-height: 320px; margin-top: 180px; border: 8px solid rgba(255,255,255,.78); }
.table-wrap { overflow-x: auto; }
.styled-table {
  width: 100%; border-collapse: collapse; min-width: 640px; overflow: hidden; border-radius: 22px;
}
.styled-table thead th {
  background: linear-gradient(135deg, rgba(15,138,138,.95), rgba(100,197,182,.92)); color: white;
  padding: 16px; text-align: left;
}
.styled-table tbody td {
  padding: 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.62);
}
.styled-table tbody tr:hover td { background: rgba(255,255,255,.92); }
.pricing-note { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.timeline {
  display: grid; gap: 16px;
}
.timeline-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.timeline-item .dot {
  width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  margin-top: 10px; box-shadow: 0 0 0 8px rgba(100,197,182,.15);
}
.timeline-item .content {
  background: rgba(255,255,255,.66); padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.55);
}
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-card strong { display: block; font-size: 1.1rem; margin-bottom: 10px; }
.map-box {
  overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); min-height: 430px; background: white;
}
.map-box iframe { width: 100%; min-height: 430px; border: 0; }
.cta-band {
  padding: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, rgba(111,139,116,.96), rgba(159,181,155,.92)); color: white;
  border-radius: 32px; box-shadow: var(--shadow);
}
.site-footer { padding: 34px 0 120px; }
.footer-inner {
  text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center;
}
.footer-inner img { width: 48px; height: 48px; }
.floating-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(255,252,247,.72); border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 20px 44px rgba(43,34,27,.16); backdrop-filter: blur(16px);
}
.float-btn {
  min-width: 0; border: none; border-radius: 999px; padding: 11px 16px; cursor: pointer; color: white; font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 12px 20px rgba(43,34,27,.12); transition: transform .24s ease, box-shadow .24s ease, opacity .24s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 28px rgba(43,34,27,.16); }
.float-btn.call { background: linear-gradient(135deg, #8f7862, #b79263); }
.float-btn.nav { background: linear-gradient(135deg, #6f8b74, #9fb59b); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.parallax { will-change: transform; }
.modal {
  position: fixed; inset: 0; background: rgba(9,20,20,.56); display: none; place-items: center; padding: 20px; z-index: 100;
}
.modal.open { display: grid; }
.modal-panel {
  width: min(560px, 100%); background: rgba(255,255,255,.95); border-radius: 28px; padding: 24px; box-shadow: 0 30px 70px rgba(10,20,20,.28);
}
.modal-panel h3 { margin-top: 0; }
.modal-actions { display: grid; gap: 12px; margin-top: 18px; }
.modal-actions a, .modal-close {
  display: flex; align-items: center; justify-content: center; border-radius: 18px; min-height: 54px; font-weight: 800;
}
.modal-actions a { background: rgba(15,138,138,.08); color: var(--primary); }
.modal-close { margin-top: 16px; border: 1px solid var(--line); background: white; cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; background: rgba(5,10,10,.88); display: none; place-items: center; padding: 28px; z-index: 110;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 84vh; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.lightbox button {
  position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.16); color: white; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
}
@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr; }
  .header-spacer { display: none; }
  .brand-wrap, .lang-switcher { justify-self: center; }
  .section-head, .story-grid, .split-grid, .contact-grid, .feature-grid { grid-template-columns: 1fr; }
  .image-stack { display: grid; gap: 18px; }
  .image-stack .img-a, .image-stack .img-b { grid-column: auto; min-height: 280px; margin-top: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .span-4, .span-5, .span-7, .span-8 { grid-column: span 1; }
  .hero { min-height: 66vh; }
}
@media (max-width: 640px) {
  .hero { border-radius: 26px; }
  .hero-content { padding: 24px; }
  section { padding: 54px 0; }
  .story-card, .info-card, .table-wrap, .timeline, .contact-card { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .floating-bar {
    left: 12px; right: 12px; bottom: 14px; justify-content: center;
    display: flex; padding: 10px;
  }
  .float-btn { flex: 1 1 0; width: auto; }
}

.hero-media img {
  animation: heroBreath 22s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 24%, rgba(255,255,255,.12), transparent 22%), radial-gradient(circle at 75% 18%, rgba(255,255,255,.08), transparent 18%), radial-gradient(circle at 48% 62%, rgba(255,255,255,.10), transparent 20%);
  mix-blend-mode: screen;
  opacity: .42;
  pointer-events: none;
  z-index: 1;
  animation: steamShift 18s ease-in-out infinite alternate;
}
.site-header.header-scrolled {
  background: rgba(248,243,236,.84);
  box-shadow: 0 18px 36px rgba(43,34,27,.08);
}
@keyframes heroBreath {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.09); }
}
@keyframes steamShift {
  0% { transform: translate3d(-1.2%, 0, 0); opacity: .28; }
  100% { transform: translate3d(1.2%, -1.4%, 0); opacity: .45; }
}
