/* ============================================================
   楓 Café — styles.css
   Direction B · Warm Craft (溫暖木質職人)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: #F1E7D6;
  color: #33291C;
  font-family: 'Noto Serif TC', serif;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

img { display: block; }
::selection { background: #B58A54; color: #F1E7D6; }

@keyframes kaedeCue {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%      { opacity: 0.90; transform: translateY(5px); }
}

/* ---------- shared helpers ---------- */
.img-frame { overflow: hidden; min-width: 0; }
.img-hover { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.img-frame:hover .img-hover { transform: scale(1.04); }

.ratio-45 { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ratio-34 { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.ratio-54 { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.fill     { width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #A9895C;
  margin-bottom: 22px;
}
.eyebrow-light { color: #C7A672; }

.heading {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.heading-light { color: #F1E7D4; }

.body-text {
  font-family: 'Noto Serif TC', serif;
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #57492F;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 52px);
  background: rgba(241,231,214,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122,78,51,0.13);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-cjk {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.06em;
}
.brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6E5E48;
}
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.lang-sep { color: #C6B08A; }
.lang-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 8px 9px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 300;
  color: #A0906F;
  transition: color .3s ease;
}
.lang-btn:hover { color: #7A5A3C; }
.lang-btn.active { color: #5A3822; font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  width: 100%;
  margin-top: -67px;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(30,22,14,0.28) 0%,
    rgba(30,22,14,0.05) 34%,
    rgba(30,22,14,0.16) 66%,
    rgba(24,17,10,0.62) 100%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.hero-tag {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 1.4vw, 12px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(241,231,214,0.86);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: clamp(74px, 15vw, 176px);
  line-height: 0.9;
  color: #F5ECDC;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 40px rgba(20,14,8,0.4);
}
.hero-roman {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(19px, 3vw, 30px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(241,231,214,0.92);
  margin-top: clamp(14px, 2vw, 22px);
  padding-left: 0.42em;
}
.hero-tagline {
  font-family: 'Noto Serif TC', serif;
  font-weight: 300;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 2;
  letter-spacing: 0.1em;
  color: rgba(241,231,214,0.82);
  margin-top: clamp(26px, 4vw, 40px);
  max-width: 26em;
  text-wrap: balance;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(241,231,214,0.7);
}
.scroll-cue-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(rgba(241,231,214,0.7), rgba(241,231,214,0));
  animation: kaedeCue 2.8s ease-in-out infinite;
}

/* ---------- section base ---------- */
.section { padding: clamp(80px, 12vw, 168px) clamp(20px, 5vw, 72px); }

/* ---------- concept ---------- */
.concept-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.concept-text { max-width: 32em; }
.concept-text .heading { margin-bottom: 34px; font-size: clamp(27px, 3.6vw, 42px); }

/* ---------- space ---------- */
.space { background: #E9DCC4; padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px); }
.space-inner { max-width: 1240px; margin: 0 auto; }
.space-head { max-width: 40em; margin-bottom: clamp(44px, 6vw, 80px); }
.space-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-bottom: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}
.space-row .span2 { grid-column: span 2; }
.space-row .fill { min-height: 300px; }
.space-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.cap {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #94815E;
  margin-top: 12px;
}

/* ---------- experience ---------- */
.experience {
  background: #241C14;
  color: #E9DDC9;
  padding: clamp(70px, 10vw, 150px) clamp(20px, 5vw, 72px);
}
.exp-inner { max-width: 1180px; margin: 0 auto; }
.exp-head { max-width: 40em; margin-bottom: clamp(50px, 7vw, 86px); }
.exp-scene {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 90px);
}
.exp-scene.rev { margin-bottom: 0; }
.exp-scene.rev .exp-media { order: 2; }
.exp-scene.rev .exp-copy { order: 1; }
.exp-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #C7A672;
  margin-bottom: 16px;
}
.exp-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  margin-bottom: 20px;
  color: #F1E7D4;
  text-wrap: balance;
}
.exp-body {
  font-family: 'Noto Serif TC', serif;
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 2.15;
  letter-spacing: 0.04em;
  color: #C6B79E;
}

/* ---------- access ---------- */
.access { padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 72px); }
.access-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
.access-photo { min-height: 360px; }
.access-photo .fill { min-height: 360px; }
.access-info { display: flex; flex-direction: column; justify-content: center; }
.access-info .heading { margin-bottom: 36px; font-size: clamp(24px, 3vw, 36px); }
.info-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  font-family: 'Noto Serif TC', serif;
}
.info-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A9895C;
  padding-top: 4px;
}
.info-val {
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.9;
  color: #4A3D28;
}
.note {
  display: block;
  font-size: 12px;
  color: #93815F;
  font-family: ui-monospace, monospace;
  margin-top: 6px;
}
.hours-note { font-size: 13px; color: #93815F; }
.tel {
  font-weight: 300;
  font-size: 15.5px;
  color: #4A3D28;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ---------- footer ---------- */
.footer {
  background: #1B140D;
  color: #C7B89F;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 72px) 40px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-cjk {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #F1E7D4;
  letter-spacing: 0.06em;
}
.footer-brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A18B68;
}
.footer-tag {
  font-family: 'Noto Serif TC', serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 2;
  color: #9C8D75;
}
.footer-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8A7754;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 14px;
}
.footer-link {
  text-decoration: none;
  color: #C7B89F;
  letter-spacing: 0.08em;
  transition: color .3s;
}
.footer-link:hover { color: #F1E7D4; }
.footer-bottom {
  max-width: 1180px;
  margin: clamp(44px, 6vw, 68px) auto 0;
  padding-top: 24px;
  border-top: 1px solid #33281B;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.copyright {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #766545;
}
.proto-note {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #766545;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line { animation: none; }
  .img-hover { transition: none; }
}
