/* ---------- Design tokens ---------- */
:root {
  --bg: #F5F3ED;
  --primary: #E8B4B8;
  --secondary: #D4E4E1;
  --accent: #F5E6D3;
  --cta: #D4A574;
  --cta-dark: #B98A5C;
  --gold: #FFD700;
  --green: #A8C4A4;
  --highlight: #E8D4B8;
  --orange-label: #FFD4A4;
  --pink-label: #FFB4C4;
  --border: #D4C4B4;
  --text: #5A4A42;
  --text-soft: #8A7A70;
  --white: #FFFFFF;

  --font-head: 'Lora', 'Noto Sans TC', serif;
  --font-body: 'Raleway', 'Noto Sans TC', sans-serif;

  --container: 1160px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(90, 74, 66, 0.10);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--cta-dark);
  margin: 0 0 .6em;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-cta {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(212, 165, 116, .35);
}
.btn-cta:hover { background: var(--cta-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--cta); color: var(--cta-dark); transform: translateY(-2px); }
.btn-outline.btn-invert { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline.btn-invert:hover { border-color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 237, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
}
.logo-mark {
  font-size: 1.6rem;
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--accent);
  border-radius: 50%;
}
.header-inner .logo-mark {
  width: 116px; height: 116px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  padding: 0;
}
.logo-text small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--text-soft); }

.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: .95rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--cta);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.25;
}
.hero-desc { font-size: 1.1rem; color: var(--text-soft); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.hero-stats { display: flex; gap: 40px; margin-top: 20px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--cta-dark); }
.stat-label { font-size: .85rem; color: var(--text-soft); }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 546px;
  margin: 0 auto;
}
.hero-blob {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 42% 58% 63% 37% / 41% 42% 58% 59%;
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(90,74,66,.25);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
.badge-icon {
  width: 34px; height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.badge-1 { top: 6%; left: -6%; }
.badge-2 { bottom: 8%; right: -8%; animation-delay: -2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Features ---------- */
.features { padding: 72px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 83px; height: 83px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}
.feature-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--text-soft); font-size: .92rem; margin-bottom: 0; }

/* ---------- Menu ---------- */
.menu { padding: 72px 0; background: var(--accent); }
.menu .section-head { max-width: 760px; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.menu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.menu-card-photo {
  width: 94px; height: 94px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.menu-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.tag-pink { background: var(--pink-label); }
.tag-orange { background: var(--orange-label); }
.tag-green { background: var(--green); color: var(--white); }
.menu-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.menu-sub { color: var(--text-soft); font-size: .9rem; }
.menu-prices { margin: 16px 0 20px; border-top: 1px dashed var(--border); padding-top: 12px; }
.menu-prices li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: .95rem;
}
.menu-prices li span:last-child { font-weight: 700; color: var(--cta-dark); }

.menu-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.extra-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.extra-block h4 { font-size: 1.02rem; margin-bottom: 12px; }
.extra-block .menu-prices { margin: 0; border-top: none; padding-top: 0; }
.extra-photos {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.extra-photos img {
  width: 35%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 72px 0; background: var(--secondary); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.testi-photo { width: 100%; height: 170px; object-fit: cover; display: block; }
.testi-body { padding: 22px 28px 28px; }
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.testi-card p { font-size: .95rem; color: var(--text); }
.testi-card footer { font-size: .85rem; color: var(--text-soft); }
.testi-summary {
  text-align: center;
  margin: 36px 0 0;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

/* ---------- Process ---------- */
.process { padding: 72px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step { text-align: center; padding: 0 8px; }
.step-num {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.05rem; }
.process-step p { color: var(--text-soft); font-size: .9rem; }

/* ---------- Locations ---------- */
.locations { padding: 72px 0; background: var(--secondary); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.location-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.location-photo {
  width: 86px; height: 86px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.location-num {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 12px;
}
.location-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.location-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-soft);
  font-size: .9rem;
  padding: 4px 0;
}
.location-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--cta-dark);
}
.location-link:hover { text-decoration: underline; }

/* ---------- Brand Story ---------- */
.brand-story { padding: 72px 0; background: var(--accent); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.story-card h3 { font-size: 1.2rem; }
.story-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; }

/* ---------- Milestones ---------- */
.milestones { padding: 72px 0; overflow-x: auto; }
.timeline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  min-width: 760px;
  padding-bottom: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 10px; bottom: 22px;
  height: 3px;
  background: var(--cta);
  border-radius: 2px;
}
.timeline::after {
  content: "";
  position: absolute;
  right: -4px; bottom: 6px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--cta);
  transform: rotate(-38deg);
  transform-origin: left center;
}
.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.timeline-stem {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-photo {
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.timeline-item:nth-child(1) .timeline-connector { height: 16px; }
.timeline-item:nth-child(2) .timeline-connector { height: 52px; }
.timeline-item:nth-child(3) .timeline-connector { height: 34px; }
.timeline-item:nth-child(4) .timeline-connector { height: 84px; }
.timeline-item:nth-child(5) .timeline-connector { height: 64px; }
.timeline-item:nth-child(6) .timeline-connector { height: 100px; }
.timeline-item:nth-child(7) .timeline-connector { height: 128px; }
.timeline-item:nth-child(8) .timeline-connector { height: 108px; }

.timeline-connector {
  width: 0;
  border-left: 2px dotted var(--text-soft);
  margin-top: 10px;
}
.timeline-card {
  background: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 96px;
}
.timeline-highlight { background: var(--highlight); }
.timeline-date {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cta-dark);
  font-size: .82rem;
}
.timeline-card p { margin: 2px 0 0; font-size: .78rem; color: var(--text); line-height: 1.3; }
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cta-dark);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  margin-top: 22px;
}

/* ---------- Contact ---------- */
.contact { padding: 72px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-list { margin: 20px 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 1rem; }
.social-links { display: flex; gap: 16px; margin-top: 16px; }
.social-links a {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 600;
  font-size: .88rem;
}
.social-links a:hover { background: var(--highlight); }
.contact-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  align-self: start;
}
.contact-panel h3 { font-size: 1.2rem; }
.contact-panel p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: var(--accent);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-mark { object-fit: contain; padding: 6px; }
.footer-name { font-family: var(--font-head); font-weight: 700; color: var(--white); margin: 0; }
.footer-tag { font-size: .82rem; color: var(--accent); opacity: .8; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: .9rem; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--white); }
.footer-copy { text-align: center; font-size: .8rem; opacity: .6; margin: 20px 0 0; }

/* =====================================================
   Responsive — Desktop landscape (default above),
   Tablet, and Mobile portrait
   ===================================================== */

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-extras { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav breakpoint */
@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav ul li { width: 100%; }
  .main-nav a { display: block; padding: 12px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Mobile portrait */
@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .hero { padding: 40px 0 48px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; max-width: 220px; margin-bottom: 20px; }
  .float-badge { font-size: 1.02rem; padding: 9px 18px; }
  .badge-1 { top: 2%; left: -34%; }
  .badge-2 { bottom: 2%; right: -34%; }

  .feature-grid,
  .menu-grid,
  .menu-extras,
  .testi-grid,
  .process-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-badge { animation: none; }
}
