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

  :root {
    --ink: #0f0e0d;
    --ink-muted: #5a5850;
    --ink-faint: #9a9890;
    --paper: #f7f4ef;
    --paper-warm: #ede9e2;
    --accent: #c8521a;
    --accent-dark: #8f3710;
    --accent-pale: #f5e8e0;
    --rule: rgba(15,14,13,0.12);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background: rgba(247,244,239,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: 10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: var(--paper-warm);
    z-index: 0;
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
  }
  h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }
  h1 em {
    font-style: italic;
    color: var(--accent);
  }
  .hero-desc {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: background 0.2s, transform 0.2s;
  }
  .hero-cta:hover { background: var(--accent); transform: translateY(-2px); }
  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid var(--rule);
    transition: border-color 0.2s, color 0.2s;
  }
  .hero-cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

  .hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-left: 6rem;
  }
.stat-card {
    background: white;
    border: 1px solid var(--rule);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
  }
  .stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }
  .stat-card:hover::after { transform: scaleX(1); }
  .stat-number {
    font-family: var(--serif);
    font-size: 2.8rem;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 0.4rem;
  }
  .stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }

  /* SECTIONS */
  section { padding: 6rem 4rem; }
  .section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rule);
    max-width: 80px;
  }
  h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
  }

  /* ABOUT */
  .about { background: var(--ink); color: var(--paper); }
  .about .section-label { color: #c8521a; }
  .about .section-label::after { background: rgba(255,255,255,0.15); }
  .about h2 { color: var(--paper); }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .about-text {
    font-size: 1.05rem;
    color: rgba(247,244,239,0.75);
    line-height: 1.85;
  }
  .about-text p + p { margin-top: 1.25rem; }
  .skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .skill-group-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247,244,239,0.4);
    margin-bottom: 0.6rem;
  }
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(247,244,239,0.75);
    letter-spacing: 0.02em;
  }

  /* WORK */
  .work { background: var(--paper); }
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .work-card {
    background: white;
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }
  .work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,14,13,0.1);
  }
  .work-card-image {
    height: 200px;
    background: var(--paper-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .work-card-image svg { opacity: 0.5; }
  .work-card-body { padding: 1.5rem; }
  .work-card-category {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }
  .work-card-title {
    font-family: var(--serif);
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 0.75rem;
  }
  .work-card-desc {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }
  .work-card-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-dark);
    background: var(--accent-pale);
    padding: 0.3rem 0.6rem;
  }

  .work-card-image--photo {
    background-size: cover;
    background-position: top center;
    cursor: pointer;
  }
  .work-card-image--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.25s;
    pointer-events: none;
  }
  .work-card:hover .work-card-image--photo::after {
    background: rgba(0,0,0,0.08);
  }

  /* IMPACT */
  .impact { background: var(--accent); color: white; }
  .impact .section-label { color: rgba(255,255,255,0.6); }
  .impact .section-label::after { background: rgba(255,255,255,0.25); }
  .impact h2 { color: white; }
  .impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.2);
  }
  .impact-stat {
    background: var(--accent);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background 0.2s;
    min-width: 0;
  }
  .impact-stat:hover { background: var(--accent-dark); }
  .impact-number {
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
    color: white;
    margin-bottom: 0.5rem;
  }
  .impact-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    max-width: 140px;
    margin: 0 auto;
    line-height: 1.4;
  }

  /* EXPERIENCE */
  .experience { background: var(--paper-warm); }
  .exp-list { display: flex; flex-direction: column; gap: 0; }
  .exp-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
  }
  .exp-item:first-child { border-top: 1px solid var(--rule); }
  .exp-meta { padding-top: 0.2rem; }
  .exp-company {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
  }
  .exp-period {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    text-transform: uppercase;
  }
  .exp-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.75rem;
  }
  .exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .exp-bullets li {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    padding-left: 1rem;
    position: relative;
  }
  .exp-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.2rem;
  }

  /* CONTACT */
  .contact { background: var(--ink); text-align: center; }
  .contact .section-label { color: var(--accent); justify-content: center; }
  .contact .section-label::after { display: none; }
  .contact h2 { color: var(--paper); max-width: 600px; margin: 0 auto 1.5rem; }
  .contact-sub {
    font-size: 1rem;
    color: rgba(247,244,239,0.55);
    margin-bottom: 3rem;
  }
  .contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
  }
  .contact-link.primary {
    background: var(--accent);
    color: white;
  }
  .contact-link.primary:hover { background: #a84215; }
  .contact-link.secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(247,244,239,0.7);
  }
  .contact-link.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* FOOTER */
  footer {
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  footer p { font-size: 0.78rem; color: rgba(247,244,239,0.3); }

  /* ANIMATE */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }

  /* ICON placeholders (SVG illustrations in work cards) */
  .icon-email { color: var(--accent); }
  .icon-social { color: #1d9e75; }
  .icon-cms { color: #185fa5; }

  /* TQA SECTION */
  .tqa { background: #0d1117; color: white; padding: 6rem 4rem; }
  .tqa .section-label { color: #FFC700; }
  .tqa .section-label::after { background: rgba(240,201,48,0.25); }
  .tqa h2 { color: white; margin-bottom: 0.75rem; }
  .tqa-intro { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 680px; line-height: 1.8; margin-bottom: 0.5rem; }
  .tqa-role-note { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: #FFC700; margin-bottom: 3.5rem; display: flex; align-items: center; gap: 0.5rem; }
  .tqa-role-note::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FFC700; }
  .tqa-system-label, .tqa-gallery-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
  .tqa-formats { display: grid; grid-template-columns: 1fr 0.62fr 1.9fr; gap: 1rem; align-items: end; max-width: 700px; margin-bottom: 3.5rem; }
  .tqa-format-slot { background: #1a1f28; border: 1px solid rgba(240,201,48,0.2); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; }
  .tqa-format-slot.square { aspect-ratio: 1/1; }
  .tqa-format-slot.reel { aspect-ratio: 9/16; }
  .tqa-format-slot.landscape { aspect-ratio: 1200/630; }
  .tqa-placeholder-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; gap: 0.5rem; }
  .tqa-format-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,201,48,0.5); text-align: center; padding: 0.6rem; border-top: 1px solid rgba(240,201,48,0.1); width: 100%; background: rgba(240,201,48,0.04); }
  .tqa-format-dims { font-size: 0.65rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }
  .tqa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
  .tqa-post-slot { background: #1e2330; border: 1px solid rgba(255,199,0,0.12); aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; transition: border-color 0.2s, background 0.2s; position: relative; }
  .tqa-post-slot:hover { border-color: rgba(255,199,0,0.4); background: #252b3a; } .tqa-post-slot:hover .tqa-post-topic { color: #FFC700; }
  .tqa-post-topic { font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-align: left; width: 100%; }
  .tqa-post-placeholder-text { display: none; }
  .tqa-design-notes { margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .tqa-note { background: #1a1f28; border: 1px solid rgba(255,255,255,0.07); padding: 1.25rem 1.5rem; }
  .tqa-note-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #FFC700; margin-bottom: 0.5rem; opacity: 0.7; }
  .tqa-note-text { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

  /* YBA SECTION */
  .yba { background: var(--paper-warm); padding: 6rem 4rem; }
  .yba h2 { margin-bottom: 0.75rem; }
  .yba-intro { font-size: 1rem; color: var(--ink-muted); max-width: 680px; line-height: 1.8; margin-bottom: 0.5rem; }
  .yba-role-note { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 3.5rem; display: flex; align-items: center; gap: 0.5rem; }
  .yba-role-note::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .yba-meta-bar { display: flex; gap: 2.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
  .yba-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
  .yba-meta-value { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--ink); }
  .yba-meta-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
  .yba-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
  .yba-post-slot { aspect-ratio: 1/1; background: var(--paper); border: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; transition: border-color 0.2s, transform 0.2s; padding: 0.75rem; }
  .yba-post-slot:hover { border-color: var(--accent); transform: scale(1.02); }
  .yba-slot-num { font-family: var(--serif); font-size: 1.4rem; color: var(--ink-faint); opacity: 0.3; }
  .yba-slot-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); text-align: center; line-height: 1.4; }
  .yba-collab-bar { margin-top: 2rem; padding: 1.5rem 2rem; background: white; border: 1px solid var(--rule); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
  .yba-collab-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
  .yba-collab-names { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .yba-collab-name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-muted); letter-spacing: -0.01em; }


  /* MODAL */
  .modal-overlay { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(10,9,8,0.85); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 2rem; }
  .modal-overlay.open { display: flex; }
  .modal { background: #0d1117; border: 1px solid rgba(255,199,0,0.2); max-width: 900px; width: 100%; height: 450px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; position: relative; animation: modalIn 0.25s ease; }
  .modal.yba-modal { background: #f7f4ef; border: 1px solid rgba(15,14,13,0.12); }
  .modal.work-modal { background: #f7f4ef; border: 1px solid rgba(15,14,13,0.12); }
  .modal.work-modal .modal-campaign-tag { color: var(--accent); }
  .modal.work-modal .modal-campaign-tag::before { background: var(--accent); }
  .modal.work-modal .modal-title { color: #0f0e0d; }
  .modal.work-modal .modal-story { color: #5a5850; }
  .modal.work-modal .modal-hashtags { color: var(--accent); opacity: 0.6; }
  .modal.work-modal .modal-close { background: rgba(15,14,13,0.07); color: rgba(15,14,13,0.35); }
  .modal.work-modal .modal-close:hover { background: rgba(15,14,13,0.13); color: #0f0e0d; }
  .modal.work-modal .modal-visual { background: #ede9e2; }
  .modal.work-modal .modal-carousel-track img { background: #ede9e2; }
  @keyframes modalIn { from { opacity: 0; transform: scale(0.96) translateY(12px); } to { opacity: 1; transform: none; } }
  .modal-visual { background: #1a1f28; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; aspect-ratio: 1/1; }
  .modal-visual img { width: 100%; height: 100%; object-fit: contain; display: block; background: #1a1f28; position: absolute; inset: 0; }
  .modal-visual-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 2rem; width: 100%; height: 100%; min-height: 400px; }
  .modal-visual-placeholder svg { opacity: 0.25; }
  .modal-visual-placeholder span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(240,201,48,0.3); }
  .modal.yba-modal .modal-visual { background: #ede9e2; }
  .modal.yba-modal .modal-visual-placeholder span { color: rgba(15,14,13,0.25); }
  .modal-content { padding: 0; display: flex; flex-direction: column; overflow: hidden; height: 100%; }
  .modal-content-header { padding: 2rem 2rem 1rem; flex-shrink: 0; display: flex; flex-direction: column; gap: 1rem; }
  .modal-content-body-wrap { flex: 1; min-height: 0; overflow: hidden; }
  .modal-content-body { padding: 0 2rem 3rem; overflow-y: auto; height: 100%; }
  .modal-content-body::-webkit-scrollbar { width: 4px; }
  .modal-content-body::-webkit-scrollbar-track { background: transparent; }
  .modal-content-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 2px; }
  .modal-content-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }
  .modal.work-modal .modal-content-body::-webkit-scrollbar-thumb { background: rgba(15,14,13,0.15); }
  .modal.work-modal .modal-content-body::-webkit-scrollbar-thumb:hover { background: rgba(15,14,13,0.3); }
  .modal-content-footer { padding: 1rem 2rem 2rem; flex-shrink: 0; }
  
  .modal-campaign-tag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #FFC700; display: flex; align-items: center; gap: 0.5rem; }
  .modal-campaign-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FFC700; }
  .modal.yba-modal .modal-campaign-tag { color: #c8521a; }
  .modal.yba-modal .modal-campaign-tag::before { background: #c8521a; }
  .modal-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; color: white; letter-spacing: -0.01em; }
  .modal.yba-modal .modal-title { color: #0f0e0d; }
  .modal-story { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; white-space: pre-line; }
  .modal.yba-modal .modal-story { color: #5a5850; }
  .modal-hashtags { font-size: 0.78rem; color: rgba(255,199,0,0.55); line-height: 1.7; }
  .modal.yba-modal .modal-hashtags { color: #c8521a; opacity: 0.6; }
  .modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; background: rgba(255,255,255,0.07); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 1.2rem; transition: background 0.15s, color 0.15s; z-index: 10; border-radius: 2px; line-height: 1; }
  .modal-close:hover { background: rgba(255,255,255,0.15); color: white; }
  .modal.yba-modal .modal-close { background: rgba(15,14,13,0.07); color: rgba(15,14,13,0.35); }
  .modal.yba-modal .modal-close:hover { background: rgba(15,14,13,0.13); color: #0f0e0d; }
  .tqa-post-slot, .yba-post-slot { cursor: pointer; }

  /* CONTACT MODAL */
  .contact-modal-box {
    background: var(--paper);
    border: 1px solid var(--rule);
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalIn 0.25s ease;
    padding: 2.5rem 2.5rem 2rem;
  }
  .contact-modal-box .modal-close {
    background: rgba(15,14,13,0.07);
    color: rgba(15,14,13,0.35);
  }
  .contact-modal-box .modal-close:hover {
    background: rgba(15,14,13,0.13);
    color: #0f0e0d;
  }
  .contact-modal-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .contact-modal-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  .contact-modal-title {
    font-family: var(--serif);
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.4rem;
  }
  .contact-modal-sub {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-bottom: 2rem;
  }
  .contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
  }
  .contact-field label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .contact-field input,
  .contact-field textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: white;
    border: 1px solid var(--rule);
    padding: 0.7rem 1rem;
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
    resize: vertical;
    line-height: 1.6;
    -webkit-appearance: none;
  }
  .contact-field input:focus,
  .contact-field textarea:focus { border-color: var(--accent); }
  .contact-field input[aria-invalid="true"],
  .contact-field textarea[aria-invalid="true"] { border-color: #c0392b; }
  .contact-field-error {
    font-size: 0.75rem;
    color: #c0392b;
    min-height: 1em;
  }
  .contact-form-error-global {
    font-size: 0.82rem;
    color: #c0392b;
    margin-bottom: 0.75rem;
  }
  .contact-form-success {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.75;
    padding: 1rem 0 1.5rem;
  }
  .contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--paper);
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    width: 100%;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }
  .contact-submit:hover:not(:disabled) { background: var(--accent); }
  .contact-submit:disabled { opacity: 0.55; cursor: not-allowed; }

  @media (max-width: 900px) {
    nav { padding: 1rem 2rem; }
    .nav-links { gap: 1.25rem; }
    .hero { grid-template-columns: 1fr; padding: 6rem 2rem 4rem; }
    .hero-ctas { flex-direction: column; }
    .hero-cta, .hero-cta-secondary { text-align: center; justify-content: center; width: 100%; }
    .hero::before { display: none; }
    .hero-ctas { margin-bottom: 1rem; }
    .hero-stats { padding-left: 0; margin-top: 3rem; }
    .stat-card { padding: 1.25rem; }
    .stat-number { font-size: 2rem; }
    section { padding: 4rem 2rem; }
    .about-grid, .work-grid { grid-template-columns: 1fr; }
    .work-card-image { height: clamp(180px, 55vw, 260px); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-stat { padding: 1.75rem 1rem; }
    .impact-number { font-size: 2.4rem; }
    .exp-item { grid-template-columns: 1fr; gap: 0.75rem; }
    .tqa { padding: 4rem 2rem; }
    .tqa-formats { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .tqa-format-slot.reel { display: none; }
    .tqa-grid { grid-template-columns: repeat(2, 1fr); }
    .tqa-design-notes { grid-template-columns: 1fr; }
    .yba { padding: 4rem 2rem; }
    .yba-grid { grid-template-columns: repeat(2, 1fr); }
    footer { flex-direction: column; gap: 0.5rem; text-align: center; }
    .contact-modal-box { max-width: 100%; padding: 2rem 1.5rem 1.5rem; }
    .contact-modal-title { font-size: 1.5rem; }
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal { display: flex; flex-direction: column; width: 100%; height: 88vh; max-height: 88vh; border-radius: 0; overflow: hidden; }
    .modal-visual { height: 260px; min-height: 260px; max-height: 260px; aspect-ratio: unset; flex-shrink: 0; }
    .modal-visual-placeholder { min-height: 220px; }
    .modal-content { flex: 1; min-height: 0; overflow-y: auto; height: auto; }
    .modal-content-body { height: auto; overflow: visible; }
    .modal-content-body-wrap { flex: none; }
  }
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }
  nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0; right: 0;
      flex-direction: column;
      gap: 0;
      background: rgba(247,244,239,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--rule);
      padding: 0.25rem 1.25rem 1rem;
    }
    nav.nav-open .nav-links { display: flex; }
    nav.nav-open .nav-links li { border-bottom: 1px solid var(--rule); }
    nav.nav-open .nav-links li:last-child { border-bottom: none; }
    nav.nav-open .nav-links a {
      display: block;
      padding: 0.75rem 0;
      font-size: 0.85rem;
      letter-spacing: 0.07em;
    }
  }

  .modal-carousel { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
  .modal-carousel-track { width: 100%; height: 100%; position: relative; }
  .modal-carousel-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #1a1f28; opacity: 0; transition: opacity 0.3s ease; }
  .modal-carousel-track img.active { opacity: 1; }
  .modal-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,199,0,0.35); color: #FFC700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background 0.2s, border-color 0.2s; border-radius: 2px; }
  .modal-carousel-btn:hover { background: rgba(0,0,0,0.85); border-color: #FFC700; }
  .modal-carousel-btn.prev { left: 0.75rem; }
  .modal-carousel-btn.next { right: 0.75rem; }
  .modal-carousel-btn.hidden { opacity: 0; pointer-events: none; }
  .modal-carousel-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 10; }
  .modal-carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; border: none; padding: 0; transition: background 0.2s; }
  .modal-carousel-dot.active { background: #FFC700; }
  .modal-carousel-count { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); background: rgba(0,0,0,0.45); padding: 0.2rem 0.5rem; border-radius: 2px; z-index: 10; }
  .yba-post-slot { background-size: cover; background-position: center; }
  .yba-post-slot.has-image span { text-shadow: 0 1px 4px rgba(0,0,0,0.6); }