/* ── RESET & ROOT ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #b8965a;
  --gold-light: #d4b07a;
  --parchment: #f5f0e8;
  --parchment-dark: #e1d8c6;
  --parchment-mid: #f0ebe0;
  --ink: #2a2318;
  --ink-mid: #4a4030;
  --ink-light: #7a7060;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #e1d8c6;
  padding-top: 72px;
  font-family: 'EB Garamond', 'Noto Serif TC', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
}

body::-webkit-scrollbar,
body::-webkit-scrollbar-button {
  display: none;
}

h1, h2, h3, h4 {
  font-family: 'EB Garamond', 'Playfair Display', 'Noto Serif TC', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}

a { text-decoration: none; cursor: pointer; }
button { background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.max-3xl { max-width: 48rem; margin: 0 auto; }
.max-4xl { max-width: 56rem; margin: 0 auto; }
.max-5xl { max-width: 64rem; margin: 0 auto; }

.gold-rule {
  border: none;
  border-top: 1px solid var(--gold);
  opacity: 0.6;
  margin: 0;
}

.section-heading {
  position: relative;
  text-align: center;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  font-family: 'EB Garamond', 'Playfair Display', 'Noto Serif TC', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 100;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── STORY PAGE HERO TEXT ────────────────────────────────────────────────── */
.story-page-title {
  text-align: center;
  padding: 3rem 2rem 1rem;
  font-family: 'EB Garamond', 'Noto Serif TC', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 100;
  color: #2c2416;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.story-page-subtitle {
  text-align: center;
  font-family: 'EB Garamond', 'Noto Serif TC', Georgia, serif;
  font-size: 1rem;
  font-weight: 100;
  color: #8b6914;
  letter-spacing: 0.1em;
  padding-bottom: 1rem;
}

/* ── STORY NAV ───────────────────────────────────────────────────────────── */
.story-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  overflow: visible;
  background-color: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 150, 90, 0.3);
  padding: 0.5rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.story-nav-logo {
  flex: 0 0 auto;
  width: clamp(100px, 28vw, 160px);
}

@media (min-width: 768px) {
  .story-nav-logo { width: clamp(160px, 18vw, 240px); }
}

.story-lang-bar {
  display: flex;
  gap: 0.25rem;
}

.story-lang-btn {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(184, 150, 90, 0.6);
  color: var(--gold);
  font-family: 'EB Garamond', serif;
  transition: opacity 0.2s;
}

.story-lang-btn.active,
.story-lang-btn:hover {
  background: #c9a84c;
  color: #fff;
}

/* Desktop nav links */
.story-nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .story-nav-links { display: flex; }
}

.story-nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'EB Garamond', 'Noto Serif TC', serif;
  transition: opacity 0.2s;
  text-decoration: none;
}

.story-nav-link:hover { opacity: 0.6; }

/* Mobile right cluster */
.story-nav-mobile-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .story-nav-mobile-right { display: none; }
}

/* Hamburger */
.story-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
}

.story-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.story-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.story-hamburger.open span:nth-child(2) { opacity: 0; }
.story-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile dropdown */
#story-mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--parchment);
  border-top: 1px solid rgba(184, 150, 90, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

#story-mobile-menu.open { display: flex; }

.story-mobile-chapter-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-mobile-nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'EB Garamond', serif;
  text-align: left;
  text-decoration: none;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  background-color: #f2ece0;
  background-image:
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(200, 175, 120, 0.35) 100%),
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(250, 245, 235, 0.9) 0%, transparent 80%);
}

.hero-crosshatch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0 L40 40 M40 0 L0 40' stroke='%23b8965a' stroke-width='0.25' stroke-opacity='0.12'/%3E%3Cpath d='M20 0 L20 40 M0 20 L40 20' stroke='%23b8965a' stroke-width='0.18' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.hero-corner {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
}

.hero-corner-tl { top: 88px; left: 1rem; }
.hero-corner-tr { top: 88px; right: 1rem; transform: scaleX(-1); }
.hero-corner-bl { bottom: 4rem; left: 1rem; transform: scaleY(-1); }
.hero-corner-br { bottom: 4rem; right: 1rem; transform: scale(-1, -1); }

