:root {
  --ink: #111;
  --muted: #777;
  --line: #dedede;
  --gold: #be9664;
  --serif: "Noto Serif TC", Georgia, serif;
  --sans: "Noto Sans TC", Arial, sans-serif;
  --display: "Red Hat Display", Arial, sans-serif;
  --corm: "Cormorant", Georgia, serif;
  --page-width: 1600px;
  --content-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eee;
  font-family: var(--sans);
  font-weight: 300;
}
body > .site-header,
body > main,
body > .footer {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  min-height: 179px;
  background: #fff;
}
.topbar {
  position: relative;
  display: flex;
  height: 119px;
  align-items: center;
  justify-content: center;
  padding: 0 55px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: block; width: 300px; line-height: 0; }
.wordmark img { display: block; width: 100%; height: auto; }
.date {
  position: absolute;
  top: 51px;
  left: 55px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .25px;
}
.login {
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .1px;
}
.top-login {
  position: absolute;
  top: 44px;
  right: 55px;
  width: 76px;
  height: 30px;
  border: 1px solid #d4d4d4;
}
.main-nav {
  position: relative;
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 31px;
  border-bottom: 1px solid #ededed;
  background: #fff;
  font-size: 16px;
  white-space: nowrap;
}
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .footer a:hover { color: var(--gold); }
.search-toggle, .bell-button, .icon-button {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}
.desktop-search::before, .mobile-search::before {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  content: "";
}
.desktop-search::after, .mobile-search::after {
  position: absolute;
  top: 12px;
  left: 11px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}
.bell-button {
  position: absolute;
  right: 55px;
  margin: 0;
  background: url("./work/assets/b1b43ce637a0dbd5.svg") center / 15px no-repeat;
}
.menu-toggle, .mobile-search, .mobile-login-row { display: none; }

/* Keep a stable 179px slot while the navigation is fixed on scroll. */
.site-header.scrolled { min-height: 179px; }
.site-header.scrolled .topbar { visibility: hidden; }
.site-header.scrolled .main-nav {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.site-header.scrolled .main-nav::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  content: "";
  z-index: -1;
}

/* Hero / finder */
.hero {
  position: relative;
  display: block;
  height: 450px;
  overflow: hidden;
  color: #fff;
  background: url("./work/assets/060328ce36f34bc1.jpg") center / cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(4,18,31,.45); }
.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 92%);
  margin: 0 auto;
  padding-top: 135px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero-subtitle { margin: 0; font-family: var(--serif); font-size: 22px; letter-spacing: 5px; }
