/* ============================================================================
   CHAMELO COFFEE LAB — Architectural Gallery System (Zero AI-Slop v2)
   Palette: Gallery Pure White (#FFFFFF) + Cool Mineral Stone (#F3F3F1)
            Deep Ink Charcoal (#161615) + Roasted Terracotta (#8B3A26, <= 3%)
   ============================================================================ */

@font-face {
  font-family: "Local Serif";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(./fonts/h-serif.woff2) format("woff2");
}

:root {
  --paper: #ffffff;
  --stone: #f3f3f1;
  --stone-deep: #e8e8e4;
  --ink: #161615;
  --ink-sub: #52514d;
  --ink-muted: #5c5b57;
  --accent: #8b3a26;
  --accent-hover: #732f1e;
  --hairline: rgba(22, 22, 21, 0.12);
  --hairline-strong: rgba(22, 22, 21, 0.28);
  --font-serif: "Noto Serif KR", "Local Serif", Georgia, serif;
  --font-display-en: "Cormorant Garamond", "Local Serif", serif;
  --font-sans: "Pretendard Variable", "Site Sans", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.74;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-synthesis: none;
}

h1, h2, h3, h4, p, dl, dt, dd, figure, ul, ol {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* ============================================================================
   HEADER (Minimal 64px Architectural Bar)
   ============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  font-family: var(--font-display-en);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-sub);
  padding-top: 6px;
  padding-bottom: 6px;
  position: relative;
  transition: color 200ms var(--ease-out);
}

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

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--ink);
  }
  .site-nav a:hover::after {
    transform: scaleX(1);
  }
}

.header-action {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .header-action:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

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

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1.0625rem;
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

/* ============================================================================
   1. OPENING ARCHITECTURAL SPLIT HERO (42 : 58, Single Focused Statement)
   ============================================================================ */
.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: minmax(400px, 42%) 1fr;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4.4vw, 64px);
}

.hero-location {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 3.4vw, 3.25rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lead {
  margin-top: 24px;
  max-width: 32em;
  font-size: 1rem;
  line-height: 1.76;
  color: var(--ink-sub);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.btn-solid,
.btn-accent,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 140ms var(--ease-out);
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}

.btn-full {
  width: 100%;
}

.btn-solid:active,
.btn-accent:active,
.btn-outline:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover {
    background: #2c2b29;
    border-color: #2c2b29;
  }
  .btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
  }
  .btn-outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-link:hover {
    color: var(--accent);
    border-color: var(--accent);
  }
}

.hero-stage {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  background: var(--stone);
  overflow: hidden;
  touch-action: pan-y;
}

.gl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage.gl-ready .hero-fallback {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================================
   SHARED SECTION RHYTHM & MEDIA FRAMES
   ============================================================================ */
.section-white {
  background: var(--paper);
  padding-top: clamp(88px, 10vw, 144px);
  padding-bottom: clamp(88px, 10vw, 144px);
}

.section-stone {
  background: var(--stone);
  padding-top: clamp(88px, 10vw, 144px);
  padding-bottom: clamp(88px, 10vw, 144px);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.75vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.wholesale-title {
  font-size: clamp(1.625rem, 2.45vw, 2.35rem);
}

.body-copy {
  margin-top: 20px;
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.76;
  color: var(--ink-sub);
  letter-spacing: -0.01em;
}

.body-copy-muted {
  margin-top: 14px;
  max-width: 38em;
  font-size: 0.96875rem;
  line-height: 1.72;
  color: var(--ink-sub);
}

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--stone-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(22, 22, 21, 0.08);
  outline-offset: -1px;
  transition: transform 650ms var(--ease-out);
}

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-5-6 { aspect-ratio: 5 / 6; }

/* ============================================================================
   2. EDITORIAL CRAFT INDEX (Maison Cacao Hairline Rows + Live Preview)
   ============================================================================ */
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.section-intro {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-sub);
  max-width: 36em;
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.craft-list {
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
}

.craft-row {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: minmax(225px, 0.44fr) 1fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 220ms var(--ease-out);
}

.craft-term {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 220ms var(--ease-out);
}

.craft-desc {
  font-size: 0.96875rem;
  line-height: 1.74;
  color: var(--ink-sub);
}

.craft-row.is-active {
  border-bottom-color: var(--ink);
}

.craft-row.is-active .craft-term {
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .craft-row:hover .craft-term {
    color: var(--ink);
  }
}

.craft-preview img {
  object-position: center 75%;
  transition: opacity 260ms var(--ease-out);
}

.craft-preview img.is-switching {
  opacity: 0.35;
}

/* ============================================================================
   3. 2026 HOLIDAY LOOKBOOK SPREAD
   ============================================================================ */
.holiday-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5.5vw, 80px);
  align-items: start;
}

.spec-lines {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
}

