*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #F1F2F5;
    --surface: #FAFBFC;
    --text-primary: #1E2128;
    --text-secondary: #4A4D55;
    --text-muted: #6B6F78;
    --border: rgba(42,45,51,0.12);
    --shadow-sm: 0 1px 2px rgba(30,32,40,0.08), 0 4px 12px rgba(30,32,40,0.06);
    --shadow-md: 0 2px 4px rgba(30,32,40,0.1), 0 6px 18px rgba(30,32,40,0.08);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', system-ui, sans-serif;

    --c-build: #FFD84D;
    --c-build-dark: #6B5500;
    --c-strategize: #7FB8D4;
    --c-strategize-dark: #143A57;
    --c-operate: #A89BD8;
    --c-operate-dark: #35295F;

    --c-peach: #F5B79A;
    --c-peach-dark: #8C4520;
    --c-mint: #9FD8B4;
    --c-mint-dark: #2A5A4A;
    --c-pink: #F0A8B8;
    --c-pink-dark: #8B2F4E;

    --tape-build: rgba(255, 216, 77, 0.55);
    --tape-strategize: rgba(127, 184, 212, 0.5);
    --tape-operate: rgba(168, 155, 216, 0.5);
    --tape-peach: rgba(245, 183, 154, 0.55);

    --divider: #B8BAC0;
    --rotate-word-color: #4A3F7E;
  }

  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }

  /* NAV */
  nav {
    background: var(--surface);
    border-bottom: 0.5px solid var(--border);
    padding: 1.1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-name:hover { color: var(--text-secondary); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text-primary); }

  /* PAGE */
  .page {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2.5rem 5rem;
  }

  /* HERO */
  .hero {
    margin-bottom: 3rem;
  }
  .hero-text { max-width: 700px; }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.1rem;
  }

  h1.hero-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 5.5vw, 54px);
    line-height: 1.04;
    margin-bottom: 0.4rem;
    letter-spacing: 0.005em;
  }

  .hero-rotating {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(24px, 3.3vw, 31px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.75rem;
  }
  #rotating-word {
    color: var(--rotate-word-color);
    transition: opacity 0.32s ease, transform 0.32s ease;
    display: inline-block;
    min-width: 4px;
  }

  .hero-pitch {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    max-width: 480px;
  }

  /* PHOTO floats right within About me, tape + swap toggle */
  .photo-wrap {
    float: right;
    margin: 0.2rem 0 1rem 1.75rem;
    position: relative;
  }
  .photo-frame {
    position: relative;
    display: block;
    transform: rotate(1.2deg);
    cursor: pointer;
  }
  .photo-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);
    width: 72px;
    height: 18px;
    background: rgba(90, 95, 105, 0.35);
    z-index: 3;
  }
  .photo-frame img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    background: #E4E7EC;
    position: relative;
    z-index: 1;
    transition: opacity 220ms ease-out;
  }
  .photo-frame img.photo-alt {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }
  .photo-frame.is-flipped img.photo-main {
    opacity: 0;
  }
  .photo-frame.is-flipped img.photo-alt {
    opacity: 1;
  }
  .photo-caption {
    display: block;
    text-align: center;
    margin-top: 0.65rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
  }
  .photo-frame:hover + .photo-caption,
  .photo-caption:hover {
    color: var(--text-secondary);
  }
  @media (max-width: 640px) {
    .photo-wrap { float: none; margin: 0 0 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
    .photo-frame img { width: 200px; height: 200px; }
  }
  .photo-frame svg.sharpie-frame {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 196px;
    height: 232px;
    pointer-events: none;
    z-index: 2;
  }

  /* SQUIGGLE UNDER SECTION HEADERS */
  .divider {
    display: block;
    margin: 0.5rem 0 1.5rem;
    width: 180px;
    height: 24px;
    opacity: 0.55;
  }
  .divider svg { width: 100%; height: 100%; display: block; overflow: visible; }

  /* SECTION HEADERS */
  section { margin-bottom: 3.5rem; }
  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.75rem;
  }
  .section-header h2 {
    font-family: var(--font-display);
    font-size: 33px;
    font-weight: 600;
    letter-spacing: 0.005em;
  }
  .section-icon { flex-shrink: 0; opacity: 0.85; color: var(--text-primary); width: 32px; height: 32px; }

  .toolkit-tagline,
  .about-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--text-secondary);
    margin: -1rem 0 0.5rem;
    max-width: 540px;
  }

  /* ABOUT ME */
  .about-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
  }
  .about-body::after {
    content: '';
    display: block;
    clear: both;
  }
  .about-body p + p { margin-top: 1rem; }
  .about-body a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: var(--rotate-word-color);
    transition: color 0.2s;
  }
  .about-body a:hover { color: var(--rotate-word-color); }

  /* HIGHLIGHTER */
  .hl {
    background: linear-gradient(180deg, transparent 55%, rgba(255, 216, 77, 0.5) 55%, rgba(255, 216, 77, 0.5) 92%, transparent 92%);
    padding: 0 3px;
  }

  /* TOOLKIT */
  .category { margin-bottom: 2.5rem; }
  .category:last-child { margin-bottom: 0; }

  .anchor-sticky {
    display: inline-block;
    padding: 0.55rem 1.4rem 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border-radius: 2px;
  }
  .anchor-sticky p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    margin: 0;
    letter-spacing: 0;
  }
  .anchor-build { background: #FFE066; transform: rotate(-1.8deg); }
  .anchor-build p { color: var(--c-build-dark); }
  .anchor-strategize { background: #A9D4E8; transform: rotate(1.4deg); }
  .anchor-strategize p { color: var(--c-strategize-dark); }
  .anchor-operate { background: #C9BEEC; transform: rotate(-1.5deg); }
  .anchor-operate p { color: var(--c-operate-dark); }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 10px;
  }
  @media (max-width: 720px) {
    .grid { grid-template-columns: 1fr; gap: 20px; }
  }

  .card {
    position: relative;
    background: #FFFFFF;
    border: 0.5px solid var(--border);
    border-radius: 4px;
    padding: 1rem 1.05rem 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 180ms ease-out;
    cursor: default;
  }
  .card:hover {
    box-shadow: 0 4px 6px rgba(30,32,40,0.08), 0 16px 32px rgba(30,32,40,0.1);
  }
  .card::before {
    content: '';
    position: absolute;
    top: -9px;
    width: 44px;
    height: 14px;
    transition: opacity 180ms ease-out;
  }
  .card:hover::before { opacity: 0.5; }
  .card h3 {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .card h3 svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }
  .card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
  }
  .build-card h3 svg { color: var(--c-build-dark); }
  .strategize-card h3 svg { color: var(--c-strategize-dark); }
  .operate-card h3 svg { color: var(--c-operate-dark); }

  .build-card::before { background: var(--tape-build); }
  .strategize-card::before { background: var(--tape-strategize); }
  .operate-card::before { background: var(--tape-operate); }

  .grid .card:nth-child(1) { transform: rotate(-0.9deg); }
  .grid .card:nth-child(1):hover { transform: rotate(-0.2deg) translateY(-4px); }
  .grid .card:nth-child(1)::before { left: 30%; transform: rotate(-3deg); }
  .grid .card:nth-child(2) { transform: rotate(0.7deg); }
  .grid .card:nth-child(2):hover { transform: rotate(0.15deg) translateY(-4px); }
  .grid .card:nth-child(2)::before { left: 38%; transform: rotate(3deg); }
  .grid .card:nth-child(3) { transform: rotate(-0.5deg); }
  .grid .card:nth-child(3):hover { transform: rotate(-0.1deg) translateY(-4px); }
  .grid .card:nth-child(3)::before { left: 24%; transform: rotate(-2deg); }

  /* PROSE SECTIONS with inline header */
  .prose-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 0.6rem;
  }
  .prose-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
  }
  .prose-icon { opacity: 0.78; }
  .prose-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 560px;
  }
  .prose-body ul { padding-left: 1.15rem; }
  .prose-body li { line-height: 1.85; }

  /* FOOTER with pastel underlines */
  footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--border);
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 15px;
  }
  footer a {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.2s, text-decoration-color 0.2s;
  }
  footer a.link-email { text-decoration-color: var(--c-build); }
  footer a.link-email:hover { color: var(--c-build-dark); }
  footer a.link-linkedin { text-decoration-color: var(--c-strategize); }
  footer a.link-linkedin:hover { color: var(--c-strategize-dark); }
  footer a.link-resume { text-decoration-color: var(--c-operate); }
  footer a.link-resume:hover { color: var(--c-operate-dark); }
  .credits {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
  }
  .credits a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 400;
  }
  .credits a:hover { color: var(--text-secondary); }

  /* CONTACT FORM */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 520px;
    margin-top: 1.5rem;
  }
  .contact-form[hidden] { display: none; }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .form-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
  }
  .contact-form input,
  .contact-form textarea {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 3px;
    padding: 0.7rem 0.85rem;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .contact-form textarea {
    resize: vertical;
    min-height: 140px;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--c-strategize);
    box-shadow: 0 0 0 3px rgba(127, 184, 212, 0.2);
  }
  .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .form-submit {
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-build-dark);
    background: #FFE066;
    border: none;
    border-radius: 2px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transform: rotate(-1deg);
    transition: transform 180ms cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 180ms ease-out;
  }
  .form-submit:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .form-error {
    font-size: 14px;
    color: var(--c-pink-dark);
    margin-top: 0.25rem;
  }
  .form-success {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 28px;
    color: var(--text-primary);
    margin-top: 1.5rem;
  }

  @media (max-width: 640px) {
    nav { padding: 1rem 1.25rem; }
    .page { padding: 2.5rem 1.25rem 3rem; }
  }
