/* bhb.hk 首頁共用樣式 —— 由 index.html 的內嵌 <style> 抽出(2026-08-28),
   給回收版首頁 / 與學習版首頁 /motilearn 共用。改版面請只改這裡。 */
:root {
  --brand: #278d82;
  --ink: #171a19;
  --paper: #ffffff;
  --line: rgba(23, 26, 25, 0.22);
  --muted: rgba(23, 26, 25, 0.68);
  --page-pad: clamp(22px, 5vw, 76px);
  --content: 1480px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.copy-zh {
  display: none;
  margin-top: 0.4em;
  color: inherit;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.58em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

body[data-bilingual="true"] .copy-zh { display: block; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-mark {
  display: block;
  width: clamp(90px, 9vw, 132px);
  aspect-ratio: 2920 / 1180;
  overflow: hidden;
  background: var(--brand);
}

.header-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 12px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main { overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: end;
  min-height: calc(100svh - 88px);
  padding: clamp(72px, 11vh, 144px) var(--page-pad) clamp(54px, 8vh, 100px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: clamp(42px, 8vw, 150px);
  width: 1px;
  height: clamp(54px, 13vh, 140px);
  background: var(--brand);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 44px;
  height: 2px;
  background: var(--brand);
  content: "";
}

h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(58px, 7.5vw, 128px);
  font-weight: 760;
  line-height: 0.91;
  letter-spacing: -0.065em;
}

h1 .company-line { display: block; }
h1 .company-line:last-child { color: var(--brand); }

.hero-intro {
  max-width: 680px;
  margin: clamp(30px, 5vh, 56px) 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.6;
}

.hero-mark-wrap {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(42vw, 620px);
  min-width: 360px;
  transform: translateX(calc(var(--page-pad) * 0.35));
}

.hero-mark-wrap::before {
  position: absolute;
  z-index: -1;
  top: -28%;
  left: 12%;
  width: 90%;
  height: 148%;
  border: 1px solid var(--brand);
  content: "";
  transform: rotate(-8deg);
}

.hero-mark {
  display: block;
  width: 100%;
  aspect-ratio: 2920 / 1180;
  overflow: hidden;
  background: var(--brand);
}

.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(90px, 12vw, 180px) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 108px);
}

.section-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading .section-kicker {
  max-width: 260px;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.2;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-portal {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 0.95fr) minmax(300px, 1.05fr) 64px;
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
  min-height: 250px;
  padding: 42px clamp(20px, 3vw, 52px);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  opacity: 0;
  transform: translateY(28px);
  transition:
    color 180ms ease 230ms,
    opacity 540ms ease,
    transform 640ms cubic-bezier(.2,.75,.2,1);
}

.service-portal::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 760ms cubic-bezier(.16,.82,.22,1);
}

.service-portal > * { position: relative; z-index: 1; }

.service-portal.is-visible,
.service-portal:hover,
.service-portal:focus-visible {
  color: var(--paper);
  opacity: 1;
  transform: translateY(0);
}

.service-portal.is-visible::before,
.service-portal:hover::before,
.service-portal:focus-visible::before { transform: scaleX(1); }

.service-number {
  align-self: start;
  padding-top: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  transition: color 260ms ease;
}

.service-portal.is-visible .service-number,
.service-portal:hover .service-number,
.service-portal:focus-visible .service-number { color: var(--paper); }

.service-title {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 68px);
  font-weight: 730;
  line-height: 1;
  letter-spacing: -0.05em;
}

.service-copy {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  transition: color 260ms ease;
}

.service-portal.is-visible .service-copy,
.service-portal:hover .service-copy,
.service-portal:focus-visible .service-copy { color: var(--paper); }

.service-arrow {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 25px;
  transition: transform 260ms ease;
}

.service-portal:hover .service-arrow,
.service-portal:focus-visible .service-arrow { transform: translate(8px, -8px); }

.about {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: var(--page-pad);
  color: var(--paper);
  background: var(--ink);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 9vw, 160px);
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-block: clamp(100px, 13vw, 190px);
}

.about .section-kicker { color: var(--paper); }

