@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500&display=swap');

:root {
  --paper: #f6f1e7;
  --paper-deep: #efe7d6;
  --ink: #2b2822;
  --ink-soft: #55503f;
  --tea: #6b5a3e;
  --tea-deep: #4a3f2a;
  --pine: #3f4a3a;
  --seal: #a3312a;
  --line: rgba(43, 40, 34, 0.14);
  --placeholder-bg: linear-gradient(135deg, #e4dcc8, #d3c8ac);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 导航子菜单会直接跳到板块内部的某个小标题/卡片，加个顶部留白避免被固定导航栏挡住 */
.track, .story-title, .contact-item { scroll-margin-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: 'Noto Serif SC', serif;
  color: var(--ink);
  font-weight: 600;
}

a { color: inherit; }

.placeholder-note,
.demo-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--seal);
  background: rgba(163, 49, 42, 0.08);
  border: 1px dashed rgba(163, 49, 42, 0.35);
  border-radius: 4px;
  padding: 3px 8px;
}

.demo-note {
  display: block;
  width: fit-content;
  text-align: center;
  margin: -30px auto 44px;
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover { color: var(--seal); }

.nav li.has-submenu { position: relative; }

/* .nav ul 那条通用规则会把 display:flex 也套到 .submenu 头上（它也是个 ul），
   这里用更高优先级的选择器强制改回竖排列表 */
.nav .submenu {
  display: block;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 50;
}

.submenu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav li.has-submenu:hover .submenu,
.nav li.has-submenu.submenu-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6vw 60px;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 90, 62, 0.10), transparent 60%),
    var(--paper);
}

.brand-title {
  position: relative;
  display: inline-block;
}

.brand-seal {
  position: absolute;
  right: -16px;
  bottom: 2px;
  width: 30px;
  height: auto;
  opacity: 0.9;
}

.hero-logo {
  width: clamp(240px, 34vw, 460px);
  height: auto;
  display: block;
  margin: 0 0 18px;
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 32em;
  margin: 0 auto 10px;
}

.hero .scroll-hint {
  margin-top: 60px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
}

/* sections */
section {
  padding: 100px 6vw;
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--seal);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 14px auto 0;
}

.section-head .section-quote {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--seal);
  max-width: none;
  margin: 16px 0 0;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--tea);
  margin: 22px auto 0;
}

/* card grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 40, 34, 0.10);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
  padding: 14px;
}

.card-media.square {
  aspect-ratio: 1 / 1;
}

.card-media.poster {
  aspect-ratio: 2 / 3;
}

.card-media.poster img {
  padding: 0;
  background: none;
}

.card-media.square img {
  padding: 0;
  background: none;
}

.card-media img.cover-fit {
  object-fit: cover;
  padding: 0;
}

.card-body {
  padding: 22px 24px 26px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.card-body p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0;
}

/* two-column (guqin / booking) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .media {
  aspect-ratio: 5 / 4;
  background: var(--placeholder-bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.split.reverse .media { order: 2; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--tea);
  color: var(--tea-deep);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
}

/* booking */
.booking {
  background: var(--paper-deep);
}

.booking-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.track {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 36px;
  border-top: 3px solid var(--tea);
}

.track-verified {
  background: var(--tea-deep);
  border-top-color: var(--seal);
}

.track-label {
  display: block;
  font-size: 17px;
  letter-spacing: 0.25em;
  color: var(--seal);
  text-align: center;
  margin-bottom: 10px;
}

.track h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.track-verified h3 { color: var(--paper); }

.track-lead {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.track-verified .track-lead { color: #d9cdae; }

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.plain-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--seal);
  font-weight: 700;
}

.cta-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  background: var(--seal);
  color: #fff;
  padding: 13px;
  border-radius: 4px;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.cta-btn:hover { background: #8a2721; }

.verify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verify-form label {
  flex: 1 1 100%;
  font-size: 0.85rem;
  color: #d9cdae;
  margin-bottom: 2px;
}

.verify-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(246, 241, 231, 0.3);
  border-radius: 4px;
  background: rgba(246, 241, 231, 0.08);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--paper);
}

