/* Shared public design system. Keep theme values here, not in individual pages. */
:root {
    color-scheme: light;
    --canvas: #fafbfc; --surface: #fff; --soft: #eff1f3; --ink: #202326;
    --muted: #626a73; --quiet: #707984; --line: #dfe3e6; --accent: #285bd1;
    --accent-soft: #eaf0ff; --positive: #257447; --negative: #ba3030;
    --bg-primary: var(--canvas); --bg-secondary: var(--soft); --bg-card: var(--surface);
    --text-primary: var(--ink); --text-secondary: var(--muted); --text-muted: var(--quiet);
    --border-color: var(--line); --space-xl: 32px; --space-lg: 24px; --space-md: 16px;
}
[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #141617; --surface: #1c1e20; --soft: #232629; --ink: #f2f4f5;
    --muted: #b0b7bf; --quiet: #9aa3ae; --line: #353a40; --accent: #94b4ff;
    --accent-soft: #202e48; --positive: #8bd2a2; --negative: #ffa5a5;
}
*, *::before, *::after { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
button { color: inherit; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { line-height: 1.16; text-wrap: balance; }
h2 { font-size: 36px; font-weight: 650; }
h3 { font-size: 20px; font-weight: 650; }
p { color: var(--muted); }
ul { padding-left: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--canvas); }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.quiet { color: var(--quiet); }
.section { padding-block: 88px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1000; padding: 14px; color: var(--canvas); background: var(--ink); }
.skip-link:focus { top: 12px; }
.navbar { background: var(--canvas); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-inner, .nav-logo, .nav-menu, .nav-actions, .language-switch { display: flex; align-items: center; }
.nav-inner { min-height: 88px; justify-content: space-between; gap: 24px; }
.nav-logo { gap: 10px; font-size: 22px; font-weight: 750; }
.logo-period { color: var(--accent); }
.nav-logo img { object-fit: contain; }
.nav-menu { gap: 26px; }
.nav-link { color: var(--muted); font-size: 14px; min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.nav-link.active { border-color: var(--ink); color: var(--ink); }
.nav-link:hover { color: var(--accent); }
.nav-actions { gap: 10px; }
.language-switch { gap: 2px; padding-right: 12px; border-right: 1px solid var(--line); }
.language-switch a { font-size: 12px; font-weight: 650; color: var(--muted); padding: 10px 7px; }
.language-switch .active { color: var(--ink); background: var(--soft); border-radius: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; }
.icon-btn:hover { background: var(--soft); }
.nav-toggle { display: none; }
.nav-overlay { display: none; }
.btn { min-height: 48px; padding: 12px 22px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 5px; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; transition: background 160ms, transform 160ms; }
.btn-primary { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { background: var(--accent); color: var(--canvas); border-color: var(--accent); }
.btn-secondary:hover { background: var(--soft); }
.text-link, .portfolio-index-link, .note-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; font-weight: 600; padding: 0; border: 0; background: none; }
.text-link:hover, .portfolio-index-link:hover, .note-link:hover { color: var(--accent); }
.section-badge, .panel-kicker { display: block; background: none; color: var(--muted); text-transform: uppercase; font-size: 11px; font-weight: 650; line-height: 1.5; margin-bottom: 18px; }
.identity-section { padding: 54px 0 0; }
.identity-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.identity-person { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.identity-person img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; filter: grayscale(100%); }
.availability { display: inline-flex; gap: 9px; align-items: center; font-size: 12px; color: var(--positive); }
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); flex-shrink: 0; }
.identity-title { position: relative; font-size: 100px; font-weight: 650; line-height: 1.06; max-width: 880px; margin: 30px 0 32px; padding-right: 88px; }
.identity-title .name-muted { color: var(--quiet); }
.identity-arrow { position: absolute; bottom: 10px; right: 0; font-size: 40px; width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background 180ms, color 180ms; }
.identity-arrow:hover { background: var(--accent); color: var(--canvas); }
.identity-bottom { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.identity-role { font-size: 15px; font-weight: 600; color: var(--ink); }
.identity-description { max-width: 650px; font-size: 16px; margin-top: 14px; }
.hero-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.identity-caption { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 20px; margin-top: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.editorial-heading h2 { max-width: 750px; }
.editorial-heading p { margin-top: 14px; font-size: 15px; }
.editorial-heading > .text-link { flex-shrink: 0; }
.work-browser { padding: 24px 0 88px; }
.home-work { border-top: 1px solid var(--line); padding-top: 60px; }
.work-controls { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.work-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.work-filter-btn { border: 0; background: transparent; padding: 10px 14px; min-height: 44px; font-size: 13px; color: var(--muted); border-radius: 4px; }
.work-filter-btn:hover { color: var(--ink); background: var(--soft); }
.work-filter-btn.active { color: var(--canvas); background: var(--ink); }
.work-view-toggle { display: flex; gap: 4px; align-self: start; }
.work-view-btn { color: var(--muted); border: 1px solid transparent; }
.work-view-btn.active { color: var(--ink); border-color: var(--line); background: var(--surface); }
.work-result-count { font-size: 12px; margin: 14px 0 25px; }
.portfolio-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 28px; }
.portfolio-index-card { min-width: 0; }
.portfolio-index-media { display: block; position: relative; overflow: hidden; aspect-ratio: 1.62; background: var(--soft); border-radius: 6px; border: 1px solid var(--line); }
.portfolio-index-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.portfolio-index-media:hover img { transform: scale(1.025); }
.project-open { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #202326; box-shadow: 0 2px 10px #0002; }
.project-placeholder { display: grid; place-items: center; height: 100%; font-size: 28px; padding: 32px; text-align: center; }
.portfolio-index-content { padding-top: 19px; }
.portfolio-index-meta { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.portfolio-index-meta span:first-child { text-transform: uppercase; }
.portfolio-index-content h2 { font-size: 24px; margin-bottom: 11px; }
.portfolio-index-content h2 a:hover { color: var(--accent); }
.portfolio-index-summary { font-size: 14px; max-width: 480px; }
.portfolio-index-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.work-tags, .detail-tech-row, .about-tags, .skill-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.work-tags span, .detail-tech-row span, .about-tags span, .skill-context-chip { font-size: 11px; line-height: 1.4; padding: 6px 9px; background: var(--soft); color: var(--muted); border-radius: 3px; }
.portfolio-index-link { margin-top: 12px; }
.work-browser[data-view="gallery"] .portfolio-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.work-browser[data-view="gallery"] .portfolio-index-summary, .work-browser[data-view="gallery"] .work-tags, .work-browser[data-view="gallery"] .portfolio-index-link { display: none; }
.work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 19px; }
.work-browser[data-view="gallery"] .portfolio-index-media { aspect-ratio: 1.3; }
.empty-state { padding: 65px 20px; text-align: center; }
.empty-state > i { font-size: 28px; color: var(--quiet); margin-bottom: 20px; }
.empty-state h3 { margin-bottom: 14px; }
.section-heading { max-width: 740px; margin: 0 auto 40px; text-align: center; }
.section-heading-left { max-width: none; text-align: left; }
.section-heading h2 { max-width: 800px; }
.section-heading p { margin-top: 16px; }
.section-action { text-align: center; margin-top: 36px; }
.practice-section { background: var(--soft); border-block: 1px solid var(--line); }
.practice-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.practice-layout h2 { font-size: 38px; line-height: 1.25; margin-bottom: 25px; }
.practice-list article { display: flex; align-items: flex-start; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.practice-list article:first-child { padding-top: 0; border: 0; }
.practice-list article > i { color: var(--accent); width: 22px; margin-top: 5px; }
.practice-list p { margin-top: 10px; font-size: 14px; }
.recognition-item, .about-achievement-card { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; padding: 25px 0; border-top: 1px solid var(--line); align-items: start; }
.recognition-year, .achievement-year { color: var(--muted); font-size: 14px; }
.recognition-item h3, .about-achievement-card h3 { font-size: 18px; }
.recognition-item p, .about-achievement-card p { font-size: 13px; margin-top: 8px; }
.recognition-item > i { color: var(--quiet); }
.recognition-scope { font-size: 11px; color: var(--muted); }
.final-cta { border-block: 1px solid var(--line); background: var(--soft); padding: 72px 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.final-cta-inner h2 { max-width: 730px; font-size: 44px; }
.final-cta-inner p { max-width: 640px; margin-top: 18px; }
.final-cta-inner .btn { flex-shrink: 0; }
.cta-email { display: inline-block; margin-top: 23px; text-decoration: underline; text-underline-offset: 5px; font-size: 17px; }
.cta-arrow { flex: 0 0 90px; width: 90px; height: 90px; font-size: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.cta-arrow:hover { background: var(--ink); color: var(--canvas); }
.footer { padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .9fr 1fr; gap: 38px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; }
.footer-logo img { width: 30px; height: 30px !important; object-fit: contain; }
.footer-description { font-size: 13px; max-width: 280px; margin-top: 18px; }
.footer-title { font-size: 12px; font-weight: 650; margin: 7px 0 23px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0; font-size: 11px; }
.social-links, .about-socials { display: flex; gap: 8px; margin-top: 22px; }
.social-link { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.whatsapp-float { position: fixed; z-index: 45; bottom: 20px; right: 20px; background: var(--ink); color: var(--canvas); border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; box-shadow: 0 3px 15px #0002; }
.about-hero, .portfolio-index-hero, .skills-hero, .notes-hero, .contact-hero { padding: 72px 0 48px; text-align: center; }
.about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { max-width: 850px; margin: 0 auto; font-size: 56px; }
.about-hero p, .portfolio-index-hero p, .skills-hero p, .notes-hero p, .contact-hero p { max-width: 650px; margin: 20px auto 0; font-size: 17px; }
.notes-hero .btn { margin-top: 24px; }
.about-profile-section { padding-top: 30px; }
.about-layout { display: grid; grid-template-columns: 310px 1fr; gap: 75px; align-items: start; }
.about-profile-card { position: sticky; top: 120px; }
.about-profile-card > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; filter: grayscale(100%); }
.about-profile-copy h2 { font-size: 22px; margin-top: 22px; }
.about-profile-copy p { font-size: 13px; margin-top: 10px; }
.about-profile-card > .btn { margin-top: 22px; }
.about-panel { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.about-story h2 { font-size: 30px; line-height: 1.3; margin-bottom: 25px; }
.about-story p + p { margin-top: 18px; }
.quick-facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.fact-card span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 8px; text-transform: uppercase; }
.fact-card strong { font-size: 14px; font-weight: 550; line-height: 1.55; display: block; }
.about-service-item { display: flex; gap: 20px; margin-top: 25px; }
.about-service-item > i { margin-top: 6px; color: var(--accent); width: 22px; }
.about-service-item h3 { font-size: 17px; }
.about-service-item p { margin-top: 10px; font-size: 14px; }
.about-achievements-section { background: var(--surface); border-top: 1px solid var(--line); }
.skills-snapshot { display: flex; justify-content: center; gap: 50px; margin-top: 30px; }
.skills-snapshot strong { font-size: 26px; display: block; }
.skills-snapshot span { font-size: 12px; color: var(--muted); }
.capability-section { padding-top: 35px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
.capability-card { border-top: 1px solid var(--line); padding-top: 20px; }
.capability-card > span { color: var(--accent); font-size: 13px; }
.capability-card h3 { margin: 22px 0 13px; font-size: 19px; line-height: 1.3; }
.capability-card p { font-size: 14px; }
.skill-matrix-section, .education-section { background: var(--soft); border-block: 1px solid var(--line); }
.skill-matrix-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; }
.skill-matrix-card { border-top: 1px solid var(--line); padding-top: 24px; }
.skill-matrix-head { display: flex; gap: 18px; align-items: start; }
.skill-matrix-head > i { color: var(--accent); margin-top: 4px; width: 24px; flex-shrink: 0; }
.skill-matrix-head p { font-size: 14px; margin-top: 12px; }
.skill-use-note { margin: 18px 0; font-size: 13px; }
.skill-use-note > span { color: var(--ink); font-weight: 600; }
.skill-context-chip { background: var(--surface); }
.experience-list { max-width: 920px; margin-inline: auto; }
.experience-card { display: grid; grid-template-columns: 180px 1fr; gap: 35px; padding: 30px 0; border-top: 1px solid var(--line); }
.experience-date { font-size: 13px; color: var(--muted); }
.experience-card p { font-size: 14px; }
.experience-org { font-weight: 600; color: var(--ink); margin: 10px 0 15px; }
.education-credential-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.education-card { border-top: 1px solid var(--line); padding-top: 22px; }
.education-card > i { color: var(--accent); margin-right: 10px; }
.education-card > span { color: var(--muted); font-size: 12px; }
.education-card h3 { margin-top: 22px; }
.education-card p { font-size: 14px; }
.notes-section { padding-top: 25px; }
.notes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 32px; }
.note-media { display: block; aspect-ratio: 1.8; overflow: hidden; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); }
.note-media img { width: 100%; height: 100%; object-fit: cover; }
.note-content { padding-top: 20px; }
.note-meta { display: flex; gap: 18px; font-size: 11px; color: var(--muted); }
.note-content h2 { font-size: 24px; margin: 12px 0; line-height: 1.3; }
.note-content p { font-size: 14px; }
.note-link { margin-top: 16px; }
.notes-empty { text-align: center; padding: 45px 20px; }
.notes-empty > * + * { margin-top: 20px; }
.contact-intake-section { padding-top: 25px; }
.contact-intake-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-prompt-card { margin-bottom: 24px; }
.contact-side-title { font-size: 35px; margin-bottom: 20px; }
.contact-prompt-card ul { font-size: 14px; color: var(--muted); }
.contact-channel { display: flex; align-items: start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-channel > i { color: var(--accent); margin-top: 5px; }
.contact-channel span { display: block; color: var(--muted); font-size: 12px; }
.contact-channel strong { display: block; font-size: 15px; font-weight: 500; margin-top: 6px; overflow-wrap: anywhere; }
.contact-social-card { margin-top: 28px; }
.contact-intake-card { padding: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.contact-form-head h2 { font-size: 28px; }
.contact-form-head p { font-size: 14px; margin-top: 12px; }
.contact-intake-form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-group { margin-bottom: 23px; }
.form-label { display: block; font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.form-label > span { color: var(--negative); }
.form-input, .form-textarea { width: 100%; background: var(--canvas); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--quiet); }
.form-textarea { min-height: 170px; resize: vertical; }
.contact-intake-form .btn { width: 100%; }
.contact-location-section { border-top: 1px solid var(--line); padding: 40px 0; }
.contact-location-card { display: flex; align-items: center; gap: 26px; }
.contact-location-card > i { color: var(--accent); font-size: 30px; }
.contact-location-card h2 { font-size: 22px; }
.contact-location-card p { font-size: 14px; margin-top: 10px; }
.contact-location-card .section-badge { margin-bottom: 8px; }
.alert { padding: 16px; margin: 20px 0; border: 1px solid currentColor; border-radius: 4px; font-size: 14px; }
.alert-success { color: var(--positive); }
.alert-error { color: var(--negative); }
.detail-hero { padding: 30px 0 0; }
.detail-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 45px; }
.detail-hero-grid { display: flex; flex-direction: column; }
.detail-hero-copy { max-width: 840px; margin: 0 auto 35px; text-align: center; }
.detail-meta-row { display: flex; align-items: baseline; justify-content: center; gap: 16px; font-size: 12px; color: var(--muted); }
.detail-hero h1 { font-size: 48px; }
.detail-lede { margin-top: 20px; font-size: 16px; }
.detail-tech-row, .detail-action-row { justify-content: center; }
.detail-action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.detail-visual-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.detail-window-bar { display: none; }
.detail-visual-card > img { width: 100%; max-height: 560px; object-fit: contain; }
.detail-facts-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; margin-top: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.detail-fact-card { display: grid; grid-template-columns: 20px 1fr; gap: 5px 12px; }
.detail-fact-card i { grid-row: span 2; color: var(--accent); margin-top: 4px; }
.detail-fact-card span { color: var(--muted); text-transform: uppercase; font-size: 10px; }
.detail-fact-card strong { font-size: 13px; font-weight: 550; }
.detail-section { padding: 65px 0; }
.detail-layout { display: grid; grid-template-columns: 220px 1fr; gap: 65px; align-items: start; }
.detail-side-panel { display: grid; gap: 12px; font-size: 13px; border-left: 1px solid var(--line); padding-left: 20px; }
.detail-side-panel a:hover { color: var(--accent); }
.detail-story-card h2 { font-size: 30px; margin-bottom: 24px; }
.detail-rich-text { font-size: 15px; color: var(--muted); }
.detail-rich-text p + p, .detail-copy-group + .detail-copy-group { margin-top: 18px; }
.detail-rich-text h3, .detail-rich-text h4 { margin: 20px 0 12px; color: var(--ink); font-size: 17px; }
.detail-rich-text li { margin-block: 9px; }
.detail-problem-grid, .detail-solution-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 50px; }
.detail-copy-card { border-top: 1px solid var(--line); padding-top: 22px; }
.detail-copy-card h3, .detail-outcome-card h3 { font-size: 23px; margin-bottom: 20px; }
.detail-process-section, .detail-learning-section { background: var(--soft); border-block: 1px solid var(--line); }
.detail-process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.detail-process-card { border-top: 1px solid var(--line); padding-top: 20px; }
.detail-process-card > span { color: var(--accent); }
.detail-process-card p { font-size: 14px; margin-top: 15px; }
.detail-outcome-card { padding-left: 30px; border-left: 2px solid var(--accent); }
.detail-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.detail-gallery-card img { width: 100%; border-radius: 6px; }
.detail-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.detail-team-card > div { width: 48px; height: 48px; display: grid; place-items: center; background: var(--soft); border-radius: 50%; color: var(--accent); margin-bottom: 15px; }
.detail-team-card p { font-size: 14px; margin-top: 8px; }
.detail-learning-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.detail-learning-grid article { display: flex; gap: 15px; font-size: 14px; }
.detail-learning-grid i { color: var(--accent); margin-top: 6px; }
.detail-navigation { padding: 42px 0; border-bottom: 1px solid var(--line); }
.detail-navigation-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; }
.detail-nav-card { display: grid; font-size: 12px; }
.detail-nav-card span { color: var(--muted); }
.detail-nav-card strong { font-size: 14px; margin-top: 5px; }
.detail-nav-card-next { text-align: right; }
.image-zoom { padding: 0; border: 0; background: none; width: 100%; cursor: zoom-in; }
.lightbox { border: 1px solid var(--line); padding: 20px; background: var(--canvas); color: var(--ink); max-width: min(1100px,95%); max-height: 94vh; border-radius: 6px; }
.lightbox::backdrop { background: #000c; }
.lightbox img { max-height: 76vh; object-fit: contain; width: 100%; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 12px; }
.lightbox-bar p { font-size: 13px; }
@media (min-width: 1440px) { .container { width: min(1200px,calc(100% - 120px)); } }
@media (max-width: 1000px) {
    .container { width: calc(100% - 48px); }
    .nav-menu { gap: 17px; }
    .identity-title { font-size: 80px; }
    .identity-bottom { gap: 35px; }
    .practice-layout, .about-layout, .contact-intake-grid { gap: 38px; }
    .about-layout { grid-template-columns: 260px 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .education-credential-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-layout { grid-template-columns: 170px 1fr; gap: 35px; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .nav-inner { min-height: 74px; gap: 12px; }
    .nav-logo { font-size: 19px; gap: 7px; }
    .nav-logo img { width: 26px; height: 26px; }
    .nav-actions { gap: 2px; }
    .nav-toggle { display: inline-flex; }
    .nav-menu { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 15px 24px 24px; background: var(--canvas); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; box-shadow: 0 10px 20px #0001; }
    .nav-menu.active { display: flex; }
    .nav-link { padding: 5px 8px; border: 0; }
    .nav-link.active { background: var(--soft); border-radius: 4px; }
    .identity-section { padding-top: 30px; }
    .identity-topline { align-items: flex-start; flex-direction: column; gap: 15px; }
    .identity-person { font-size: 12px; }
    .identity-person img { width: 44px; height: 44px; }
    .identity-title { font-size: 64px; padding-right: 0; margin: 24px 0; }
    .identity-arrow { display: none; }
    .identity-bottom { display: block; }
    .identity-role { font-size: 13px; }
    .identity-description { font-size: 14px; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; }
    .identity-caption { font-size: 10px; margin-top: 27px; padding-block: 18px; }
    .identity-caption > span:last-child { max-width: 135px; text-align: right; }
    .home-work { padding-top: 42px; }
    .section { padding-block: 55px; }
    h2, .practice-layout h2 { font-size: 29px; }
    .editorial-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 23px; }
    .editorial-heading p { font-size: 14px; }
    .work-controls { flex-wrap: wrap; gap: 9px; }
    .work-filter-row { flex: 1 1 250px; gap: 1px; }
    .work-filter-btn { padding: 8px 10px; font-size: 12px; }
    .work-view-toggle { margin-left: auto; }
    .portfolio-index-grid { grid-template-columns: 1fr; gap: 34px; }
    .portfolio-index-content h2 { font-size: 23px; }
    .work-browser[data-view="gallery"] .portfolio-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 16px; }
    .work-browser[data-view="gallery"] .portfolio-index-content h2 { font-size: 16px; }
    .work-browser[data-view="gallery"] .portfolio-index-meta span:first-child { display: none; }
    .work-browser[data-view="gallery"] .project-open { width: 30px; height: 30px; bottom: 8px; right: 8px; font-size: 12px; }
    .practice-layout, .about-layout, .contact-intake-grid, .skill-matrix-grid, .notes-grid, .detail-layout, .detail-problem-grid, .detail-solution-grid { grid-template-columns: 1fr; }
    .recognition-item, .about-achievement-card { grid-template-columns: 45px 1fr; gap: 18px; }
    .recognition-item > i, .recognition-scope { display: none; }
    .recognition-item h3 { font-size: 16px; }
    .final-cta { padding: 48px 0; }
    .final-cta-inner { flex-direction: column; align-items: start; gap: 25px; }
    .final-cta-inner h2 { font-size: 34px; }
    .cta-arrow { width: 58px; height: 58px; flex-basis: 58px; font-size: 24px; }
    .footer-grid { gap: 30px; }
    .footer-brand { grid-column: 1/-1; }
    .footer-description { max-width: 100%; }
    .footer-contact { grid-column: 1/-1; }
    .about-hero, .portfolio-index-hero, .skills-hero, .notes-hero, .contact-hero { padding: 48px 0 35px; }
    .about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 38px; }
    .about-hero p, .portfolio-index-hero p, .skills-hero p, .notes-hero p, .contact-hero p { font-size: 15px; }
    .about-profile-card { position: static; max-width: 360px; margin-inline: auto; }
    .about-story h2 { font-size: 27px; }
    .skills-snapshot { gap: 25px; }
    .skills-snapshot span { font-size: 10px; }
    .experience-card { grid-template-columns: 1fr; gap: 12px; }
    .education-credential-grid { grid-template-columns: 1fr; }
    .contact-intake-card { padding: 23px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-intake-grid { gap: 36px; }
    .contact-intake-card { order: -1; }
    .contact-location-card { align-items: start; }
    .detail-hero h1 { font-size: 36px; }
    .detail-facts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
    .detail-side-panel { display: none; }
    .detail-section { padding: 42px 0; }
    .detail-process-grid, .detail-team-grid, .detail-learning-grid { grid-template-columns: 1fr; }
    .detail-gallery-grid { grid-template-columns: 1fr; }
    .detail-navigation-inner { grid-template-columns: 1fr; }
    .detail-navigation-inner > .btn { justify-self: center; }
    .detail-navigation-inner > div:empty { display: none; }
    .detail-nav-card-next { text-align: left; }
}
@media (max-width: 420px) { .identity-title { font-size: 49px; } .capability-grid { grid-template-columns: 1fr; } .language-switch { padding-right: 5px; } .nav-actions { gap: 0; } .nav-inner .icon-btn { flex-basis: 38px; width: 38px; } .quick-facts-grid { gap: 22px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
