/* =====================================================
   RESPONSIVE MOBILE VERSION
   Breakpoint required by guideline: 360px
   Add this file after all other stylesheets.
===================================================== */
@media screen and (max-width: 360px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 14px;
    line-height: 1.45;
  }

  img,
  iframe {
    max-width: 100%;
  }

  /* =========================
     SHARED HEADER / NAV
  ========================= */
  .navbar {
    position: static;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 8px 16px;
    border-bottom: 0;
    background: #ffffff;
  }

  .nav-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .nav-logo img {
    width: 210px;
    max-width: 92%;
    height: auto;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
  }

  .nav-btn {
    min-width: 0;
    display: block;
    padding: 9px 9px;
    border-radius: 7px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
  }

  /* =========================
     SHARED FOOTER
  ========================= */
  .site-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 22px 12px 24px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-logo img {
    width: 135px;
    height: auto;
  }

  .footer-info p,
  .footer-right p {
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
  }

  /* =========================
     HOME PAGE
  ========================= */
  .hero {
    padding: 48px 16px 58px;
    background: #ffffff;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero h2 {
    max-width: 280px;
    margin: 0 auto 18px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
  }

  .hero p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
  }

  .featured-section {
    padding: 42px 14px 48px;
    background: #eeebe6;
  }

  .featured-section .container,
  .masterclass-section .container,
  .container {
    width: 100%;
    max-width: 100%;
  }

  .section-heading {
    width: 100%;
    margin: 0 auto 18px;
    text-align: center;
  }

  .section-heading h3,
  .masterclass-section .master-heading h3 {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 500;
  }

  .section-heading p,
  .masterclass-section .master-heading p {
    margin: 4px auto 0;
    font-size: 11px;
    line-height: 1.3;
  }

  .featured-image {
    margin-bottom: 16px;
  }

  .featured-image img {
    width: 100%;
    max-width: 306px;
    border-radius: 5px;
  }

  .featured-content {
    width: 100%;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .lesson-text {
    width: 100%;
    max-width: 306px;
    align-items: stretch;
  }

  .lesson-text h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .lesson-text p,
  .lesson-list ol,
  .lesson-list h5 {
    font-size: 10px;
    line-height: 1.35;
  }

  .lesson-list ol {
    margin-left: 16px;
  }

  .price-box {
    width: 300px;
    max-width: 100%;
    padding: 28px 20px;
    border-radius: 5px;
  }

  .price-box h4 {
    font-size: 17px;
  }

  .price-box p {
    font-size: 11px;
  }

  .price-circle {
    width: 78px;
    height: 78px;
    margin: 18px auto;
  }

  .price-circle .dollar {
    font-size: 18px;
    margin-top: 17px;
  }

  .price-circle .price {
    font-size: 30px;
  }

  .price-button {
    padding: 9px 18px;
    font-size: 9px;
  }

  .origami-info {
    padding: 48px 16px 58px;
    background: #ffffff;
  }

  .origami-info-text {
    max-width: 310px;
    margin: 0 auto;
  }

  .origami-info-text p {
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
  }

  .masterclass-section {
    padding: 42px 14px 46px;
    background: #eeebe6;
  }

  .masterclass-section .master-heading {
    margin-bottom: 18px;
  }

  .lessons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
  }

  .lesson-card {
    border-radius: 5px;
  }

  .lesson-card-image {
    aspect-ratio: 1 / 1;
  }

  .lesson-card-body {
    padding: 14px 14px 16px;
  }

  .lesson-card-body h4 {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .lesson-card-body p {
    font-size: 10px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .skill-badge {
    padding: 8px 16px;
    border-radius: 5px;
  }

  .skill-badge .skill-number {
    font-size: 16px;
  }

  .skill-badge .skill-label {
    font-size: 7px;
  }

  /* =========================
     LESSONS PAGE
  ========================= */
  .page-banner {
    background-image: url('images/bg_tile.png');
    background-size: 220px;
    background-repeat: repeat;
    padding: 29px 12px;
    text-align: center;
  }

  .page-banner-inner h2 {
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.05em;
  }

  .lessons-container {
    width: 100%;
    max-width: 100%;
    padding: 0 14px;
  }

  .section-heading.centered {
    margin-bottom: 18px;
  }

  .section-heading.centered h3 {
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.25;
  }

  .section-heading.centered p {
    font-size: 11px;
    line-height: 1.25;
  }

  .masterclass-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 310px;
    margin: 0 auto;
  }

  .mc-card {
    border-radius: 5px;
  }

  .mc-card-image {
    aspect-ratio: 1 / 1;
  }

  .mc-card-body {
    gap: 8px;
    padding: 11px 12px 14px;
  }

  .mc-card-body h4 {
    font-size: 12px;
    line-height: 1.2;
  }

  .enroll-btn {
    padding: 7px 20px;
    border-radius: 5px;
    font-size: 9px;
    letter-spacing: 0;
  }

  /* Required: keep same Lessons page, hide the last 4 lesson cards on mobile only. */
  .masterclass-grid .mc-card:nth-child(n+9) {
    display: none;
  }

  .video-section {
    padding: 42px 0 48px;
    background: #eeebe6;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 310px;
    margin: 0 auto;
  }

  .video-card {
    border: 8px solid #ffffff;
    border-radius: 4px;
    background: #ffffff;
  }

  .video-card-body {
    padding: 10px 8px 4px;
  }

  .video-card-body h4 {
    font-size: 11px;
    font-weight: 700;
  }

  /* =========================
     ABOUT PAGE
  ========================= */
  .about-banner {
    padding: 42px 12px;
    text-align: center;
    background-size: 220px;
  }

  .about-banner h2 {
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  .about-container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }

  .origami-masters-section {
    padding: 72px 0 86px;
    background: #ffffff;
  }

  .about-section-heading {
    margin-bottom: 28px;
  }

  .about-section-heading h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .about-section-heading p {
    font-size: 16px;
  }

  .origami-masters-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .master-circle-img {
    width: 228px;
    height: 228px;
    margin-bottom: 14px;
  }

  .origami-master-card h4,
  .headmaster-block h4,
  .school-master-card h4 {
    font-size: 17px;
    line-height: 1.15;
  }

  .origami-master-card p,
  .headmaster-block p,
  .school-master-card p {
    font-size: 13px;
    line-height: 1.3;
  }

  .school-masters-section {
    padding: 72px 0 86px;
    background: #eeebe6;
  }

  .school-masters-layout {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .headmaster-img-wrap {
    width: 310px;
    max-width: 100%;
    height: 310px;
    border-radius: 18px;
    margin-bottom: 12px;
  }

  .school-masters-grid {
    width: 100%;
    max-width: 310px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 30px;
  }

  .school-master-circle {
    width: 96px;
    height: 96px;
    margin-bottom: 10px;
  }

  .school-master-card h4 {
    font-size: 16px;
  }

  .school-master-card p {
    font-size: 12px;
  }

  /* =========================
     CONTACT PAGE
  ========================= */
  .map-section {
    padding: 6px 10px 86px;
    background: #ffffff;
  }

  .map-section iframe {
    height: 400px;
    border: 0;
  }

  .contact-wrapper {
    max-width: 100%;
    padding: 0 10px 96px;
    background: #ffffff;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .form-column h2,
  .info-column h2 {
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 22px;
  }

  .contact-form {
    max-width: 340px;
    margin: 0 auto;
  }

  .form-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 13px;
  }

  .form-row.align-start {
    align-items: start;
  }

  .form-row > label:first-child {
    font-size: 16px;
    line-height: 1.2;
    padding-top: 5px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    border-radius: 9px;
    font-size: 12px;
    padding: 8px 10px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"],
  select {
    height: 38px;
  }

  textarea {
    min-height: 58px;
  }

  .options-inline {
    flex-wrap: nowrap;
    gap: 0;
    padding-top: 4px;
  }

  .options-stack {
    gap: 1px;
    padding-top: 2px;
  }

  .option-item {
    font-size: 14px;
    gap: 2px;
  }

  .option-item input {
    width: 12px;
    height: 12px;
  }

  .form-actions {
    padding-left: 90px;
    margin-top: 12px;
  }

  .send-btn {
    min-width: 96px;
    padding: 11px 17px;
    border-radius: 10px;
    font-size: 19px;
    line-height: 1;
  }

  .info-column {
    padding-top: 0;
    text-align: center;
  }

  .hq-address {
    font-size: 18px;
    line-height: 1.22;
    margin-bottom: 24px;
  }

  .contact-meta {
    gap: 10px;
    margin-bottom: 20px;
  }

  .contact-meta p {
    justify-content: center;
    gap: 14px;
    font-size: 14px;
  }

  .contact-meta span {
    min-width: 48px;
  }

  .social-icons {
    justify-content: center;
    gap: 16px;
  }

  .social-icons a,
  .social-icons svg {
    width: 28px;
    height: 28px;
  }

  /* =========================
     FORM INTAKE PAGE
  ========================= */
  .thankyou-page {
    min-height: auto;
    padding: 48px 16px 72px;
  }

  .thankyou-card {
    padding: 34px 20px;
    border-radius: 14px;
  }

  .thankyou-card img {
    width: 74px;
  }

  .thankyou-card h1 {
    font-size: 23px;
    line-height: 1.25;
  }

  .thankyou-card p {
    font-size: 14px;
  }

  .return-links {
    flex-direction: column;
    gap: 9px;
  }
}