.verify-form input::placeholder { color: #b6a988; }

.verify-form .submit-btn {
  width: auto;
  margin-top: 0;
  padding: 10px 22px;
  flex: 0 0 auto;
}

.verify-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.verify-message.error { color: #e7a39c; }
.verify-message.success { color: #cfe0b8; }

.real-booking-form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
}

.real-booking-form.expanded {
  max-height: 900px;
  opacity: 1;
  margin-top: 26px;
}

.proto-note {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: #b6a988;
}

.booking-form {
  background: transparent;
  padding: 0;
}

.track-verified .booking-form label {
  color: #d9cdae;
}

.track-verified .form-status {
  color: #cfe0b8;
}

.booking-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 16px 0 6px;
}

.booking-form label:first-child { margin-top: 0; }

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.booking-form textarea { resize: vertical; min-height: 70px; }

.submit-btn {
  margin-top: 22px;
  width: 100%;
  padding: 12px;
  background: var(--seal);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: #8a2721; }

.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--pine);
  display: none;
}

/* about */
/* yaji */
.yaji {
  text-align: center;
}

.yaji .yaji-story {
  max-width: 42em;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.yaji .yaji-story p { margin: 0 0 18px; }

.yaji .yaji-story .story-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--seal);
  margin-bottom: 24px;
}

.poster-scroll {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
  justify-content: center;
}
.poster-scroll::-webkit-scrollbar { display: none; }

/* 一排装不下时（不分屏幕宽度）：转为轮播容器。
   轮播用 transform 位移计算轨道位置，必须让轨道贴在容器左边界，
   不能让 justify-content: center 参与进来，否则位移量会跟实际显示位置对不上。 */
.poster-scroll.has-carousel {
  overflow: hidden;
  position: relative;
  cursor: grab;
  gap: 0;
  justify-content: flex-start;
}
.poster-scroll .carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  touch-action: pan-y;
  user-select: none;
}
.poster-scroll .carousel-track.grabbing { cursor: grabbing; }

.poster-card {
  flex: 0 0 auto;
  width: clamp(200px, 28vw, 300px);
}

.poster-card img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  pointer-events: none;
}

.about {
  text-align: center;
}

.about .story {
  max-width: 42em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about .story p { margin: 0 0 18px; }

.about .story .story-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--seal);
  margin-bottom: 24px;
}

.about .story .story-title:not(:first-child) {
  margin-top: 44px;
}

/* contact */
.contact {
  background: var(--tea-deep);
  color: var(--paper);
}

.contact .section-head h2 { color: var(--paper); }
.contact .section-head p { color: #d9cdae; }
.contact .section-head .eyebrow { color: #e7b7ac; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.contact-item {
  border: 1px solid rgba(246, 241, 231, 0.2);
  border-radius: 6px;
  padding: 34px 20px;
  display: block;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

a.contact-item:hover {
  border-color: var(--seal);
  transform: translateY(-3px);
}

.map-cta {
  margin-top: 10px;
  color: #e7b7ac !important;
  font-size: 0.82rem !important;
}

.contact-item .qr {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 4px;
  background: rgba(246, 241, 231, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #d9cdae;
  overflow: hidden;
}

.contact-item .qr.icon {
  font-size: 2.4rem;
  color: var(--paper);
}

.contact-item .qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
  padding: 6px;
  border-radius: 4px;
}

.contact-item h3 {
  color: var(--paper);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.contact-item p {
  color: #d9cdae;
  font-size: 0.9rem;
  margin: 0;
}

footer {
  text-align: center;
  padding: 30px 6vw;
  font-size: 0.82rem;
  color: #c7bb9c;
  background: var(--tea-deep);
  border-top: 1px solid rgba(246, 241, 231, 0.15);
}

/* brand cards (tea section) */
.explore-btn {
  margin-top: auto;
  align-self: center;
  display: inline-block;
  background: none;
  border: 1px solid var(--tea);
  color: var(--tea-deep);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.explore-btn:hover {
  background: var(--tea);
  color: #fff;
}

/* brand -> product modal */
.brand-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.brand-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.brand-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 40, 34, 0.55);
}

.brand-modal-panel {
  position: relative;
  background: var(--paper);
  border-radius: 10px;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 46px 44px 0;
  transform: translateY(16px);
  transition: transform 0.25s;
}

.brand-modal.open .brand-modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.modal-close:hover { color: var(--seal); }

.modal-header {
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin: 8px 0 10px;
}

.modal-header p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 40em;
  margin: 0 0 32px;
}

.modal-products-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 46px;
}

