﻿
      /* ======================================================================
       1. DESIGN TOKENS
       Every color and spacing value lives here. Edit one line to retheme.
       ====================================================================== */
      :root {
        /* Palette - soft warm paper, high-contrast ink, coral accent */
        --bg: #fbfaf7;
        --bg-alt: #f4f1ea;
        --surface: #ffffff;
        --surface-2: #efece5;

        --text: #23272f;
        --text-muted: #5f6470;
        --text-soft: #8b919e;

        --border: #e8e3d9;

        --accent: #ff6b5e;
        --accent-ink: #d64a3e; /* darker coral for text on light bg */
        --accent-soft: #ffe8e4;

        --ring: #2563eb; /* keyboard focus ring */

        /* Spacing scale */
        --space-1: 4px;
        --space-2: 8px;
        --space-3: 12px;
        --space-4: 16px;
        --space-5: 24px;
        --space-6: 32px;
        --space-7: 48px;
        --space-8: 64px;
        --space-9: 96px;

        /* Layout + shape + motion */
        --nav-h: 72px;
        --container: 1080px;
        --radius-sm: 9px;
        --radius: 14px;
        --radius-lg: 22px;
        --shadow:
          0 1px 2px rgba(35, 39, 47, 0.06),
          0 12px 32px -16px rgba(35, 39, 47, 0.22);
        --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

        /* Fonts */
        --font-head: "DM Sans", system-ui, sans-serif;
        --font-body: "Inter", system-ui, sans-serif;
      }

      /* ======================================================================
       2. RESET & BASE
       ====================================================================== */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      * {
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
        scroll-padding-top: calc(var(--nav-h) + 14px); /* clears sticky nav */
        -webkit-text-size-adjust: 100%;
      }

      body {
        font-family: var(--font-body);
        font-size: 1.05rem;
        line-height: 1.65;
        color: var(--text);
        background: var(--bg);
      }

      img {
        max-width: 100%;
        display: block;
      }
      button {
        font: inherit;
        background: none;
        border: none;
        cursor: pointer;
      }
      a {
        color: inherit;
      }

      h1,
      h2,
      h3 {
        font-family: var(--font-head);
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-wrap: balance;
      }

      /* Respect motion preferences everywhere at once */
      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }
        *,
        *::before,
        *::after {
          animation: none !important;
          transition: none !important;
        }
      }

      /* ======================================================================
       3. ACCESSIBILITY - focus rings, skip link, sr-only
       ====================================================================== */
      :focus-visible {
        outline: 3px solid var(--ring);
        outline-offset: 3px;
        border-radius: 4px;
      }

      .skip-link {
        position: fixed;
        top: -60px;
        left: 16px;
        z-index: 200;
        padding: 10px 20px;
        background: var(--text);
        color: #fff;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
        transition: top 0.2s var(--ease);
      }
      .skip-link:focus {
        top: 16px;
      }

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
      }

      /* ======================================================================
       4. LAYOUT PRIMITIVES
       ====================================================================== */
      .container {
        width: 100%;
        max-width: var(--container);
        margin-inline: auto;
        padding-inline: var(--space-4);
      }
      @media (min-width: 768px) {
        .container {
          padding-inline: var(--space-6);
        }
      }
      @media (min-width: 1024px) {
        .container {
          padding-inline: var(--space-8);
        }
      }
      @media (min-width: 1440px) {
        .container {
          max-width: 1200px;
        }
      }

      .section {
        padding-block: clamp(64px, 10vw, 112px);
      }
      .section-alt {
        background: var(--bg-alt);
      }
      .center {
        text-align: center;
      }
      .center .section-sub {
        margin-inline: auto;
      }

      /* Eyebrow tag + shared section heading styles */
      .eyebrow {
        display: inline-block;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 0.78rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--accent-ink);
        margin-bottom: var(--space-2);
      }

      .section-title {
        font-size: clamp(1.9rem, 4.5vw, 2.7rem);
        font-weight: 700;
        margin-bottom: var(--space-4);
      }

      .section-sub {
        font-size: clamp(1rem, 1.6vw, 1.13rem);
        color: var(--text-muted);
        max-width: 56ch;
      }

      /* Title left + supporting copy right (for For-About/Work/Learning headers) */
      @media (min-width: 768px) {
        .section-head {
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          gap: var(--space-6);
          margin-bottom: var(--space-7);
        }
        .section-head .section-title {
          margin-bottom: 0;
        }
        .section-head .section-sub {
          margin-bottom: 6px;
        }
      }

      /* ======================================================================
       5. BUTTONS
       ====================================================================== */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        padding: 13px 24px;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.97rem;
        text-decoration: none;
        border-radius: 999px;
        border: 2px solid var(--text);
        background: var(--text);
        color: #fff;
        transition:
          transform 0.18s var(--ease),
          box-shadow 0.18s var(--ease),
          background 0.18s,
          color 0.18s,
          border-color 0.18s;
        white-space: nowrap;
      }
      .btn-primary {
        background: var(--accent);
        border-color: var(--accent);
        box-shadow: 0 10px 22px -10px rgba(255, 107, 94, 0.75);
      }
      .btn-primary:hover {
        box-shadow: 0 16px 30px -10px rgba(255, 107, 94, 0.85);
      }
      .btn-ghost {
        background: transparent;
        color: var(--text);
      }
      .btn-ghost:hover {
        background: var(--text);
        color: #fff;
      }
      @media (prefers-reduced-motion: no-preference) {
        .btn:hover,
        .btn:focus-visible {
          transform: translateY(-2px);
        }
      }

      /* ======================================================================
       6. STICKY NAV
       ====================================================================== */
      .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: color-mix(in srgb, var(--bg) 82%, transparent);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        transition: box-shadow 0.25s var(--ease);
      }
      .site-header.is-scrolled {
        box-shadow: var(--shadow);
      }

      .nav {
        height: var(--nav-h);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-4);
      }

      /* Logo: coral "TR" mark + wordmark */
      .logo {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 1.12rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
      }
      .logo-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: var(--accent);
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 0.95rem;
        transition: transform 0.2s var(--ease);
      }
      .logo:hover .logo-mark {
        transform: rotate(-8deg) scale(1.06);
      }

      .nav-links {
        display: none;
        list-style: none;
        gap: var(--space-5);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.95rem;
      }
      .nav-links a {
        text-decoration: none;
        color: var(--text-muted);
        padding: var(--space-2) 2px;
        position: relative;
        transition: color 0.18s;
      }
      .nav-links a:hover,
      .nav-links a.active {
        color: var(--text);
      }
      /* Underline sweep */
      .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 2px;
        height: 2px;
        border-radius: 2px;
        background: var(--accent);
        transition: right 0.22s var(--ease);
      }
      .nav-links a:hover::after,
      .nav-links a.active::after {
        right: 0;
      }

      /* Desktop "Hire Me" CTA */
      .nav-cta {
        display: none;
        padding: 9px 20px;
        font-size: 0.9rem;
        border-width: 2px;
      }
      .nav-cta.btn-primary:hover {
        transform: translateY(-1px);
      }

      /* Hamburger (mobile only). The .bar lines are absolute-positioned, so
       the toggle itself must be a positioning context. */
      .nav-toggle {
        position: relative;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .nav-toggle:hover {
        background: var(--surface);
      }
      .nav-toggle .bar {
        position: absolute;
        width: 18px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition:
          transform 0.25s var(--ease),
          opacity 0.2s var(--ease);
      }
      .nav-toggle [data-dir="up"] {
        transform: translateY(-5px);
      }
      .nav-toggle [data-dir="down"] {
        transform: translateY(5px);
      }
      /* Open state morphs the three lines into an X */
      .nav-toggle[aria-expanded="true"] [data-dir="up"] {
        transform: translateY(1px) rotate(45deg);
      }
      .nav-toggle[aria-expanded="true"] [data-dir="mid"] {
        opacity: 0;
      }
      .nav-toggle[aria-expanded="true"] [data-dir="down"] {
        transform: translateY(-1px) rotate(-45deg);
      }

      /* Mobile slide-down panel */
      .mobile-menu {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: var(--space-2) var(--space-4) var(--space-5);
        animation: menu-in 0.22s var(--ease);
      }
      .mobile-menu[hidden] {
        display: none;
      }
      @keyframes menu-in {
        from {
          opacity: 0;
          transform: translateY(-8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
      }
      .mobile-menu a {
        display: block;
        padding: var(--space-3) var(--space-2);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 1.02rem;
        text-decoration: none;
        border-radius: var(--radius-sm);
      }
      .mobile-menu a:hover {
        background: var(--surface);
      }
      .mobile-menu .btn {
        margin-top: var(--space-3);
        width: 100%;
      }

      @media (min-width: 1024px) {
        .nav-links {
          display: flex;
        }
        .nav-cta {
          display: inline-flex;
        }
        .nav-toggle {
          display: none;
        }
      }

      /* ======================================================================
       7. HERO
       ====================================================================== */
      .hero {
        position: relative;
        padding: clamp(64px, 9vw, 108px) 0 clamp(52px, 7vw, 84px);
        overflow: hidden;
      }
      /* Soft coral glow behind the hero (decorative) */
      .hero::before {
        content: "";
        position: absolute;
        width: 560px;
        height: 560px;
        right: -180px;
        top: -160px;
        background: radial-gradient(
          circle,
          rgba(255, 107, 94, 0.14),
          transparent 65%
        );
        pointer-events: none;
      }

      .hero-grid {
        position: relative;
        display: grid;
        gap: var(--space-6);
        align-items: center;
      }

      .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        background: var(--accent-soft);
        color: var(--accent-ink);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.86rem;
        padding: 7px 14px;
        border-radius: 999px;
      }
      .hero-eyebrow .pulse-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--accent);
      }
      @media (prefers-reduced-motion: no-preference) {
        .hero-eyebrow .pulse-dot {
          animation: pulse 2.4s infinite;
        }
      }
      @keyframes pulse {
        0%,
        100% {
          box-shadow: 0 0 0 0 rgba(255, 107, 94, 0.5);
        }
        55% {
          box-shadow: 0 0 0 7px rgba(255, 107, 94, 0);
        }
      }

      .hero-title {
        margin-top: var(--space-4);
        font-size: clamp(2.3rem, 6.5vw, 3.9rem);
        font-weight: 700;
      }
      .hero-title .accent {
        color: var(--accent-ink);
      }

      .hero-sub {
        margin-top: var(--space-4);
        font-size: clamp(1.04rem, 1.7vw, 1.18rem);
        color: var(--text-muted);
        max-width: 52ch;
      }

      .hero-actions {
        margin-top: var(--space-5);
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
      }

      .hero-meta {
        margin-top: var(--space-5);
        font-size: 0.95rem;
        color: var(--text-soft);
      }

      /* Illustrated avatar */
      .avatar-wrap {
        display: flex;
        justify-content: flex-start;
        max-width: 300px;
        margin-top: var(--space-2);
      }
      .avatar-wrap svg {
        width: 100%;
        height: auto;
        border-radius: 30px;
        box-shadow: var(--shadow);
        transform: rotate(-1.5deg);
        transition: transform 0.3s var(--ease);
      }
      .avatar-wrap:hover svg {
        transform: rotate(0deg) translateY(-4px);
      }

      @media (min-width: 768px) {
        .hero-grid {
          grid-template-columns: 1fr 300px;
          gap: var(--space-7);
        }
        .avatar-wrap {
          justify-self: end;
          margin-top: 0;
        }
      }

      /* ======================================================================
       8. ABOUT
       ====================================================================== */
      .about-text {
        max-width: 64ch;
        color: var(--text-muted);
        margin-bottom: var(--space-6);
      }
      .about-text strong {
        color: var(--text);
      }

      .edu-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-6);
        max-width: 700px;
      }
      .edu-card h3 {
        font-size: 1.12rem;
        margin-bottom: var(--space-1);
      }
      .edu-sub {
        color: var(--text-muted);
        margin-bottom: var(--space-4);
      }
      .edu-sub strong {
        color: var(--text);
      }
      .edu-label {
        color: var(--text-soft);
        font-size: 0.9rem;
        margin-bottom: var(--space-3);
      }

      /* ======================================================================
       9. WORK + FILTER
       ====================================================================== */
      .filter-zone {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-4) var(--space-5);
        margin-bottom: var(--space-6);
      }
      .filter-label {
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--text-muted);
      }

      .filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
      }

      /* Chip shared styles */
      .chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.88rem;
        border-radius: 999px;
        border: 1.5px solid var(--border);
        background: var(--surface);
        color: var(--text-muted);
        transition:
          background 0.18s var(--ease),
          color 0.18s,
          border-color 0.18s;
      }
      .chip:hover {
        border-color: var(--accent);
        color: var(--text);
      }
      .chip[aria-pressed="true"] {
        background: var(--text);
        border-color: var(--text);
        color: #fff;
      }

      .project-grid {
        display: grid;
        gap: var(--space-5);
      }
      @media (min-width: 768px) {
        .project-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      .project-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition:
          transform 0.25s var(--ease),
          box-shadow 0.25s var(--ease);
      }
      .project-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
      }
      .project-card.is-hidden {
        display: none;
      }

      /* Thumbnail block - generated SVG placeholder covers, swapped later */
      .thumb {
        position: relative;
        aspect-ratio: 16 / 9;
        background: var(--surface-2);
        overflow: hidden;
      }
      .thumb > svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transition: transform 0.4s var(--ease);
      }
      .project-card:hover .thumb > svg {
        transform: scale(1.045);
      }

      .project-body {
        padding: var(--space-5);
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        flex: 1;
      }

      .card-label {
        align-self: flex-start;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--accent-ink);
        background: var(--accent-soft);
        padding: 4px 10px;
        border-radius: 999px;
      }
      .card-title {
        font-size: 1.26rem;
        font-weight: 700;
      }
      .tools {
        font-size: 0.88rem;
        color: var(--text-soft);
      }
      .card-desc {
        font-size: 0.97rem;
        color: var(--text-muted);
      }

      .card-link {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        width: fit-content;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.94rem;
        color: var(--accent-ink);
        text-decoration: none;
      }
      .card-link .arr {
        transition: transform 0.18s var(--ease);
      }
      .card-link:hover .arr {
        transform: translateX(4px);
      }

      .no-results {
        grid-column: 1 / -1;
        text-align: center;
        padding: var(--space-7) var(--space-4);
        color: var(--text-muted);
        background: var(--surface);
        border: 1.5px dashed var(--border);
        border-radius: var(--radius-lg);
      }
      .no-results[hidden] {
        display: none;
      }

      /* ======================================================================
       10. SKILLS (three columns)
       ====================================================================== */
      .skill-grid {
        display: grid;
        gap: var(--space-5);
        margin-top: var(--space-7);
      }
      @media (min-width: 768px) {
        .skill-grid {
          grid-template-columns: repeat(3, 1fr);
        }
      }

      .skill-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-6) var(--space-5);
        transition:
          transform 0.25s var(--ease),
          box-shadow 0.25s var(--ease);
      }
      @media (prefers-reduced-motion: no-preference) {
        .skill-card:hover {
          transform: translateY(-4px);
          box-shadow: var(--shadow);
        }
      }
      .skill-card h3 {
        font-size: 1.12rem;
        margin-bottom: var(--space-4);
      }
      .skill-card h3 .mini {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        margin-right: 10px;
        font-size: 0.95rem;
        background: var(--accent-soft);
        color: var(--accent-ink);
      }

      .slist {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .tag {
        display: inline-block;
        background: var(--bg-alt);
        border: 1px solid var(--border);
        color: var(--text-muted);
        padding: 7px 13px;
        font-size: 0.88rem;
        border-radius: 999px;
        transition:
          border-color 0.16s var(--ease),
          color 0.16s;
      }
      .skill-card .tag:hover {
        border-color: var(--accent);
        color: var(--text);
      }

      /* ======================================================================
       11. PROCESS
       ====================================================================== */
      .process-grid {
        display: grid;
        gap: var(--space-4);
        margin-top: var(--space-7);
      }
      @media (min-width: 768px) {
        .process-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      .step {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-5);
        position: relative;
        transition:
          transform 0.25s var(--ease),
          box-shadow 0.25s var(--ease);
      }
      @media (prefers-reduced-motion: no-preference) {
        .step:hover {
          transform: translateY(-4px);
          box-shadow: var(--shadow);
        }
      }
      .step-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 1.1rem;
        color: #fff;
        background: var(--accent);
        margin-bottom: var(--space-4);
      }
      .step h3 {
        font-size: 1.08rem;
        margin-bottom: var(--space-2);
      }
      .step p {
        font-size: 0.93rem;
        color: var(--text-muted);
      }
      /* Dashed connector between steps on wide screens */
      @media (min-width: 1024px) {
        .step:not(:last-child)::after {
          content: "";
          position: absolute;
          top: 50%;
          right: -18px;
          width: 26px;
          height: 2px;
          background: repeating-linear-gradient(
            90deg,
            var(--border) 0 6px,
            transparent 6px 10px
          );
          transform: translateY(-50%);
        }
      }

      /* ======================================================================
       12. CURRENTLY LEARNING
       ====================================================================== */
      .learning-list {
        list-style: none;
        display: grid;
        gap: var(--space-3);
        max-width: 780px;
      }
      .learning-list li {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: var(--space-4);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: var(--space-4) var(--space-5);
        transition:
          transform 0.22s var(--ease),
          border-color 0.22s;
      }
      @media (prefers-reduced-motion: no-preference) {
        .learning-list li:hover {
          transform: translateX(4px);
          border-color: var(--accent);
        }
      }
      .learn-name {
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 1rem;
      }
      .learn-label {
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--accent-ink);
        white-space: nowrap;
        margin-top: 3px;
      }
      .learn-tip {
        display: inline-block;
        margin-top: var(--space-5);
        font-size: 0.88rem;
        color: var(--text-soft);
        border-left: 3px solid var(--accent);
        padding-left: var(--space-3);
      }

      /* ======================================================================
       12b. CREATIONS — fun live apps
       ====================================================================== */
      .creations {
        padding-bottom: clamp(64px, 9vw, 104px);
      }

      .creation-grid {
        display: grid;
        gap: var(--space-5);
        margin-top: var(--space-7);
      }
      @media (min-width: 768px) {
        .creation-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (min-width: 1024px) {
        .creation-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      .creation-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition:
          transform 0.25s var(--ease),
          box-shadow 0.25s var(--ease);
      }
      @media (prefers-reduced-motion: no-preference) {
        .creation-card:hover {
          transform: translateY(-5px);
          box-shadow: var(--shadow);
        }
      }

      .creation-thumb {
        position: relative;
        aspect-ratio: 16 / 9;
        background: var(--surface-2);
        overflow: hidden;
      }
      .creation-thumb > svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transition: transform 0.4s var(--ease);
      }
      .creation-card:hover .creation-thumb > svg {
        transform: scale(1.045);
      }

      .creation-body {
        padding: var(--space-5);
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        flex: 1;
      }

      .creation-title {
        font-size: 1.26rem;
        font-weight: 700;
      }
      .creation-desc {
        font-size: 0.95rem;
        color: var(--text-muted);
      }

      .creation-meta {
        margin-top: auto;
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
      }

      .creation-link {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        width: fit-content;
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.94rem;
        color: var(--accent-ink);
        text-decoration: none;
      }
      .creation-link .arr {
        transition: transform 0.18s var(--ease);
      }
      .creation-link:hover .arr {
        transform: translateX(4px);
      }

      /* ======================================================================
       13. CONTACT (full-bleed dark) + FOOTER
       ====================================================================== */
      .contact-section {
        background: var(--text);
        color: #e9ecf2;
        padding-top: clamp(64px, 8vw, 96px);
      }
      .contact-section .eyebrow {
        color: #ffb2a8;
      }
      .contact-title {
        color: #fff;
      }
      .contact-blurb {
        color: #b9becb;
        max-width: 46ch;
      }
      .contact-blurb a {
        color: #fff;
        font-weight: 600;
      }

      .contact-grid {
        display: grid;
        gap: var(--space-7);
        margin-top: var(--space-6);
      }
      @media (min-width: 900px) {
        .contact-grid {
          grid-template-columns: 1fr 400px;
          gap: var(--space-8);
          align-items: start;
        }
      }

      .contact-links {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
        margin-top: var(--space-6);
      }
      .contact-links .btn {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.35);
        color: #fff;
      }
      .contact-links .btn:hover {
        border-color: var(--accent);
        color: #ffb2a8;
      }

      .contact-form {
        display: grid;
        gap: var(--space-4);
      }
      .field {
        display: grid;
        gap: 6px;
      }
      .field label {
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 0.9rem;
        color: #dfe3ec;
      }
      .field label .req {
        color: #ffb2a8;
      }
      .field input,
      .field textarea {
        font: inherit;
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border: 1.5px solid rgba(255, 255, 255, 0.22);
        border-radius: var(--radius-sm);
        padding: 12px 14px;
        transition:
          border-color 0.18s,
          background 0.18s;
      }
      .field input::placeholder,
      .field textarea::placeholder {
        color: #878d9c;
      }
      .field input:focus,
      .field textarea:focus {
        outline: none;
        border-color: #ffb2a8;
        background: rgba(255, 255, 255, 0.13);
      }
      .field input[aria-invalid="true"],
      .field textarea[aria-invalid="true"] {
        border-color: #ff6b6b;
      }
      .error-msg {
        display: none;
        font-size: 0.85rem;
        color: #ff9d95;
      }
      .field.invalid .error-msg {
        display: block;
        animation: err-in 0.18s ease;
      }
      @keyframes err-in {
        from {
          transform: translateY(-3px);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }
      .contact-form .btn-primary {
        margin-top: var(--space-2);
        justify-self: start;
        background: var(--accent);
        border-color: var(--accent);
      }

      .form-fallback {
        display: none;
        margin-top: var(--space-3);
        font-size: 0.87rem;
        color: #878d9c;
      }
      .form-fallback.is-active {
        display: block;
        animation: err-in 0.2s ease;
      }
      .form-fallback a {
        color: #fff;
      }

      .footer {
        background: var(--text);
        color: #8a90a0;
        padding: var(--space-2) 0 var(--space-6);
      }
      .footer-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        font-size: 0.92rem;
      }
      .footer-links {
        list-style: none;
        display: flex;
        gap: var(--space-4);
      }
      .footer-links a {
        color: #b9becb;
        text-decoration: none;
      }
      .footer-links a:hover {
        color: #fff;
      }
      .footer .heart {
        color: var(--accent);
      }

      /* ======================================================================
       14. TINY SCREENS (<= 480px)
       ====================================================================== */
      @media (max-width: 480px) {
        .hero-actions .btn {
          flex: 1 1 auto;
          justify-content: center;
        }
        .filter-zone {
          align-items: flex-start;
          flex-direction: column;
        }
        .section-head {
          margin-bottom: var(--space-6);
        }
        .learning-list li {
          flex-direction: column;
          gap: var(--space-2);
        }
      }
    