
[data-mm-header] {
  --mm-bg: #1a202c;
  --mm-text: #f4efe6;
  --mm-primary: #f0a964;
  --mm-overlay-bg: rgba(10, 12, 18, 0.62);
}
.l-terrace-intro-sting {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 0 max(1rem, 3vw) 0.6rem;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.terrace-intro-topline {
  flex: 1 1 100%;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfc8bb;
}
.terrace-intro-topline a { color: var(--glow); text-decoration: none; font-weight: 600; }
@media (max-width: 767px) {
  .terrace-intro-topline > .c-muted { display: none; }
}
.terrace-intro-brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0.5rem;
  text-decoration: none;
}
.terrace-intro-logo {
  height: 2.6rem;
  width: auto;
}
.terrace-nav-list { font-weight: 600; }
.terrace-nav .terrace-nav-link {
  color: var(--cream);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.01em;
}
.terrace-nav .terrace-nav-link:hover,
.terrace-nav .terrace-nav-link[aria-current="page"] { color: var(--glow); }
.terrace-nav-close { color: var(--cream); }
.terrace-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-top: 0.5rem;
  margin-left: auto;
  color: var(--cream);
  text-decoration: none;
}
.terrace-bag svg { width: 26px; height: 26px; }
.terrace-bag-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3rem;
  text-align: center;
}
.terrace-intro-burger {
  margin-top: 0.5rem;
  margin-left: 0.25rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}


.l-terrace-segment {
  text-align: center;
  padding: 3rem 1rem 2rem;
}
.terrace-segment-kicker { color: var(--glow); }
.terrace-segment-lead { color: #d9d2c5; }
.terrace-reel {
  position: relative;
  margin-top: 2rem;
  border-radius: 14px;
  overflow: hidden;
}
.terrace-reel-track {
  position: relative;
  aspect-ratio: 4 / 3;
}
.terrace-reel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.terrace-reel-slide.is-active { opacity: 1; }
.terrace-reel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.terrace-reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 3rem;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0));
  color: #fff;
  text-align: left;
}
.terrace-reel-dots {
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
}
.reel-dot {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.reel-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color .3s ease;
}
.reel-dot.is-active::before { background: var(--glow); }
.terrace-reel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.terrace-reel-arrow:hover { background: rgba(17, 24, 39, 0.8); }
.terrace-reel-prev { left: 0.75rem; }
.terrace-reel-next { right: 0.75rem; }
@media (max-width: 639px) {
  .terrace-reel-arrow { top: 0.75rem; transform: none; }
}


.terrace-brush {
  height: 40px;
  background: var(--accent,#111);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='40'%3E%3Cpath d='M0 20 Q300 0 600 20 T1200 20 V40 H0Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='40'%3E%3Cpath d='M0 20 Q300 0 600 20 T1200 20 V40 H0Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.terrace-brush-ink { background-color: var(--ink); }
.terrace-brush-mist { background-color: var(--mist); }
.terrace-brush-night { background-color: var(--night); }


.l-terrace-end-card {
  background: #111827;
  color: #cbd5e1;
  padding: 3rem 1rem 1.5rem;
}
.l-terrace-end-card a { color: #e2d9c8; }
.l-terrace-end-card a:hover { color: var(--glow); }
.terrace-end-ask {
  max-width: 1100px;
  padding: 0 0 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terrace-end-ask h2 { color: #fff; }
.terrace-end-ask .terrace-field-input {
  background: #1a202c;
  border-color: rgba(255, 255, 255, 0.16);
  color: #f4efe6;
}
.terrace-end-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
}
.terrace-end-col { min-width: 0; }
.l-terrace-end-card .c-muted { color: #aab3c2; }
.terrace-end-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.terrace-end-link {
  display: inline-block;
  padding: 0.3rem 0;
  text-decoration: none;
  background: none;
  border: none;
  color: #e2d9c8;
  cursor: pointer;
  text-align: left;
}
.terrace-end-logo { height: 2.4rem; width: auto; }
.terrace-end-bar {
  max-width: 1100px;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f98a8;
}


.terrace-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.terrace-fab:hover { background: var(--accent-deep); }
.terrace-fab svg { width: 26px; height: 26px; }
.terrace-fab-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 900;
  width: min(20rem, calc(100vw - 2.5rem));
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.terrace-fab-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.terrace-fab-panel a { color: var(--glow); }


.terrace-toast {
  position: fixed;
  left: 50%;
  bottom: 5.75rem;
  z-index: 950;
  width: min(26rem, calc(100vw - 2rem));
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.28);
  transform: translate(-50%, 220%);
  visibility: hidden;
  transition: transform .3s ease;
}
.terrace-toast.is-shown { transform: translate(-50%, 0); visibility: visible; }


body.mm-pushed { transform: none; }
body.mm-pushed .l-main,
body.mm-pushed .l-terrace-end-card {
  transform: translateX(var(--mm-drawer-width, 280px));
  transition: transform .3s ease;
}
