:root {
  --v3-bg-primary: #f5f4f0;
  --v3-bg-secondary: #ebe8e2;
  --v3-text: #2c2c2c;
  --v3-primary: #7a8271;
  --v3-secondary: #8c7662;
  --bg: #fbf9f6;
  --surface: #fffdf9;
  --sand: #f3ede4;
  --text: #2c2a29;
  --muted: #6f6861;
  --moss: #8f9382;
  --moss-dark: #767b6c;
  --hojicha: #c2a68c;
  --accent: #c2a68c;
  --line: rgba(44, 42, 41, 0.1);
  --shadow: 0 18px 54px rgba(44, 42, 41, 0.08);
  --font-sans: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
li,
a,
span,
button {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.22;
}

h1 {
  max-width: 9.5em;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.2vw, 5.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

section {
  max-width: 100%;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 96px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(122, 130, 113, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  font-weight: 800;
  transition: transform 160ms ease;
}

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

.page-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(44, 44, 44, 0.08);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--text);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--text);
  background: rgba(250, 246, 239, 0.9);
  box-shadow: 0 12px 30px rgba(67, 52, 40, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 31, 0.08);
  border-radius: 8px;
  background: var(--hojicha);
  box-shadow: 0 12px 26px rgba(67, 52, 40, 0.12);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #bfa58d;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.site-nav a:not(.nav-cta) {
  border-bottom: 1px solid transparent;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta).is-active {
  border-color: currentColor;
}

.nav-cta {
  border-radius: 8px;
  padding: 10px 16px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(67, 52, 40, 0.1);
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  background: var(--moss);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(24px, 6vw, 96px) clamp(74px, 8vw, 118px);
  color: var(--text);
  background: var(--bg);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.9) contrast(0.94) brightness(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(250, 246, 239, 0.94), rgba(250, 246, 239, 0.68) 42%, rgba(250, 246, 239, 0.18) 72%),
    linear-gradient(0deg, rgba(250, 246, 239, 0.68), rgba(250, 246, 239, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--hojicha);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--hojicha);
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--moss);
  color: #fff;
  box-shadow: 0 16px 32px rgba(111, 118, 101, 0.2);
}

.button.primary:hover {
  background: var(--moss-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.secondary.dark {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.section {
  padding: clamp(82px, 10vw, 136px) clamp(20px, 6vw, 96px);
}

.band {
  background: rgba(238, 229, 218, 0.52);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.studio-intro {
  background: var(--bg);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1160px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}

.studio-grid article {
  min-width: 0;
  padding: clamp(24px, 3.2vw, 36px);
  background: rgba(255, 250, 242, 0.78);
}

.studio-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--moss);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.studio-grid h3 {
  margin-bottom: 12px;
}

.studio-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.brand-experience {
  background:
    linear-gradient(180deg, rgba(251, 249, 246, 0), rgba(243, 237, 228, 0.72) 18%, rgba(243, 237, 228, 0.72) 82%, rgba(251, 249, 246, 0));
}

.brand-experience-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
  padding: clamp(42px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-experience-copy {
  position: sticky;
  top: 112px;
  max-width: 520px;
}

.brand-experience-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-experience-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.brand-experience-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.brand-experience-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: baseline;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 253, 249, 0.82);
}

.brand-experience-list span {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.brand-experience-list h3 {
  margin-bottom: 0;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-experience-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.course-grid article {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(67, 52, 40, 0.06);
  flex-direction: column;
}

.course-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.course-grid article div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.course-grid span {
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 5px 9px;
  background: rgba(122, 130, 113, 0.12);
  color: var(--moss-dark);
  font-size: 12px;
  font-weight: 900;
}

.course-grid h3 {
  font-size: 1.35rem;
}

.course-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: min(980px, 100%);
  margin: 28px auto 0;
}

.course-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.photo-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(67, 52, 40, 0.08);
}

.photo-grid figure.is-hidden {
  display: none;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  transition: transform 240ms ease;
}

.photo-grid figure:nth-child(1) {
  grid-column: span 2;
}

.photo-grid figure:nth-child(1) img {
  aspect-ratio: 16 / 9;
}

.photo-grid figure:hover img {
  transform: scale(1.025);
}

.photo-grid figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--text);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.gallery-card-course {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.booking-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 22px;
  min-width: 0;
}

.booking-copy,
.booking-card,
.qr-card,
.info-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(44, 44, 44, 0.06);
}