@media (min-width: 768px) {
  .hero-corner-tl { left: 2.5rem; }
  .hero-corner-tr { right: 2.5rem; }
  .hero-corner-bl { left: 2.5rem; }
  .hero-corner-br { right: 2.5rem; }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 820px;
}

.hero-letterhead-wrap {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.hero-letterhead-img {
  width: 100%;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.hero-tagline-overlay {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  width: 60%;
}

.hero-subtitle {
  color: #7a6040;
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  line-height: 1.8;
  margin-bottom: 0.6rem;
  word-break: keep-all;
}

.hero-divider {
  height: 1px;
  width: 4rem;
  margin: 0 auto 0.7rem;
  background: rgba(184, 150, 90, 0.7);
}

.hero-tagline-text {
  color: #3a3020;
  font-family: 'EB Garamond', 'Playfair Display', 'Noto Serif TC', serif;
  font-size: clamp(1.4rem, 5vw, 4.2rem);
  line-height: 1.5;
}

.scroll-cue {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  color: #9a7845;
  transition: opacity 0.2s;
}

.scroll-cue:hover { opacity: 1; }

.scroll-cue span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'EB Garamond', serif;
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
section {
  padding: 3rem 1.5rem;
  display: block;
}

@media (min-width: 768px) {
  section { padding: 6rem 1.5rem; }
}

.section-alt {
  background-color: var(--parchment-dark);
  display: block;
}

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 700px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-img-wrap { overflow: hidden; }

.about-img-wrap img {
  width: 100%;
  height: auto;
  margin: auto;
  object-fit: cover;
  max-height: 420px;
  object-position: center;
}

.about-img-caption {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  font-family: 'EB Garamond', 'Noto Serif TC', serif;
  color: var(--ink-mid);
  font-style: italic;
  border-top: 1px solid rgba(184, 150, 90, 0.2);
}

/* ── STORY CHAPTERS ──────────────────────────────────────────────────────── */
.story-chapter {
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.chapter-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'EB Garamond', serif;
  margin-bottom: 1rem;
}

.chapter-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-family: 'EB Garamond', 'Playfair Display', 'Noto Serif TC', serif;
  margin-bottom: 1.25rem;
  text-align: left;
}

.chapter-body {
  color: #5a5040;
  line-height: 1.85;
}

.blockquote-box {
  padding: 1.25rem 1.5rem;
  background: var(--parchment-mid);
  border: 1px solid rgba(184, 150, 90, 0.3);
  margin: 1.5rem 0;
}

.blockquote-text {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.7;
  font-family: 'EB Garamond', serif;
  color: #5a4a30;
}

.blockquote-source {
  font-size: 0.75rem;
  margin-top: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'EB Garamond', serif;
}

.police-para {
  margin-top: 1.5rem;
  line-height: 1.85;
}

.photo-grid-2 {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .photo-grid-2 { grid-template-columns: 1fr 1.8fr; }
}

.photo-grid-3 {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .photo-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

figure { margin: 0; }

.photo-frame { width: 100%; }

.photo-frame img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .photo-frame img { max-height: 420px; }
}

figcaption,
.photo-caption {
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-style: italic;
  color: var(--ink-light);
  font-family: 'EB Garamond', serif;
}

.story-grid-2 {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .story-grid-2 { grid-template-columns: 1fr 1fr; }
}

.story-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.scmp-body { line-height: 1.85; color: #5a5040; }

.list-indented {
  border-left: 2px solid rgba(184, 150, 90, 0.5);
  padding-left: 1rem;
  margin: 0.75rem 0;
}

.list-indented p { margin-bottom: 0.25rem; }

/* ── SERVICES ────────────────────────────────────────────────────────────── */
#services { background: var(--parchment-dark); }

.services-grid { display: block; }

.service-card { display: flex; flex-direction: column; }

.service-card-img { width: 100%; display: block; }

@media (min-width: 640px) {
  .service-card-img { width: 50%; float: left; }
}

.service-card-img img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

@media (min-width: 640px) {
  .service-card-img img { max-height: 500px; width: 95%; }
}

.service-box { margin-bottom: 4rem; }

.service-card-body { display: block; width: 100%; padding-top: 0.75rem; }

@media (min-width: 640px) {
  .service-card-body { float: right; width: 50%; padding-top: 0; }
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Playfair Display', 'Noto Serif TC', serif;
}

.service-subtitle {
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'Noto Serif TC', serif;
  margin-top: 0.125rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3a3020;
  white-space: pre-line;
}

.service-link-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'EB Garamond', serif;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s;
}

.service-link-btn:hover {
  background: var(--ink);
  color: var(--gold-light);
}

/* ── WORK GALLERY ────────────────────────────────────────────────────────── */
.work_container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slide-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 0;
  padding-bottom: 62.5%;
}