.modal-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 8px;
}

.product-body { padding: 16px 18px 20px; text-align: center; }

.product-category {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--seal);
  border: 1px solid rgba(163, 49, 42, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
  margin: 0 0 10px;
  line-height: 1.6;
}

.product-body h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-family: 'Noto Serif SC', serif;
  color: var(--ink);
}

.product-spec {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.detail-btn {
  width: 100%;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--tea-deep);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.detail-btn:hover {
  border-color: var(--seal);
  color: var(--seal);
}

body.modal-open { overflow: hidden; }

.product-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.product-gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.product-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 40, 34, 0.65);
}

.product-gallery-panel {
  position: relative;
  background: var(--paper);
  border-radius: 10px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 32px 32px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--placeholder-bg);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.15s, border-color 0.15s;
}

.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active { border-color: var(--seal); opacity: 1; }

.gallery-info { margin-top: 18px; text-align: center; }

.gallery-info h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--ink);
}

.gallery-info p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 4px;
}

/* responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* 轮播容器：overflow hidden + transform 控制，完全避免 scrollLeft 跳帧 */
  .grid-3, .grid-4 {
    overflow: hidden;
    display: block;
    position: relative;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
  }
  .carousel-track.grabbing { cursor: grabbing; }

  .carousel-track > .card {
    flex: 0 0 80vw;
    max-width: 320px;
  }

  .carousel-track img {
    pointer-events: none;
  }

  .contact-grid, .booking-tracks { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .nav ul {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px 8vw;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.25s;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .nav ul.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  /* 子菜单在移动端改成手风琴式展开，不用悬浮下拉：点主菜单名字本身展开/收起，不跳转。
     .submenu 本身也是个 ul，会被上面 .nav ul 那条规则的每一条属性顶掉（同样的选择器碰撞问题——
     display、position 之前都撞过，这次连 transform、max-height 也一起中招了：.nav ul 的
     translateY(-140%) 是按 .submenu 自己的高度算的，把子菜单整个顶到了前一项甚至更前面去，
     max-height 也变成了 .nav ul 那个"整个导航栏可以有多高"的值，导致子菜单其实从来没收起过）。
     这里把子菜单需要的每一条属性都放进 .nav .submenu 里，靠更高的优先级整体压过 .nav ul，
     不再一条条属性去补漏洞。 */
  .nav .submenu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    flex-direction: unset;
    background: none;
    padding: 0;
    gap: 0;
    border-bottom: none;
    transform: none;
    transition: max-height 0.25s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    box-shadow: none;
    border: none;
    margin-top: 4px;
  }
  .nav li.has-submenu.submenu-open .submenu {
    pointer-events: auto;
    max-height: 240px;
  }
  .submenu a { padding: 8px 0 8px 14px; }
  section { padding: 70px 6vw; }
  .brand-modal-panel { padding: 36px 22px; }
  .modal-header h3 { font-size: 1.35rem; }
  .demo-note { margin-top: -18px; }
}