.booking-copy,
.booking-card,
.info-card {
  padding: clamp(24px, 3.5vw, 36px);
}

.booking-copy p:not(.eyebrow),
.booking-card li,
.info-card li {
  color: var(--muted);
}

.booking-card ul,
.info-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 1.2em;
}

.booking-card .button {
  width: 100%;
}

.qr-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: center;
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
}

.qr-image-frame {
  display: grid;
  width: min(232px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(44, 44, 44, 0.12);
}

.qr-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-copy {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.qr-copy .button {
  width: 100%;
  margin-top: 4px;
}

.qr-card span {
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qr-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.72fr);
  gap: 22px;
  width: min(1080px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.map-card {
  overflow: hidden;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: var(--sand);
}

.link-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.link-stack .button {
  width: 100%;
}

.social-links {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.social-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
}

.social-links a::after {
  content: "↗";
  color: var(--moss);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(880px, 100%);
  margin: 0 auto;
}

.faq-list article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 18px 22px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-list strong {
  flex: 0 0 auto;
  color: var(--moss);
  font-family: var(--font-sans);
  font-size: 20px;
}

.faq-list p {
  display: none;
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-list article.is-open p {
  display: block;
}

.back-to-top {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 84px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.86);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-action-bar {
  display: none;
}

.gallery-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(29, 27, 24, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.7fr);
  width: min(980px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.gallery-modal-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #241f1b;
}

.gallery-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.gallery-modal-copy p:not(.eyebrow) {
  color: var(--muted);
}

.gallery-modal-course {
  width: fit-content;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(122, 130, 113, 0.12);
  color: var(--moss-dark);
  font-size: 14px;
  font-weight: 900;
}

.gallery-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.gallery-modal-actions .button {
  width: 100%;
}

.gallery-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 36px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: #f1e8dc;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-weight: 800;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 1040px) {
  .course-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .brand-experience-layout {
    grid-template-columns: 1fr;
  }

  .brand-experience-copy {
    position: static;
    max-width: 760px;
  }

  .brand-experience-list article {
    grid-template-columns: 54px minmax(0, 0.84fr) minmax(0, 1fr);
  }

  .photo-grid figure,
  .photo-grid figure:nth-child(1),
  .photo-grid figure:nth-child(5),
  .photo-grid figure:nth-child(7),
  .photo-grid figure:nth-child(10),
  .photo-grid figure:nth-child(14),
  .photo-grid figure:nth-child(20),
  .photo-grid figure:nth-child(21) {
    grid-column: auto;
  }

  .booking-section,
  .booking-main,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .map-card img {
    height: auto;
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

}

@media (max-width: 680px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 110px 18px 112px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(250, 246, 239, 0.96), rgba(250, 246, 239, 0.72) 58%, rgba(250, 246, 239, 0.18)),
      linear-gradient(90deg, rgba(250, 246, 239, 0.88), rgba(250, 246, 239, 0.36));
  }

  h1 {
    max-width: 9.2em;
    font-size: 2.28rem;
    line-height: 1.24;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .hero-actions .button,
  .booking-copy .button {
    width: 100%;
  }

  .hero-actions .button.secondary {
    display: none;
  }

  .section {
    padding: 72px 18px;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .course-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .studio-grid article {
    padding: 22px;
  }

  .brand-experience-layout {
    padding: 32px 0;
  }

  .brand-experience-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .brand-experience-list h3 {
    font-size: 1.22rem;
  }

  .course-grid article div,
  .booking-copy,
  .booking-card,
  .info-card {
    padding: 22px;
  }

  .qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px;
    text-align: center;
  }

  .qr-image-frame {
    width: min(236px, calc(100vw - 104px));
    padding: 12px;
  }

  .qr-copy .button {
    min-height: 46px;
  }

  .link-stack {
    grid-template-columns: 1fr;
  }

  .faq-list button {
    align-items: flex-start;
    padding: 18px;
  }

  .faq-list p {
    padding: 0 18px 18px;
  }

  .back-to-top {
    right: 18px;
    bottom: 96px;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 40;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 8px;
    background: rgba(44, 44, 44, 0.92);
    box-shadow: 0 18px 42px rgba(44, 44, 44, 0.28);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-action-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-action-bar a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    line-height: 1.18;
  }

  .mobile-action-bar a {
    background: var(--moss);
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-card {
    grid-template-columns: 1fr;
    max-height: 88svh;
    overflow-y: auto;
  }

  .gallery-modal-card img {
    min-height: 0;
    max-height: 52svh;
  }

  .gallery-modal-copy {
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 108px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
  }
}

/* Premium Japandi rebuild */
.brand-site-container {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 48px;
}

.site-header {
  padding: 18px clamp(24px, 4vw, 64px);
  background: rgba(251, 249, 246, 0.78);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 249, 246, 0.92);
}

.brand-mark,
.footer-brand img {
  border-radius: 4px;
}

.nav-cta,
.button,
.faq-list article,
.booking-copy,
.booking-card,
.qr-card,
.info-card,
.map-card {
  border-radius: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 96px);
  min-height: 100svh;
  align-items: center;
  justify-items: stretch;
  padding: 132px clamp(48px, 7vw, 112px) 72px;
  text-align: left;
  isolation: isolate;
}

.hero-bg {
  opacity: 0.94;
  object-position: center center;
  filter: saturate(0.9) sepia(0.06) brightness(1.01) contrast(0.96);
}

.hero-shade {
  background:
    radial-gradient(circle at 82% 34%, rgba(243, 237, 228, 0.66), rgba(251, 249, 246, 0) 36%),
    linear-gradient(90deg, rgba(251, 249, 246, 0.98), rgba(251, 249, 246, 0.72) 58%, rgba(251, 249, 246, 0.34));
}

.hero-inner {
  display: grid;
  justify-items: start;
  width: min(620px, 100%);
  animation: koalaFadeUp 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  max-width: 8.4em;
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(3.5rem, 5.5vw, 6.1rem);
  line-height: 1.22;
  letter-spacing: 0.12em;
}

.hero-script {
  margin: 0 0 28px;
  color: rgba(194, 166, 140, 0.82);
  font-family: "Segoe Script", "Bradley Hand ITC", "Noto Serif TC", serif;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  line-height: 1;
  transform: rotate(-4deg);
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 32px;
  color: rgba(44, 42, 41, 0.74);
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 680px);
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 32px 90px rgba(44, 42, 41, 0.1);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 0.86;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) brightness(1.06) sepia(0.04);
}

