  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink: #191127;
    --cream: #180f26;
    --amber: #883CF0;
    --amber-light: #7c3aed;
    --rust: #9a3d2a;
    --sage: #4a6741;
    --mist: #23133a;
    --gold: #d4a843;
    --charcoal: #1e2022;
    --warm-white: #1f123256;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Mono', monospace;
    background: var(--cream);
    color: #fff;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  .cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: multiply;
  }
  .cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0.6;
  }
  .cursor.hover { width: 20px; height: 20px; background: var(--rust); }
  .cursor-ring.hover { width: 60px; height: 60px; opacity: 0.3; }

  /* ── NAVBAR ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    background: #180f26;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #3a1c63;
    transition: padding 0.3s;
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
  }
  .nav-logo span { color: var(--amber); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
  }
  .nav-links a:hover { opacity: 1; color: var(--amber); }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 3rem 5rem 4rem;
    position: relative;
    z-index: 2;
  }
  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: var(--amber);
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 2rem;
  }
  .hero-title em { font-style: italic; color: var(--amber); }
  .hero-desc {
    font-size: 0.78rem;
    line-height: 1.85;
    color: #d1ccc6;
    max-width: 400px;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
  }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--ink);
    color: var(--cream);
    padding: 1rem 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: none;
    transition: background 0.25s, transform 0.2s;
    width: fit-content;
  }
  .hero-cta:hover { background: var(--amber); transform: translateX(4px); }
  .hero-cta::after { content: '→'; font-size: 1rem; }

  .hero-right {
    position: relative;
    overflow: hidden;
  }
  .hero-house {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Animated house SVG scene */
  .house-scene {
    width: 90%;
    max-width: 500px;
  }

  /* Floating stat badges */
  .stat-badge {
    position: absolute;
    background: var(--warm-white);
    border: 1px solid #3a1c63;
    padding: 1rem 1.4rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    animation: float 4s ease-in-out infinite;
  }
  .stat-badge:nth-child(1) { top: 22%; left: -2%; animation-delay: 0s; }
  .stat-badge:nth-child(2) { bottom: 25%; right: 3%; animation-delay: 1.5s; }
  .stat-badge:nth-child(3) { top: 55%; left: 5%; animation-delay: 0.8s; }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--amber);
    display: block;
    line-height: 1;
  }
  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #dbd9d9;
    margin-top: 0.2rem;
  }
  @keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  /* decorative diagonal line */
  .hero-diagonal {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, var(--mist) 45%);
    z-index: 0;
  }

  /* ── MARQUEE ── */
  .marquee-strip {
    background: var(--ink);
    color: var(--amber);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .marquee-inner {
    display: inline-block;
    animation: marquee 22s linear infinite;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .marquee-inner span { margin: 0 2.5rem; opacity: 0.6; }
  .marquee-inner strong { opacity: 1; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ── SECTION COMMONS ── */
  section { padding: 7rem 4rem; }
  .section-tag {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
  }
  .section-title em { font-style: italic; color: var(--amber); }

  /* ── FEATURES GRID ── */
  #features { background: var(--warm-white); }
  .features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
  }
  .features-intro { font-size: 0.77rem; line-height: 1.9; color: #555; letter-spacing: 0.02em; }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #3a1c63;
  }
  .feature-card {
    padding: 2.5rem;
    border-right: 1px solid #3a1c63;
    border-bottom: 1px solid #3a1c63;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: background 0.3s;
  }
  .feature-card:hover { background: #1f1232; }
  .feature-card:hover .fc-title,
  .feature-card:hover .fc-desc,
  .feature-card:hover .fc-num { color: #fff; }
  .feature-card:hover .fc-icon { background: var(--amber); }
  .feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--amber);
    transition: width 0.4s ease;
  }
  .feature-card:hover::after { width: 100%; }

  .fc-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    position: absolute;
    top: 1.5rem; right: 2rem;
    transition: color 0.3s;
  }
  .feature-card:hover .fc-num { color: rgba(255, 255, 255, 0.616); }
  .fc-icon {
    width: 44px;
    height: 44px;
    background: var(--amber-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    transition: background 0.3s;
  }
  .fc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
  }
  .fc-desc {
    font-size: 0.72rem;
    line-height: 1.8;
    color: #ebeaea;
    transition: color 0.3s;
  }

  /* ── VALUE CALCULATOR ── */
  #calculator {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  #calculator::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(183, 58, 200, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .calc-left .section-title { color: var(--cream); }
  .calc-left .section-title em { color: var(--amber); }
  .calc-desc { font-size: 0.75rem; line-height: 1.85; color: rgba(245, 240, 232, 0.855); margin-bottom: 2rem; }

  .calc-panel {
    background: #a150dd0a;
    border: 1px solid #3a1c63;
    padding: 2.5rem;
  }
  .calc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--amber);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
  }
  .range-group { margin-bottom: 2rem; }
  .range-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.815);
    margin-bottom: 0.6rem;
  }
  .range-label span { color: var(--amber); font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
  input[type=range] {
    width: 100%;
    appearance: none;
    height: 2px;
    background: #883CF0;
    outline: none;
    cursor: none;
  }
  input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 16px; height: 16px;
    background: var(--amber);
    border-radius: 50%;
    cursor: none;
  }
  input[type=range]::-webkit-slider-runnable-track { height: 2px; }

  .toggle-group { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
  .toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border: 1px solid #3a1c63;
    cursor: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .toggle-item:hover { border-color: #3a1c63; background: #cb56f90a; }
  .toggle-item.active { border-color: var(--amber); background: #cb56f90a; }
  .toggle-label { font-size: 0.72rem; letter-spacing: 0.08em; color:#fff; }
  .toggle-value { font-size: 0.68rem; color: var(--amber); }
  .toggle-switch {
    width: 36px; height: 18px;
    background: rgba(255,255,255,0.1);
    border-radius: 9px;
    position: relative;
    transition: background 0.3s;
    cursor: none;
  }
  .toggle-switch.on { background: var(--amber); }
  .toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 12px; height: 12px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
  }
  .toggle-switch.on::after { transform: translateX(18px); }

  .calc-result {
    border-top: 1px solid #3a1c63;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
  }
  .result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
  }
  .result-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245, 240, 232, 0.858); }
  .result-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--amber);
    font-weight: 600;
    transition: all 0.4s ease;
  }
  .result-val.changed {
    animation: pop 0.35s ease;
  }
  @keyframes pop {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
  }

  /* ── STATS BAR ── */
  #stats {
    background: var(--amber);
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    text-align: center;
    border-right: 1px solid #3a1c63;
    padding: 1rem;
  }
  .stat-item:last-child { border: none; }
  .big-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #23133a;
    line-height: 1;
    display: block;
  }
  .big-sub {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.65);
    margin-top: 0.4rem;
  }

  /* ── TIMELINE ── */
  #timeline { background: var(--cream); }
  .timeline-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3rem;
  }
  .timeline-track { position: relative; padding-left: 2rem; }
  .timeline-track::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--amber), transparent);
  }
  .tl-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
    cursor: none;
    opacity: 0.5;
    transition: opacity 0.3s;
  }
  .tl-item.active, .tl-item:hover { opacity: 1; }
  .tl-item::before {
    content: '';
    position: absolute;
    left: -5px; top: 6px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid #3a1c63;
    transition: background 0.3s, border-color 0.3s;
  }
  .tl-item.active::before, .tl-item:hover::before {
    background: var(--amber);
    border-color: var(--amber);
  }
  .tl-year {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.3rem;
  }
  .tl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .tl-desc { font-size: 0.72rem; line-height: 1.8; color: #666; }

  .timeline-visual {
    position: sticky;
    top: 120px;
    background: var(--ink);
    padding: 3rem;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .tv-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
  .tv-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 0.8rem;
    font-weight: 300;
  }
  .tv-desc { font-size: 0.72rem; line-height: 1.8; color: rgba(245, 240, 232, 0.822); max-width: 280px; }

  /* ── TESTIMONIALS ── */
  #testimonials { background: var(--mist); }
  .test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .test-card {
    background: var(--warm-white);
    border: 1px solid #3a1c63;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: none;
  }
  .test-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px #cd69f11f; }
  .test-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--amber);
    line-height: 0.8;
    margin-bottom: 0.5rem;
    opacity: 0.4;
  }
  .test-text { font-size: 0.75rem; line-height: 1.85; color: #d9d8d8; margin-bottom: 2rem; font-style: italic; }
  .test-author { display: flex; align-items: center; gap: 1rem; }
  .test-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
  }
  .test-name { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; }
  .test-role { font-size: 0.62rem; color: #ebeaea; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.1rem; }

  /* ── CONTACT/CTA ── */
  #contact {
    background: var(--ink);
    color: var(--cream);
    text-align: center;
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
  }
  #contact::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 800px; height: 800px;
    border: 1px solid #3a1c63;
    border-radius: 50%;
  }
  #contact::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 500px; height: 500px;
    border: 1px solid #3a1c63;
    border-radius: 50%;
  }
  #contact .section-title { color: var(--cream); margin-bottom: 1.5rem; }
  .contact-desc { font-size: 0.75rem; line-height: 1.85; color: rgba(245,240,232,0.55); max-width: 500px; margin: 0 auto 3rem; }
  .contact-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .contact-form input {
    flex: 1;
    background: rgba(63, 63, 63, 0.06);
    border: 1px solid #3a1c63;
    border-right: none;
    color: #fff;
    padding: 1rem 1.5rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color 0.2s;
  }
  .contact-form input::placeholder { color: rgba(245,240,232,0.3); }
  .contact-form input:focus { border-color: var(--amber); }
  .contact-form button {
    background: var(--amber);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.2s;
  }
  .contact-form button:hover { background: var(--amber-light); }

  /* ── FOOTER ── */
  footer {
    background: #180f26;
    color: rgba(245, 240, 232, 0.822);
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: rgba(245, 240, 232, 0.847);
    text-decoration: none;
  }
  .footer-logo span { color: var(--amber); }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.15s; }
  .reveal-delay-2 { transition-delay: 0.3s; }
  .reveal-delay-3 { transition-delay: 0.45s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .features-header { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .calc-layout { grid-template-columns: 1fr; }
    #stats { grid-template-columns: 1fr 1fr; }
    .test-grid { grid-template-columns: 1fr; }
    .timeline-layout { grid-template-columns: 1fr; }
    nav { padding: 1rem 1.5rem; }
    section { padding: 4rem 1.5rem; }
  }