/*
 * Mulia Wacana — Theme Stylesheet
 * Lenka Studio · 2026
 *
 * Tokens, components, and animations for the Mulia Wacana custom theme.
 * See lenka-design-principles.md and lenka-motion-spec.md for design rules.
 */

/* ============ TOKENS ============ */
  :root {
    --brand-red: #D8232A;
    --brand-red-dark: #A01820;
    --brand-red-soft: #FBEAEB;

    --ink: #1A1A1A;
    --ink-2: #3A3A3A;
    --ink-muted: #6B6B6B;

    --paper: #FFFFFF;
    --surface: #F7F5F2;
    --rule: #E8E5E0;
    --rule-strong: #D6D2CB;

    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    --max-w: 1240px;
    --pad-x: 32px;
    --section-y: 120px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  }

  @media (max-width: 768px) {
    :root {
      --pad-x: 20px;
      --section-y: 72px;
    }
  }

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

  /* Lock baseline — overrides host theme/plugin overrides */
  html {
    font-size: 18px !important;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Force font inheritance everywhere — beats parent themes */
  body, p, li, a, span, div, button, input, textarea, select, label, ul, ol, dl, dt, dd {
    font-family: inherit;
  }
  h1, h2, h3, h4, h5, h6,
  .display, .display * {
    font-family: "Instrument Serif", Georgia, serif !important;
    font-weight: 400;
  }
  .label, .stat-label, .footer h5, [class*="-label"] {
    font-family: "Inter", system-ui, sans-serif !important;
  }

  img { max-width: 100%; display: block; }

  a { color: inherit; text-decoration: none; }

  /* ============ UTILITIES ============ */
  .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
  }

  /* Hard-locked mobile padding — beats any plugin override (CDP, etc.) */
  body .container,
  html body .container {
    padding-left: var(--pad-x) !important;
    padding-right: var(--pad-x) !important;
  }
  @media (max-width: 768px) {
    body .container,
    html body .container {
      padding-left: 20px !important;
      padding-right: 20px !important;
    }
  }
  @media (max-width: 480px) {
    body .container,
    html body .container {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }
  }

  .label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .label--red { color: var(--brand-red); }

  .display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .display em {
    font-style: italic;
    color: var(--brand-red);
  }

  /* ============ FLOWER MOTIF (from logo) ============ */
  .flower {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .flower-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
  }
  .flower-divider::before,
  .flower-divider::after {
    content: "";
    height: 1px;
    background: var(--rule-strong);
    flex: 1;
    max-width: 200px;
  }

  /* ============ HEADER ============ */
  .top-bar {
    background: var(--ink);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 10px 0;
  }
  .top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .top-bar-info { display: flex; gap: 24px; align-items: center; }
  .top-bar-info span { display: flex; align-items: center; gap: 8px; }
  .top-bar svg { opacity: 0.7; }
  @media (max-width: 768px) {
    .top-bar-info { font-size: 12px; gap: 16px; }
    .top-bar-info span:first-child { display: none; }
  }

  .header {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 32px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--brand-red);
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
  }

  /* ============ NAV ============ */
  .nav,
  .nav ul,
  .nav li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav {
    display: flex;
    align-items: center;
  }

  .nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }

  .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    position: relative;
    padding: 28px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 250ms var(--ease-out);
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 22px;
    height: 1px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms var(--ease-out);
  }
  .nav-item-top:hover > .nav-link,
  .nav-item.current > .nav-link {
    color: var(--brand-red);
  }
  .nav-item-top:hover > .nav-link::after,
  .nav-item.current > .nav-link::after {
    transform: scaleX(1);
  }

  .nav-caret {
    transition: transform 300ms var(--ease-out);
    margin-left: 2px;
    opacity: 0.6;
  }
  .nav-item-top:hover > .nav-link .nav-caret {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* Dropdown submenu */
  .nav-submenu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 240px;
    background: var(--paper);
    border: 1px solid var(--rule);
    box-shadow: 0 20px 50px -20px rgba(26, 26, 26, 0.18);
    list-style: none;
    margin: 0;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 250ms;
    z-index: 60;
  }

  .nav-item.has-submenu:hover > .nav-submenu,
  .nav-item.has-submenu:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  /* Hover bridge — invisible padding so dropdown doesn't close on small mouse jumps */
  .nav-item.has-submenu::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
  }

  .nav-submenu .nav-item {
    list-style: none;
  }

  .nav-sublink {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-2);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    transition: color 200ms var(--ease-out), background 200ms var(--ease-out), padding-left 250ms var(--ease-out);
  }
  .nav-sublink::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 250ms var(--ease-out);
  }
  .nav-sublink:hover {
    color: var(--brand-red);
    background: var(--surface);
    padding-left: 28px;
  }
  .nav-sublink:hover::before {
    transform: scaleY(1);
  }

  /* Mobile nav toggle */
  .nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
    align-items: center;
    justify-content: center;
  }
  .nav-toggle svg {
    width: 24px;
    height: 24px;
  }
  .nav-toggle .icon-close { display: none; }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }

  @media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }

    .nav {
      position: fixed;
      top: 0;
      right: 0;
      width: min(360px, 90vw);
      height: 100vh;
      background: var(--paper);
      border-left: 1px solid var(--rule);
      box-shadow: -20px 0 60px -20px rgba(26,26,26,0.15);
      padding: 96px 32px 32px;
      transform: translateX(100%);
      transition: transform 400ms var(--ease-out);
      align-items: stretch;
      overflow-y: auto;
      z-index: 49;
    }
    body.nav-open .nav { transform: translateX(0); }

    .nav-menu {
      flex-direction: column;
      gap: 0;
      width: 100%;
      align-items: stretch;
    }

    .nav-item-top {
      width: 100%;
      border-bottom: 1px solid var(--rule);
    }
    .nav-link {
      padding: 18px 0;
      font-size: 16px;
      width: 100%;
      justify-content: space-between;
    }
    .nav-link::after { display: none; }

    .nav-submenu {
      position: static;
      box-shadow: none;
      border: 0;
      background: var(--surface);
      margin: 0 -32px;
      padding: 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      max-height: 0;
      overflow: hidden;
      transition: max-height 400ms var(--ease-out), padding 300ms var(--ease-out);
    }
    .nav-item.has-submenu.is-open > .nav-submenu {
      max-height: 600px;
      padding: 8px 0;
    }
    .nav-item.has-submenu::before { display: none; }
    .nav-item.has-submenu.is-open .nav-caret {
      transform: rotate(180deg);
    }

    .nav-sublink {
      padding: 12px 32px;
      font-size: 14px;
    }
    .nav-sublink:hover {
      padding-left: 36px;
    }
  }

  .header-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-red);
    color: white;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    overflow: hidden;
    isolation: isolate;
    transition: color 250ms var(--ease-out);
  }
  .header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand-red-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms var(--ease-out);
    z-index: -1;
  }
  .header-cta:hover::before {
    transform: scaleX(1);
  }
  .header-cta svg {
    transition: transform 300ms var(--ease-out);
  }
  .header-cta:hover svg {
    transform: translateX(4px);
  }

  /* ============ HERO ============ */
  .hero {
    padding: 80px 0 100px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
  }
  @media (max-width: 980px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 56px;
    }
  }

  .hero-content { min-width: 0; }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 600ms var(--ease-out) 100ms forwards;
  }
  .hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-red);
  }

  .hero-title {
    font-size: clamp(44px, 5.5vw, 76px);
    margin-bottom: 32px;
    max-width: 14ch;
    opacity: 0;
    animation: fadeUp 800ms var(--ease-out) 200ms forwards;
  }

  .hero-sub {
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--ink-2);
    max-width: 46ch;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 800ms var(--ease-out) 300ms forwards;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    opacity: 0;
    animation: fadeUp 800ms var(--ease-out) 400ms forwards;
  }

  /* Hero composition — photo led */
  .hero-art {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    aspect-ratio: 3 / 4;
    opacity: 0;
    animation: artReveal 1400ms var(--ease-out) 300ms forwards;
  }
  @media (max-width: 980px) {
    .hero-art { max-width: 420px; margin: 0 auto; }
  }

  /* Background flower — subtle accent behind photo */
  .hero-art-bg {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 60%;
    height: auto;
    aspect-ratio: 1 / 1;
    z-index: 0;
    opacity: 0.7;
  }
  .hero-art-bg svg { width: 100%; height: 100%; display: block; }

  /* Photo frame */
  .hero-art-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    background: var(--surface);
    box-shadow: 0 40px 80px -30px rgba(26,26,26,0.18);
  }
  .hero-art-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: contrast(1.02) saturate(0.95);
  }

  /* Subtle film grain overlay */
  .hero-art-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(216,35,42,0.04) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(160,24,32,0.03) 0%, transparent 50%);
    pointer-events: none;
    mix-blend-mode: multiply;
  }

  /* Decorative corner brackets — editorial print mark */
  .hero-art-bracket {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--brand-red);
    z-index: 3;
    pointer-events: none;
  }
  .hero-art-bracket-tl {
    top: -12px; left: -12px;
    border-right: none; border-bottom: none;
  }
  .hero-art-bracket-br {
    bottom: -12px; right: -12px;
    border-left: none; border-top: none;
  }

  /* Caption tag — bottom left, editorial style */
  .hero-art-tag {
    position: absolute;
    bottom: 24px;
    left: -24px;
    z-index: 2;
    background: var(--paper);
    padding: 14px 18px 14px 20px;
    border-left: 3px solid var(--brand-red);
    max-width: 240px;
    box-shadow: 0 12px 30px -10px rgba(26,26,26,0.15);
  }
  @media (max-width: 980px) {
    .hero-art-tag { left: -12px; max-width: 220px; }
  }
  .hero-art-tag-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 6px;
    display: block;
  }
  .hero-art-tag-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
  }

  /* Floating metadata corner — top right */
  .hero-art-meta {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    text-transform: uppercase;
  }
  .hero-art-meta .num {
    color: var(--brand-red);
    font-weight: 500;
  }

  @keyframes artReveal {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  .hero-trust {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 800ms var(--ease-out) 500ms forwards;
    margin-top: 24px;
  }

  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: color 250ms var(--ease-out), border-color 350ms var(--ease-out);
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand-red-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 450ms var(--ease-out);
    z-index: -1;
  }
  .btn:hover::before {
    transform: scaleX(1);
  }
  .btn-primary {
    background: var(--brand-red);
    color: white;
  }
  .btn-primary:hover {
    background: var(--brand-red);
  }
  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
  }
  .btn-secondary::before {
    background: var(--ink);
  }
  .btn-secondary:hover {
    color: white;
    border-color: var(--ink);
  }
  .btn svg {
    transition: transform 300ms var(--ease-out);
  }
  .btn:hover svg { transform: translateX(4px); }

  .hero-trust-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .hero-trust-logos {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
  }
  @media (max-width: 768px) {
    .hero-trust-logos {
      gap: 16px 24px;
      flex-direction: column;
      align-items: flex-start;
    }
  }

  .trust-logo {
    display: inline-flex;
    align-items: center;
    height: 40px;
    color: var(--ink-muted);
    transition: color 250ms var(--ease-out), transform 300ms var(--ease-out);
    cursor: default;
  }
  .trust-logo img,
  .trust-logo svg {
    height: 32px;
    width: auto;
    max-width: 140px;
    display: block;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: filter 250ms var(--ease-out), opacity 250ms var(--ease-out);
  }
  .trust-logo:hover {
    color: var(--ink);
    transform: translateY(-1px);
  }
  .trust-logo:hover img,
  .trust-logo:hover svg {
    filter: grayscale(0%);
    opacity: 1;
  }

  /* Vertical separator between logos — desktop only */
  .trust-logo + .trust-logo {
    position: relative;
    padding-left: 32px;
  }
  .trust-logo + .trust-logo::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: var(--rule-strong);
  }

  /* On mobile, remove the vertical separator (items are stacked vertically) */
  @media (max-width: 768px) {
    .trust-logo + .trust-logo {
      padding-left: 0;
    }
    .trust-logo + .trust-logo::before {
      display: none;
    }
  }

  /* Fallback when no logo image is uploaded */
  .trust-logo-fallback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 32px;
  }
  .trust-logo-fallback-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
  }
  .trust-logo-fallback-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    max-width: 100px;
    color: var(--ink-2);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============ STAT STRIP ============ */
  .stats {
    background: var(--surface);
    padding: 60px 0;
    border-bottom: 1px solid var(--rule);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule-strong);
  }
  @media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
  }

  .stat {
    background: var(--surface);
    padding: 32px 24px;
    text-align: left;
  }
  .stat-num {
    font-family: var(--font-display);
    font-size: clamp(40px, 4.5vw, 56px);
    line-height: 1;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }
  .stat-num em {
    font-style: italic;
    color: var(--brand-red);
  }
  .stat-label {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.4;
  }

  /* ============ PRODUCTS ============ */
  .section {
    padding: var(--section-y) 0;
  }

  .section-head {
    margin-bottom: 64px;
    max-width: 720px;
  }
  .section-head .label {
    margin-bottom: 16px;
    display: block;
  }
  .section-head h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  /* Asymmetric: 1 large + 2 stacked */
  .products {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
  }
  @media (max-width: 880px) {
    .products { grid-template-columns: 1fr; }
  }

  .product-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: border-color 350ms var(--ease-out), background 350ms var(--ease-out);
    position: relative;
    overflow: hidden;
  }
  .product-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms var(--ease-out);
  }
  .product-card:hover {
    border-color: var(--brand-red);
  }
  .product-card:hover::after {
    transform: scaleX(1);
  }
  .product-card .label {
    margin-bottom: 24px;
  }
  .product-card h3 {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    transition: color 250ms var(--ease-out);
  }
  .product-card:hover h3 {
    color: var(--brand-red);
  }
  .product-card p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
    flex: 1;
  }
  .product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    transition: border-color 350ms var(--ease-out);
  }
  .product-card:hover .product-card-meta {
    border-color: var(--brand-red-soft);
  }
  .product-card-rate {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--brand-red);
  }
  .product-card-rate small {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
  }
  .product-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 250ms var(--ease-out), gap 300ms var(--ease-out);
  }
  .product-card:hover .product-card-link {
    color: var(--brand-red);
    gap: 14px;
  }
  .product-featured:hover .product-card-link {
    color: #FF6B72;
    gap: 14px;
  }
  .product-card-link svg { transition: transform 300ms var(--ease-out); }
  .product-card:hover .product-card-link svg { transform: translateX(4px); }

  .product-featured {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .product-featured:hover {
    border-color: var(--ink);
    background: #0a0a0a;
  }
  .product-featured h3 { color: white; }
  .product-featured:hover h3 { color: white; }
  .product-featured p { color: rgba(255,255,255,0.75); }
  .product-featured .label { color: rgba(255,255,255,0.6); }
  .product-featured .label--red { color: #FF6B72; }
  .product-featured .product-card-meta { border-color: rgba(255,255,255,0.15); }
  .product-featured .product-card-link { color: white; }
  .product-featured .product-card-link:hover { color: #FF6B72; }
  .product-featured-flower {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
  }
  .product-card > * {
    position: relative;
    z-index: 1;
  }

  .products-secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 32px;
  }

  /* ============ ABOUT ============ */
  .about {
    background: var(--surface);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  @media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  .about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  .about-content h2 em {
    font-style: italic;
    color: var(--brand-red);
  }
  .about-content p {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--rule-strong);
  }
  .about-meta-item .num {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    color: var(--brand-red);
    margin-bottom: 8px;
  }
  .about-meta-item .lbl {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.4;
  }

  .about-image {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    position: relative;
    overflow: hidden;
  }
  .about-image::before {
    content: "Foto kantor BPR Mulia Wacana, Sukawati";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .about-image-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    z-index: 2;
  }
  .about-image-meta {
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
  }

  /* ============ NEWS ============ */
  .news-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 24px;
  }
  .news-head .section-head { margin: 0; }
  .news-head a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
  }
  .news-head a:hover { color: var(--brand-red); border-color: var(--brand-red); }
  .news-head a svg {
    transition: transform 250ms var(--ease-out);
  }
  .news-head a:hover svg { transform: translateX(4px); }

  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule-strong);
  }
  @media (max-width: 880px) {
    .news-grid { grid-template-columns: 1fr; }
  }

  .news-item {
    position: relative;
    padding: 40px 32px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    overflow: hidden;
    background: var(--paper);
    transition: background 350ms var(--ease-out);
  }
  .news-item:last-child { border-right: none; }
  @media (max-width: 880px) {
    .news-item { border-right: none; padding: 32px 0; }
  }

  /* Red sweep on hover — left to right */
  .news-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 400ms var(--ease-out);
  }
  .news-item:hover::before { transform: scaleY(1); }
  .news-item:hover { background: var(--surface); }

  .news-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    transition: transform 400ms var(--ease-out);
  }
  .news-item:hover .news-meta {
    transform: translateX(8px);
  }
  .news-meta .cat {
    color: var(--brand-red);
    font-weight: 500;
  }

  .news-item h4 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    font-weight: 400;
    transition: transform 400ms var(--ease-out), color 250ms var(--ease-out);
  }
  .news-item:hover h4 {
    transform: translateX(8px);
  }

  .news-item p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: 24px;
    transition: transform 400ms var(--ease-out) 30ms;
  }
  .news-item:hover p {
    transform: translateX(8px);
  }

  .news-item-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 350ms var(--ease-out) 80ms, transform 400ms var(--ease-out) 80ms, color 200ms var(--ease-out);
  }
  .news-item-arrow svg {
    transition: transform 300ms var(--ease-out);
  }
  .news-item:hover .news-item-arrow {
    opacity: 1;
    transform: translateX(8px);
    color: var(--brand-red);
  }
  .news-item:hover .news-item-arrow svg {
    transform: translateX(4px);
  }


  /* ============ CTA BANNER ============ */
  .cta-banner {
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
  }
  .cta-banner-inner {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 880px) {
    .cta-banner-inner { grid-template-columns: 1fr; padding: 72px 0; }
  }
  .cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .cta-banner h2 em {
    font-style: italic;
    color: #FF6B72;
  }
  .cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .cta-banner .btn-primary {
    background: white;
    color: var(--ink);
    justify-content: center;
  }
  .cta-banner .btn-primary::before {
    background: var(--brand-red);
  }
  .cta-banner .btn-primary:hover {
    color: white;
  }
  .cta-banner .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
    justify-content: center;
  }
  .cta-banner .btn-secondary::before {
    background: white;
  }
  .cta-banner .btn-secondary:hover {
    color: var(--ink);
    border-color: white;
  }
  .cta-flower {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.05;
    z-index: 1;
  }

  /* ============ FOOTER ============ */
  /* ============ FOOTER ============ */
  .footer {
    position: relative;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 96px 0 32px;
    margin-top: 0;
    overflow: hidden;
  }
  /* Top accent rule — thin red line spans full width */
  .footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-red);
  }
  /* Subtle decorative flower watermark in top-right */
  .footer-watermark {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 420px;
    height: 420px;
    color: white;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
  }
  .footer-watermark svg { width: 100%; height: 100%; }

  .footer .container {
    position: relative;
    z-index: 1;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  @media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
  }

  .footer-brand .logo {
    margin-bottom: 24px;
    color: white;
  }
  .footer-brand .logo span { color: white; }
  .footer-brand .logo .logo-mark { color: var(--brand-red); }

  .footer-brand p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 36ch;
  }
  .footer-contact {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
  }
  .footer-contact strong {
    font-weight: 500;
    display: block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
  }

  .footer h5 {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    font-weight: 500;
  }
  .footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer ul li { margin-bottom: 16px; list-style: none; }
  .footer ul a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    display: inline-block;
    text-decoration: none;
    line-height: 1.4;
    font-weight: 400;
    transition: color 250ms var(--ease-out), transform 300ms var(--ease-out);
  }
  .footer ul a::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--brand-red);
    transform: translateX(-4px);
    transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out);
  }
  .footer ul a:hover {
    color: white;
    transform: translateX(20px);
  }
  .footer ul a:hover::before {
    opacity: 1;
    transform: translateX(0);
  }

  .footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
  }
  .footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 250ms var(--ease-out);
  }
  .footer-bottom-links a:hover { color: white; }

  /* Oversized typographic decoration — sits behind footer content */
  .footer-bigmark {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(180px, 28vw, 360px);
    line-height: 0.85;
    color: white;
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  /* Fine print disclaimer band */
  .footer-fineprint {
    margin-top: 64px;
    padding: 40px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-fineprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 40px;
  }
  @media (max-width: 880px) {
    .footer-fineprint-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  .footer-fineprint-heading {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
  }
  .footer-fineprint-col p {
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 16px;
  }
  .footer-fineprint-col p:last-child {
    margin-bottom: 0;
  }
  .footer-fineprint-col sup {
    font-size: 10px;
    margin-right: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
  }

  .footer-fineprint-full {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 920px;
  }
  .footer-fineprint-full p {
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 14px;
  }
  .footer-fineprint-full p strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
  }
  .footer-fineprint-full p em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
  }
  .footer-fineprint-full a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
    text-underline-offset: 3px;
    transition: color 200ms var(--ease-out), text-decoration-color 200ms var(--ease-out);
  }
  .footer-fineprint-full a:hover {
    color: white;
    text-decoration-color: var(--brand-red);
  }
  .footer-fineprint-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35) !important;
    font-style: italic;
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ============ DECORATIVE SECTION ORNAMENT ============ */
  /* Use this between content sections on inner pages where you want a soft visual break */
  .ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 48px 0;
    opacity: 0.5;
  }
  .ornament::before,
  .ornament::after {
    content: "";
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: var(--rule-strong);
  }
  .ornament-mark {
    width: 18px;
    height: 18px;
    color: var(--brand-red);
    flex-shrink: 0;
  }

  /* ============ DECORATIVE CORNER FRAMES ============ */
  /* Editorial L-shaped corner brackets — used on key cards or stat sections */
  .has-corners {
    position: relative;
  }
  .has-corners::before,
  .has-corners::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--brand-red);
    pointer-events: none;
  }
  .has-corners::before {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
  }
  .has-corners::after {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
  }

  /* ============ WHY US ============ */
  .why {
    border-top: 1px solid var(--rule);
    background: var(--paper);
  }
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 880px) {
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
  }
  .why-head h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 16px;
  }
  .why-head h2 em {
    font-style: italic;
    color: var(--brand-red);
  }
  .why-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .why-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    padding: 32px 32px;
    border-top: 1px solid var(--rule);
    align-items: start;
    cursor: default;
    overflow: hidden;
    transition: background 350ms var(--ease-out);
  }
  .why-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 400ms var(--ease-out);
  }
  .why-item:hover::before {
    transform: scaleY(1);
  }
  .why-item:hover {
    background: var(--surface);
  }
  .why-item:last-child { border-bottom: 1px solid var(--rule); }
  @media (max-width: 640px) {
    .why-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 16px; }
    .why-item-meta { grid-column: 2; }
  }
  .why-item-num {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--brand-red);
    line-height: 1;
    font-style: italic;
    transition: transform 400ms var(--ease-out);
  }
  .why-item:hover .why-item-num {
    transform: translateX(8px);
  }
  .why-item-content h4 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-weight: 400;
    transition: transform 400ms var(--ease-out), color 250ms var(--ease-out);
  }
  .why-item:hover .why-item-content h4 {
    transform: translateX(8px);
    color: var(--brand-red);
  }
  .why-item-content p {
    transition: transform 400ms var(--ease-out) 30ms;
  }
  .why-item:hover .why-item-content p {
    transform: translateX(8px);
  }
  .why-item-meta {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--ink);
    text-align: right;
    line-height: 1;
    white-space: nowrap;
    transition: transform 400ms var(--ease-out), color 250ms var(--ease-out);
  }
  .why-item:hover .why-item-meta {
    color: var(--brand-red);
    transform: translateX(-4px);
  }
  .why-item-content p {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 50ch;
  }
  .why-item-meta small {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
  }

  /* ============ SECTION REVEAL ============ */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered children — for news grid + why list */
  .stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .stagger.in > *:nth-child(1) { transition-delay: 0ms; }
  .stagger.in > *:nth-child(2) { transition-delay: 80ms; }
  .stagger.in > *:nth-child(3) { transition-delay: 160ms; }
  .stagger.in > *:nth-child(4) { transition-delay: 240ms; }
  .stagger.in > * {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
  }

  /* ============ 404 / ERROR PAGE ============ */
  .error-page {
    padding: 80px 0 120px;
    min-height: 70vh;
    display: flex;
    align-items: center;
  }
  .error-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  .error-mark {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    opacity: 0;
    animation: artReveal 1200ms var(--ease-out) 100ms forwards;
  }
  .error-mark svg {
    width: 100%;
    height: 100%;
  }
  .error-eyebrow {
    margin-bottom: 24px;
    display: inline-block;
  }
  .error-title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 24px;
  }
  .error-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: 40px;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
  }
  .error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
  }
  .error-quicklinks {
    padding-top: 48px;
    border-top: 1px solid var(--rule);
  }
  .error-quicklinks-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 20px;
  }
  .error-quicklinks ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .error-quicklinks ul a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 4px;
    transition: color 250ms var(--ease-out), border-color 250ms var(--ease-out);
  }
  .error-quicklinks ul a:hover {
    color: var(--brand-red);
    border-color: var(--brand-red);
  }

  /* ============ HUBUNGI KAMI ============ */
  .contact-hero {
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--rule);
  }
  .contact-title {
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.05;
    max-width: 16ch;
    margin-bottom: 32px;
  }
  .contact-sub {
    font-size: clamp(17px, 1.4vw, 19px);
    color: var(--ink-2);
    max-width: 56ch;
    line-height: 1.6;
  }

  .contact-grid-section {
    padding: 100px 0;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 980px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 56px;
    }
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  @media (max-width: 540px) {
    .contact-info { grid-template-columns: 1fr; }
  }

  .contact-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 350ms var(--ease-out);
    overflow: hidden;
    isolation: isolate;
  }
  .contact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 400ms var(--ease-out);
  }
  .contact-card:hover { border-color: var(--brand-red); }
  .contact-card:hover::before { transform: scaleY(1); }

  .contact-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    border-radius: 50%;
    margin-bottom: 16px;
  }
  .contact-card-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 8px;
  }
  .contact-card-value {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 200ms var(--ease-out);
  }
  a.contact-card-value:hover { color: var(--brand-red); }
  .contact-card-value-block {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-2);
  }
  .contact-card-meta {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: auto;
    padding-top: 12px;
  }
  .contact-card-cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-red);
    text-decoration: none;
    transition: gap 250ms var(--ease-out);
  }
  .contact-card-cta:hover { gap: 14px; }
  .contact-card-cta svg { transition: transform 300ms var(--ease-out); }
  .contact-card-cta:hover svg { transform: translateX(4px); }

  .contact-card-featured {
    grid-column: span 2;
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .contact-card-featured:hover {
    border-color: var(--ink);
  }
  .contact-card-featured .contact-card-icon {
    background: rgba(255,255,255,0.1);
    color: white;
  }
  .contact-card-featured .contact-card-label { color: rgba(255,255,255,0.6); }
  .contact-card-featured .contact-card-value { color: white; }
  .contact-card-featured .contact-card-meta { color: rgba(255,255,255,0.6); }
  .contact-card-featured .contact-card-cta { color: #FF6B72; }
  @media (max-width: 540px) {
    .contact-card-featured { grid-column: span 1; }
  }

  /* Form */
  .contact-form-wrap {
    background: var(--surface);
    padding: 40px;
    border: 1px solid var(--rule);
  }
  @media (max-width: 540px) {
    .contact-form-wrap { padding: 28px 24px; }
  }
  .contact-form-title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .contact-form-sub {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 32px;
  }

  .mulia-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  @media (max-width: 540px) {
    .mulia-form-row { grid-template-columns: 1fr; }
  }
  .mulia-form-field {
    margin-bottom: 20px;
  }
  .mulia-form-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 8px;
  }
  .mulia-form-field .req {
    color: var(--brand-red);
  }
  .mulia-form-field input,
  .mulia-form-field textarea,
  .mulia-form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--rule-strong);
    background: var(--paper);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 250ms var(--ease-out), background 250ms var(--ease-out);
  }
  .mulia-form-field input:focus,
  .mulia-form-field textarea:focus,
  .mulia-form-field select:focus {
    outline: none;
    border-color: var(--brand-red);
    background: var(--paper);
  }
  .mulia-form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
  }
  .mulia-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .mulia-form-actions {
    margin-top: 8px;
  }
  .mulia-form-message {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }
  .mulia-form-message.is-success {
    color: #1B7332;
    padding: 16px;
    background: #E8F5EC;
    border-left: 3px solid #1B7332;
  }
  .mulia-form-message.is-error {
    color: var(--brand-red-dark);
    padding: 16px;
    background: var(--brand-red-soft);
    border-left: 3px solid var(--brand-red);
  }
  .mulia-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Map */
  .contact-map {
    border-top: 1px solid var(--rule);
  }
  .contact-map-inner iframe,
  .contact-map-inner > * {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
  }

  /* ============ PRODUK DETAIL ============ */
  .produk-hero {
    padding: 56px 0 80px;
    border-bottom: 1px solid var(--rule);
  }
  .produk-breadcrumb {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 48px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }
  .produk-breadcrumb a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 200ms var(--ease-out);
  }
  .produk-breadcrumb a:hover { color: var(--brand-red); }
  .produk-breadcrumb .sep { opacity: 0.5; }
  .produk-breadcrumb .current { color: var(--ink); font-weight: 500; }

  .produk-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: start;
  }
  @media (max-width: 880px) {
    .produk-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  .produk-tagline {
    display: inline-block;
    margin-bottom: 24px;
  }
  .produk-title {
    font-size: clamp(44px, 6vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  .produk-summary {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: 40px;
    max-width: 56ch;
  }
  .produk-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .produk-rate-card {
    background: var(--ink);
    color: white;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
  }
  .produk-rate-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-red);
  }
  .produk-rate-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
  }
  .produk-rate-value {
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    color: #FF6B72;
    margin-bottom: 24px;
    font-weight: 400;
    font-style: italic;
  }
  .produk-rate-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  /* Features */
  .produk-features-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
  }
  @media (max-width: 880px) {
    .produk-features-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  .produk-features-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
  }
  .produk-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .produk-feature-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-top: 1px solid var(--rule);
    align-items: baseline;
  }
  .produk-feature-item:last-child { border-bottom: 1px solid var(--rule); }
  .produk-feature-num {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    color: var(--brand-red);
    line-height: 1;
  }
  .produk-feature-text {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
  }

  /* Description */
  .produk-description {
    background: var(--surface);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .produk-description-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
  }
  @media (max-width: 880px) {
    .produk-description-grid { grid-template-columns: 1fr; gap: 24px; }
  }
  .produk-toc {
    position: sticky;
    top: 100px;
    align-self: start;
  }
  .produk-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-2);
  }
  .produk-content h2,
  .produk-content h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 400;
  }
  .produk-content h2 { font-size: 32px; }
  .produk-content h3 { font-size: 24px; }
  .produk-content p { margin-bottom: 20px; }
  .produk-content ul, .produk-content ol {
    margin: 20px 0 24px 24px;
  }
  .produk-content li { margin-bottom: 8px; }
  .produk-content a {
    color: var(--brand-red);
    border-bottom: 1px solid currentColor;
  }
  .produk-content strong { color: var(--ink); font-weight: 600; }


  /* ============ MOBILE FIXES (surgical) ============ */

  /* Fix 1: Hero art overflow — corner brackets and bottom tag escape container.
     Constrain the hero-art to its own bounds on mobile. */
  @media (max-width: 768px) {
    .hero-art {
      margin: 0 auto;
      max-width: 100%;
      overflow: visible;
    }
    .hero-art-bracket-tl {
      top: -8px;
      left: -8px;
    }
    .hero-art-bracket-br {
      bottom: -8px;
      right: -8px;
    }
    .hero-art-tag {
      bottom: 12px;
      left: 12px;
      right: 12px;
      max-width: none;
      padding: 12px 16px;
    }
    .hero-art-meta {
      top: -4px;
      right: 8px;
      font-size: 9px;
    }
    .hero-art-bg {
      top: -20px;
      right: -20px;
      width: 50%;
    }
  }

  /* Fix 2: Hero grid — ensure 1-col on mobile + adequate vertical gap */
  @media (max-width: 980px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 56px;
    }
    .hero-art {
      max-width: 480px;
    }
  }

  /* Fix 3: Trust logos — at tablet width, wrap creates lopsided layout.
     Force vertical stack below 720px so they always look intentional. */
  @media (max-width: 720px) {
    .hero-trust {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
    .hero-trust-logos {
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
    }
    .trust-logo + .trust-logo {
      padding-left: 0;
    }
    .trust-logo + .trust-logo::before {
      display: none;
    }
  }

  /* Fix 4: Tighter section vertical padding on mobile (visual breathing room) */
  @media (max-width: 768px) {
    :root {
      --section-y: 72px;
    }
    .hero {
      padding: 48px 0 64px;
    }
    .footer {
      padding: 64px 0 24px;
    }
    .footer-bigmark {
      bottom: -20px;
      font-size: clamp(140px, 32vw, 220px);
    }
  }

  /* Fix 5: Stats — 4 cols too tight on mobile, use 2x2 */
  @media (max-width: 640px) {
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Fix 6: Hero CTA stacking on phones */
  @media (max-width: 480px) {
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .hero-actions .btn {
      justify-content: center;
    }
  }

  /* Fix 7: Headlines scale down on mobile (avoid clamp ceilings being too high) */
  @media (max-width: 640px) {
    .hero-title {
      font-size: clamp(36px, 9vw, 56px);
    }
    .section-head h2,
    .why-head h2,
    .about-content h2 {
      font-size: clamp(28px, 7vw, 44px);
    }
  }

  /* Fix 8: Why-item meta — moves below content on narrow screens (already partly handled but lock it) */
  @media (max-width: 640px) {
    .why-item {
      grid-template-columns: 48px 1fr;
      gap: 12px;
      padding: 24px 16px;
    }
    .why-item-meta {
      grid-column: 2;
      text-align: left;
      margin-top: 8px;
      font-size: 22px;
    }
  }

  /* About-meta mobile fix — shrink numbers, prevent overflow */
  @media (max-width: 768px) {
    .about-meta {
      gap: 24px;
      margin-top: 40px;
      padding-top: 32px;
    }
    .about-meta-item {
      min-width: 0; /* allows grid item to shrink instead of overflowing */
      overflow: hidden;
    }
    .about-meta-item .num {
      font-size: clamp(28px, 8vw, 40px) !important;
      word-break: break-word;
    }
    .about-meta-item .lbl {
      font-size: 12px;
    }
  }

  @media (max-width: 480px) {
    .about-meta {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }

  /* ============ BRUTE FORCE MOBILE PADDING ============ */
  @media (max-width: 768px) {
    body .header > .container,
    body .header-inner,
    body section .container,
    body section > .container,
    body .cta-banner > .container,
    body .footer > .container,
    body .about > .container,
    body .hero > .container,
    body .stats > .container,
    body .why > .container,
    body .contact-hero > .container,
    body .contact-grid-section > .container,
    body .produk-hero > .container,
    body .error-page > .container,
    html body div.container,
    html body header.header > div,
    html body section > div.container,
    html body footer.footer > div.container {
      padding-left: 20px !important;
      padding-right: 20px !important;
      box-sizing: border-box !important;
    }
  }

  @media (max-width: 480px) {
    body .header > .container,
    body .header-inner,
    body section .container,
    body section > .container,
    body .cta-banner > .container,
    body .footer > .container,
    html body div.container,
    html body header.header > div,
    html body section > div.container,
    html body footer.footer > div.container {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }
  }
