.mobile-menu-toggle,
.mobile-bottom-nav,
.mobile-preview-hint {
  display: none;
}

@media (max-width: 680px) {
  body.home-page > .site-header {
    position: sticky !important;
    top: 0;
    z-index: 70;
    display: flex !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 18px !important;
    border-bottom: 1px solid rgba(216, 209, 198, 0.82);
    background: rgba(251, 250, 247, 0.96);
    backdrop-filter: blur(12px);
  }

  body.home-page > .site-header > .wordmark {
    font-size: 30px !important;
  }

  .mobile-menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: auto;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid #d8d1c6;
    border-radius: 50%;
    background: #fbfaf7;
    color: #0f0f0e;
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .site-header.is-mobile-menu-open .mobile-menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-mobile-menu-open .mobile-menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  body.home-page > .site-header > .header-actions {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 71;
    display: none !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    margin: 0 !important;
    padding: 10px;
    border: 1px solid #d8d1c6;
    background: rgba(255, 254, 250, 0.99);
    box-shadow: 0 18px 42px rgba(26, 24, 21, 0.12);
    font-size: 13px;
  }

  body.home-page > .site-header.is-mobile-menu-open > .header-actions {
    display: flex !important;
  }

  body.home-page > .site-header .instagram-link,
  body.home-page > .site-header .intro-qna-link,
  body.home-page > .site-header .board-link,
  body.home-page > .site-header .inquiry-trigger,
  body.home-page > .site-header .purchase-link {
    display: flex !important;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border-bottom: 1px solid #eee9e1;
    touch-action: manipulation;
  }

  body.home-page > .site-header .instagram-link::after {
    margin-left: 10px;
    color: #5f5b54;
    content: "Instagram";
    font-size: 12px;
  }

  body.home-page > .site-header .instagram-icon {
    width: 20px;
    height: 20px;
  }

  body.home-page > .site-header .inquiry-menu {
    width: 100%;
  }

  body.home-page > .site-header .inquiry-trigger {
    cursor: pointer;
  }

  body.home-page > .site-header .inquiry-dropdown {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 5px 12px 9px;
    border: 0;
    background: #f6f3ed;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  body.home-page > .site-header .inquiry-menu.is-open .inquiry-dropdown {
    display: grid;
  }

  body.home-page > .site-header .inquiry-dropdown a {
    min-height: 38px;
    padding: 12px 8px;
  }

  body.home-page > .site-header .notification-menu {
    width: 100%;
    min-height: 42px;
    justify-items: start;
    padding: 0 12px;
    border-bottom: 1px solid #eee9e1;
  }

  body.home-page > .site-header .header-divider {
    display: none;
  }

  body.home-page > .site-header .guest-actions,
  body.home-page > .site-header .member-actions {
    width: 100%;
    min-height: 48px;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 8px;
  }

  body.home-page > .site-header .guest-actions {
    grid-template-columns: 1fr 1fr;
  }

  body.home-page > .site-header .guest-actions:not([hidden]) {
    display: grid;
  }

  body.home-page > .site-header .login-link,
  body.home-page > .site-header .join-button,
  body.home-page > .site-header .member-nickname,
  body.home-page > .site-header .logout-button {
    display: inline-flex !important;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
  }

  body.home-page > .site-header .login-link {
    border: 1px solid #d8d1c6;
  }

  body.home-page > .site-header .member-nickname {
    flex: 1 1 auto;
    max-width: none;
    justify-content: flex-start;
  }

  body.home-page .hero-copy {
    padding: 28px 0 34px;
  }

  body.home-page .hero {
    isolation: isolate;
  }

  body.home-page .hero h1 {
    font-size: clamp(52px, 15vw, 58px);
    line-height: 0.94;
  }

  body.home-page .hero-lead {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.7;
  }

  body.home-page .hero-actions {
    display: grid;
    width: calc(100% - 12px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 6px 0;
  }

  body.home-page .button,
  body.home-page .guide-button {
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 12px;
    font-size: 12px;
  }

  body.home-page .button-outline,
  body.home-page .guide-button {
    border: 1px solid #11110f;
    background: rgba(251, 250, 247, 0.74);
    backdrop-filter: blur(2px);
  }

  body.home-page .button-filled {
    grid-column: 1 / -1;
    height: 48px;
    padding-inline: 18px;
    font-size: 13px;
  }

  body.home-page .button-label-long {
    display: none;
  }

  body.home-page .button-label-short {
    display: inline;
  }

  body.home-page .button-arrow,
  body.home-page .guide-button .button-arrow {
    flex: 0 0 auto;
    font-size: 21px;
  }

  body.home-page .hero-image {
    position: absolute;
    right: -24%;
    bottom: -9px;
    z-index: 1;
    display: block;
    width: min(138%, 500px);
    max-width: none !important;
    height: auto !important;
    margin: 0;
    opacity: 0.16;
    filter: blur(1.4px) saturate(0.78);
    object-fit: contain;
    object-position: right bottom;
  }

  body.home-page .editorial-section {
    display: block;
    padding: 20px 0 34px;
  }

  body.home-page .section-heading {
    min-height: 36px;
  }

  body.home-page .section-heading h2 {
    font-size: 13px;
  }

  body.home-page .desktop-only-label {
    display: none;
  }

  body.home-page .mobile-only-label {
    display: inline;
  }

  body.home-page .section-heading a {
    min-height: 40px;
    padding-left: 12px;
  }

  body.home-page .preview-carousel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 8px;
  }

  body.home-page .preview-arrow {
    display: none;
  }

  body.home-page .article-viewport {
    grid-column: 1;
    overflow: hidden;
    touch-action: pan-y;
  }

  body.home-page .article-card {
    scroll-snap-align: start;
  }

  body.home-page .article-card img {
    height: 210px;
  }

  body.home-page .work-preview-empty {
    display: grid;
    min-height: 150px;
    place-items: center;
    gap: 14px;
    padding: 28px 20px;
  }

  body.home-page .work-preview-empty p {
    margin: 0;
  }

  body.home-page .work-preview-empty a {
    display: inline-flex;
    min-width: 132px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bd5537;
    background: #bd5537;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }

  body.home-page .mobile-preview-hint {
    display: block;
    margin: 9px 0 0;
    color: #8a847b;
    font-size: 10px;
    text-align: center;
  }

  body.home-page .editorial-section.is-empty .mobile-preview-hint {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 68;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 64px;
    padding: 5px 8px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid #d8d1c6;
    background: rgba(255, 254, 250, 0.97);
    box-shadow: 0 -8px 24px rgba(30, 27, 23, 0.07);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a {
    display: grid;
    min-width: 0;
    min-height: 52px;
    place-content: center;
    justify-items: center;
    gap: 3px;
    color: #746f67;
    font-size: 10px;
    font-weight: 600;
    touch-action: manipulation;
  }

  .mobile-bottom-nav a {
    position: relative;
  }

  .mobile-bottom-nav a.is-active {
    color: #0f0f0e;
  }

  .mobile-bottom-nav a.is-active::before {
    position: absolute;
    top: -5px;
    width: 22px;
    height: 2px;
    background: #bd5537;
    content: "";
  }

  .mobile-bottom-nav a:nth-child(3) {
    color: #bd5537;
  }

  .mobile-bottom-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.home-page .common-site-footer-inner {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  body.home-page .button,
  body.home-page .guide-button {
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle span {
    transition: none;
  }
}
