/*
 * Wide Open Web TX — Main Stylesheet
 * wideopenwebtx.com
 *
 * Sections:
 *   1. CSS Variables & Reset
 *   2. Wood Grain Texture
 *   3. Navigation
 *   4. Buttons
 *   5. Hero
 *   6. Sections (shared)
 *   7. Wrong Strip
 *   8. Story Section
 *   9. Services
 *  10. Who I Work With / Trades
 *  11. Demo Section
 *  12. About
 *  13. CTA Section
 *  14. Footer
 *  15. Modal & Form
 *  16. Animations
 *  17. Responsive
 */

:root {
    --cream:   #F5EED8;
    --tan:     #C8A355;
    --rust:    #B85C2C;
    --dark:    #1C1510;
    --wood:    #2C1F14;
    --plank:   #3A2A1C;
    --text:    #D4C9B0;
    --muted:   rgba(212,201,176,0.45);
    --border:  rgba(200,163,85,0.2);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: var(--cream);
    overflow-x: hidden;
  }

  /* ── WOOD GRAIN TEXTURE ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
      92deg,
      transparent 0px, transparent 8px,
      rgba(200,163,85,0.4) 8px, rgba(200,163,85,0.4) 9px
    );
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 5vw;
    background: rgba(28,21,16,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 0.7rem;
  }
  .nav-logo-icon {
    font-size: 1.4rem;
    line-height: 1;
  }
  .nav-logo-text {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
  }
  .nav-logo-text span { color: var(--tan); }
  .nav-logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
  }

  .nav-links {
    display: flex; align-items: center; gap: 2rem; list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--tan); }
  .nav-cta {
    background: var(--rust);
    color: var(--cream) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 3px;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
  }
  .nav-cta:hover { opacity: 0.85; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 9rem 5vw 5rem;
    position: relative; overflow: hidden;
  }

  /* Porch railing silhouette at bottom */
  .hero-railing {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: var(--wood);
    clip-path: polygon(
      0% 100%, 0% 60%,
      2% 60%, 2% 20%, 3% 20%, 3% 60%,
      6% 60%, 6% 20%, 7% 20%, 7% 60%,
      10% 60%, 10% 20%, 11% 20%, 11% 60%,
      14% 60%, 14% 20%, 15% 20%, 15% 60%,
      18% 60%, 18% 20%, 19% 20%, 19% 60%,
      22% 60%, 22% 20%, 23% 20%, 23% 60%,
      26% 60%, 26% 20%, 27% 20%, 27% 60%,
      30% 60%, 30% 20%, 31% 20%, 31% 60%,
      34% 60%, 34% 20%, 35% 20%, 35% 60%,
      38% 60%, 38% 20%, 39% 20%, 39% 60%,
      42% 60%, 42% 20%, 43% 20%, 43% 60%,
      46% 60%, 46% 20%, 47% 20%, 47% 60%,
      50% 60%, 50% 20%, 51% 20%, 51% 60%,
      54% 60%, 54% 20%, 55% 20%, 55% 60%,
      58% 60%, 58% 20%, 59% 20%, 59% 60%,
      62% 60%, 62% 20%, 63% 20%, 63% 60%,
      66% 60%, 66% 20%, 67% 20%, 67% 60%,
      70% 60%, 70% 20%, 71% 20%, 71% 60%,
      74% 60%, 74% 20%, 75% 20%, 75% 60%,
      78% 60%, 78% 20%, 79% 20%, 79% 60%,
      82% 60%, 82% 20%, 83% 20%, 83% 60%,
      86% 60%, 86% 20%, 87% 20%, 87% 60%,
      90% 60%, 90% 20%, 91% 20%, 91% 60%,
      94% 60%, 94% 20%, 95% 20%, 95% 60%,
      98% 60%, 98% 20%, 99% 20%, 99% 60%,
      100% 60%, 100% 100%
    );
    border-top: 3px solid var(--tan);
    opacity: 0.6;
  }

  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 70% 60% at 75% 40%, rgba(184,92,44,0.08) 0%, transparent 65%),
      radial-gradient(ellipse 50% 50% at 15% 70%, rgba(200,163,85,0.05) 0%, transparent 55%);
  }

  .hero-inner {
    position: relative; z-index: 2;
    max-width: 800px;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 2rem;
    animation: up 0.6s ease both;
  }
  .hero-eyebrow::before {
    content: '🤠';
    font-size: 1rem;
    letter-spacing: 0;
  }

  .hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    animation: up 0.6s 0.1s ease both;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--tan);
  }

  /* Pull quote style intro */
  .hero-story {
    font-size: 1.08rem;
    color: var(--text);
    font-weight: 300;
    line-height: 1.85;
    max-width: 620px;
    margin-bottom: 2.8rem;
    animation: up 0.6s 0.2s ease both;
    border-left: 3px solid var(--tan);
    padding-left: 1.5rem;
  }

  .hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: up 0.6s 0.3s ease both;
  }

  .btn-rust {
    background: var(--rust);
    color: var(--cream);
    padding: 1rem 2.2rem;
    border: none; border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(184,92,44,0.35);
  }
  .btn-rust:hover { opacity: 0.88; transform: translateY(-2px); }

  .btn-ghost {
    background: transparent;
    color: var(--cream);
    padding: 1rem 2.2rem;
    border: 1px solid rgba(212,201,176,0.25);
    border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-ghost:hover { border-color: var(--tan); background: rgba(200,163,85,0.06); }

  .hero-cred {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: up 0.6s 0.4s ease both;
  }
  .cred-item { }
  .cred-num {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--tan);
    line-height: 1;
  }
  .cred-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.35rem;
    letter-spacing: 0.05em;
    font-weight: 400;
  }

  /* ── SECTION BASICS ── */
  .section { padding: 6rem 5vw; position: relative; z-index: 1; }

  .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tan);
    font-weight: 600;
    margin-bottom: 0.9rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--tan); }

  h2.sh {
    font-family: 'Lora', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  h2.sh em { font-style: italic; color: var(--tan); }

  .trades-bridge {
    text-align: center;
    max-width: 640px;
    margin: 2.5rem auto 0;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 300;
    line-height: 1.75;
  }

  /* ── MODAL ── */
  .modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 900;
    background: rgba(10,8,6,0.82);
    backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 1.5rem;
  }
  .modal-overlay.open { display: flex; }

  .modal {
    background: var(--wood);
    border: 1px solid var(--border);
    border-top: 3px solid var(--rust);
    border-radius: 4px;
    padding: 2.8rem 2.5rem 2.5rem;
    width: 100%; max-width: 480px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    animation: modalIn 0.25s ease both;
  }

  @keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .modal-close {
    position: absolute; top: 1rem; right: 1.2rem;
    background: none; border: none;
    color: var(--muted); font-size: 1.4rem;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
  }
  .modal-close:hover { color: var(--cream); }

  .modal-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tan);
    font-weight: 600;
    margin-bottom: 0.6rem;
  }

  .modal h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .modal-sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
    line-height: 1.6;
  }

  .form-group {
    margin-bottom: 1.1rem;
  }

  .form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
  }

  .form-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,163,85,0.25);
    border-radius: 3px;
    padding: 0.75rem 1rem;
    color: var(--cream);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
  }

  .form-group input::placeholder { color: var(--muted); }

  .form-group input:focus {
    border-color: var(--tan);
    background: rgba(200,163,85,0.06);
  }

  .form-submit {
    width: 100%;
    margin-top: 0.5rem;
    background: var(--rust);
    color: var(--cream);
    padding: 0.95rem 1.5rem;
    border: none; border-radius: 3px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(184,92,44,0.35);
  }
  .form-submit:hover { opacity: 0.88; transform: translateY(-1px); }

  .form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.9rem;
  }

  .modal-success {
    display: none;
    text-align: center;
    padding: 1rem 0 0.5rem;
  }
  .modal-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
  .modal-success h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  .modal-success p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
  }


    color: var(--text);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 3.5rem;
  }

  /* ── STORY SECTION ── */
  .story-section {
    background: var(--wood);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .story-aside {
    position: sticky; top: 7rem;
  }

  .story-callout {
    background: rgba(200,163,85,0.07);
    border: 1px solid var(--border);
    border-left: 4px solid var(--tan);
    padding: 2rem;
    border-radius: 0 4px 4px 0;
    margin-bottom: 2rem;
  }
  .story-callout p {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--cream);
    line-height: 1.7;
  }
  .story-callout cite {
    display: block;
    margin-top: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-style: normal;
    color: var(--muted);
    letter-spacing: 0.06em;
  }

  .story-text h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.25;
  }
  .story-text p {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1.4rem;
  }
  .story-text p strong { color: var(--cream); font-weight: 600; }
  .story-text p em { color: var(--tan); font-style: italic; }

  /* ── WHAT'S WRONG STRIP ── */
  .wrong-strip {
    background: var(--plank);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 5vw;
    display: flex; align-items: center;
    justify-content: space-around; gap: 1.5rem; flex-wrap: wrap;
  }
  .wrong-item {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.85rem; color: var(--text);
  }
  .wrong-item strong { color: var(--cream); }

  /* ── SERVICES ── */
  .services-section { background: var(--dark); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
  }

  .svc-card {
    background: var(--dark);
    padding: 2.8rem 2.2rem;
    position: relative; overflow: hidden;
    transition: background 0.3s;
  }
  .svc-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--tan);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s;
  }
  .svc-card:hover { background: rgba(200,163,85,0.04); }
  .svc-card:hover::after { transform: scaleX(1); }

  .svc-icon { font-size: 2rem; display: block; margin-bottom: 1.2rem; }

  .svc-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tan);
    background: rgba(200,163,85,0.1);
    border: 1px solid rgba(200,163,85,0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 1rem;
  }

  .svc-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }

  .svc-price {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tan);
    margin-bottom: 0.4rem;
  }
  .svc-price sub {
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    color: var(--muted);
    font-weight: 300;
  }

  .svc-card p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.5rem;
  }

  .svc-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.55rem;
  }
  .svc-features li {
    font-size: 0.82rem;
    color: var(--text);
    display: flex; align-items: flex-start; gap: 0.5rem;
    line-height: 1.5;
  }
  .svc-features li::before {
    content: '✓';
    color: var(--tan);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ── WHO I WORK WITH ── */
  .who-section {
    background: var(--wood);
    border-top: 1px solid var(--border);
  }

  .trades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3.5rem;
  }
  .trade-tile {
    background: var(--wood);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: background 0.2s;
    cursor: default;
  }
  .trade-tile:hover { background: rgba(200,163,85,0.06); }
  .trade-tile .ti { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }
  .trade-tile span { font-size: 0.82rem; font-weight: 500; color: var(--text); }

  /* ── THE DEMO PITCH ── */
  .demo-section {
    background: var(--dark);
    border-top: 1px solid var(--border);
  }

  .demo-box {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    background: var(--wood);
    overflow: hidden;
  }
  .demo-box-text { padding: 3.5rem; }
  .demo-box-text h3 {
    font-family: 'Lora', serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  .demo-box-text h3 em { color: var(--tan); font-style: italic; }
  .demo-box-text p {
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
  }
  .demo-box-text p strong { color: var(--cream); font-weight: 600; }

  .demo-box-visual {
    background: var(--plank);
    border-left: 1px solid var(--border);
    padding: 2.5rem 2rem;
    display: flex; align-items: center; justify-content: center;
  }

  /* Browser mockup */
  .browser {
    width: 100%; max-width: 300px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    background: #1A1208;
  }
  .browser-chrome {
    background: #120D06;
    padding: 0.55rem 0.75rem;
    display: flex; align-items: center; gap: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .b-dot { width: 7px; height: 7px; border-radius: 50%; }
  .b1 { background: #FF5F57; } .b2 { background: #FFBD2E; } .b3 { background: #28C840; }
  .b-url {
    flex: 1; margin-left: 0.4rem;
    background: rgba(255,255,255,0.05);
    border-radius: 3px; padding: 0.2rem 0.5rem;
    font-size: 0.6rem; color: var(--muted);
  }
  .browser-body {
    padding: 0;
  }
  .b-hero {
    background: linear-gradient(135deg, #2A1A08, #1A1208);
    padding: 1.4rem 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(200,163,85,0.15);
  }
  .b-biz { font-size: 0.65rem; font-weight: 700; color: var(--tan); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
  .b-headline { font-family: 'Lora', serif; font-size: 0.85rem; font-weight: 700; color: var(--cream); margin-bottom: 0.4rem; line-height: 1.3; }
  .b-sub { font-size: 0.58rem; color: var(--muted); margin-bottom: 0.7rem; }
  .b-btn { display: inline-block; background: var(--rust); color: var(--cream); font-size: 0.58rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 2px; }
  .b-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .b-card { padding: 0.6rem 0.4rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.05); }
  .b-card:last-child { border-right: none; }
  .b-card-icon { font-size: 0.85rem; display: block; margin-bottom: 0.2rem; }
  .b-card-label { font-size: 0.52rem; color: var(--muted); }

  /* ── ABOUT DAN ── */
  .about-section {
    background: var(--wood);
    border-top: 1px solid var(--border);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .about-left h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.25;
  }
  .about-left p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1.2rem;
  }
  .about-left p strong { color: var(--cream); font-weight: 600; }

  .about-right {}
  .credential-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 1rem;
  }
  .credential-list li {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.2rem;
    background: rgba(200,163,85,0.05);
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: background 0.2s;
  }
  .credential-list li:hover { background: rgba(200,163,85,0.09); }
  .cred-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
  .cred-body strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--cream); margin-bottom: 0.2rem; }
  .cred-body span { font-size: 0.82rem; color: var(--text); font-weight: 300; line-height: 1.5; }

  /* ── CTA ── */
  .cta-section {
    background: var(--plank);
    border-top: 1px solid var(--border);
    padding: 7rem 5vw;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(184,92,44,0.08) 0%, transparent 65%);
    pointer-events: none;
  }
  .cta-section h2 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    position: relative;
  }
  .cta-section h2 em { font-style: italic; color: var(--tan); }
  .cta-section > p {
    color: var(--text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    position: relative;
  }
  .cta-fine {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    position: relative;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 2.5rem 5vw;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo {
    font-family: 'Lora', serif;
    font-size: 1.1rem; font-weight: 700;
  }
  .footer-logo span { color: var(--tan); }
  footer p { color: var(--muted); font-size: 0.78rem; }
  footer a { color: var(--tan); text-decoration: none; }

  /* ── ANIMATIONS ── */
  @keyframes up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .reveal { opacity: 1; }

  /* ── RESPONSIVE ── */
  @media (max-width: 860px) {
    .services-grid { grid-template-columns: 1fr; }
    .story-grid, .about-grid, .demo-box { grid-template-columns: 1fr; }
    .demo-box-visual { border-left: none; border-top: 1px solid var(--border); }
    .story-aside { position: static; }
    nav .nav-links li:not(:last-child) { display: none; }
  }