/* Hide mobile by default, show only on small screens */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .after-hero-full-bg {
    display: none !important;
  }

  body {
    background-color: #671f21;
    color: #f3f3f3;
  }

  .mobile-page {
    width: 393px;
    max-width: 100%;

    margin: -110px auto 0px auto;
    padding: 0 16px 0px 16px;
    box-sizing: border-box;
  }

  .mobile-hero {
    margin-bottom: 16px;
  }

  .mobile-hero-line {
    font-family: 'Hiragino Kaku Gothic Std', 'Suisse Intl', sans-serif;
    font-weight: 800;
    font-size: 36px;
    flex-shrink: 0;
    letter-spacing: -3.143px;
    color: #f3f3f3;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin-bottom: 4px;
    text-align: center;
  }

  .mobile-hero-line-2 {
    word-spacing: 26px;
    margin-bottom: 20px;
  }

  .mobile-present {
    position: relative;
    display: inline-block;
  }

  .mobile-present-circle {
    position: absolute;
    inset: -50% -20% -60% -20%;
    z-index: 1;
    display: block;
    pointer-events: none;
    transform: scale(0.8, 0.4);
    transform-origin: center;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.5));
  }

  .mobile-hero-circle-img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .mobile-subhero {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 16px;
    color: #f3f3f3;
    text-align: justify;
    line-height: 1.3;
    letter-spacing: -0.655px;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin: 20px 20px 20px 120px;
    transform: translateX(-2px) !important;
    word-spacing: 5px;
  }

  .mobile-after-hero-full-bg {
    background: #0b090a;
    padding: 30px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* kill any top margin from desktop block inside */
  .mobile-after-hero-full-bg .desktop {
    margin-top: 0;
  }

  .mobile-after-hero-inner {
    width: 393px;
    max-width: 100%;
    margin: -15px auto 40px auto;
    padding: 0 16px 0px 16px;
    box-sizing: border-box;
  }

  .mobile-definition {
    margin-bottom: 20px;
  }

  .mobile-setsuna {
    font-family: 'Hiragino Kaku Gothic Std', 'Suisse Intl', sans-serif;
    font-size: 32px;
    letter-spacing: -3.143px;
    margin-bottom: 6px;
    color: #f3f3f3;
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin: auto auto auto 15px;
  }

  .mobile-pronunciation {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 16px;
    letter-spacing: -0.655px;
    color: #f3f3f3;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin-bottom: 8px;
    margin: auto auto auto 15px;
  }

  .mobile-noun {
    font-style: italic;
  }

  .mobile-definition-body {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .mobile-rect {
    width: 3px;
    height: 80px;
    background: #d9d9d9;
    flex-shrink: 0;
    margin: 5px auto auto 15px;
  }

  .mobile-def-text {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #f3f3f3;
    line-height: 1.3;
    letter-spacing: -0.655px;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin: auto 20px 20px 15px;
    text-align: justify;
    word-spacing: 3px;
  }

  .mobile-blend {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: auto 22px 20px 13.5px;
  }

  .mobile-blank {
    width: 144.439px;
    height: 216.712px;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
  }

  .mobile-philosophy {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.655px;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    color: #f3f3f3;
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    text-align: justify;
    margin: -5px 0 10px 0;
  }

  .mobile-list-block {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.655px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    align-items: flex-start;
    text-align: justify;
    position: relative;
    word-spacing: 6px;
  }

  .mobile-fuji {
    width: 160.686px;
    height: 119.021px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: -30px;
    /* allows list to overlap upward */
    margin: auto 20px -160px 0px;
  }

  .mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    font-family: 'Suisse Intl', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    color: #f3f3f3;
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.2);
    /* sits under/overlaps image margin */
    width: 100%;
    text-align: justify;
    margin: 35px 30px 0 8px;
  }

  .mobile-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
  }

  .mobile-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    background-image: var(--star, url('/static/assets/carousel/stars/star 1.webp'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 14px rgba(243, 243, 243, 0.4));
    transform: translateX(7px)
  }


  .mobile-open {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 18px;
    color: #f3f3f3;
    letter-spacing: -0.786px;
    ;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    margin-top: 20px;
    margin-bottom: -20px;
    text-align: center;
  }

  .mobile-humans {
    width: 326px;
    margin: 20px auto;
  }

  .mobile-humans img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
  }

  .mobile-centre,
  .mobile-story,
  .mobile-cta-text,
  .mobile-cta-subtext {
    font-family: 'Suisse Intl', sans-serif;
    color: #f3f3f3;
    letter-spacing: -0.655px;
    text-shadow: 0 1.31px 1.31px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    text-align: center;
  }

  .mobile-centre {
    font-size: 18px;
    margin-top: -16px;
    margin-bottom: 30px;
  }

  .mobile-story {
    font-size: 24.5px;
    margin: 10px 0;
  }

  .mobile-cta {
    margin: 20px 0;
    text-align: center;
  }

  .mobile-cta-text {
    font-size: 20px;
    margin-top: -20px;
    margin-bottom: 4px;
  }

  .mobile-cta-subtext {
    font-size: 16px;
    margin-top: 32px;
  }

  .mobile-outro video {
    width: 320px;
    height: auto;
    display: block;
    margin: -10px auto -40px auto;
    mix-blend-mode: screen;
  }

  .mobile-outro {
    isolation: isolate;
  }

  /* Mobile menu (burger) */
  #mobile-menu-button {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 10000;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .hamburger-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 2px;
    background-color: #f3f3f3;
    border-radius: 999px;
    box-shadow: 0 0 15px rgba(243, 243, 243, 0.4);
    transform-origin: center;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  .hamburger-line:nth-child(1) {
    transform: translate(-50%, -8px);
  }

  .hamburger-line:nth-child(2) {
    transform: translate(-50%, -1px);
  }

  .hamburger-line:nth-child(3) {
    transform: translate(-50%, 6px);
  }

  #mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: translate(-50%, -1px) rotate(45deg);
  }

  #mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: translate(-50%, -1px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #671f21;
    border: 1px solid rgba(243, 243, 243, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: min(90vw, 420px);
    padding: 2rem 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
  }

  .mobile-nav-link {
    font-size: 1.6rem;
    color: #f3f3f3;
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5), 0 0 40px rgba(243, 243, 243, 0.25);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0s;
    --stagger: 0s;
  }

  .mobile-nav-link:nth-child(1) {
    --stagger: 0.05s;
  }

  .mobile-nav-link:nth-child(2) {
    --stagger: 0.1s;
  }

  .mobile-nav-link:nth-child(3) {
    --stagger: 0.15s;
  }

  .mobile-nav-link:nth-child(4) {
    --stagger: 0.2s;
  }

  .mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--stagger);
  }

  .mobile-nav-link:active {
    opacity: 0.7;
  }

  .mobile-language-toggle {
    font-family: 'Suisse Intl Mono', serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #f3f3f3;
    text-shadow: 0 0 25px rgba(243, 243, 243, 0.5), 0 0 50px rgba(243, 243, 243, 0.3);
    background: none;
    border: 2px solid rgba(243, 243, 243, 0.6);
    padding: 10px 20px;
    box-shadow: 0 0 15px rgba(243, 243, 243, 0.2), 0 0 30px rgba(243, 243, 243, 0.1);
    cursor: pointer;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(24px);
    margin-top: 0.5rem;
    align-self: center;
    --stagger: 0.25s;
  }

  .mobile-menu.active .mobile-language-toggle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--stagger);
  }

  .mobile-language-toggle:active {
    opacity: 0.7;
  }

  /* Contact form + footer responsive tweaks */
  .contact-form {
    padding: 1.75rem !important;
  }

  .contact-form label {
    font-size: 1.1rem !important;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 1.15rem !important;
    padding: 0.85rem 1rem !important;
  }

  .contact-form textarea {
    min-height: 190px !important;
  }

  .contact-form-body {
    margin-top: -20px !important;
  }

  .contact-page-container {
    margin-top: -30px !important;
  }

  .store-coming-soon {
    font-size: clamp(2.3rem, 7vw, 3.1rem) !important;
    margin-top: 10px !important;
  }

  .responsive-video {
    width: 100% !important;
    max-width: 400px !important;
  }

  .responsive-hero {
    font-size: 3rem !important;
  }

  .responsive-header-logo {
    font-size: 2.1rem !important;
  }

  .responsive-nav {
    font-size: 1rem !important;
  }

  .about-role {
    margin: 5px 0 15px !important;
    display: block;
  }

  .about-description {
    margin-top: -40px !important;
  }

  .header-surface {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  #footer-surface.footer-surface,
  .footer-surface {
    padding: 0 0.5rem !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    font-size: 0.7rem !important;
    line-height: 1.1 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .footer-surface footer {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .footer-copy {
    font-size: 0.65rem !important;
  }
}

/* Safari-only: remove all blur & glow site-wide */