/* Online portfolio theme. */
@media screen {
  :root {
    color-scheme: dark;
    --ink: #edf3ef;
    --paper: #101615;
    --paper-deep: #151e1b;
    --acid: #b6e6c6;
    --line: #33423c;
    --muted: #b1bdb6;
    --surface: #18211d;
    --font-geist-sans: 'Geist';
    --font-geist-mono: 'Geist Mono';
    --hero-art: url('/work-samples/player-spoiler.png');
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 110px; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-geist-sans), 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  a:focus-visible, blockquote:focus-visible { outline: 2px solid var(--acid); outline-offset: 6px; border-radius: 3px; }
  ::selection { color: #101615; background: var(--acid); }
  h1, h2, h3, h4, h5, p { margin-top: 0; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  .nav-shell { position: sticky; top: 0; z-index: 20; background: #101615ed; backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
  .nav { width: min(1240px, calc(100% - 80px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .wordmark { font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; }
  .wordmark span { color: var(--acid); }
  .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .875rem; font-weight: 500; color: var(--muted); }
  .nav-links a, .community-links a { padding: 6px 0; transition: color 180ms; }
  .nav-links a:hover, .community-links a:hover { color: var(--acid); }
  .nav-links a::after, .community-links a::after { display: none; }
  .nav-cta { padding: 9px 20px; flex-shrink: 0; border: 1px solid #61796b; border-radius: 6px; font-size: .875rem; font-weight: 600; transition: background 180ms; }
  .nav-cta:hover { background: var(--acid); color: #101615; }
  .hero { position: relative; isolation: isolate; min-height: auto; padding: 100px max(40px, calc((100% - 1240px)/2)) 0; display: block; overflow: hidden; background: radial-gradient(ellipse at 95% 10%, #294b363d, transparent 55%), #101615; }
  .hero-grid { max-width: none; padding-bottom: 76px; position: relative; }
  .hero-grid::after { content: ''; position: absolute; z-index: -1; right: -44px; top: 32px; width: 33%; height: 405px; border: 1px solid #46604f; border-radius: 14px; background-color: #161c20; background-image: linear-gradient(0deg, #10161533, transparent 70%), var(--hero-art); background-size: cover; background-position: 40% center; box-shadow: 0 28px 85px #0008; transform: rotate(4deg); }
  .eyebrow, .section-kicker, .mini-label, .case-tag, .experience-meta, .sample-label { font-family: var(--font-geist-mono), Consolas, monospace; font-size: .8125rem; font-weight: 500; line-height: 1.65; letter-spacing: .09em; }
  .eyebrow { display: flex; gap: 12px; align-items: center; color: var(--acid); margin-bottom: 32px; }
  .status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px #b6e6c610; }
  h1 { max-width: 820px; margin-bottom: 30px; font-size: clamp(3.5rem, 6.3vw, 6rem); font-weight: 550; line-height: 1.02; letter-spacing: -.06em; }
  h1 em, .contact-section h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--acid); }
  .hero-copy { max-width: 690px; padding-right: 32px; margin-bottom: 32px; font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .button { min-width: 150px; display: inline-flex; justify-content: center; align-items: center; padding: 13px 25px; border-radius: 6px; font-size: .9375rem; font-weight: 650; transition: transform 180ms, background 180ms; }
  .button:hover { transform: translateY(-2px); }
  .button-primary { background: var(--acid); color: #122019; border: 1px solid var(--acid); }
  .button-primary:hover { background: #d1f2dc; }
  .button-secondary { border: 1px solid #506157; color: var(--ink); background: #101615; }
  .button-secondary:hover { background: var(--surface); }
  .stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat, .stat:not(:first-child) { padding: 30px 28px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat strong { color: var(--acid); font-size: clamp(2.3rem, 3.8vw, 3.5rem); letter-spacing: -.055em; line-height: 1.1; font-weight: 500; }
  .stat span { max-width: 220px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
  .section { padding: 110px max(40px, calc((100% - 1240px)/2)); }
  .work-section { background: var(--paper); color: var(--ink); }
  .section-heading { max-width: 850px; margin-bottom: 48px; }
  .section-kicker, .work-section .section-kicker { color: var(--acid); margin-bottom: 18px; }
  .section-heading h2, .experience-intro h2, .evidence-heading h2, .testimonials-heading h2, .contact-section h2 { margin-bottom: 24px; font-weight: 500; font-size: clamp(2.3rem, 4.1vw, 4rem); line-height: 1.12; letter-spacing: -.05em; }
  .section-heading > p:last-child, .evidence-heading > p, .qa-intro > p:last-child, .testimonials-heading > p { max-width: 670px; color: var(--muted); font-size: 1rem; }
  .cases { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; border: 0; }
  .case { position: relative; padding: 34px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(140deg, #1c2921, #151d19 70%); transition: border-color 200ms; }
  .case:hover { border-color: #658371; }
  .case-index { color: #8ca698; font-family: var(--font-geist-mono), monospace; font-size: .875rem; }
  .case-body { flex: 1; display: flex; flex-direction: column; }
  .case-tag { color: var(--acid); margin-bottom: 12px; }
  .case h3 { margin-bottom: 26px; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 550; }
  .case-story { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .case-story h4 { margin: 0 0 5px; font-size: .875rem; color: #edf3ef; font-weight: 650; }
  .case-story p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
  .proof-list { margin: auto 0 0; padding: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
  .proof-list li { padding: 6px 10px; border: 1px solid #3b5144; border-radius: 4px; color: #c7ddcf; background: #b6e6c607; font-family: inherit; font-size: .875rem; }
  .evidence { padding-top: 112px; }
  .evidence-heading, .testimonials-heading { margin-bottom: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
  .evidence-heading h2, .testimonials-heading h2 { margin-bottom: 0; }
  .sample-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .sample-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .sample-wide { grid-column: 1/-1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; }
  .sample-image-shell { min-width: 0; min-height: 0; padding: 20px; display: grid; place-items: center; background: #0b1110; }
  .sample-card img, .sample-card:not(.sample-wide) img { width: 100%; height: auto; min-height: 0; display: block; object-fit: contain; border-radius: 5px; }
  .sample-card:not(.sample-wide) .sample-image-shell { height: 370px; }
  .sample-card:not(.sample-wide) img { max-height: 330px; }
  .sample-card figcaption { padding: 30px; }
  .sample-label { color: var(--acid); margin-bottom: 14px; }
  .sample-card h3 { margin-bottom: 14px; font-size: 1.6rem; line-height: 1.25; letter-spacing: -.03em; font-weight: 550; }
  .sample-card figcaption > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
  .qa-sample { margin-top: 92px; padding-top: 64px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 68px; border-top: 1px solid var(--line); }
  .qa-intro h3 { margin-bottom: 24px; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
  .bug-report { padding: 32px; border: 1px solid #496451; border-radius: 12px; background: #19241e; box-shadow: none; }
  .bug-report-header { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .bug-report-header span { padding: 5px 8px; border: 1px solid #4b6354; border-radius: 4px; color: var(--acid); font: .75rem/1.6 var(--font-geist-mono), monospace; letter-spacing: .03em; }
  .bug-report h4 { margin: 0 0 28px; font-size: 1.6rem; line-height: 1.35; letter-spacing: -.03em; }
  .bug-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 28px; }
  .bug-meta div { padding-top: 12px; border-top: 1px solid var(--line); }
  .bug-meta dt, .bug-report h5 { margin: 0 0 8px; font-size: .875rem; color: #edf3ef; letter-spacing: 0; text-transform: none; }
  .bug-meta dd, .bug-detail li, .behavior-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
  .bug-detail { margin-bottom: 28px; }
  .bug-detail ol { margin: 0; padding-left: 22px; }
  .bug-detail li + li { margin-top: 8px; }
  .behavior-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .behavior-grid > div { padding: 18px; border-left: 2px solid #8aa796; border-radius: 0 6px 6px 0; background: #ffffff05; }
  .bug-note { margin: 24px 0 0; color: #a6b4ab; font-size: .875rem; font-style: italic; }
  .experience-section { background: #e5ece7; color: #182820; --muted: #4b5c51; --line: #bdcbc1; --acid: #285b3e; }
  .experience-intro { max-width: 850px; margin-bottom: 44px; }
  .experience-card { border-top: 1px solid #738879; border-bottom: 1px solid var(--line); }
  .experience-meta { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
  .experience-main { padding: 38px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .experience-main h3 { margin-bottom: 10px; font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 550; }
  .experience-subtitle, .experience-main > p { color: var(--muted); font-size: 1rem; }
  .experience-main > p { margin: 0; line-height: 1.85; }
  .community-links { display: flex; flex-wrap: wrap; gap: 28px; padding: 18px 0; font-size: .9375rem; font-weight: 600; }
  .community-links a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #799585; }
  .capabilities { padding: 70px 0 50px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
  .capabilities h3 { max-width: 380px; font-size: clamp(2rem,3vw,3rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 500; }
  .capabilities ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
  .capabilities li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
  .tools-languages { padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; }
  .mini-label { margin-bottom: 12px; }
  .tools-languages p:last-child { color: var(--muted); }
  .testimonials-section { background: #121b17; }
  .testimonial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .testimonial-card, .testimonial-card:nth-child(4n+1), .testimonial-card:nth-child(4n+4) { height: 420px; margin: 0; padding: 30px; display: flex; flex-direction: column; gap: 24px; border: 1px solid #35473d; border-radius: 12px; background: #1a2720; color: var(--ink); }
  .testimonial-card blockquote { flex: 1; min-height: 0; margin: 0; padding-right: 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #8ca995 #ffffff09; }
  .testimonial-card:nth-child(n) blockquote { scrollbar-color: #8ca995 #ffffff09; }
  .testimonial-card blockquote::before, .testimonial-card:nth-child(n) blockquote::before { content: '"'; display: block; height: 35px; font: 3.6rem/1 Georgia, serif; color: var(--acid); }
  .testimonial-card blockquote p { margin: 0; white-space: pre-line; font-size: 1rem; line-height: 1.85; letter-spacing: 0; }
  .testimonial-card blockquote::-webkit-scrollbar { width: 6px; }
  .testimonial-card:nth-child(n) blockquote::-webkit-scrollbar-track { background: #ffffff09; }
  .testimonial-card:nth-child(n) blockquote::-webkit-scrollbar-thumb { background: #8ca995; border-radius: 8px; }
  .testimonial-card figcaption, .testimonial-card:nth-child(n) figcaption { padding-top: 19px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #3b5144; }
  .testimonial-card figcaption strong { font-size: 1rem; }
  .testimonial-card figcaption span, .testimonial-card:nth-child(n) figcaption span { color: #b2c6b9; font-family: inherit; font-size: .875rem; letter-spacing: 0; text-transform: none; }
  .contact-section { padding: 100px max(40px, calc((100% - 1240px)/2)); background: #203a2b; border-top: 1px solid #3d5b47; }
  .contact-section h2 { max-width: 950px; }
  .contact-section > p:not(.section-kicker) { max-width: 640px; color: #c0d3c5; font-size: 1.125rem; }
  .contact-email { display: inline-flex; margin-top: 24px; padding-bottom: 10px; border-bottom: 1px solid #a0c7ad; font-size: clamp(1.1rem,2.5vw,2rem); font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; max-width: 100%; }
  footer { padding: 28px max(40px, calc((100% - 1240px)/2)); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); background: #0d1410; font-size: .875rem; }
  .offline-badge { color: #c7ddcf; background: #203a2b; border-color: #496451; }
  @media (min-width: 1500px) { .hero-grid::after { right: 0; width: 31%; } }
  @media (max-width: 1100px) {
    .nav { gap: 20px; }
    .nav-links { gap: 16px; }
    .hero-grid::after { opacity: .25; width: 42%; right: 0; }
    .hero-copy { max-width: 700px; }
    .case { padding: 26px; }
    .qa-sample, .capabilities { gap: 36px; }
  }
  @media (max-width: 820px) {
    html { scroll-padding-top: 145px; }
    .nav { width: calc(100% - 40px); padding: 15px 0 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
    .nav-links { grid-column: 1/-1; grid-row: 2; display: flex; flex-wrap: nowrap; gap: 22px; overflow-x: auto; padding-bottom: 3px; font-size: .875rem; }
    .nav-links a { flex-shrink: 0; }
    .nav-cta { justify-self: end; }
    .hero { padding: 64px 24px 0; }
    .hero-grid { padding-bottom: 48px; }
    .hero-grid::after { display: none; }
    h1 { font-size: clamp(3rem,8vw,4.5rem); max-width: 720px; }
    .hero-copy { padding-right: 0; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat, .stat:not(:first-child) { padding: 24px 20px; border-bottom: 1px solid var(--line); }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat:nth-child(even) { border-right: 0; }
    .stat:nth-child(n+3) { border-bottom: 0; }
    .section { padding: 72px 24px; }
    .cases, .experience-main, .capabilities, .evidence-heading, .qa-sample, .testimonials-heading { grid-template-columns: 1fr; }
    .case { padding: 28px; }
    .case-story { gap: 20px; }
    .evidence-heading, .qa-sample, .testimonials-heading, .experience-main { gap: 24px; }
    .sample-wide { grid-template-columns: 1fr; }
    .sample-card:not(.sample-wide) .sample-image-shell { height: 290px; }
    .sample-card:not(.sample-wide) img { max-height: 250px; }
    .evidence { padding-top: 76px; }
    .qa-sample { margin-top: 64px; padding-top: 40px; }
    .capabilities { padding: 48px 0 36px; gap: 20px; }
    .testimonial-card { padding: 24px; }
    .contact-section { padding: 72px 24px; }
    footer { padding: 24px; }
  }
  @media (max-width: 560px) {
    .hero { padding-top: 44px; }
    h1 { font-size: clamp(2.55rem,10.5vw,3.5rem); line-height: 1.08; letter-spacing: -.055em; }
    .eyebrow { font-size: .75rem; letter-spacing: .035em; gap: 10px; }
    .hero-copy { font-size: 1rem; }
    .stat strong { font-size: 2.25rem; }
    .sample-grid, .testimonial-grid, .tools-languages, .bug-meta, .behavior-grid { grid-template-columns: 1fr; }
    .sample-wide { grid-column: auto; }
    .sample-card:not(.sample-wide) .sample-image-shell { height: auto; }
    .sample-card:not(.sample-wide) img { max-height: none; }
    .sample-card figcaption, .bug-report, .case { padding: 24px; }
    .capabilities ul { grid-template-columns: 1fr; }
    .testimonial-card, .testimonial-card:nth-child(n) { height: 400px; padding: 24px; }
    .experience-meta, footer { display: flex; flex-direction: column; gap: 8px; }
    .tools-languages { gap: 20px; }
    .community-links { gap: 14px 24px; }
  }
  /* Recruiter-facing refinements retain the established visual direction. */
  .wordmark { display: flex; flex-direction: column; flex-shrink: 0; gap: 3px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
  .wordmark .wordmark-name { font-size: 1rem; letter-spacing: -.025em; color: var(--ink); }
  .wordmark .wordmark-alias { font-size: .8125rem; color: var(--muted); font-weight: 400; letter-spacing: .025em; }
  .hero { padding-top: 76px; background: #101615; }
  .hero-grid { padding-bottom: 64px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); column-gap: 64px; align-items: start; }
  .hero-grid > * { grid-column: 1; min-width: 0; }
  .hero-grid::after { content: none; }
  .hero-identity { margin-bottom: 22px; color: var(--ink); font-size: 1rem; line-height: 1.6; font-weight: 600; }
  .hero-identity span { display: block; color: var(--muted); font-size: .9375rem; font-weight: 400; }
  .hero-sample { grid-column: 2; grid-row: 1 / 6; align-self: center; margin: 0; overflow: hidden; border: 1px solid #3c5144; border-radius: 8px; background: #17211b; box-shadow: 0 18px 48px #0003; }
  .hero-sample img { display: block; width: 100%; height: auto; }
  .hero-sample figcaption { padding: 18px 20px; font-size: .9375rem; font-weight: 600; border-top: 1px solid #3c5144; }
  .hero-sample figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; font-weight: 400; }
  .skip-link { position: fixed; z-index: 30; left: 20px; top: 12px; transform: translateY(-150%); padding: 12px 18px; border-radius: 5px; background: var(--acid); color: #101615; font-weight: 600; }
  .skip-link:focus { transform: translateY(0); }
  .eyebrow { margin-bottom: 24px; }
  h1 { margin-bottom: 26px; font-size: clamp(2.8rem, 4.5vw, 4.5rem); line-height: 1.1; letter-spacing: -.045em; }
  .hero-copy { padding-right: 0; margin-bottom: 30px; font-size: 1.0625rem; }
  .section { padding-top: 92px; padding-bottom: 92px; }
  .case { padding: 32px; gap: 14px; border-radius: 8px; background: #17211c; }
  .case-index { color: #a1b7aa; font-variant-numeric: tabular-nums; }
  .case h3 { font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.28; letter-spacing: -.03em; }
  .proof-list li { background: transparent; }
  .sample-card, .bug-report, .testimonial-card:nth-child(n) { border-radius: 8px; }
  .testimonial-card blockquote p { line-height: 1.8; overflow-wrap: anywhere; }
  .section-heading h2, .experience-intro h2, .evidence-heading h2, .testimonials-heading h2, .contact-section h2 { font-size: clamp(2.2rem,3.5vw,3.5rem); line-height: 1.16; letter-spacing: -.04em; }
  .stat strong { font-variant-numeric: tabular-nums; }
  .hero-actions a, .nav-cta { min-height: 44px; }
  @media (max-width: 1100px) {
    .nav { gap: 18px; width: calc(100% - 48px); }
    .nav-links { gap: 14px; }
    .hero-grid { column-gap: 36px; }
  }
  @media (max-width: 820px) {
    .nav { width: calc(100% - 40px); gap: 10px; }
    .nav-links { gap: 22px; }
    .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
    .hero { padding-top: 48px; }
    .hero-grid { padding-bottom: 48px; grid-template-columns: 1fr; }
    .hero-sample { display: none; }
    h1 { font-size: clamp(2.8rem,7vw,4rem); }
    .section { padding-top: 68px; padding-bottom: 68px; }
    .case { padding: 26px; }
  }
  @media (max-width: 560px) {
    h1 { font-size: clamp(2.45rem,10vw,3.4rem); }
    .hero-copy { font-size: 1rem; }
    .case { padding: 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}