.spec-row dt {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.spec-row dd {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.holiday-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.holiday-subgrid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================================
   4. BORDERLESS MUSEUM CATALOG (8 PRODUCTS)
   ============================================================================ */
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hairline);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-btn {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-muted);
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  transition: color 200ms var(--ease-out);
}

.filter-btn.is-active {
  color: var(--ink);
  font-weight: 600;
}

.filter-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
}

.catalog-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 28px;
}

.product-item.is-hidden {
  display: none;
}

.product-trigger {
  display: block;
  width: 100%;
  text-align: left;
}

.product-meta {
  padding-top: 16px;
}

.product-name {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.product-note {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.product-price {
  margin-top: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .product-trigger:hover .media-frame img {
    transform: scale(1.035);
  }
  .product-trigger:hover .product-name {
    color: var(--accent);
  }
}

.catalog-foot {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: center;
}

/* ============================================================================
   5. WHOLESALE STICKY SPLIT + OPEN EDITORIAL UNDERLINE FORM
   ============================================================================ */
.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.wholesale-sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.wholesale-photo {
  margin-top: 32px;
  max-width: 440px;
}

.wholesale-photo img {
  object-position: center 80%;
}

.process-steps {
  margin-top: 36px;
  padding: 8px 0 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.process-steps li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.step-copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-sub);
}

/* Open editorial form — sits directly on stone surface without SaaS card box */
.wholesale-form-open {
  padding-top: 8px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}

.form-lead {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-sub);
}

.paper-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-strong);
  border-radius: 0;
  font-size: 0.96875rem;
  color: var(--ink);
  transition: border-color 200ms var(--ease-out);
}

.field-group textarea {
  resize: vertical;
  min-height: 84px;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #65645f;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-foot {
  padding-top: 10px;
}

.form-status {
  margin-top: 14px;
  min-height: 24px;
  font-size: 0.9rem;
  color: var(--ink-sub);
}

.form-status.is-error {
  color: #a62b1f;
}

.form-status.is-ok {
  color: #1f5c3a;
}

/* ============================================================================
   6. ATELIER SPLIT & FOOTER (Zero Cluttered Street Exterior)
   ============================================================================ */
.atelier-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5.5vw, 80px);
  align-items: center;
}

.atelier-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.atelier-specs {
  margin-top: 32px;
}

.atelier-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.site-footer {
  background: var(--stone);
  border-top: 1px solid var(--hairline);
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}

.footer-wordmark {
  font-family: var(--font-display-en);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.9375rem;
  color: var(--ink-sub);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ============================================================================
   SLIDE-OVER PRODUCT DRAWER (Zero Image Cropping)
   ============================================================================ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(22, 22, 21, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-out);
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(460px, 100%);
  height: 100%;
  background: var(--paper);
  padding: 28px clamp(20px, 4vw, 36px) 36px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 340ms var(--ease-out);
  display: flex;
  flex-direction: column;
}

.drawer-backdrop.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.drawer-cat {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.drawer-close {
  min-height: 40px;
  padding-inline: 12px;
  font-size: 0.9375rem;
  color: var(--ink);
}

.drawer-content {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}

.drawer-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  background: #f2f1ed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.drawer-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.32;
}

.drawer-price {
  margin-top: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.drawer-desc {
  margin-top: 14px;
  font-size: 0.96875rem;
  line-height: 1.72;
  color: var(--ink-sub);
}

.drawer-specs {
  margin-top: 20px;
  padding-top: 6px;
  border-top: 1px solid var(--hairline);
}

.drawer-specs .spec-row {
  padding-top: 12px;
  padding-bottom: 12px;
}

.drawer-actions {
  margin-top: 24px;
}

/* ============================================================================
   MOBILE STICKY BAR
   ============================================================================ */
.mobile-bar {
  display: none;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-stage {
    order: -1;
    min-height: 54svh;
  }
  .hero-copy {
    padding-top: 40px;
    padding-bottom: 44px;
  }
  .section-head-split,
  .craft-grid,
  .holiday-spread,
  .wholesale-grid,
  .atelier-split {
    grid-template-columns: 1fr;
  }
  .craft-preview {
    order: -1;
    max-width: 520px;
  }
  .wholesale-sticky {
    position: static;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }
}

@media (max-width: 767px) {
  .site-nav,
  .header-action {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-stage {
    min-height: 46svh;
  }
  .hero-location {
    margin-bottom: 18px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 16px;
  }
  .craft-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .craft-term {
    white-space: normal;
    color: var(--ink);
  }
  .process-steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .atelier-media-pair {
    gap: 12px;
  }
  .site-footer {
    padding-bottom: 96px;
  }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    transform: translateY(100%);
    transition: transform 280ms var(--ease-out);
  }
  .mobile-bar.is-visible {
    transform: translateY(0);
  }
  .mobile-bar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 500;
  }
  .mobile-bar-accent {
    background: var(--accent);
    color: var(--paper);
  }
  .mobile-bar-solid {
    background: var(--ink);
    color: var(--paper);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