.about-statement {
  margin: 0;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.about-statement em {
  color: var(--brand);
  font-style: normal;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid rgba(255,255,255,.4);
}

.about-detail {
  min-height: 190px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(255,255,255,.4);
}

.about-detail + .about-detail { padding-left: 28px; }
.about-detail:last-child { border-right: 0; }

.about-detail strong {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-detail p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(54px, 9vw, 160px);
  align-items: end;
}

.contact h2 { max-width: 900px; }

.contact-copy {
  max-width: 660px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.65;
}

.contact-actions {
  border-top: 1px solid var(--ink);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 700;
  text-decoration: none;
  transition: padding 220ms ease, color 220ms ease;
}

.contact-link span:last-child { color: var(--brand); }
.contact-link:hover,
.contact-link:focus-visible { padding-inline: 14px; color: var(--brand); }

.contact-link-button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body.feedback-open { overflow: hidden; }

.feedback-dialog {
  width: min(980px, calc(100vw - 40px));
  max-width: none;
  max-height: min(880px, calc(100svh - 40px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(23, 26, 25, 0.28);
}

.feedback-dialog::backdrop {
  background: rgba(23, 26, 25, 0.68);
  backdrop-filter: blur(8px);
}

.feedback-dialog[open] {
  animation: feedback-enter 240ms cubic-bezier(.2,.75,.2,1) both;
}

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

.feedback-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  min-height: 660px;
}

.feedback-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 60px);
  color: var(--paper);
  background: var(--brand);
}

.feedback-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.feedback-close:hover,
.feedback-close:focus-visible {
  color: var(--brand);
  background: var(--paper);
}

.feedback-kicker {
  margin: 0 0 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.feedback-intro h2 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}

.feedback-intro-copy {
  margin: 30px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.65;
}

.feedback-local-note {
  margin: 44px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.48);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.feedback-form,
.feedback-success {
  padding: clamp(32px, 5vw, 62px);
}

.feedback-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-fieldset + .feedback-fieldset { margin-top: 34px; }

