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

  :root {
    --font-display: "Montserrat", sans-serif;
    --font-body: "Work Sans", sans-serif;
    /* Brand locked to logo: terracotta + charcoal (+ a bit more energy) */
    --brown:    #2b211d;
    --orange:   #c96336;
    --orange2:  #b04e28;
    --orange3:  #e28452;
    --peach:    #eee6db;
    --peach2:   #e0d4c4;
    --peach3:   #f5efe6;
    --rose:     #f6f1ea;
    --bg:       #f5f0e9;
    --white:    #FFFFFF;
    --text:     #1a1410;
    --text2:    #5c4a3d;
    --text3:    #978575;
    --border:   rgba(43, 33, 29, 0.1);
    --shadow:   0 4px 28px rgba(43, 33, 29, 0.07);
    --shadow-lg: 0 16px 56px rgba(43, 33, 29, 0.12);
  }

  html { scroll-behavior: smooth; scroll-padding-top: 96px; }

  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ─── ANIMATED DOT WAVES CANVAS ─── */
  #dot-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
  }

  /* ─── AMBIENT BLOBS ─── */
  .blob {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(90px);
  }
  .blob-1 { width: 700px; height: 700px; background: radial-gradient(circle, #e8d5c0 0%, transparent 70%); top: -250px; right: -150px; opacity: 0.5; animation: blobFloat 32s ease-in-out infinite alternate; }
  .blob-2 { width: 550px; height: 550px; background: radial-gradient(circle, #ddc4ae 0%, transparent 70%); bottom: 5%; left: -180px; opacity: 0.38; animation: blobFloat 40s ease-in-out infinite alternate-reverse; }
  .blob-3 { width: 380px; height: 380px; background: radial-gradient(circle, #c96336 0%, transparent 70%); top: 38%; left: 38%; opacity: 0.16; animation: blobFloat 28s ease-in-out infinite alternate; }

  @media (max-width: 768px) {
    .blob { filter: blur(48px); }
    .blob-1 { width: 320px; height: 320px; opacity: 0.35; }
    .blob-2 { width: 260px; height: 260px; opacity: 0.28; }
    .blob-3 { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .blob { animation: none !important; }
    #dot-canvas { display: none !important; }
  }

  @keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.06); }
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.1rem 3.5rem 0;
    pointer-events: none;
    transition: padding 0.3s;
  }
  nav.scrolled { padding-top: 0.75rem; }

  .nav-inner {
    pointer-events: auto;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.55rem 0.55rem 0.55rem 1.35rem;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    box-shadow: var(--shadow);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  }
  nav.scrolled .nav-inner {
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124,51,24,0.14);
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    color: inherit;
  }
  .nav-logo img {
    width: 44px;
    height: 44px;
    display: block;
    flex-shrink: 0;
  }
  .nav-logo-text { display: inline-flex; font-size: 1.4rem; }
  .nav-logo .tidy  { color: var(--brown); }
  .nav-logo .bricks { color: var(--orange); }

  .nav-links {
    display: flex;
    gap: 0.35rem;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-size: 0.84rem;
    color: var(--text2);
    text-decoration: none;
    font-weight: 500;
    padding: 0.45rem 0.95rem;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover {
    color: var(--orange2);
    background: var(--peach);
  }
  .nav-links a.active {
    color: var(--orange2);
    background: var(--peach);
    border: 1px solid var(--peach2);
  }

  .nav-cta { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }

  .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }
  .lang-switch a {
    color: var(--text3);
    text-decoration: none;
    padding: 0.28rem 0.45rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .lang-switch a:hover { color: var(--orange2); background: var(--peach); }
  .lang-switch a.is-active {
    color: var(--brown);
    background: var(--peach);
  }
  .lang-switch__sep {
    color: var(--text3);
    opacity: 0.45;
    user-select: none;
  }
  .nav-mobile-panel .lang-switch {
    margin: 0.35rem 0 0.75rem;
    padding: 0 0.35rem;
  }

  .btn-nav {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--orange3) 0%, var(--orange) 60%, var(--orange2) 100%);
    border: none;
    border-radius: 100px;
    padding: 0.58rem 1.25rem;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 3px 10px rgba(124,51,24,0.14), inset 0 1px 0 rgba(255,255,255,0.18);
    white-space: nowrap;
  }
  .btn-nav:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f0a06a 0%, var(--orange3) 45%, var(--orange) 100%);
    box-shadow: 0 5px 16px rgba(201, 99, 54, 0.28), inset 0 1px 0 rgba(255,255,255,0.22);
  }

  .nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
  }
  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile-panel {
    display: none;
    pointer-events: auto;
    max-width: 1140px;
    margin: 0.65rem auto 0;
    padding: 1rem;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-mobile-panel.open { display: block; }
  .nav-mobile-panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
  .nav-mobile-panel a {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-mobile-panel a:hover,
  .nav-mobile-panel a.active {
    color: var(--orange2);
    background: var(--peach);
  }
  .nav-mobile-panel .btn-nav {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .btn-outline {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--orange2);
    background: transparent;
    border: 1.5px solid var(--peach2);
    border-radius: 100px;
    padding: 0.5rem 1.35rem;
    cursor: pointer;
    transition: all 0.22s;
    text-decoration: none;
  }
  .btn-outline:hover { border-color: var(--orange); background: var(--peach); }

  .btn-fill {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--orange3) 0%, var(--orange) 55%, var(--orange2) 100%);
    border: none;
    border-radius: 100px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 12px rgba(124,51,24,0.15), inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
  }
  .btn-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .btn-fill:hover::before { opacity: 1; }
  .btn-fill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124,51,24,0.22), inset 0 1px 0 rgba(255,255,255,0.18); }

  /* ─── HERO ─── */
  .hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 2rem 5rem;
    overflow: hidden;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--orange2);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--peach2);
    margin-bottom: 2.25rem;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow);
    animation: badgePop 0.7s cubic-bezier(.16,1,.3,1) 0.2s both;
  }
  .hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.7); } }
  @keyframes badgePop { from { opacity:0; transform:translateY(12px) scale(0.95); } to { opacity:1; transform:none; } }

  .hero-logo {
    display: inline-flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 1.75rem);
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.75rem;
    /* Keep LCP text visible immediately (no opacity:0 delay) */
  }
  .hero-logo img,
  .hero-logo-mark {
    /* Match mark to wordmark cap-height */
    width: clamp(5.5rem, 12vw, 8.75rem);
    height: clamp(5.5rem, 12vw, 8.75rem);
    display: block;
    flex-shrink: 0;
  }
  .hero-logo-mark {
    cursor: pointer;
    overflow: visible;
  }
  .hero-logo-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
  }
  .hero-logo-mark .piece {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: logoMechSlide 0.38s cubic-bezier(0.65, 0.05, 0.36, 1) forwards var(--delay);
  }
  .hero-logo-mark .piece path {
    stroke: var(--bg);
    stroke-width: 6;
    stroke-linejoin: round;
  }
  @keyframes logoMechSlide {
    0% { opacity: 0; transform: translate(var(--sx), var(--sy)); }
    45% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0); }
  }
  .hero-logo-mark .flash {
    opacity: 0;
    animation: logoSnapFlash 0.32s ease-out forwards var(--flash-delay);
    pointer-events: none;
  }
  @keyframes logoSnapFlash {
    0% { opacity: 0.55; r: 2; }
    100% { opacity: 0; r: 34; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-logo-mark .piece {
      opacity: 1;
      animation: none;
      transform: none;
    }
    .hero-logo-mark .flash { display: none; }
  }
  .hero-logo-text { display: inline-flex; }
  .hero-logo .tidy  { color: var(--brown); }
  .hero-logo .bricks { color: var(--orange); }
  @keyframes heroTitleIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

  .hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    color: var(--brown);
    font-weight: 500;
    max-width: 640px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    animation: heroSubIn 0.9s cubic-bezier(.16,1,.3,1) 0.5s both;
  }

  .hero-sub {
    font-size: 0.975rem;
    color: var(--text2);
    max-width: 500px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: heroSubIn 0.9s cubic-bezier(.16,1,.3,1) 0.6s both;
  }
  @keyframes heroSubIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }

  .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroSubIn 0.9s cubic-bezier(.16,1,.3,1) 0.75s both;
  }

  .btn-hero {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--orange3) 0%, var(--orange) 60%, var(--orange2) 100%);
    border: none;
    border-radius: 100px;
    padding: 0.9rem 2.4rem;
    cursor: pointer;
    transition: all 0.28s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(124,51,24,0.16), inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
  }
  .btn-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 60%);
    border-radius: 100px;
  }
  .btn-hero:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f0a06a 0%, var(--orange3) 45%, var(--orange) 100%);
    box-shadow: 0 8px 22px rgba(201, 99, 54, 0.3), inset 0 1px 0 rgba(255,255,255,0.22);
  }
  .btn-hero .arrow { transition: transform 0.2s; }
  .btn-hero:hover .arrow { transform: translateX(3px); }

  .btn-hero-ghost {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--brown);
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 0.9rem 2.25rem;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow);
  }
  .btn-hero-ghost:hover { border-color: var(--orange); color: var(--orange2); transform: translateY(-1px); }

  /* Hero preview card */
  .hero-preview {
    margin-top: 4.5rem;
    position: relative;
    max-width: 820px;
    width: 100%;
    animation: heroSubIn 1s cubic-bezier(.16,1,.3,1) 0.9s both;
  }

  .preview-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 72px rgba(124,51,24,0.14), 0 4px 16px rgba(124,51,24,0.06);
    padding: 1.5rem;
    overflow: hidden;
  }

  .preview-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .preview-dot { width: 10px; height: 10px; border-radius: 50%; }
  .d1 { background: #FF5F57; }
  .d2 { background: #FFBD2E; }
  .d3 { background: #28CA40; }
  .preview-label { font-size: 0.75rem; color: var(--text3); margin-left: 0.5rem; font-family: var(--font-body); }

  .preview-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .metric-chip {
    background: var(--rose);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    text-align: center;
    border: 1px solid var(--peach2);
  }
  .metric-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--orange);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .metric-lbl { font-size: 0.68rem; color: var(--text3); margin-top: 0.25rem; }

  .preview-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 70px;
    padding: 0 0.25rem;
  }
  .bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: var(--peach2);
    position: relative;
    transition: background 0.2s;
  }
  .bar.active { background: linear-gradient(to top, var(--orange), var(--orange3)); }
  .bar:hover { opacity: 0.85; }

  /* ─── STATS ─── */
  .stats {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
  }

  .stat {
    text-align: center;
    padding: 2.5rem 3.5rem;
    position: relative;
    flex: 1;
    min-width: 160px;
  }
  .stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border);
  }

  .stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brown);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.35rem;
  }
  .stat-lbl { font-size: 0.8rem; color: var(--text3); font-weight: 400; }

  /* ─── SECTIONS ─── */
  section { position: relative; z-index: 1; padding: 7rem 3.5rem; scroll-margin-top: 96px; }
  .section-center { text-align: center; }

  .badge {
    display: inline-block;
    background: var(--peach);
    color: var(--orange2);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.38rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--peach2);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1rem;
  }
  .section-title em { font-style: normal; color: var(--orange); }

  .section-sub {
    font-size: 0.975rem;
    color: var(--text2);
    max-width: 520px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
    font-weight: 300;
  }

  /* ─── PRODUCTS — LOGO MAP (6 bricks) ─── */
  .products-bg {
    background:
      radial-gradient(circle at 18% 20%, rgba(193, 89, 47, 0.1), transparent 42%),
      radial-gradient(circle at 88% 70%, rgba(43, 33, 29, 0.06), transparent 40%),
      #f5f0e9;
  }
  .products-bg .section-center {
    margin-bottom: 2.75rem;
  }
  .products-bg .section-center .section-title {
    margin-bottom: 0;
  }

  .modules-map {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
  }

  .modules-map__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modules-map__logo {
    width: min(100%, 420px);
    aspect-ratio: 470 / 490;
    overflow: visible;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(43, 33, 29, 0.14));
  }

  .modules-map__logo .mod-piece {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    cursor: pointer;
    outline: none;
    animation: logoMechSlide 0.38s cubic-bezier(0.65, 0.05, 0.36, 1) forwards var(--delay);
    transition: filter 0.2s ease, opacity 0.2s ease;
  }
  .modules-map__logo .mod-piece path {
    stroke: #f5f0e9;
    stroke-width: 6;
    stroke-linejoin: round;
    transition: filter 0.2s ease, stroke 0.2s ease;
  }
  .modules-map__logo .mod-piece__num-wrap {
    opacity: 0;
    pointer-events: none;
    animation: modNumIn 0.28s ease-out forwards var(--delay);
  }
  .modules-map__logo .mod-piece__num {
    fill: rgba(255, 255, 255, 0.9);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    user-select: none;
    transition: fill 0.2s ease, opacity 0.2s ease;
  }
  @keyframes modNumIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .modules-map.is-ready .mod-piece.is-dim {
    opacity: 0.38;
    filter: saturate(0.7);
  }
  .modules-map.is-ready .mod-piece__num-wrap.is-dim {
    opacity: 0.4;
  }
  .modules-map.is-ready .mod-piece__num-wrap.is-dim .mod-piece__num {
    fill: rgba(255, 255, 255, 0.5);
  }
  .modules-map.is-ready .mod-piece.is-active,
  .modules-map.is-ready .mod-piece:hover,
  .modules-map.is-ready .mod-piece:focus-visible {
    opacity: 1;
    filter: none;
  }
  .modules-map.is-ready .mod-piece.is-active path,
  .modules-map.is-ready .mod-piece:hover path,
  .modules-map.is-ready .mod-piece:focus-visible path {
    filter: brightness(1.08);
    stroke: #fff;
  }
  .modules-map.is-ready .mod-piece__num-wrap.is-active .mod-piece__num {
    fill: rgba(255, 255, 255, 0.98);
  }
  .modules-map__logo .flash {
    opacity: 0;
    animation: logoSnapFlash 0.32s ease-out forwards var(--flash-delay);
    pointer-events: none;
  }

  .modules-map__logo .mod-piece__progress-wrap {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .modules-map.is-ready .mod-piece__progress-wrap {
    opacity: 0.4;
  }
  .modules-map.is-ready .mod-piece__progress-wrap.is-active {
    opacity: 0.85;
  }
  .modules-map.is-ready .mod-piece__progress-wrap.is-dim {
    opacity: 0.18;
  }
  .modules-map__logo .mod-piece__progress-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.6;
    stroke-linecap: round;
  }
  .modules-map__logo .mod-piece__progress-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: var(--plen);
    stroke-dashoffset: var(--plen);
  }
  .modules-map__logo .mod-piece__progress-wrap.is-running .mod-piece__progress-fill {
    animation: modBrickProgress var(--auto-ms, 5.2s) linear forwards;
  }
  .modules-map.is-ready .mod-piece__progress-wrap.is-active .mod-piece__progress-fill {
    stroke: rgba(255, 255, 255, 0.82);
  }
  @keyframes modBrickProgress {
    to { stroke-dashoffset: 0; }
  }

  .modules-map__panel {
    background: #fff;
    border: 1px solid rgba(124, 51, 24, 0.1);
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 16px 48px rgba(43, 33, 29, 0.08);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .modules-map__panel.is-live {
    border-color: color-mix(in srgb, var(--panel-accent, #c1592f) 45%, transparent);
    box-shadow:
      0 16px 48px rgba(43, 33, 29, 0.1),
      0 0 0 1px color-mix(in srgb, var(--panel-accent, #c1592f) 20%, transparent);
  }
  .modules-map__kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--panel-accent, #c1592f);
    margin-bottom: 0.75rem;
  }
  .modules-map__title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 0.9rem;
  }
  .modules-map__desc {
    font-size: 0.95rem;
    color: var(--text2);
    line-height: 1.7;
    font-weight: 350;
    margin-bottom: 1.5rem;
    flex: 1;
  }
  .modules-map__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 650;
    color: #fff;
    background: var(--panel-accent, #c1592f);
    text-decoration: none;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .modules-map__cta:hover {
    transform: translateY(-1px);
    background: #2b211d;
  }

  @media (prefers-reduced-motion: reduce) {
    .modules-map__logo .mod-piece {
      opacity: 1;
      animation: none;
      transform: none;
    }
    .modules-map__logo .mod-piece__num-wrap {
      opacity: 1;
      animation: none;
    }
    .modules-map__logo .mod-piece__progress-wrap {
      opacity: 0.55;
    }
    .modules-map__logo .mod-piece__progress-wrap.is-running .mod-piece__progress-fill {
      animation: none;
      stroke-dashoffset: 0;
    }
    .modules-map__logo .flash { display: none; }
  }

  /* Option B — 3×2 grid with logo piece marks */
  .brick-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
  }
  .brick-wall--logo {
    gap: 12px;
  }
  .brick-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(124, 51, 24, 0.1);
    box-shadow: 0 8px 28px rgba(43, 33, 29, 0.06);
    transition: transform 0.28s cubic-bezier(.16,1,.3,1), box-shadow 0.28s cubic-bezier(.16,1,.3,1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .brick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(43, 33, 29, 0.12);
    z-index: 2;
  }
  .brick-face {
    position: relative;
    min-height: 108px;
    display: flex;
    align-items: center;
    padding: 1.1rem 1.35rem;
    gap: 1rem;
    overflow: hidden;
  }
  .brick-card[data-piece="big-top"] .brick-face,
  .brick-card[data-piece="l-top"] .brick-face,
  .brick-card[data-piece="left-facade"] .brick-face,
  .brick-card[data-piece="leg-left"] .brick-face {
    background: linear-gradient(135deg, #d46a3d 0%, #c1592f 55%, #a84a26 100%);
    color: #fff;
  }
  .brick-card[data-piece="right-cap"] .brick-face,
  .brick-card[data-piece="right-tall"] .brick-face {
    background: linear-gradient(135deg, #3a302b 0%, #2b211d 60%, #1c1512 100%);
    color: #fff;
  }
  .brick-piece {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .brick-piece svg {
    width: 30px;
    height: 30px;
    display: block;
    overflow: visible;
  }
  .brick-card:hover .brick-piece {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.2);
  }
  .brick-num {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    opacity: 0.7;
    margin-bottom: 0.3rem;
  }
  .brick-label {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: inherit;
  }
  .brick-body {
    padding: 1.35rem 1.45rem 1.5rem;
    background: #fff;
  }
  .brick-desc {
    font-size: 0.855rem;
    color: var(--text2);
    line-height: 1.7;
    font-weight: 350;
    margin-bottom: 1.1rem;
  }
  .brick-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #c1592f;
    background: rgba(193, 89, 47, 0.1);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .brick-card[data-piece="right-cap"] .brick-tag,
  .brick-card[data-piece="right-tall"] .brick-tag {
    color: #2b211d;
    background: rgba(43, 33, 29, 0.08);
  }
  .brick-more {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: #c1592f;
  }
  .brick-card[data-piece="right-cap"] .brick-more,
  .brick-card[data-piece="right-tall"] .brick-more {
    color: #2b211d;
  }

  /* ─── METHOD ─── */
  .how-bg {
    background: white;
    overflow: hidden;
  }
  .how-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 10% 20%, rgba(244,129,58,0.08), transparent 28%),
      radial-gradient(circle at 90% 80%, rgba(124,51,24,0.06), transparent 30%);
    pointer-events: none;
  }

  .how-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .flow-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    position: relative;
  }
  .flow-step:hover {
    border-color: var(--peach2);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
  }

  .flow-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--rose);
    border: 1px solid var(--peach2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--orange2);
    margin-bottom: 1.35rem;
    transition: background 0.25s, border-color 0.25s;
  }
  .flow-step:hover .flow-ico {
    background: var(--peach);
    border-color: var(--orange);
  }

  .flow-num {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .flow-ttl {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }
  .flow-txt { font-size: 0.875rem; color: var(--text2); line-height: 1.72; font-weight: 300; flex: 1; }

  .method-note {
    max-width: 860px;
    margin: 2.5rem auto 0;
    padding: 1.35rem 1.6rem;
    background: linear-gradient(135deg, var(--peach), rgba(255,255,255,0.9));
    border: 1px solid var(--peach2);
    border-radius: 20px;
    color: var(--text2);
    font-size: 0.92rem;
    line-height: 1.75;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
  }

  /* ─── WHY / APPROACH ─── */
  .why-bg {
    background: linear-gradient(160deg, var(--peach3) 0%, #FFF5EF 100%);
    position: relative;
    overflow: hidden;
  }

  .why-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto 3.5rem;
  }

  .why-top .section-sub {
    margin: 0;
    max-width: none;
    text-align: left;
  }

  .why-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
  }

  .why-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 10vw, 6.5rem);
    font-weight: 800;
    color: var(--brown);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .why-stat-lbl {
    display: block;
    font-size: 0.9rem;
    color: var(--text2);
    line-height: 1.55;
    font-weight: 400;
    max-width: 200px;
    margin: 0 auto;
  }

  .why-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    max-width: 1080px;
    margin: 0 auto 2.5rem;
  }

  .why-pillar {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .why-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .why-pillar-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--orange2);
    margin-bottom: 0.85rem;
  }

  .why-pillar-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
  }

  .why-pillar-txt {
    font-size: 0.84rem;
    color: var(--text2);
    line-height: 1.72;
    font-weight: 300;
  }

  .why-domains {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .why-domains-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 1.1rem;
    text-align: center;
  }

  .why-domains-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .why-domain {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brown);
    background: var(--rose);
    border: 1px solid var(--peach2);
    border-radius: 100px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .why-domain:hover {
    background: var(--peach);
    border-color: var(--orange);
  }

  /* ─── TESTIMONIALS ─── */
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
  }

  .testi-card {
    background: white;
    border-radius: 22px;
    padding: 2.25rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 2.25rem;
    width: 32px; height: 4px;
    border-radius: 0 0 3px 3px;
    background: var(--orange);
  }
  .testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  .testi-stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 1.25rem; }
  .testi-stars svg { width: 15px; height: 15px; }
  .testi-quote { font-size: 0.9rem; color: var(--text); line-height: 1.75; font-weight: 300; font-style: italic; margin-bottom: 1.75rem; position: relative; z-index: 1; }

  .testi-author { display: flex; align-items: center; gap: 0.875rem; }
  .testi-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
  }
  .testi-name { font-weight: 600; font-size: 0.875rem; color: var(--text); }
  .testi-role { font-size: 0.75rem; color: var(--text3); font-weight: 300; margin-top: 0.1rem; }

  /* ─── CTA ─── */
  .cta-section { background: white; }

  .cta-box {
    background: linear-gradient(140deg, #ebe4db 0%, #f7f3ee 45%, #e4d8c8 100%);
    border-radius: 32px;
    border: 1px solid var(--peach2);
    padding: 5.5rem 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 48px rgba(244,129,58,0.1);
  }
  .cta-orb1 { position:absolute;top:-80px;right:-80px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(244,129,58,0.18) 0%,transparent 70%);pointer-events:none; }
  .cta-orb2 { position:absolute;bottom:-60px;left:-60px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(124,51,24,0.09) 0%,transparent 70%);pointer-events:none; }

  .cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--brown);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  .cta-box p { font-size: 0.975rem; color: var(--text2); max-width: 460px; margin: 0 auto 2.75rem; line-height: 1.75; font-weight: 300; position: relative; z-index: 1; }

  .cta-form { display: flex; gap: 0.5rem; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }

  .cta-input {
    flex: 1;
    background: white;
    border: 1.5px solid var(--peach2);
    border-radius: 100px;
    color: var(--text);
    padding: 0.9rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.22s;
    box-shadow: var(--shadow);
  }
  .cta-input::placeholder { color: var(--text3); }
  .cta-input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,129,58,0.1); }

  .cta-note { font-size: 0.72rem; color: var(--text3); margin-top: 1rem; position: relative; z-index: 1; }

  /* ─── FOOTER ─── */
  footer {
    position: relative;
    z-index: 1;
    padding: 4.5rem 3.5rem 2.5rem;
    background: var(--brown);
    color: white;
    overflow: hidden;
  }
  footer::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,160,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .footer-top { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 3.5rem; position: relative; z-index: 1; }

  .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
  }
  .footer-logo img {
    width: 48px;
    height: 48px;
    display: block;
    flex-shrink: 0;
  }
  .footer-logo-text { display: inline-flex; }
  .footer-logo .tidy { color: white; }
  .footer-logo .bricks { color: var(--peach2); }

  .footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300; margin-bottom: 1.75rem; }
  .footer-address { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.8; }
  .footer-address a { color: inherit; text-decoration: none; transition: color 0.2s; }
  .footer-address a:hover { color: var(--peach2); }

  .footer-col h4 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--peach2); margin-bottom: 1.25rem; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.65rem; }
  .footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 300; transition: color 0.2s; }
  .footer-col a:hover { color: var(--peach2); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
  }
  .footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); font-weight: 300; }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: white; }

  /* Watermark zone — centered lockup, sized to fit like mcube */
  .footer-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08em;
    width: 100%;
    margin: 2.75rem 0 -0.18em;
    padding: 0 2vw;
    box-sizing: border-box;
    font-family: var(--font-display);
    font-weight: 800;
    /* Longer than "mcube": scale so logo+wordmark stay one centered band */
    font-size: clamp(3.5rem, 11vw, 10.5rem);
    letter-spacing: -0.055em;
    line-height: 0.82;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
  }
  .footer-mark__logo {
    height: 0.9em;
    width: auto;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    opacity: 0.14;
    filter: brightness(1.2) saturate(0.85);
    transform: translateY(0.03em);
  }
  .footer-mark__text {
    display: inline-flex;
    transform: translateY(0.02em);
  }
  .footer-mark__text .tidy,
  .footer-mark__text .bricks {
    color: rgba(255, 255, 255, 0.055);
  }
  .footer-mark__text .bricks {
    color: rgba(251, 213, 188, 0.09);
  }

  @media (max-width: 900px) {
    .footer-mark {
      font-size: clamp(2.75rem, 12.5vw, 7rem);
      margin-top: 2rem;
      padding: 0 1rem;
    }
  }

  /* ─── FADE-UP ─── */
  .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(.16,1,.3,1), transform 0.75s cubic-bezier(.16,1,.3,1); }
  .fade-up.visible { opacity: 1; transform: none; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    nav { padding-left: 1.5rem; padding-right: 1.5rem; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    section, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .modules-map {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }
    .modules-map__logo { width: min(100%, 340px); }
    .modules-map__panel { min-height: 0; }
    .brick-wall { grid-template-columns: 1fr 1fr; }
    .how-flow { grid-template-columns: 1fr 1fr; }
    .why-top { grid-template-columns: 1fr; gap: 2rem; }
    .why-top .section-sub { text-align: center; }
    .why-pillars { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; }
  }

  @media (max-width: 640px) {
    .products-grid { grid-template-columns: 1fr; }
    .brick-wall { grid-template-columns: 1fr; }
    .why-pillars { grid-template-columns: 1fr; }
    .how-flow { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
  }
