/*
Theme Name: Sofa Lab
Theme URI: https://www.sofalab.com.tw/
Author: Sofa Lab
Description: 客製 Sofa Lab 首頁主題。
Version: 1.1.0
Text Domain: sofalab
*/

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

    :root {
      --primary: #3e649b;
      --primary-deep: #2e4d79;
      --paper: #f7f4ee;
      --warm: #edece2;
      --mint: #c0e2c5;
      --mist: #d1daf7;
      --ink: #38383a;
      --line: rgba(56, 56, 58, 0.12);
      --line-strong: rgba(56, 56, 58, 0.22);
      --shadow: 0 18px 42px rgba(56, 56, 58, 0.06);
      --radius: 28px;
      --radius-sm: 18px;
      --container: 1180px;
      --gutter: 24px;
    }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: "Noto Sans TC", "PingFang TC", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    .container {
      width: min(var(--container), calc(100% - (var(--gutter) * 2)));
      margin: 0 auto;
    }

    .section {
      position: relative;
      padding: 110px 0;
    }

    .section-tint {
      background: transparent;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      color: rgba(56, 56, 58, 0.62);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "+";
      font-size: 22px;
      line-height: 1;
      color: var(--primary);
    }

    .section-title {
      margin: 0 0 18px;
      font-family: "Noto Serif TC", serif;
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1.16;
      letter-spacing: -0.03em;
    }

    .section-desc {
      margin: 0;
      max-width: 600px;
      color: rgba(56, 56, 58, 0.68);
      font-size: 15px;
    }

    .split-header {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 40px;
      align-items: end;
      margin-bottom: 42px;
    }

    .mini-note {
      max-width: 360px;
      font-size: 13px;
      color: rgba(56, 56, 58, 0.56);
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background: rgba(247, 244, 238, 0.9);
      border-bottom: 1px solid rgba(56, 56, 58, 0.1);
    }

    .nav__inner {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .nav__brand-group {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .brand__mark {
      width: 34px;
      height: 34px;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      display: grid;
      place-items: center;
      color: var(--primary);
      font-size: 17px;
      background: rgba(255, 255, 255, 0.78);
    }

    .nav__brand-logo {
      display: block;
      height: 54px;
      width: auto;
    }

    .nav__links {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 13px;
      color: rgba(56, 56, 58, 0.66);
    }

    .nav__links a {
      position: relative;
      transition: color 0.2s ease;
    }

    .nav__links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 100%;
      height: 2px;
      background: var(--primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    .nav__links a:hover,
    .nav__links a:focus-visible {
      color: var(--ink);
    }

    .nav__links a:hover::after,
    .nav__links a:focus-visible::after {
      transform: scaleX(1);
    }

    .nav__booking,
    .nav__menu-toggle {
      display: none;
    }

    .nav__menu-toggle {
      width: 36px;
      height: 36px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      padding: 0;
      border: 1px solid rgba(56, 56, 58, 0.12);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.78);
      cursor: pointer;
    }

    .nav__menu-toggle span {
      width: 16px;
      height: 1px;
      background: var(--ink);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav__menu-toggle.is-open span:first-child {
      transform: translateY(5px) rotate(45deg);
    }

    .nav__menu-toggle.is-open span:nth-child(2) {
      opacity: 0;
    }

    .nav__menu-toggle.is-open span:last-child {
      transform: translateY(-5px) rotate(-45deg);
    }

    .nav__opening {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border: 1px solid rgba(56, 56, 58, 0.08);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      color: rgba(56, 56, 58, 0.64);
      font-size: 12px;
      white-space: nowrap;
    }

    .button,
    .pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 13px;
      font-weight: 600;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .button:hover,
    .pill:hover {
      transform: translateY(-1px);
    }

    .button--primary {
      padding: 14px 24px;
      background: var(--primary);
      color: #fff;
      box-shadow: none;
    }

    .button--secondary {
      padding: 14px 24px;
      border-color: rgba(56, 56, 58, 0.14);
      background: rgba(255, 255, 255, 0.72);
      color: var(--ink);
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .hero {
      padding: 54px 0 60px;
      background: #f1eee7;
      overflow: clip;
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
      align-items: center;
      gap: 54px;
    }

    .hero__meta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 34px;
      padding: 8px 14px;
      border: 1px solid rgba(56, 56, 58, 0.08);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      color: rgba(56, 56, 58, 0.62);
      font-size: 12px;
    }

    @media (min-width: 721px) {
      .hero__meta {
        display: none;
      }
    }

    .hero__title {
      margin: 0;
      font-family: "Noto Serif TC", serif;
      font-size: clamp(48px, 7vw, 84px);
      line-height: 1.02;
      letter-spacing: -0.05em;
    }

    .hero__lead {
      margin: 24px 0 0;
      max-width: 420px;
      font-size: 16px;
      color: rgba(56, 56, 58, 0.72);
    }

    .hero__scroll {
      margin-top: 72px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(56, 56, 58, 0.44);
    }

    .hero__scroll::before {
      content: "";
      width: 1px;
      height: 44px;
      background: rgba(56, 56, 58, 0.22);
      animation: scrollPulse 1.8s ease-in-out infinite;
      transform-origin: top;
    }

    .hero-visual {
      position: relative;
      min-height: 640px;
      display: grid;
      place-items: center;
    }

    .hero-visual::before,
    .hero-visual::after {
      content: "";
      position: absolute;
      border-radius: 40px;
      background: rgba(62, 100, 155, 0.06);
      filter: blur(0.2px);
    }

    .hero-visual::before {
      inset: 104px 38px 34px 52px;
      border: 1px solid rgba(56, 56, 58, 0.08);
    }

    .hero-visual::after {
      inset: 68px 90px 80px 106px;
      background: rgba(255, 255, 255, 0.56);
      border: 1px solid rgba(56, 56, 58, 0.06);
    }

    .hero-card {
      position: relative;
      z-index: 2;
      width: min(100%, 560px);
      padding: 34px;
      border: 1px solid rgba(56, 56, 58, 0.1);
      border-radius: 28px;
      background: rgba(251, 250, 246, 0.96);
      box-shadow: var(--shadow);
      transform: none;
    }

    .hero-card--photo {
      padding: 0;
      overflow: hidden;
    }

    .hero-image {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      object-position: center;
    }

    .hero-card__label {
      margin: 0 0 20px;
      font-size: 12px;
      line-height: 1.4;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(56, 56, 58, 0.52);
    }

    .studio-scene {
      position: relative;
      border-radius: 28px;
      padding: 24px 22px 18px;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(56, 56, 58, 0.08);
      overflow: hidden;
    }

    .studio-scene__board {
      width: 92px;
      height: 66px;
      border-radius: 18px;
      border: 1px solid rgba(56, 56, 58, 0.12);
      background: rgba(255, 255, 255, 0.86);
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 14px;
    }

    .studio-scene__board span {
      border-radius: 5px;
      background: var(--warm);
    }

    .studio-scene__board span:nth-child(2),
    .studio-scene__board span:nth-child(6) { background: var(--mint); }
    .studio-scene__board span:nth-child(4) { background: var(--mist); }

    .studio-table {
      position: relative;
      margin-top: 30px;
      height: 150px;
    }

    .studio-table__top {
      position: absolute;
      left: 26px;
      right: 42px;
      top: 32px;
      height: 11px;
      border-radius: 999px;
      background: var(--ink);
    }

    .studio-table__leg {
      position: absolute;
      top: 40px;
      width: 4px;
      bottom: 20px;
      background: rgba(56, 56, 58, 0.34);
    }

    .studio-table__leg--a { left: 44px; }
    .studio-table__leg--b { left: 124px; }
    .studio-table__leg--c { right: 98px; }
    .studio-table__leg--d { right: 54px; }

    .sofa-mini {
      position: absolute;
      left: 108px;
      bottom: 18px;
      width: 168px;
      height: 78px;
    }

    .sofa-mini__back,
    .sofa-mini__seat,
    .sofa-mini__arm {
      position: absolute;
      border-radius: 18px;
      border: 1px solid rgba(56, 56, 58, 0.12);
      background: rgba(255, 255, 255, 0.88);
    }

    .sofa-mini__back {
      inset: 0 10px 26px 10px;
      background: rgba(209, 218, 247, 0.24);
    }

    .sofa-mini__seat {
      left: 28px;
      right: 28px;
      bottom: 0;
      height: 34px;
    }

    .sofa-mini__arm--left,
    .sofa-mini__arm--right {
      bottom: 10px;
      width: 28px;
      height: 40px;
    }

    .sofa-mini__arm--left { left: 0; background: rgba(192, 226, 197, 0.42); }
    .sofa-mini__arm--right { right: 0; }

    .cabinet-mini {
      position: absolute;
      right: 18px;
      top: 22px;
      width: 76px;
      height: 118px;
      border-radius: 18px;
      border: 1px solid rgba(56, 56, 58, 0.1);
      background: rgba(255, 255, 255, 0.88);
    }

    .cabinet-mini::before,
    .cabinet-mini::after {
      content: "";
      position: absolute;
      left: 10px;
      right: 10px;
      height: 1px;
      background: rgba(56, 56, 58, 0.12);
    }

    .cabinet-mini::before { top: 40px; }
    .cabinet-mini::after { top: 78px; }

    .philosophy {
      padding: 132px 0;
      background: #466b9f;
    }

    .philosophy__wrap {
      position: relative;
      padding: 56px 42px;
      text-align: center;
    }

    .philosophy__wrap::before,
    .philosophy__wrap::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 1px;
      height: 130px;
      background: rgba(255, 255, 255, 0.22);
      transform: translateY(-50%);
    }

    .philosophy__wrap::before { left: 0; }
    .philosophy__wrap::after { right: 0; }

    .philosophy h2 {
      margin: 0 auto 18px;
      max-width: 780px;
      font-family: "Noto Serif TC", serif;
      font-size: clamp(34px, 4.6vw, 60px);
      line-height: 1.16;
      letter-spacing: -0.04em;
      color: #fff;
    }

    .philosophy p {
      margin: 0 auto;
      max-width: 560px;
      color: rgba(255, 255, 255, 0.82);
      font-size: 15px;
    }

    #principles {
      background: #faf7f1;
    }

    #modules {
      background: #f3efe7;
    }

    #flow {
      background: #fcfbf8;
    }

    #materials {
      background: #edf1f6;
    }

    #discussion {
      background: #f8f5ef;
    }

    #faq {
      background: #efebe1;
    }

    .principles-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .principle-card,
    .faq-card,
    .module-card,
    .material-panel,
    .flow-stage,
    .discussion-card {
      border: 1px solid rgba(56, 56, 58, 0.1);
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 8px 22px rgba(56, 56, 58, 0.025);
    }

    .principle-card {
      position: relative;
      padding: 26px 24px 28px;
      min-height: 230px;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .principle-card .card-plus {
      position: absolute;
      top: 18px;
      right: 18px;
      margin: 0;
    }

    .principle-card:hover,
    .module-card:hover,
    .faq-card:hover,
    .discussion-card:hover {
      transform: translateY(-2px);
      border-color: rgba(62, 100, 155, 0.18);
      box-shadow: 0 12px 24px rgba(56, 56, 58, 0.05);
    }

    .card-plus {
      display: inline-grid;
      place-items: center;
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: rgba(62, 100, 155, 0.06);
      color: var(--primary);
      font-size: 18px;
      line-height: 1;
      margin-bottom: 24px;
    }

    .card-index {
      display: block;
      margin-bottom: 16px;
      color: rgba(56, 56, 58, 0.36);
      font-size: 12px;
      letter-spacing: 0.12em;
    }

    .card-title {
      margin: 0 0 12px;
      font-size: 22px;
      line-height: 1.28;
    }

    .card-text {
      margin: 0;
      color: rgba(56, 56, 58, 0.58);
      font-size: 14px;
    }

    .module-showcase {
      display: block;
    }

    .module-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .module-card {
      padding: 20px 18px 18px;
      background: rgba(255, 255, 255, 0.96);
    }

    .module-card--link:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 4px;
    }

    .module-illustration {
      position: relative;
      margin-bottom: 18px;
      padding: 18px;
      border-radius: 18px;
      background: #f7f4ee;
      border: 1px solid rgba(56, 56, 58, 0.08);
      overflow: hidden;
      aspect-ratio: 1.08 / 0.88;
    }

    .module-illustration--photo {
      padding: 0;
      background: #fff;
    }

    .module-product-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .module-illustration__base {
      position: absolute;
      left: 16%;
      right: 16%;
      bottom: 18%;
      height: 24%;
      border-radius: 22px;
      border: 1px solid rgba(56, 56, 58, 0.12);
      background: rgba(255, 255, 255, 0.92);
    }

    .module-illustration__back {
      position: absolute;
      left: 20%;
      right: 20%;
      bottom: 36%;
      height: 22%;
      border-radius: 22px;
      border: 1px solid rgba(56, 56, 58, 0.1);
      background: rgba(255, 255, 255, 0.92);
    }

    .module-illustration__arm {
      position: absolute;
      bottom: 22%;
      width: 14%;
      height: 24%;
      border-radius: 18px;
      border: 1px solid rgba(56, 56, 58, 0.12);
      background: rgba(255, 255, 255, 0.95);
    }

    .module-illustration__arm--left { left: 9%; }
    .module-illustration__arm--right { right: 9%; }

    .module-illustration__accent {
      position: absolute;
      right: 10%;
      top: 16%;
      width: 14%;
      height: 14%;
      border-radius: 8px;
      background: var(--mint);
      box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8);
    }

    .module-illustration--drift .module-illustration__accent { background: rgba(209, 218, 247, 0.9); }
    .module-illustration--layer .module-illustration__base,
    .module-illustration--layer .module-illustration__arm--left { background: rgba(192, 226, 197, 0.92); }
    .module-illustration--layer .module-illustration__accent { background: rgba(237, 236, 226, 0.9); }
    .module-illustration--form .module-illustration__accent { background: rgba(192, 226, 197, 0.78); }

    .module-name {
      margin: 0 0 8px;
      font-size: 22px;
    }

    .module-copy {
      margin: 0 0 18px;
      color: rgba(56, 56, 58, 0.56);
      font-size: 13px;
    }

    .pill {
      padding: 9px 14px;
      border-color: rgba(56, 56, 58, 0.1);
      background: rgba(247, 244, 238, 0.88);
      color: rgba(56, 56, 58, 0.64);
    }

    .process-shell {
      padding: 36px;
      border-radius: 34px;
      border: 1px solid rgba(56, 56, 58, 0.1);
      background: rgba(255, 255, 255, 0.94);
      box-shadow: var(--shadow);
    }

    .process-track {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 20px;
      position: relative;
      padding-top: 6px;
    }

    .process-track::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 106px;
      height: 1px;
      background: rgba(56, 56, 58, 0.12);
    }

    .flow-stage {
      position: relative;
      padding: 20px 16px 52px;
      min-height: 218px;
      background: rgba(255, 255, 255, 0.96);
    }

    .flow-stage::after {
      content: "+";
      position: absolute;
      left: 16px;
      bottom: 14px;
      color: var(--primary);
      font-size: 22px;
      line-height: 1;
    }

    .flow-stage__title {
      margin: 0 0 12px;
      font-size: 18px;
    }

    .material-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 26px;
      align-items: stretch;
    }

    .material-panel {
      padding: 26px;
      min-height: 420px;
      background: rgba(255, 255, 255, 0.94);
    }

    .swatch-grid {
      margin-top: 22px;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }

    .swatch {
      aspect-ratio: 1;
      border-radius: 10px;
      border: 1px solid rgba(56, 56, 58, 0.08);
    }

    .swatch:nth-child(1) { background: #dbe4d1; }
    .swatch:nth-child(2) { background: #d7e5d8; }
    .swatch:nth-child(3) { background: #f0ebe4; }
    .swatch:nth-child(4) { background: #e8e0d3; }
    .swatch:nth-child(5) { background: #babdba; }
    .swatch:nth-child(6) { background: #e4efda; }
    .swatch:nth-child(7) { background: #d9edf4; }
    .swatch:nth-child(8) { background: #f3eee6; }
    .swatch:nth-child(9) { background: #d7d5d1; }
    .swatch:nth-child(10) { background: #d2e4c7; }
    .swatch:nth-child(11) { background: #d7e1ed; }
    .swatch:nth-child(12) { background: #f2e5da; }
    .swatch:nth-child(13) { background: #e2d8c8; }
    .swatch:nth-child(14) { background: #9da19b; }
    .swatch:nth-child(15) { background: #bfdab7; }
    .swatch:nth-child(16) { background: #efe6d6; }
    .swatch:nth-child(17) { background: #d0d8ca; }
    .swatch:nth-child(18) { background: #ded0b7; }
    .swatch:nth-child(19) { background: #bdd7c0; }
    .swatch:nth-child(20) { background: #ccd5c9; }

    .swatch-line {
      margin-top: 24px;
      width: 76%;
      height: 2px;
      background: rgba(56, 56, 58, 0.18);
    }

    .swatch-plus {
      margin-left: auto;
      margin-top: -10px;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(56, 56, 58, 0.1);
      color: var(--primary);
      font-size: 20px;
    }

    .material-workshop {
      position: relative;
      min-height: 100%;
      padding: 26px;
      border-radius: 28px;
      background: #e6ebf2;
      border: 1px solid rgba(56, 56, 58, 0.08);
      overflow: hidden;
    }

    .material-workshop .studio-scene {
      margin-top: 18px;
      min-height: 250px;
    }

    .material-workshop__actions {
      margin-top: 20px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .discussion-grid {
      display: grid;
      grid-template-columns: 1fr 1.05fr 1.2fr;
      gap: 18px;
      align-items: start;
    }

    .discussion-column {
      display: grid;
      gap: 18px;
    }

    .discussion-card {
      min-height: 188px;
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      position: relative;
    }

    .discussion-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 62%);
      pointer-events: none;
    }

    .discussion-card--white { background: rgba(255, 255, 255, 0.94); }
    .discussion-card--mint { background: rgba(192, 226, 197, 0.18); }
    .discussion-card--mist { background: rgba(209, 218, 247, 0.2); }
    .discussion-card--warm { background: rgba(237, 236, 226, 0.9); }
    .discussion-card--lime { background: rgba(216, 232, 197, 0.28); }

    .discussion-card__label {
      font-size: 12px;
      color: rgba(56, 56, 58, 0.62);
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .faq-card {
      padding: 24px 22px 22px;
      min-height: 240px;
    }

    .faq-card h3 {
      margin: 0 0 14px;
      font-size: 21px;
      line-height: 1.34;
    }

    .faq-card p {
      margin: 0 0 22px;
      color: rgba(56, 56, 58, 0.58);
      font-size: 14px;
    }

    .cta {
      padding: 60px 0 34px;
    }

    .cta-shell {
      padding: 46px 42px;
      border-radius: 34px;
      background: #3e649b;
      border: 1px solid rgba(62, 100, 155, 0.12);
      display: grid;
      grid-template-columns: 0.28fr 0.72fr;
      gap: 24px;
      align-items: center;
    }

    .cta-shell h2 {
      margin: 0 0 12px;
      font-family: "Noto Serif TC", serif;
      font-size: clamp(34px, 4vw, 58px);
      line-height: 1.1;
      letter-spacing: -0.04em;
      color: #fff;
    }

    .cta-shell p {
      margin: 0 0 24px;
      color: rgba(255, 255, 255, 0.84);
      font-size: 14px;
      max-width: 520px;
    }

    .cta-shell .button.button--primary {
      color: var(--ink);
      border-color: rgba(237, 236, 226, 0.72);
      background: var(--warm);
    }

    .cta-shell .button.button--primary:hover,
    .cta-shell .button.button--primary:focus-visible {
      border-color: var(--mint);
      background: var(--mint);
    }

    .footer {
      padding: 18px 0 40px;
    }

    .footer__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      color: rgba(56, 56, 58, 0.42);
      font-size: 12px;
    }

    .footer__links {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .delay-1 { transition-delay: 0.08s; }
    .delay-2 { transition-delay: 0.16s; }
    .delay-3 { transition-delay: 0.24s; }
    .delay-4 { transition-delay: 0.32s; }

    @keyframes scrollPulse {
      0%, 100% { transform: scaleY(0.35); opacity: 0.45; }
      50% { transform: scaleY(1); opacity: 1; }
    }

    @media (max-width: 1080px) {
      .hero__grid,
      .module-showcase,
      .material-layout,
      .cta-shell,
      .split-header,
      .discussion-grid {
        grid-template-columns: 1fr;
      }

      .module-row,
      .faq-grid,
      .principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .process-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .process-track::before { display: none; }

      .hero-visual {
        min-height: 520px;
      }

      .cta-shell {
        gap: 8px;
      }
    }

    @media (max-width: 720px) {
      :root {
        --gutter: 14px;
      }

      body {
        background:
          radial-gradient(circle at top right, rgba(209, 218, 247, 0.32), transparent 28%),
          var(--paper);
      }

      .container {
        width: min(var(--container), calc(100% - 28px));
      }

      .nav__inner {
        position: relative;
        min-height: 52px;
        gap: 12px;
      }

      .nav__links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 50%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border: 1px solid rgba(56, 56, 58, 0.1);
        border-radius: 16px;
        background: rgba(247, 244, 238, 0.98);
        box-shadow: 0 14px 28px rgba(56, 56, 58, 0.1);
      }

      .nav__links.is-open {
        display: flex;
      }

      .nav__links a {
        padding: 10px 12px;
        border-radius: 10px;
        color: var(--ink);
      }

      .nav__links a::after {
        display: none;
      }

      .nav__links .nav__booking {
        display: inline-flex;
        justify-content: center;
        margin-top: 4px;
        background: var(--primary);
        color: #fff;
      }

      .nav__links .nav__booking:hover,
      .nav__links .nav__booking:focus-visible {
        background: var(--primary-deep);
        color: #fff;
      }

      .nav__opening {
        display: none;
      }

      .nav .button {
        display: none;
      }

      .nav__menu-toggle {
        display: inline-flex;
      }

      .brand {
        gap: 8px;
        font-size: 9px;
        letter-spacing: 0.12em;
      }

      .brand__mark {
        width: 22px;
        height: 22px;
        border-radius: 6px;
        font-size: 13px;
      }

      .nav__brand-logo {
        height: 34px;
      }

      .hero {
        padding: 12px 0 26px;
      }

      .section {
        padding: 52px 0;
      }

      .section-title {
        font-size: 24px;
        line-height: 1.22;
        letter-spacing: -0.04em;
        margin-bottom: 10px;
      }

      .split-header {
        gap: 10px;
        margin-bottom: 22px;
      }

      .mini-note {
        display: none;
      }

      .eyebrow {
        gap: 6px;
        margin-bottom: 10px;
        font-size: 8px;
        letter-spacing: 0.14em;
      }

      .eyebrow::before {
        font-size: 18px;
      }

      .hero__grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
      }

      .hero__grid > .reveal:first-child {
        order: 2;
      }

      .hero__grid > .hero-visual {
        order: 1;
      }

      .hero__meta {
        margin-bottom: 14px;
        padding: 7px 12px;
        font-size: 11px;
      }

      .hero__title {
        font-size: 28px;
        line-height: 1.05;
        letter-spacing: -0.06em;
      }

      .hero__lead {
        margin-top: 10px;
        max-width: none;
        font-size: 12px;
        line-height: 1.75;
      }

      .hero__scroll {
        display: none;
      }

      .hero-card {
        width: 100%;
        padding: 14px;
        border-radius: 18px;
        transform: none;
      }

      .hero-card--photo {
        padding: 0;
      }

      .hero-image {
        aspect-ratio: 16 / 10;
      }

      .hero-visual {
        min-height: auto;
        padding-top: 4px;
      }

      .hero-visual::before {
        inset: 18px 10px 10px;
        border-radius: 18px;
      }

      .hero-visual::after {
        display: none;
      }

      .hero-card__label {
        margin-bottom: 10px;
        font-size: 9px;
      }

      .studio-scene {
        border-radius: 16px;
        padding: 12px 12px 10px;
      }

      .studio-scene__board {
        width: 54px;
        height: 38px;
        padding: 8px;
        gap: 5px;
        border-radius: 10px;
      }

      .studio-table {
        margin-top: 14px;
        height: 92px;
      }

      .studio-table__top {
        left: 18px;
        right: 26px;
        top: 18px;
        height: 7px;
      }

      .studio-table__leg {
        top: 25px;
        bottom: 11px;
        width: 3px;
      }

      .studio-table__leg--a { left: 30px; }
      .studio-table__leg--b { left: 78px; }
      .studio-table__leg--c { right: 58px; }
      .studio-table__leg--d { right: 30px; }

      .sofa-mini {
        left: 70px;
        bottom: 10px;
        width: 100px;
        height: 48px;
      }

      .sofa-mini__back {
        inset: 0 7px 16px 7px;
      }

      .sofa-mini__seat {
        left: 17px;
        right: 17px;
        height: 22px;
      }

      .sofa-mini__arm--left,
      .sofa-mini__arm--right {
        width: 18px;
        height: 24px;
        bottom: 7px;
      }

      .cabinet-mini {
        top: 16px;
        right: 10px;
        width: 42px;
        height: 72px;
        border-radius: 10px;
      }

      .cabinet-mini::before { top: 24px; }
      .cabinet-mini::after { top: 48px; }

      .button-row {
        margin-top: 16px;
        gap: 8px;
      }

      .button,
      .pill {
        font-size: 10px;
        font-weight: 700;
      }

      .button--primary,
      .hero .button--primary {
        padding: 9px 14px;
        background: rgba(192, 226, 197, 0.66);
        color: var(--ink);
        border-color: rgba(56, 56, 58, 0.1);
        box-shadow: none;
      }

      .button--secondary {
        padding: 9px 14px;
        background: rgba(255, 255, 255, 0.78);
      }

      .philosophy__wrap {
        padding: 8px 0;
      }

      .philosophy__wrap::before,
      .philosophy__wrap::after {
        display: none;
      }

      .philosophy {
        padding: 54px 0;
      }

      .philosophy h2 {
        max-width: 280px;
        margin-bottom: 10px;
        font-size: 23px;
        line-height: 1.24;
      }

      .philosophy p {
        max-width: 250px;
        font-size: 10px;
        line-height: 1.7;
      }

      .principles-grid,
      .module-row,
      .faq-grid,
      .process-track {
        grid-template-columns: 1fr;
      }

      .discussion-column {
        grid-template-columns: 1fr;
      }

      .material-panel,
      .material-workshop,
      .process-shell,
      .cta-shell {
        padding: 0;
      }

      .principle-card,
      .module-card,
      .faq-card {
        position: relative;
        border-radius: 14px;
        box-shadow: none;
      }

      .principle-card {
        min-height: 0;
        padding: 14px 16px 16px;
      }

      .principle-card .card-plus,
      .faq-card .card-plus {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto;
        height: auto;
        margin: 0;
        border-radius: 0;
        background: transparent;
        font-size: 22px;
      }

      .card-index {
        margin-bottom: 8px;
        font-size: 10px;
      }

      .card-title,
      .module-name,
      .faq-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
      }

      .card-text,
      .module-copy,
      .faq-card p {
        font-size: 10px;
        line-height: 1.75;
      }

      .module-showcase {
        gap: 0;
      }

      .discussion-grid,
      .material-workshop,
      .faq-grid .faq-card:nth-child(3) {
        display: none;
      }

      .module-row {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(250px, 82vw);
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
      }

      .module-row .module-card {
        scroll-snap-align: start;
      }

      .module-card {
        padding: 10px 10px 12px;
      }

      .module-illustration {
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 14px;
      }

      .module-illustration--photo {
        padding: 0;
      }

      .module-name {
        margin-bottom: 4px;
      }

      .module-copy {
        margin-bottom: 10px;
      }

      .pill {
        padding: 6px 10px;
      }

      .process-shell {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
      }

      .process-track {
        gap: 0;
        padding-top: 0;
      }

      .flow-stage {
        min-height: 0;
        padding: 11px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        border-top: 1px solid rgba(56, 56, 58, 0.12);
      }

      .flow-stage:last-child {
        display: none;
      }

      .flow-stage::after,
      .flow-stage .card-text {
        display: none;
      }

      .flow-stage__title {
        margin: 0;
        font-size: 12px;
      }

      .material-panel {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        min-height: 0;
      }

      .swatch-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
        border: 1px solid rgba(56, 56, 58, 0.1);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.8);
      }

      .swatch {
        border-radius: 7px;
      }

      .swatch-line {
        display: none;
      }

      .swatch-plus {
        width: auto;
        height: auto;
        margin-top: 6px;
        border: 0;
        background: transparent;
      }

      #discussion {
        display: none;
      }

      .faq-grid {
        gap: 12px;
      }

      .faq-card {
        min-height: 0;
        padding: 14px 16px 16px;
      }

      .faq-card p {
        margin-bottom: 12px;
      }

      .cta {
        padding: 18px 0 26px;
      }

      .cta-shell {
        display: block;
        padding: 28px 22px;
        border: 1px solid rgba(62, 100, 155, 0.12);
        border-radius: 18px;
        background: var(--primary);
      }

      .cta-shell .brand {
        display: none;
      }

      .cta-shell h2 {
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 8px;
      }

      .cta-shell p {
        margin-bottom: 12px;
        font-size: 10px;
        line-height: 1.7;
      }

      .footer {
        padding-top: 4px;
        padding-bottom: 20px;
      }

      .footer__inner {
        flex-direction: row;
        justify-content: flex-start;
        gap: 8px;
      }

      .footer__links {
        gap: 6px;
        font-size: 8px;
      }

      .footer__inner > div:last-child {
        display: none;
      }
    }

    .sofalab-fallback {
      padding: 140px 0 90px;
    }

    .sofalab-fallback article + article {
      margin-top: 32px;
      padding-top: 32px;
      border-top: 1px solid var(--line);
    }