.feedback-legend {
  width: 100%;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feedback-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feedback-field {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.feedback-row .feedback-field { margin-top: 0; }

.feedback-field > span {
  font-size: 13px;
  font-weight: 760;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feedback-field textarea {
  min-height: 150px;
  resize: vertical;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(39, 141, 130, .14);
}

.feedback-hint {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.feedback-privacy {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.feedback-privacy a {
  color: var(--brand);
  text-underline-offset: 3px;
}

.feedback-form-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: #a02a24;
  font-size: 13px;
  font-weight: 700;
}

.feedback-submit,
.feedback-again {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 220px;
  min-height: 54px;
  margin-top: 4px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 0;
  color: var(--paper);
  background: var(--brand);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.feedback-submit:hover,
.feedback-submit:focus-visible,
.feedback-again:hover,
.feedback-again:focus-visible {
  color: var(--brand);
  background: var(--paper);
}

.feedback-success {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.feedback-success[hidden] { display: none; }

.feedback-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-size: 25px;
}

.feedback-success h3 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}

.feedback-success p {
  max-width: 460px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.site-footer {
  padding: 64px var(--page-pad) 30px;
  border-top: 1px solid var(--line);
  color: #f0f5f2;
  background: #0d1311;
  font-size: 13px;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, .6fr);
  gap: 38px 64px;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.footer-name {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 760;
  letter-spacing: -0.04em;
}

.footer-summary {
  max-width: 430px;
  margin: 0;
  color: #a9b7b1;
  font-size: 12px;
}

.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.footer-label {
  margin: 0 0 9px;
  color: #a9b7b1;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-column a {
  color: #f0f5f2;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible { color: #75c9be; }

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 14px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #a9b7b1;
  font-size: 11px;
}

/* 頁尾的學習平台小字連結(2026-08-28):刻意比其他頁尾文字更小更淡 ——
   MotiLearn 只作次要入口,不再與回收業務並列。 */
.footer-aside {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin: 4px 0 0;
  color: #7d8b86;
  font-size: 11px;
}

.footer-aside-label {
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-aside a {
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: #a9b7b1;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-aside a:hover,
.footer-aside a:focus-visible {
  border-color: #75c9be;
  color: #75c9be;
}

.footer-bottom-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #a9b7b1;
  font-size: 11px;
}

.footer-note { margin: 0; }
.footer-top { color: #75c9be; text-decoration: none; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.75,.2,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: start;
    min-height: auto;
  }

  .hero-mark-wrap {
    justify-self: start;
    width: min(76vw, 620px);
    transform: none;
  }

  .service-portal { grid-template-columns: 58px minmax(0, 1fr) 56px; }
  .service-copy { grid-column: 2; }
  .service-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .about-inner, .contact { grid-template-columns: 1fr; }
  .about-details { margin-top: 56px; }
}

@media (max-width: 720px) {
  :root { --page-pad: 22px; }
  .site-header { min-height: 76px; }
  .site-nav a { display: none; }
  .site-nav { gap: 10px; }
    .hero {
    min-height: calc(100svh - 76px);
    gap: 54px;
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .hero::before { right: 32px; height: 52px; }
  .eyebrow { margin-bottom: 26px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-intro { margin-top: 28px; font-size: 16px; }

  .hero-mark-wrap {
    width: calc(100vw - 60px);
    min-width: 0;
  }

  .section { padding-block: 86px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .section-heading .section-kicker { font-size: 17px; }
  h2 { font-size: clamp(42px, 13vw, 62px); }

  .service-portal {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 12px;
    min-height: 230px;
    padding: 30px 10px;
  }

  .service-title { font-size: 36px; }
  .service-copy { font-size: 15px; }
  .service-arrow { width: 40px; height: 40px; font-size: 19px; }

  .about-inner { padding-block: 90px; }
  .about-details { grid-template-columns: 1fr; }
  .about-detail,
  .about-detail + .about-detail {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.4);
  }

  .contact { gap: 48px; }
  .feedback-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }
  .feedback-shell { grid-template-columns: 1fr; }
  .feedback-intro { min-height: 300px; padding: 38px 24px 32px; }
  .feedback-intro h2 { font-size: clamp(46px, 14vw, 64px); }
  .feedback-local-note { margin-top: 34px; }
  .feedback-form,
  .feedback-success { padding: 34px 24px 40px; }
  .feedback-row { grid-template-columns: 1fr; gap: 20px; }
  .feedback-row .feedback-field + .feedback-field { margin-top: 0; }
  .feedback-submit,
  .feedback-again { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-disclaimer,
  .footer-aside,
  .footer-bottom-row { grid-column: auto; }
  .footer-bottom-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .service-portal { color: var(--paper); opacity: 1; transform: none; }
  .service-portal::before { transform: scaleX(1); }
}

/* ── 回收清單區塊(2026-08-28 新增) ────────────────────────────────────
   對應 index.html 的 #intake。用戶要的是對手 Wingo Recycle 那種
   「一眼掃完有什麼可以賣給你」的排版:品類做成大格,不藏在段落裡。
   沿用既有的 --brand / --ink / --line,不引入新顏色。 */
.intake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  margin: clamp(48px, 7vw, 92px) 0 0;
  padding: 0;
  list-style: none;
}

/* 格線用每格自己的 box-shadow 描邊,不用「容器鋪底色 + 1px gap 透出來」那招:
   auto-fill 的列數會隨寬度變,最後一行填不滿時會漏出一塊灰色空格。 */
.intake-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}

.intake-zh {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
}

.intake-en {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.intake-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 84px);
}

.intake-meta-block strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.intake-meta-block strong .copy-zh {
  margin-top: 2px;
  letter-spacing: .04em;
  text-transform: none;
  font-size: 14px;
}

.intake-meta-block p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 900px) {
  .intake-meta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .intake-grid { grid-template-columns: repeat(2, 1fr); }
  .intake-grid li { padding: 20px 18px; }
}

/* ── 語言切換（2026-08-30 新增）────────────────────────────────────────
   用戶要求：預設英文，選單順序 English → Español → Português → Français →
   Deutsch → 简体中文 → 繁體中文。
   用原生 <select>：手機直接調系統選擇器，鍵盤／讀屏天然可用。
   外觀跟導覽列對齊（13px、大寫、字距 .08em），不搶戲。
   注意：本段刻意放在檔案最後，包含自己的 max-width 斷點——
   前面 892 行那個手機斷點只把 .site-nav a 隱藏，動不到 .lang-switch，
   所以切換器在手機上仍然看得見（這是有意的，不是漏改）。 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(6px, 1.4vw, 18px);
}

/* 語言選單前面那顆地球（老闆 2026-08-31：「導航條 Language 上面要有個
   地球的那個簡潔的標誌」）。
   手機上 .lang-switch-label 是藏起來的（見檔尾的斷點），這顆**不藏** ——
   那時候它是唯一在說「這裡是切語言」的東西。 */
.lang-globe {
  flex: none;
  display: block;
  color: var(--muted);
}

.lang-switch-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: -2px;          /* 地球和字之間不需要整整 8px */
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background-color: transparent;
  /* 自繪的下拉箭頭：用 SVG data URI，不引外部資源 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23171a19' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 30px 8px 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.lang-switch select:hover { border-color: var(--brand); }
.lang-switch select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 選單本身要跟著頁面走亮底黑字，某些瀏覽器會沿用系統色 */
.lang-switch select option { color: var(--ink); background: var(--paper); }

@media (max-width: 720px) {
  /* 手機上導覽連結已經隱藏，切換器頂上去；標題字省掉，只留選單 */
  .lang-switch { margin-left: 0; }
  .lang-switch-label { display: none; }
  .lang-switch select { padding: 7px 26px 7px 11px; font-size: 12.5px; }
}


/* ══ 導覽列的登入 / 註冊（2026-08-31 老闆要求）══════════════════════
   「剛開始進網站導航條的右上角就要顯示登錄和註冊了。」
   兩顆分工：Sign in 是一般連結，Create account 做成實心藥丸 —— 沒有帳號
   的人第一眼該落在註冊上。登入之後 bhb-auth.js 會把註冊那顆收起來，
   Sign in 那顆變成印出當前信箱。 */

/* 老闆 2026-08-31（第二輪）：「右上角 Sign In 的按鈕應該是綠色主鍵，
   白色的字。要做明顯一點。」所以綠色藥丸給 Sign in，註冊退成一般連結。
   （第一版反過來 —— 綠色給了 Create account。老闆看過之後定的是這個。） */
.site-nav .nav-signin {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}
.site-nav .nav-signin:hover { opacity: 0.88; }
/* 實心藥丸上不要再畫那條底線動畫 */
.site-nav .nav-signin::after { display: none; }

/* 註冊是次要動作：一般連結，沿用其他導覽項的底線動畫。 */
.site-nav .nav-join { white-space: nowrap; }
/* class 的 white-space 不會蓋掉 UA 的 [hidden]，但手機斷點裡的 display 會，
   所以兩處都要顯式寫一條。 */
.site-nav .nav-join[hidden] { display: none; }

/* 登入後那顆印的是信箱，不是「Sign in」了 —— 綠色主鍵是給「還沒登入，
   快點進來」用的，把一串信箱塞進實心藥丸只會又長又搶戲。所以登入後
   脫掉藥丸，變回一般連結，並且收窄免得把導覽撐爆。 */
.site-nav a.is-signedin {
  max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-transform: none; letter-spacing: 0;
  padding: 12px 0;
  background: none;
  color: var(--ink);
}
.site-nav a.is-signedin::after { display: block; }   /* 底線動畫還回來 */

@media (max-width: 720px) {
  /* 上面那個 720px 斷點用 `.site-nav a { display: none }` 把導覽連結全部
     藏起來（手機上放不下）。登入和註冊是例外 —— 一起藏掉的話，手機使用者
     在整個網站上找不到任何入口可以登入或註冊。 */
  .site-nav a[data-account-link],
  .site-nav a[data-register-link] { display: inline-flex; align-items: center; }
  .site-nav a[data-register-link][hidden] { display: none; }

  /* 標題列在手機上換成兩行：標誌一行，登入/註冊/語言一行。
     ── 為什麼不是繼續縮字擠成一行 ──
     實測 390px 寬時，標誌 + Sign in + Create account + 語言選單一共要 346px，
     剛好等於可用寬度，於是 flex 去壓標誌 —— 標誌被壓到 43px（360px 螢幕上
     只剩 13px，整塊青色方磚），而 Sign in 折成兩行疊在標誌上面。
     再怎麼調字級也只是把崩潰點往下推到某個更窄的機型。換行是唯一
     在任何寬度都不會壞的做法。 */
  .site-header { flex-wrap: wrap; row-gap: 6px; min-height: 0; }
  .header-mark { flex: none; }            /* 標誌是品牌，寧可換行也不准被壓扁 */
  .site-nav {
    flex: 1 0 100%;
    justify-content: flex-end;
    /* 自己也允許換行：360px 以上這一排放得下，再窄（iPhone SE 那種 320px）
       語言選單會自己掉到第三行，而不是把整頁撐出橫向捲軸。 */
    flex-wrap: wrap;
    /* 這一排在 375px 以上是一行（標題列共兩行，100px 高）；360px 以下語言
       選單會自己掉到第三行（139px 高）。實測過的寬度：
         414 / 393 / 390 / 375 → 兩行     360 / 320 → 三行，無橫向溢出
       360px 要塞回兩行得再省 43px，而全部三顆加起來也只有 359px ——
       只能把字級壓到 10.5px 以下，讀不了。**三行是刻意的降級，不是漏改。** */
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: 0.05em;
  }
  .site-nav a { white-space: nowrap; }    /* 「Sign in」折成兩行會疊到別的東西 */
  .site-nav .nav-signin { padding: 9px 15px; }
  /* 手機上信箱要再短一點，不然它會把語言選單擠出畫面 */
  .site-nav a.is-signedin { padding: 0; max-width: 16ch; }
}