.scroll-cue {
  display: grid;
  width: 48px;
  min-width: 48px;
  height: 58px;
  margin-top: clamp(34px, 5vw, 76px);
  place-items: center;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--accent), rgba(194, 166, 140, 0));
  animation: koalaScrollCue 1.7s ease-in-out infinite;
}

@keyframes koalaFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes koalaScrollCue {
  0%,
  100% {
    transform: translateY(-4px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.section {
  padding: clamp(96px, 10vw, 156px) 0;
}

.section > .section-heading,
.section > .booking-main,
.section > .qr-card,
.visit-section > .section-heading,
.visit-grid,
.faq-list,
.booking-section {
  width: min(1440px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
}

.editorial-heading {
  width: min(860px, 100%);
  margin-bottom: 56px;
}

.course-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 32px);
  align-items: stretch;
}

.course-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(44, 42, 41, 0.045);
}

.course-card-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.course-card-image-wrapper img {
  width: 100%;
  height: clamp(260px, 24vw, 340px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(1.08) sepia(0.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-card-image-wrapper img {
  transform: scale(1.03);
}

.course-card-copy {
  display: grid;
  align-content: start;
  min-height: 212px;
  padding: clamp(24px, 2.2vw, 30px);
}

.course-card-copy span,
.handcraft-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-card-copy h3,
.handcraft-copy h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  letter-spacing: 0.03em;
}

.course-card-copy p,
.handcraft-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.handcraft-special-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 32px;
  border-radius: 4px;
  padding: clamp(42px, 5vw, 64px);
  background: var(--sand);
}

.handcraft-copy .button {
  margin-top: 28px;
}

.handcraft-image {
  overflow: hidden;
  border-radius: 4px;
}

.handcraft-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(0.82) brightness(1.08) sepia(0.05);
}

.portfolio-section {
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 3vw, 52px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.portfolio-grid figure,
.portfolio-grid figure:nth-child(1) {
  display: grid;
  grid-column: auto;
  grid-template-rows: auto minmax(78px, auto);
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(44, 42, 41, 0.08);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 18px 48px rgba(44, 42, 41, 0.045);
}

.portfolio-grid img,
.portfolio-grid figure:nth-child(1) img {
  width: 100%;
  height: clamp(330px, 34vw, 470px);
  padding: clamp(18px, 2vw, 28px);
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(243, 237, 228, 0.9), rgba(251, 249, 246, 0.9));
  filter: saturate(0.88) brightness(1.04) sepia(0.04);
  box-shadow: none;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid figure:hover img {
  transform: scale(1.018);
  filter: saturate(0.94) brightness(1.02) sepia(0.02);
}

.portfolio-grid figcaption {
  position: static;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px);
  background: transparent;
  color: var(--text);
  opacity: 1;
  transform: none;
  backdrop-filter: none;
}

.portfolio-grid figcaption strong,
.portfolio-grid figcaption span {
  display: block;
  overflow-wrap: anywhere;
}

.portfolio-grid figcaption strong {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portfolio-grid figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.group-program-section {
  background: var(--bg);
}

.group-program-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.group-program-copy {
  max-width: 470px;
}

.group-program-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.group-program-copy p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

.group-program-image {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
}

.group-program-image img {
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  object-fit: cover;
  filter: saturate(0.82) brightness(1.08) sepia(0.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.group-program-image:hover img {
  transform: scale(1.025);
}

.group-program-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.group-program-features article {
  min-width: 0;
  padding: 28px 24px;
  text-align: center;
}

.group-program-features article + article {
  border-left: 1px solid var(--line);
}

.group-program-features span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.group-program-features h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.news-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.news-heading h2 {
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.news-heading > a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.news-row article {
  min-width: 0;
}

.news-row img {
  width: 100%;
  height: clamp(170px, 16vw, 240px);
  margin-bottom: 18px;
  border-radius: 4px;
  object-fit: cover;
  filter: saturate(0.84) brightness(1.07) sepia(0.05);
}

.news-row time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.news-row h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

.booking-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1040px) {
  .brand-site-container {
    padding: 0 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-inner {
    width: min(680px, 100%);
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
  }

  .course-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .course-card-image-wrapper img {
    height: clamp(240px, 34vw, 320px);
  }

  .handcraft-special-block {
    grid-template-columns: 1fr;
  }

  .group-program-layout {
    grid-template-columns: 1fr;
  }

  .group-program-features,
  .news-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group-program-features article:nth-child(3) {
    border-left: 0;
  }

  .group-program-features article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 56px, 980px);
  }

  .portfolio-grid img,
  .portfolio-grid figure:nth-child(1) img {
    height: clamp(300px, 48vw, 430px);
  }
}

@media (max-width: 680px) {
  .brand-site-container {
    padding: 0 18px;
  }

  .hero {
    min-height: auto;
    padding: 118px 18px 76px;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 68% 28%, rgba(243, 237, 228, 0.74), rgba(251, 249, 246, 0) 40%),
      linear-gradient(180deg, rgba(251, 249, 246, 0.98), rgba(251, 249, 246, 0.78));
  }

  .hero h1 {
    width: min(100%, 340px);
    max-width: none;
    font-size: clamp(2.35rem, 10.2vw, 3.2rem);
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  .hero-script {
    margin-bottom: 24px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-lead {
    width: min(100%, 335px);
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.85;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero-visual img {
    aspect-ratio: 1.16;
  }

  .section {
    padding: 78px 0;
  }

  .section > .section-heading,
  .section > .booking-main,
  .section > .qr-card,
  .visit-section > .section-heading,
  .visit-grid,
  .faq-list,
  .booking-section {
    width: calc(100% - 36px);
  }

  .course-bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-card-image-wrapper img {
    height: min(72vw, 300px);
  }

  .course-card-copy {
    min-height: 0;
  }

  .course-card-copy,
  .handcraft-special-block {
    padding: 24px;
  }

  .handcraft-image img {
    height: 280px;
  }

  .group-program-copy {
    max-width: none;
  }

  .group-program-image img {
    height: 300px;
  }

  .group-program-features,
  .news-row {
    grid-template-columns: 1fr;
  }

  .group-program-features article,
  .group-program-features article + article,
  .group-program-features article:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .group-program-features article:first-child {
    border-top: 0;
  }

  .news-heading {
    display: grid;
    align-items: start;
  }

  .news-row {
    gap: 30px;
  }

  .news-row img {
    height: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .portfolio-grid img,
  .portfolio-grid figure:nth-child(1) img {
    height: min(92vw, 420px);
    padding: 16px;
  }

  .portfolio-grid figcaption {
    padding-bottom: 10px;
  }
}

@media (max-width: 360px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Drive gallery refinement: warm editorial layout, no forced image cropping for works */
.courses-section,
.portfolio-section {
  background: var(--bg);
}

.courses-section .editorial-heading,
.portfolio-section .editorial-heading {
  margin-bottom: clamp(42px, 6vw, 78px);
}

.course-bento-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.7vw, 38px);
  width: min(1280px, 100%);
  margin: 0 auto;
}

.course-card {
  overflow: hidden;
  border: 1px solid rgba(44, 42, 41, 0.1);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: none;
}

.course-card-image-wrapper {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.course-card-image-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(0.88) brightness(1.05) sepia(0.035);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-card-image-wrapper img {
  transform: scale(1.025);
  filter: saturate(0.92) brightness(1.06) sepia(0.025);
}

.course-card-copy {
  min-height: 218px;
  padding: clamp(24px, 2.4vw, 34px);
}

.course-card-copy span {
  color: var(--accent);
  letter-spacing: 0.18em;
}

.course-card-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 500;
}

.handcraft-special-block {
  width: min(1280px, 100%);
  margin: clamp(28px, 3vw, 42px) auto 0;
  border: 1px solid rgba(44, 42, 41, 0.08);
  border-radius: 4px;
  background: var(--sand);
  box-shadow: none;
}

.handcraft-image {
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.handcraft-image img {
  height: clamp(340px, 34vw, 520px);
  object-fit: cover;
  filter: saturate(0.88) brightness(1.05) sepia(0.035);
}

.portfolio-section {
  background:
    linear-gradient(180deg, rgba(243, 237, 228, 0.42), rgba(251, 249, 246, 0.95) 28%, rgba(251, 249, 246, 1));
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 3.4vw, 58px) clamp(28px, 3vw, 46px);
  width: min(1280px, 100%);
  align-items: start;
}

.portfolio-grid figure,
.portfolio-grid figure:nth-child(1) {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portfolio-grid img,
.portfolio-grid figure:nth-child(1) img {
  width: 100%;
  height: clamp(360px, 31vw, 470px);
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid rgba(44, 42, 41, 0.1);
  border-radius: 4px;
  aspect-ratio: auto;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(246, 240, 232, 0.6)),
    var(--surface);
  box-shadow: 0 18px 46px rgba(44, 42, 41, 0.055);
  filter: saturate(0.9) brightness(1.04) sepia(0.025);
}

.portfolio-grid figure:hover img {
  transform: translateY(-4px);
  filter: saturate(0.92) brightness(1.05) sepia(0.02);
}

.portfolio-grid figcaption {
  padding: 0 6px;
}

.portfolio-grid figcaption strong {
  font-size: 1.02rem;
  font-weight: 500;
}

.portfolio-grid figcaption span {
  color: rgba(44, 42, 41, 0.62);
  font-size: 0.86rem;
}

@media (max-width: 1040px) {
  .course-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .course-card-image-wrapper img {
    height: 100%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .portfolio-grid img,
  .portfolio-grid figure:nth-child(1) img {
    height: clamp(330px, 48vw, 460px);
  }
}

@media (max-width: 680px) {
  .course-bento-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .course-card-copy {
    min-height: 0;
  }

  .portfolio-grid {
    gap: 30px;
  }

  .portfolio-grid img,
  .portfolio-grid figure:nth-child(1) img {
    height: min(104vw, 500px);
    padding: 14px;
  }
}

/* 作品選集入口按鈕列 */
.works-entry-row {
  display: flex;
  justify-content: center;
  width: min(1280px, 100%);
  margin: clamp(34px, 4vw, 52px) auto 0;
}