.finder-form {
  display: grid;
  width: 555px;
  max-width: 100%;
  height: 41px;
  margin: 140px auto 0;
  grid-template-columns: 91px 1fr 90px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  color: #555;
  text-align: left;
}
.finder-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e3e3e3;
  font-size: 16px;
}
.finder-select select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.chevron {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 9px;
  border-right: 1px solid #888;
  border-bottom: 1px solid #888;
  transform: rotate(45deg);
}
.finder-form input { min-width: 0; padding: 0 16px; border: 0; outline: 0; background: #fff; color: #555; font-size: 16px; }
.finder-form button { border: 0; background: var(--gold); color: #fff; font-size: 16px; }
.search-hint { height: 20px; margin: 9px 0 0; color: #fff; font-size: 13px; }

/* Statistics */
.stats {
  display: grid;
  height: 112px;
  align-items: center;
  padding: 0 13%;
  background: #f4f4f4;
  grid-template-columns: repeat(3, 1fr);
}
.stat { position: relative; text-align: center; }
.stat + .stat::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 70px;
  background: #b8aa98;
  content: "";
  transform: translateY(-50%) rotate(28deg);
}
.stat strong { display: block; font-family: var(--corm); font-size: 45px; font-weight: 400; letter-spacing: 2px; line-height: 1.05; }
.stat span { color: #777; font-family: var(--display); font-size: 11px; letter-spacing: .3px; }

/* Shared section heading */
.section-shell { width: min(90%, var(--content-width)); margin: 0 auto; padding: 84px 0; }
.section-heading { position: relative; display: flex; align-items: baseline; justify-content: center; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 2px; }
.section-heading h2::before { display: block; width: 87px; height: 3px; margin: 0 auto 10px; background: var(--gold); content: ""; }
.section-heading a { position: absolute; right: 0; bottom: 4px; color: #787878; font-size: 13px; }
.section-heading a span { margin-left: 7px; font-size: 24px; line-height: 0; vertical-align: -2px; }

/* Recommendation carousel */
.recommendations { position: relative; overflow: hidden; background: #fff; }
.recommendation-track { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.recommendation-track::-webkit-scrollbar { display: none; }
.recommendation-card { position: relative; flex: 0 0 210px; min-width: 210px; overflow: hidden; border: 1px solid #eee; border-radius: 8px; background: #fff; scroll-snap-align: start; }
.recommendation-card img { display: block; width: calc(100% - 10px); height: 201px; margin: 5px; border-radius: 6px; object-fit: cover; transition: transform .5s ease; }
.recommendation-card:hover img { transform: scale(1.04); }
.card-shade { display: none; }
.card-label { position: static; padding: 10px 7px 12px; color: var(--ink); text-align: center; }
.card-label small { display: none; }
.card-label h3 { margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 400; line-height: 1.4; }
.track-controls { display: none; }

/* Article stream */
.articles { padding-top: 55px; }
.articles-layout { display: grid; grid-template-columns: minmax(0,740px) 300px; gap: 80px; align-items: start; }
.article-list { min-width: 0; }
.article-feature { display: block; padding-bottom: 36px; border-bottom: 1px solid #c9c9c9; }
.article-photo { display: block; overflow: hidden; background: #eee; }
.article-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-photo:hover img { transform: scale(1.035); }
.article-feature .article-photo { width: 100%; height: 450px; }
.article-copy { display: flex; flex-direction: column; align-items: flex-start; }
.article-feature .article-copy { align-items: center; text-align: center; }
.category { display: inline-block; margin: 14px 0 8px; padding: 1px 8px; background: #eee; color: #787878; font-family: var(--display); font-size: 12px; letter-spacing: .6px; }
.article-copy h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.45; }
.article-feature .article-copy h3 { margin-top: 3px; }
.article-copy p { margin: 13px 0 0; color: #555; font-size: 16px; line-height: 1.55; text-align: justify; }
.byline { margin-top: 27px; color: #808080; font-family: var(--display); font-size: 14px; }
.byline time { margin-left: 30px; }
.article-grid { display: block; }
.article-card { display: grid; grid-template-columns: 420px minmax(0,1fr); gap: 30px; padding: 36px 0; border-bottom: 1px solid #c9c9c9; }
.article-card .article-photo { width: 420px; height: 300px; }
.article-card .article-copy { align-self: start; }
.article-card .article-copy h3 { font-size: 24px; }
.article-card .byline { margin-top: 30px; }
.ad-panel { position: sticky; top: 80px; height: 600px; overflow: hidden; background: #f4f3ef; text-align: center; }
.ad-panel span { position: absolute; top: -22px; right: 0; color: #999; font-family: var(--display); font-size: 10px; letter-spacing: 1px; }
.ad-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) brightness(1.08); }

/* Editorial guide module */
.guides { padding-top: 28px; padding-bottom: 82px; }
.guides-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 52px; align-items: start; }
.guide-feature { display: block; }
.guide-media { position: relative; overflow: hidden; aspect-ratio: 1.64 / 1; background: #eee; }
.guide-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-feature:hover .guide-media img { transform: scale(1.035); }
.guide-badge { position: absolute; top: 14px; left: 14px; padding: 5px 8px; color: #fff; background: rgba(24, 24, 24, .72); font-family: var(--display); font-size: 10px; letter-spacing: 1.2px; }
.guide-copy { padding: 20px 12px 0 0; }
.guide-kicker { margin: 0 0 8px; color: #9a8061; font-family: var(--display); font-size: 11px; letter-spacing: 1px; }
.guide-copy h3 { max-width: 560px; margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.45; }
.guide-copy > p:not(.guide-kicker) { max-width: 540px; margin: 12px 0 0; color: #666; font-size: 14px; line-height: 1.8; }
.guide-link { display: inline-block; margin-top: 18px; color: #80633f; font-family: var(--display); font-size: 11px; letter-spacing: .7px; }
.guide-link b { margin-left: 7px; font-size: 15px; font-weight: 400; }
.guide-list { border-top: 1px solid #d8d8d8; }
.guide-mini { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; align-items: center; padding: 17px 0; border-bottom: 1px solid #d8d8d8; }
.guide-mini img { display: block; width: 145px; height: 112px; object-fit: cover; }
.guide-mini-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.guide-mini-copy small { margin-bottom: 7px; color: #9a8061; font-family: var(--display); font-size: 10px; letter-spacing: 1px; }
.guide-mini-copy strong { color: #222; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.5; }
.guide-mini-copy em { margin-top: 13px; color: #888; font-family: var(--display); font-size: 10px; font-style: normal; letter-spacing: .5px; }
.guide-mini:hover .guide-mini-copy strong { color: #9a8061; }
.guide-topics { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 17px; border-top: 1px solid #d8d8d8; color: #888; font-size: 12px; }
.guide-topics span { margin-right: 5px; color: #444; font-family: var(--serif); font-size: 14px; }
.guide-topics a { padding: 5px 10px; border: 1px solid #d8d8d8; color: #777; transition: border-color .2s ease, color .2s ease; }
.guide-topics a:hover { border-color: #a78c67; color: #80633f; }

/* Dark brand strip */
.brands { width: 100%; max-width: var(--page-width); padding: 78px max(5%, calc((100% - var(--content-width))/2)) 70px; background: #222; }
.brands .section-heading { justify-content: flex-start; }
.brands .section-heading h2 { color: #fff; }
.brands .section-heading a { color: #bbb; }
.brand-grid { display: grid; max-width: var(--content-width); margin: 0 auto; grid-template-columns: repeat(3,1fr); gap: 44px; }
.brand-tile { position: relative; display: flex; height: 300px; align-items: center; justify-content: center; overflow: hidden; border: 0; background: #333 center/cover no-repeat; color: #fff; text-align: center; }
.brand-tile::before { position: absolute; inset: 0; background: rgba(0,0,0,.58); content: ""; transition: background .3s ease; }
.brand-tile:nth-child(1) { background-image: url("./work/assets/34fe2447335b54e4.jpg"); }
.brand-tile:nth-child(2) { background-image: url("./work/assets/0cf11de187eff9d3.jpg"); }
.brand-tile:nth-child(3) { background-image: url("./work/assets/8e5418813378c553.jpg"); }
.brand-tile:hover::before { background: rgba(0,0,0,.35); }
.brand-tile > * { position: relative; z-index: 1; }
.brand-tile span { font-family: Georgia,serif; font-size: 33px; letter-spacing: 3px; }
.brand-tile small { margin-top: 8px; font-family: var(--display); font-size: 11px; letter-spacing: 1px; }
.brand-tile b { position: absolute; bottom: 22px; font-family: var(--display); font-size: 12px; font-weight: 400; letter-spacing: 1px; }

/* Original campaign banner */
.chanel-banner { width: 100%; max-width: var(--page-width); background: #f7f7f7; }
.chanel-banner a, .chanel-banner img { display: block; width: 100%; }
.chanel-banner img { height: auto; }

/* Lightweight most-read block */
.ranking { padding-top: 78px; padding-bottom: 86px; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.ranking-list li { border-top: 1px solid #ebebeb; }
.ranking-list li:last-child { border-bottom: 1px solid #ebebeb; }
.ranking-list a { display: grid; min-height: 140px; align-items: center; grid-template-columns: 48px minmax(0,1fr) 175px; gap: 20px; padding: 16px 0; }
.rank-number { color: #bfbfbf; font-family: var(--corm); font-size: 38px; }
.rank-title { font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.ranking-list img { width: 175px; height: 107px; object-fit: cover; }

/* Footer */
.footer { width: 100%; max-width: var(--page-width); padding: 80px max(5%, calc((100% - var(--content-width))/2)) 36px; background: #222; color: #fff; }
.footer-top { display: flex; align-items: center; gap: 52px; padding-bottom: 45px; border-bottom: 1px solid #454545; }
.footer-logo { display: block; width: 195px; line-height: 0; }
.footer-logo img { display: block; width: 100%; filter: invert(1); }
.footer-links { display: flex; gap: 34px; color: #c8c8c8; font-size: 13px; }
.language { margin-left: auto; color: #c7c7c7; font-family: var(--serif); font-size: 13px; }
.language span { margin-left: 6px; }
.footer-bottom { display: flex; align-items: flex-end; gap: 25px; padding-top: 25px; color: #818181; font-size: 10px; }
.socials { display: flex; gap: 13px; }
.socials a { display: grid; width: 51px; height: 51px; place-items: center; border-radius: 50%; background: #fff; color: #222; font-family: var(--display); font-size: 0; }
.socials a::after { font-size: 22px; font-weight: 500; }
.socials a:nth-child(1)::after { content: "f"; }
.socials a:nth-child(2)::after { content: "◎"; }
.socials a:nth-child(3)::after { content: "▶"; font-size: 16px; }
.socials a:nth-child(4)::after { content: "@"; }
.footer-bottom p { margin: 0 0 0 auto; }
.footer-bottom p + p { margin-left: 0; }
.mobile-bottom-nav, .search-drawer { display: none; }

@media (max-width: 1200px) and (min-width: 901px) {
  .main-nav { gap: 20px; }
  .articles-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 40px; }
  .article-card { grid-template-columns: minmax(280px,55%) 1fr; }
  .article-card .article-photo { width: 100%; }
}
@media (max-width: 1057px) and (min-width: 901px) {
  .ad-panel { display: none; }
  .articles-layout { display: block; }
}

@media (max-width: 900px) {
  body { background: #fff; }
  body > * { width: 100%; }
  .site-header, .site-header.scrolled { position: sticky; top: 0; min-height: 60px; height: 60px; }
  .topbar { height: 60px; padding: 0 20px; }
  .site-header.scrolled .topbar { visibility: visible; }
  .site-header.scrolled .main-nav { position: static; box-shadow: none; }
  .wordmark { width: min(50vw,205px); }
  .date, .top-login, .mobile-login-row { display: none; }
  .menu-toggle { position: absolute; left: 17px; display: flex; flex-direction: column; gap: 5px; width: 27px; padding: 0; }
  .menu-toggle span { display: block; width: 27px; height: 2px; background: currentColor; }
  .mobile-search { position: absolute; top: 20px; right: 17px; display: block; }
  .main-nav { display: none; }
  .main-nav.mobile-open {
    position: fixed;
    z-index: 35;
    top: 60px;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - 60px);
    min-height: calc(100vh - 60px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow: auto;
    padding: 12px 24px 62px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    font-size: 15px;
    white-space: normal;
  }
  .main-nav.mobile-open a { padding: 16px 0; border-bottom: 1px solid #eee; }
  .main-nav.mobile-open .bell-button, .main-nav.mobile-open .desktop-search { display: none; }
  .hero { height: 74vw; min-height: 280px; max-height: 315px; background-position: center; }
  .hero-content { width: 100%; padding-top: 72px; }
  .eyebrow { font-size: 22px; letter-spacing: 0; }
  .hero-subtitle { margin-top: 5px; font-size: 17px; letter-spacing: 4px; }
  .finder-form { width: calc(100% - 30px); height: 41px; margin-top: 75px; grid-template-columns: 76px minmax(0,1fr) 78px; }
  .finder-select, .finder-form input, .finder-form button { font-size: 15px; }
  .finder-form input { padding: 0 12px; }
  .search-hint { margin-top: 7px; font-size: 11px; }
  .stats { height: 86px; padding: 0 13px; }
  .stat strong { font-size: 27px; letter-spacing: 1px; }
  .stat span { font-size: 8px; }
  .stat + .stat::before { height: 47px; }
  .section-shell { width: 100%; padding: 42px 20px; }
  .section-heading { justify-content: flex-start; margin-bottom: 20px; }
  .section-heading h2 { font-size: 24px; letter-spacing: 1px; }
  .section-heading h2::before { width: 58px; height: 2px; margin: 0 0 8px; }
  .section-heading a { right: 0; bottom: 3px; font-size: 12px; }
  .recommendations { padding-top: 28px; padding-bottom: 28px; }
  .recommendation-track { width: calc(100% + 20px); margin-right: -20px; gap: 13px; padding: 0 20px 3px 0; }
  .recommendation-card { flex-basis: 164px; min-width: 164px; }
  .recommendation-card img { height: 152px; }
  .card-label { padding: 10px 3px 8px; }
  .card-label h3 { font-size: 14px; }
  .track-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 17px; }
  .track-controls button { padding: 0; border: 0; background: none; color: #8c8c8c; font-size: 26px; }
  .track-dots { display: flex; gap: 6px; }
  .track-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c9c9c9; }
  .track-dots i.active { background: #8e704a; }
  .articles { padding-top: 26px; }
  .articles-layout { display: block; }
  .article-feature { padding-bottom: 25px; margin-bottom: 26px; }
  .article-feature .article-photo, .articles .article-photo { width: calc(100% + 40px); height: 225px; margin-left: -20px; margin-bottom: 17px; }
  .article-feature .article-copy { align-items: flex-start; text-align: left; }
  .article-copy h3, .article-card .article-copy h3 { font-size: 20px; line-height: 1.55; }
  .article-copy p { font-size: 13px; line-height: 1.75; }
  .category { margin: 0 0 8px; font-size: 10px; }
  .byline, .article-card .byline { margin-top: 13px; font-size: 11px; }
  .article-grid { display: block; }
  .article-card { display: block; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
  .article-card .article-photo { width: calc(100% + 40px); height: 238px; margin-bottom: 16px; }
  .ad-panel { display: none; }
  .guides { padding-top: 22px; padding-bottom: 46px; }
  .guides-layout { display: block; }
  .guide-media { width: calc(100% + 40px); margin-left: -20px; aspect-ratio: 1.62 / 1; }
  .guide-badge { top: 12px; left: 20px; font-size: 9px; }
  .guide-copy { padding: 17px 0 25px; }
  .guide-copy h3 { font-size: 21px; line-height: 1.55; }
  .guide-copy > p:not(.guide-kicker) { margin-top: 10px; font-size: 13px; line-height: 1.75; }
  .guide-link { margin-top: 14px; font-size: 10px; }
  .guide-list { border-top: 1px solid #d8d8d8; }
  .guide-mini { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .guide-mini img { width: 112px; height: 88px; }
  .guide-mini-copy small { margin-bottom: 4px; font-size: 9px; }
  .guide-mini-copy strong { font-size: 15px; line-height: 1.5; }
  .guide-mini-copy em { margin-top: 7px; font-size: 9px; }
  .guide-topics { width: calc(100% + 20px); margin-top: 25px; padding-top: 13px; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .guide-topics::-webkit-scrollbar { display: none; }
  .guide-topics span { font-size: 13px; }
  .guide-topics a { flex: 0 0 auto; padding: 5px 9px; font-size: 11px; }
  .brands { padding: 54px 20px 50px; }
  .brands .section-heading { justify-content: flex-start; }
  .brand-grid { gap: 8px; }
  .brand-tile { height: 145px; }
  .brand-tile span { font-size: 23px; letter-spacing: 2px; }
  .brand-tile small { margin-top: 4px; font-size: 7px; }
  .brand-tile b { bottom: 10px; font-size: 8px; }
  .chanel-banner img { height: 45.05vw; object-fit: cover; object-position: center; }
  .ranking { padding-top: 45px; padding-bottom: 54px; }
  .ranking-list a { min-height: 0; grid-template-columns: 30px minmax(0,1fr) 82px; gap: 10px; padding: 14px 0; }
  .rank-number { font-size: 29px; }
  .rank-title { font-size: 14px; line-height: 1.5; }
  .ranking-list img { width: 82px; height: 58px; }
  .footer { padding: 50px 20px 85px; }
  .footer-top { display: block; padding-bottom: 26px; }
  .footer-logo { width: 195px; }
  .footer-links { gap: 24px; margin-top: 25px; font-size: 12px; }
  .language { margin-top: 24px; }
  .footer-bottom { display: block; padding-top: 22px; }
  .socials { gap: 14px; margin-bottom: 20px; }
  .socials a { width: 15vw; height: 15vw; max-width: 56px; max-height: 56px; }
  .footer-bottom p { margin: 7px 0 0; font-size: 9px; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 51px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #e2e2e2;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -2px 12px rgba(0,0,0,.05);
    grid-template-columns: repeat(6,1fr);
  }
  .mobile-bottom-nav a { display: flex; align-items: center; justify-content: center; padding: 0; }
  .mobile-bottom-nav img { display: block; width: auto; max-width: 100%; height: 36px; object-fit: contain; }
  .search-drawer { position: fixed; z-index: 60; inset: 0; display: none; align-items: flex-start; justify-content: center; padding: 15vh 20px; background: rgba(17,17,17,.64); }
  .search-drawer.open { display: flex; }
  .drawer-inner { position: relative; width: min(540px,100%); padding: 30px 24px 34px; background: #fff; }
  .drawer-close { position: absolute; top: 7px; right: 12px; border: 0; background: none; color: #666; font-size: 28px; }
  .drawer-inner input { width: 100%; height: 48px; border: 0; border-bottom: 1px solid #bbb; outline: 0; font-size: 16px; }
  .drawer-submit { height: 40px; margin-top: 18px; padding: 0 23px; border: 0; background: var(--gold); color: #fff; }
}

@media (min-width: 901px) { .search-drawer { display: none !important; } }

/* The mobile reference keeps a compact login row below the 60px utility bar. */
@media (max-width: 900px) {
  .site-header, .site-header.scrolled { min-height: 100px; height: 100px; position: relative; top: auto; }
  .mobile-login-row { display: flex; height: 40px; align-items: center; justify-content: flex-end; padding: 0 21px; border-top: 1px solid var(--line); border-bottom: 1px solid #ededed; }
  .mobile-login-row .login { font-size: 11px; }
  .main-nav.mobile-open { top: 100px; height: calc(100dvh - 100px); min-height: calc(100vh - 100px); }
  .hero-content { padding-top: 89px; }
  .finder-form { margin-top: 87px; }
}
