  /* ── RESET & TOKENS ──────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #0c0b09;
      --surface:   #141310;
      --border:    #2a2822;
      --muted:     #6b6860;
      --body:      #c8c4bb;
      --head:      #f0ece4;
      --accent:    #c9a96e;
      --accent2:   #8b5e3c;
      --ff-serif:  'Cormorant Garamond', Georgia, serif;
      --ff-mono:   'DM Mono', monospace;
      --nav-h:     64px;
      --ease:      cubic-bezier(.4,0,.2,1);
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--body);
      font-family: var(--ff-serif);
      font-size: 18px;
      line-height: 1.7;
      cursor: none;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; }
    button { cursor: none; }
    a:focus, button:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

    /* ── CUSTOM CURSOR ───────────────────────────────────────── */
    #cursor {
      position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
      width: 10px; height: 10px;
      background: var(--accent);
      border-radius: 50%;
      transform: translate(-50%,-50%);
      transition: transform .15s var(--ease), width .25s var(--ease), height .25s var(--ease), opacity .2s;
    }
    #cursor-ring {
      position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
      width: 36px; height: 36px;
      border: 1px solid var(--accent);
      border-radius: 50%;
      transform: translate(-50%,-50%);
      transition: transform .4s var(--ease), width .3s var(--ease), height .3s var(--ease), opacity .3s;
      opacity: .5;
    }
    body:hover #cursor { opacity: 1; }

    /* ── NAV ─────────────────────────────────────────────────── */
    nav {
      position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
      width: min(1120px, calc(100% - 32px));
      height: var(--nav-h);
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      padding: 0 22px 0 26px;
      border: 1px solid rgba(201, 169, 110, .22);
      background: rgba(12,11,9,.78);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0,0,0,.22);
      transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
    }
    nav.scrolled {
      background: rgba(12,11,9,.9);
      border-color: rgba(201, 169, 110, .35);
      box-shadow: 0 16px 36px rgba(0,0,0,.35);
    }
    .nav-logo {
      font-family: var(--ff-serif);
      font-size: 1.4rem;
      font-weight: 300;
      letter-spacing: .08em;
      color: var(--head);
    }
    .nav-logo span { color: var(--accent); font-size: 1.2rem; }
    .nav-links {
      display: flex;
      gap: 24px;
      align-items: center;
      justify-self: end;
    }
    .nav-links a {
      font-family: var(--ff-mono);
      font-size: .7rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color .2s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
      height: 1px; background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform .3s var(--ease);
    }
    .nav-links a:hover { color: var(--head); }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav-links a.active { color: var(--head); }
    .nav-links a.active::after { transform: scaleX(1); }
    .nav-cta {
      font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--accent) !important;
      border: 1px solid var(--accent2); padding: 10px 16px;
      transition: background .2s, color .2s !important;
    }
    .nav-cta:hover { background: var(--accent); color: var(--bg) !important; }
    .nav-cta::after { display: none !important; }
    .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 1px; background: var(--body); transition: all .3s; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    /* ── HERO ────────────────────────────────────────────────── */
    #hero {
      position: relative; height: 100vh; min-height: 600px;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, #1a1508 0%, #0c0b09 40%, #1a1205 100%);
    }
    /* Decorative grain overlay */
    .hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
      background-size: 200px;
      opacity: .6; pointer-events: none;
    }
    /* Large abstract photo grid simulation */
    .hero-grid {
      position: absolute; inset: 0;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 2px; opacity: .22;
    }
    .hero-grid-cell {
      overflow: hidden;
    }
    .hero-grid-cell:nth-child(1) { background: linear-gradient(160deg,#3d2b1f,#1a1508); }
    .hero-grid-cell:nth-child(2) { background: linear-gradient(200deg,#2a1e0f,#0c0b09); }
    .hero-grid-cell:nth-child(3) { background: linear-gradient(140deg,#1f1a10,#2d220f); }
    .hero-grid-cell:nth-child(4) { background: linear-gradient(170deg,#0c0b09,#1a120b); }
    .hero-grid-cell:nth-child(5) { background: linear-gradient(130deg,#221809,#0c0b09); }
    .hero-grid-cell:nth-child(6) { background: linear-gradient(150deg,#1a1508,#2a1e0f); }

    .hero-content {
      position: relative; z-index: 2;
      padding: 0 48px 80px;
      max-width: 900px;
    }
    .hero-eyebrow {
      font-family: var(--ff-mono); font-size: .65rem;
      letter-spacing: .3em; text-transform: uppercase;
      color: var(--accent); margin-bottom: 24px;
      opacity: 0; animation: fadeUp .8s .4s var(--ease) forwards;
    }
    .hero-title {
      font-size: clamp(3.5rem, 8vw, 7rem);
      font-weight: 300; line-height: 1.05;
      color: var(--head); letter-spacing: -.01em;
      opacity: 0; animation: fadeUp .9s .6s var(--ease) forwards;
    }
    .hero-title em { color: var(--accent); font-style: italic; }
    .hero-sub {
      margin-top: 24px; max-width: 480px;
      font-size: 1.05rem; color: var(--muted);
      opacity: 0; animation: fadeUp .8s .9s var(--ease) forwards;
    }
    .hero-actions {
      margin-top: 40px; display: flex; gap: 20px; align-items: center;
      opacity: 0; animation: fadeUp .8s 1.1s var(--ease) forwards;
    }
    .btn-primary {
      font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .2em;
      text-transform: uppercase; background: var(--accent); color: var(--bg);
      padding: 14px 32px; border: none; display: inline-block;
      transition: background .2s, transform .2s;
    }
    .btn-primary:hover { background: var(--head); transform: translateY(-2px); }
    .btn-ghost {
      font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--muted); display: inline-flex;
      align-items: center; gap: 8px; transition: color .2s;
    }
    .btn-ghost:hover { color: var(--head); }
    .btn-ghost svg { transition: transform .2s; }
    .btn-ghost:hover svg { transform: translateX(4px); }
    .btn-ghost span { color: var(--accent); font-size: 0.9rem; }
    .hero-scroll {
      position: absolute; right: 48px; bottom: 80px; z-index: 2;
      writing-mode: vertical-rl; font-family: var(--ff-mono);
      font-size: .6rem; letter-spacing: .25em; color: var(--muted);
      display: flex; align-items: center; gap: 12px;
    }
    .hero-scroll::after {
      content: ''; display: block; width: 1px; height: 60px;
      background: linear-gradient(var(--muted), transparent);
      animation: scrollLine 2s ease-in-out infinite;
    }
    .hero-num {
      position: absolute; left: 48px; bottom: 80px; z-index: 2;
      font-family: var(--ff-mono); font-size: .6rem;
      letter-spacing: .2em; color: var(--border);
    }

    /* ── SECTION SHARED ──────────────────────────────────────── */
    section { padding: 120px 48px; }
    .section-label {
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .3em;
      text-transform: uppercase; color: var(--accent);
      display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
    }
    .section-label::before {
      content: ''; display: block; width: 40px; height: 1px; background: var(--accent);
    }
    .section-title {
      font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300;
      color: var(--head); line-height: 1.1; margin-bottom: 60px;
    }
    .section-title em { font-style: italic; color: var(--accent); }

    /* ── STATS STRIP ─────────────────────────────────────────── */
    #stats {
      padding: 60px 48px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
    }
    .stat-item {
      background: var(--bg);
      padding: 40px 48px;
      text-align: center;
    }
    .stat-num {
      font-size: 3rem; font-weight: 300; color: var(--head);
      letter-spacing: -.02em; line-height: 1;
    }
    .stat-num span { color: var(--accent); }
    .stat-label {
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--muted); margin-top: 8px;
    }

    /* ── PORTFOLIO ───────────────────────────────────────────── */
    #portfolio { padding-bottom: 0; }
    .portfolio-filters {
      display: flex; gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
    }
    .filter-btn {
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em;
      text-transform: uppercase; background: none; border: none;
      color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent;
      transition: color .2s, border-color .2s;
    }
    .filter-btn:hover, .filter-btn.active {
      color: var(--accent); border-bottom-color: var(--accent);
    }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-auto-rows: 200px;
      gap: 4px;
    }
    .portfolio-item {
      overflow: hidden; position: relative;
      background: var(--surface);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: opacity .3s;
    }
    .portfolio-item.hidden { display: none; }
    .portfolio-item:nth-child(1)  { grid-column: span 7; grid-row: span 3; }
    .portfolio-item:nth-child(2)  { grid-column: span 5; grid-row: span 2; }
    .portfolio-item:nth-child(3)  { grid-column: span 5; grid-row: span 1; }
    .portfolio-item:nth-child(4)  { grid-column: span 4; grid-row: span 2; }
    .portfolio-item:nth-child(5)  { grid-column: span 4; grid-row: span 2; }
    .portfolio-item:nth-child(6)  { grid-column: span 4; grid-row: span 2; }
    .portfolio-item:nth-child(7)  { grid-column: span 5; grid-row: span 2; }
    .portfolio-item:nth-child(8)  { grid-column: span 7; grid-row: span 2; }
    .portfolio-item:nth-child(9)  { grid-column: span 6; grid-row: span 2; }
    .portfolio-item:nth-child(10) { grid-column: span 6; grid-row: span 2; }
    /* Placeholder photo colors */
    .portfolio-item:nth-child(1)  { background: linear-gradient(135deg, #2a1e14, #4a3322); }
    .portfolio-item:nth-child(2)  { background: linear-gradient(135deg, #1a1e2a, #2a3344); }
    .portfolio-item:nth-child(3)  { background: linear-gradient(135deg, #1e2a1a, #2a4022); }
    .portfolio-item:nth-child(4)  { background: linear-gradient(135deg, #2a1a1a, #44222a); }
    .portfolio-item:nth-child(5)  { background: linear-gradient(135deg, #1a241e, #223a2a); }
    .portfolio-item:nth-child(6)  { background: linear-gradient(135deg, #241a22, #3a2a38); }
    .portfolio-item:nth-child(7)  { background: linear-gradient(135deg, #221a10, #3a2a18); }
    .portfolio-item:nth-child(8)  { background: linear-gradient(135deg, #101a22, #182a3a); }
    .portfolio-item:nth-child(9)  { background: linear-gradient(135deg, #221e14, #3a3218); }
    .portfolio-item:nth-child(10) { background: linear-gradient(135deg, #1a2222, #22383a); }

    .portfolio-inner {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
      background: linear-gradient(transparent 40%, rgba(0,0,0,.7));
      opacity: 0; transition: opacity .35s var(--ease);
    }
    .portfolio-item:hover .portfolio-inner { opacity: 1; }
    .portfolio-category {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
    }
    .portfolio-name {
      font-size: 1.1rem; font-weight: 300; color: var(--head);
      font-style: italic;
    }
    /* Photo-like SVG overlays */
    .photo-svg {
      position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35;
    }
    .expand-icon {
      position: absolute; top: 16px; right: 16px;
      width: 32px; height: 32px; background: rgba(0,0,0,.5);
      border: 1px solid var(--accent); display: flex;
      align-items: center; justify-content: center;
      opacity: 0; transition: opacity .35s;
    }
    .portfolio-item:hover .expand-icon { opacity: 1; }

    /* ── LIGHTBOX ────────────────────────────────────────────── */
    #lightbox {
      position: fixed; inset: 0; z-index: 200;
      background: rgba(0,0,0,.96);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity .3s var(--ease);
    }
    #lightbox.open { opacity: 1; pointer-events: all; }
    .lightbox-content {
      max-width: 80vw; max-height: 80vh;
      display: flex; flex-direction: column; align-items: center;
      gap: 20px;
    }
    .lightbox-img-wrap {
      width: clamp(300px, 70vw, 900px);
      aspect-ratio: 3/2;
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .lightbox-img-wrap > div {
      width: 100%; height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .lightbox-meta { text-align: center; }
    .lightbox-title { font-size: 1.4rem; font-weight: 300; color: var(--head); font-style: italic; }
    .lightbox-cat { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em; color: var(--accent); }
    .lightbox-close {
      position: absolute; top: 32px; right: 40px;
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--muted);
      background: none; border: none;
      transition: color .2s;
    }
    .lightbox-close:hover { color: var(--head); }
    .lightbox-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: none; border: 1px solid var(--border);
      color: var(--muted); padding: 16px 20px;
      font-family: var(--ff-mono); font-size: .7rem;
      transition: border-color .2s, color .2s;
    }
    .lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
    #lb-prev { left: 32px; }
    #lb-next { right: 32px; }

    /* ── ABOUT ───────────────────────────────────────────────── */
    #about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: center;
    }
    .about-visual {
      position: relative;
    }
    .about-photo {
      width: 100%; aspect-ratio: 3/4;
      background: linear-gradient(160deg, #2a1e14, #1a1508, #3a2a1a);
      position: relative; overflow: hidden;
    }
    .about-photo::before {
      content: attr(data-initials);
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 8rem; font-weight: 300; color: rgba(201,169,110,.15);
      font-family: var(--ff-serif); font-style: italic;
    }
    .about-photo-accent {
      position: absolute; bottom: -20px; right: -20px;
      width: 60%; aspect-ratio: 1;
      border: 1px solid var(--border);
      background: var(--surface);
      display: flex; align-items: center; justify-content: center;
      padding: 24px;
    }
    .about-quote {
      font-size: 1rem; color: var(--muted); font-style: italic; line-height: 1.6;
    }
    .about-quote strong { display: block; margin-top: 12px;
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em;
      color: var(--accent); font-style: normal; font-weight: 400;
    }
    .about-quote strong span { color: var(--head); font-size: 0.8rem; }
    .about-text p {
      color: var(--body); line-height: 1.8; margin-bottom: 20px;
    }
    .about-text p span { color: var(--accent); font-size: 0.9rem; }
    .about-skills {
      margin-top: 40px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    }
    .skill-tag {
      font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .15em;
      text-transform: uppercase; color: var(--muted);
      border: 1px solid var(--border); padding: 10px 16px;
      transition: border-color .2s, color .2s;
    }
    .skill-tag:hover { border-color: var(--accent); color: var(--accent); }

    /* ── BLOG ────────────────────────────────────────────────── */
    #blog { background: var(--surface); }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }
    .blog-card {
      background: var(--bg); padding: 40px;
      border-bottom: 2px solid transparent;
      transition: border-color .3s, transform .3s var(--ease);
      display: flex; flex-direction: column;
    }
    .blog-card:hover { border-bottom-color: var(--accent); transform: translateY(-4px); }
    .blog-thumb {
      width: 100%; aspect-ratio: 16/9; margin-bottom: 28px;
      overflow: hidden; position: relative;
    }
    .blog-thumb-img {
      width: 100%; height: 100%;
    }
    .blog-thumb-img:nth-child(1) { background: linear-gradient(135deg, #1a1e2a, #2a3344); }
    .blog-thumb-2 { background: linear-gradient(135deg, #221a10, #3a2a18) !important; }
    .blog-thumb-3 { background: linear-gradient(135deg, #1a2222, #22383a) !important; }
    .blog-date {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .2em; color: var(--muted); margin-bottom: 12px;
    }
    .blog-title {
      font-size: 1.25rem; font-weight: 300; color: var(--head);
      font-style: italic; margin-bottom: 16px; line-height: 1.3;
    }
    .blog-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.7; flex: 1; }
    .blog-read {
      margin-top: 24px;
      font-family: var(--ff-mono); font-size: .6rem;
      letter-spacing: .2em; text-transform: uppercase;
      color: var(--accent); display: inline-flex;
      align-items: center; gap: 8px;
    }
    .blog-read svg { transition: transform .2s; }
    .blog-card:hover .blog-read svg { transform: translateX(4px); }

    /* ── CONTACT ─────────────────────────────────────────────── */
    #contact {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    }
    .contact-info h2 {
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 300; color: var(--head);
      line-height: 1.1; margin-bottom: 32px;
    }
    .contact-info h2 em { color: var(--accent); font-style: italic; }
    .contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
    .contact-details { display: flex; flex-direction: column; gap: 20px; }
    .contact-item {
      display: flex; align-items: center; gap: 16px;
    }
    .contact-icon {
      width: 40px; height: 40px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); flex-shrink: 0;
    }
    .contact-label {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
    }
    .contact-value { color: var(--body); }

    /* Form */
    .contact-form { display: flex; flex-direction: column; gap: 24px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-group { display: flex; flex-direction: column; gap: 8px; }
    .form-label {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
    }
    .form-input, .form-textarea {
      background: var(--surface); border: 1px solid var(--border);
      color: var(--body); padding: 14px 16px;
      font-family: var(--ff-serif); font-size: 1rem;
      transition: border-color .2s, background .2s;
      outline: none;
    }
    .form-input:focus, .form-textarea:focus {
      border-color: var(--accent); background: rgba(201,169,110,.04);
    }
    .form-textarea { resize: vertical; min-height: 140px; }
    .form-submit {
      font-family: var(--ff-mono); font-size: .65rem;
      letter-spacing: .2em; text-transform: uppercase;
      background: var(--accent); color: var(--bg);
      border: none; padding: 16px 40px;
      align-self: flex-start; transition: background .2s, transform .2s;
    }
    .form-submit:hover { background: var(--head); transform: translateY(-2px); }
    .form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
    .spinner {
      width: 16px; height: 16px;
      border: 2px solid var(--bg); border-top: 2px solid transparent;
      border-radius: 50%; animation: spin 1s linear infinite;
    }
    .form-msg {
      font-family: var(--ff-mono); font-size: .7rem;
      letter-spacing: .1em; padding: 12px 16px;
      display: none;
    }
    .form-msg.success { display: block; color: #7dbf7d; border: 1px solid #3a5a3a; }
    .form-msg.error   { display: block; color: #bf7d7d; border: 1px solid #5a3a3a; }

    /* ── FOOTER ──────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 60px 48px 40px;
      display: grid; grid-template-columns: 1fr auto 1fr;
      align-items: center; gap: 40px;
    }
    .footer-logo {
      font-family: var(--ff-serif); font-size: 1.2rem;
      font-weight: 300; color: var(--head);
    }
    .footer-logo span { color: var(--accent); font-size: 1rem; }
    .footer-copy {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .15em; color: var(--muted); text-align: center;
    }
    .footer-social { display: flex; gap: 20px; justify-content: flex-end; }
    .footer-social a {
      font-family: var(--ff-mono); font-size: .55rem;
      letter-spacing: .15em; text-transform: uppercase;
      color: var(--muted); transition: color .2s;
    }
    .footer-social a:hover { color: var(--accent); }

    /* ── BACK TO TOP ───────────────────────────────────────── */
    #back-to-top {
      position: fixed; bottom: 32px; right: 32px;
      width: 48px; height: 48px;
      background: var(--accent); color: var(--bg);
      border: none; border-radius: 50%;
      font-size: 1.2rem; font-weight: bold;
      cursor: none; opacity: 0; pointer-events: none;
      transition: opacity .3s, transform .3s;
      z-index: 100;
    }
    #back-to-top.show { opacity: 1; pointer-events: all; }
    #back-to-top:hover { transform: translateY(-2px); }

    /* ── SCROLL REVEAL ───────────────────────────────────────── */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .reveal.visible { opacity: 1; transform: none; }

    /* ── ANIMATIONS ──────────────────────────────────────────── */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    @keyframes scrollLine { 0%,100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
      50% { transform: scaleY(1); opacity: 1; } }    @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    /* ── MOBILE NAV ──────────────────────────────────────────── */
    @media (max-width: 900px) {
      nav {
        top: 12px;
        width: calc(100% - 24px);
        grid-template-columns: 1fr auto;
        padding: 0 14px 0 18px;
      }
      .nav-links { display: none; flex-direction: column; position: fixed; z-index: 99;
        top: calc(var(--nav-h) + 16px); left: 12px; right: 12px; background: rgba(12,11,9,.98);
        border: 1px solid rgba(201, 169, 110, .2);
        padding: 24px 20px; gap: 20px; }
      .nav-links.open { display: flex; }
      .nav-links a { font-size: .8rem; }
      .hamburger { display: flex; }
      section { padding: 80px 24px; }
      #hero { padding: 0; }
      .hero-content { padding: 0 24px 60px; }
      .hero-scroll, .hero-num { display: none; }
      #stats { grid-template-columns: repeat(2,1fr); padding: 0; }
      .stat-item { padding: 32px 24px; }
      #about { grid-template-columns: 1fr; gap: 48px; }
      .about-photo-accent { display: none; }
      .blog-grid { grid-template-columns: 1fr; }
      #contact { grid-template-columns: 1fr; gap: 48px; }
      .form-row { grid-template-columns: 1fr; }
      footer { grid-template-columns: 1fr; text-align: center; }
      .footer-social { justify-content: center; }
      .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
      }
      .portfolio-item { grid-column: span 1 !important; grid-row: span 1 !important; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      #cursor, #cursor-ring { display: none; }
      body, button, #back-to-top { cursor: auto; }
    }
    @media (pointer: coarse) {
      #cursor, #cursor-ring { display: none; }
      body, button, #back-to-top { cursor: auto; }
    }
    @media (max-width: 480px) {
      .portfolio-grid { grid-template-columns: 1fr; }
      .portfolio-item { grid-column: span 1 !important; grid-row: span 1 !important; }
      #stats { grid-template-columns: 1fr 1fr; }
    }