.slide-container .slides {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  overflow: hidden;
}

.slide-container .slides img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}

.slide-container .slides img:not(.active) {
  top: 0;
  left: -100%;
}

span.next, span.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  color: #48413c;
  font-size: 24px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}

span.next { right: 20px; }
span.prev { left: 20px; }
span.next:hover, span.prev:hover { opacity: 0.1; }

@keyframes next1 { from { left: 0%; }    to { left: -100%; } }
@keyframes next2 { from { left: 100%; }  to { left: 0%; } }
@keyframes prev1 { from { left: 0%; }    to { left: 100%; } }
@keyframes prev2 { from { left: -100%; } to { left: 0%; } }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  transition: opacity 0.2s;
}

.contact-phone:hover {
  opacity: 0.7;
  transform: scale(1.03);
  transition: 0.1s ease-in-out;
}

.contact-phone-secondary {
  font-size: 0.95rem;
  opacity: 0.65;
  margin-top: -0.2rem;
  letter-spacing: 0.08em;
}

.contact-phone-secondary:hover { opacity: 0.9; }

.contact-person {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-family: 'EB Garamond', serif;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #5a5040;
  font-family: 'EB Garamond', serif;
  transition: opacity 0.2s;
  margin-bottom: 1rem;
}

.contact-email:hover {
  opacity: 0.7;
  transform: scale(1.03);
  transition: 0.1s ease-in-out;
}

.contact-address {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #5a5040;
  font-family: 'EB Garamond', serif;
  margin-bottom: 2rem;
  white-space: pre-line;
}

.contact-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-btns { flex-direction: row; justify-content: center; }
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'EB Garamond', serif;
  background: var(--ink);
  color: var(--gold-light);
  border: 1px solid var(--ink);
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.7;
  transform: scale(1.03);
  transition: 0.1s ease-in-out;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'EB Garamond', serif;
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  transition: opacity 0.3s;
}

.btn-whatsapp:hover {
  opacity: 0.7;
  transform: scale(1.03);
  transition: 0.1s ease-in-out;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  padding: 2.5rem 1.5rem;
  background-color: var(--ink);
  color: var(--gold-light);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(184, 150, 90, 0.3);
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; }
}

.footer-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  color: #d4c090;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'EB Garamond', serif;
  margin-top: 0.25rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-light);
  font-family: 'EB Garamond', serif;
}

.compliance-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 150, 90, 0.2);
  text-align: center;
}

@media (min-width: 640px) {
  .compliance-block {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 1rem;
  }
}

.compliance-qr {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #fff;
  padding: 4px;
  border-radius: 2px;
}

.compliance-text {
  font-family: 'EB Garamond', 'Noto Serif TC', serif;
  color: rgba(212, 192, 144, 0.7);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.compliance-text p { margin: 0.1rem 0; }
.compliance-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.65rem !important; color: var(--gold); }
.compliance-name { color: rgba(212, 192, 144, 0.85); }
.compliance-reg { font-variant-numeric: tabular-nums; }
.compliance-reg strong { color: var(--gold-light); font-weight: 600; letter-spacing: 0.05em; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.1rem 0.65rem 0.75rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 2px 6px rgba(0, 0, 0, 0.2);
}

#wa-float span {
  font-family: 'EB Garamond', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
