/* ══════════════════════════════════════════════════════════════════════════
   Unplugged Ideas — Home page.

   Everything shared with the other pages lives in site.css.
   ══════════════════════════════════════════════════════════════════════════ */

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 40px 60px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(200,155,60,0.26) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,155,60,0.13) 0%, transparent 60%);
    pointer-events: none;
  }

  .hero-noise {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none; opacity: 0.6;
  }

  .hero-bulb {
    width: 110px; height: 110px;
    margin-bottom: 36px;
    animation: float 4s ease-in-out infinite, glow-pulse 4s ease-in-out infinite;
    position: relative; z-index: 1;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }

  @keyframes glow-pulse {
    0%, 100% {
      filter: drop-shadow(0 0 10px rgba(212,160,23,0.5)) drop-shadow(0 0 26px rgba(200,155,60,0.3));
    }
    50% {
      filter: drop-shadow(0 0 20px rgba(212,160,23,0.85)) drop-shadow(0 0 46px rgba(200,155,60,0.55));
    }
  }

  .hero-eyebrow {
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 20px;
    position: relative; z-index: 1;
    opacity: 0; animation: fade-up 0.8s 0.3s forwards;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900; line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--cream);
    position: relative; z-index: 1;
    opacity: 0; animation: fade-up 0.9s 0.5s forwards;
  }

  .hero-title span {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    max-width: 560px;
    font-size: 1.1rem; font-weight: 300; line-height: 1.75;
    color: rgba(29,23,16,0.65);
    margin: 28px auto 0;
    position: relative; z-index: 1;
    opacity: 0; animation: fade-up 0.9s 0.7s forwards;
  }

  .hero-cta {
    margin-top: 48px; position: relative; z-index: 1;
    opacity: 0; animation: fade-up 0.9s 0.9s forwards;
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  }

  .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--ink);
    font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none;
    border-radius: 2px;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 24px rgba(200,155,60,0.3);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(200,155,60,0.5);
  }

  .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(200,155,60,0.4);
    color: var(--gold);
    font-weight: 500; font-size: 0.9rem; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s, border-color 0.25s;
  }
  .btn-secondary:hover {
    background: rgba(200,155,60,0.18);
    border-color: var(--gold);
  }

  .scroll-hint {
    position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fade-up 0.8s 1.4s forwards;
    z-index: 1;
  }
  .scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(200,155,60,0.5), transparent);
    animation: scroll-drop 2s 2s ease-in-out infinite;
  }
  @keyframes scroll-drop {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── DIVIDER ── */
  .divider {
    width: 60px; height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 24px 0;
  }

  /* ── SECTIONS ── */
  section {
    padding: var(--section-gap) 60px;
    position: relative;
    overflow: hidden;
  }

  .section-label {
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700; line-height: 1.1;
    color: var(--cream);
  }

  /* ── PHILOSOPHY SECTION ── */
  #philosophy {
    background: var(--dark-bg);
  }

  .philosophy-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    max-width: 1100px; margin: 0 auto;
  }

  .philosophy-left {}

  .philosophy-body {
    font-size: 1.1rem; font-weight: 300; line-height: 1.9;
    color: rgba(29,23,16,0.7);
    margin-top: 28px;
  }

  .philosophy-quote {
    margin-top: 40px;
    padding-left: 24px;
    border-left: 2px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-style: italic;
    color: var(--cream); line-height: 1.5;
  }

  .philosophy-right {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 32px 24px;
    background: rgba(200,155,60,0.11);
    border: 1px solid rgba(200,155,60,0.26);
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
  }
  .stat-card:hover {
    background: rgba(200,155,60,0.22);
    border-color: rgba(200,155,60,0.3);
    transform: translateY(-4px);
  }
  .stat-card:first-child { grid-column: span 2; }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; font-weight: 900;
    color: var(--gold); line-height: 1;
  }
  .stat-desc {
    font-size: 0.85rem; color: rgba(29,23,16,0.55);
    margin-top: 8px; line-height: 1.5;
  }

  /* ── SERVICES ── */
  #services {
    background: #f1e9d8;
    border-top: 1px solid rgba(200,155,60,0.15);
    border-bottom: 1px solid rgba(200,155,60,0.15);
  }

  .services-header {
    max-width: 1100px; margin: 0 auto 64px;
    display: flex; justify-content: space-between; align-items: flex-end;
  }
  /* The heading beside it wraps; the call to action must not. */
  .services-header .btn-secondary { white-space: nowrap; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px; margin: 0 auto;
  }

  .service-card {
    padding: 48px 36px;
    background: rgba(200,155,60,0.11);
    border: 1px solid rgba(200,155,60,0.22);
    border-radius: 4px;
    position: relative; overflow: hidden;
    transition: border-color 0.35s, transform 0.35s;
  }

  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover {
    border-color: rgba(200,155,60,0.3);
    transform: translateY(-6px);
  }

  .service-icon {
    width: 48px; height: 48px; margin-bottom: 28px;
    color: var(--gold);
  }

  .service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--cream); margin-bottom: 16px;
  }

  .service-desc {
    font-size: 0.92rem; line-height: 1.8;
    color: rgba(29,23,16,0.55);
  }

  /* ── APPROACH ── */
  #approach {
    background: var(--dark-bg);
  }

  .approach-inner {
    max-width: 1100px; margin: 0 auto;
  }

  .approach-header {
    margin-bottom: 72px;
    max-width: 520px;
  }

  .steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative;
  }

  .steps::before {
    content: '';
    position: absolute; top: 28px; left: 12.5%;  right: 12.5%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.3;
  }

  .step {
    padding: 0 20px 0 0;
    position: relative;
  }

  .step-num {
    width: 56px; height: 56px;
    border: 1px solid rgba(200,155,60,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; color: var(--gold);
    margin-bottom: 28px;
    background: var(--dark-bg);
    position: relative; z-index: 1;
    transition: background 0.3s, border-color 0.3s;
  }

  .step:hover .step-num {
    background: rgba(200,155,60,0.22);
    border-color: var(--gold);
  }

  .step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; font-weight: 700;
    color: var(--cream); margin-bottom: 12px;
  }

  .step-desc {
    font-size: 0.88rem; line-height: 1.75;
    color: rgba(29,23,16,0.5);
  }

  /* ── WHY US ── */
  #why {
    background: #f1e9d8;
    border-top: 1px solid rgba(200,155,60,0.15);
  }

  .why-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 80px; align-items: center;
  }

  .why-left .section-title {
    margin-bottom: 24px;
  }
  .why-left p {
    font-size: 1rem; line-height: 1.85;
    color: rgba(29,23,16,0.6);
    margin-bottom: 36px;
  }

  .why-list {
    list-style: none; display: flex; flex-direction: column; gap: 20px;
  }
  .why-list li {
    display: flex; align-items: flex-start; gap: 16px;
    font-size: 0.95rem; line-height: 1.6;
    color: rgba(29,23,16,0.75);
  }
  .why-bullet {
    width: 20px; height: 20px; flex-shrink: 0;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
  }
  .why-bullet::after {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
  }

  .why-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
  }

  .why-ring {
    position: absolute; inset: 0;
    border: 1px solid rgba(200,155,60,0.33);
    border-radius: 50%;
    animation: spin 20s linear infinite;
  }
  .why-ring:nth-child(2) {
    inset: 15%;
    border-color: rgba(200,155,60,0.26);
    animation-duration: 30s; animation-direction: reverse;
  }
  .why-ring:nth-child(3) {
    inset: 30%;
    border-color: rgba(200,155,60,0.2);
    animation-duration: 15s;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .why-center {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
  }

  .why-center-icon {
    width: 80px; height: 80px;
    color: var(--gold);
    filter: drop-shadow(0 0 12px rgba(212,160,23,0.55)) drop-shadow(0 0 32px rgba(200,155,60,0.35));
  }

  .why-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(200,155,60,0.8);
  }
  /* Positions are per-dot, so each carries its own class. Numbered rather than
     addressed by :nth-child, which would silently shift if a sibling is added. */
  .why-dot-1 { top: 5%;  left: 48%; }
  .why-dot-2 { top: 48%; left: 95%; }
  .why-dot-3 { top: 90%; left: 52%; }
  .why-dot-4 { top: 52%; left: 2%;  }


  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1; transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }


  /* ── RESPONSIVE ── (shared nav/footer rules live in static/site.css) */
  @media (max-width: 900px) {
    section { padding: 80px 24px; }

    .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
    .philosophy-right { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
    .steps::before { display: none; }
    .why-inner { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  }
