:root {
  color-scheme: light;
  --ink: #25262b; --muted: #62636b; --accent: #b72c36; --accent-hover: #94212a;
  --wash: #f7f7f8; --tint: #fbefef; --line: #e2e2e6; --surface: #fff; --soft: #fff;
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.7 var(--body); }
body.professional[data-theme='dark'] { color-scheme: dark; --ink:#f3f1f3; --muted:#bab7c0; --accent:#ff8a91; --accent-hover:#ffa2a8; --wash:#232329; --tint:#36272d; --line:#424048; --surface:#19191e; --soft:#202026; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
h1 { font-size: clamp(42px,4.35vw,66px); }
h2 { font-size: clamp(32px,3.2vw,46px); }
h3 { font-size: 26px; }
h1 span { color: var(--accent); }
p { color: var(--muted); }
ul,ol { padding:0; margin:0; }
::selection { background: var(--tint); color: var(--accent); }
[hidden] { display: none !important; }
.container { width:min(1180px, calc(100% - 80px)); margin-inline:auto; }
.section { padding-block:88px; }
.eyebrow { font-size:12px; font-weight:800; line-height:1.6; letter-spacing:.085em; text-transform:uppercase; color:var(--accent); margin-bottom:18px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link { position:fixed; top:10px; left:10px; padding:12px 20px; background:var(--ink); color:var(--surface); z-index:100; transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.site-header { position:sticky; top:0; z-index:30; background:var(--surface); border-bottom:1px solid var(--line); }
.nav-wrap { min-height:84px; display:flex; align-items:center; gap:24px; position:relative; }
.brand { display:inline-flex; align-items:center; gap:12px; font-family:var(--display); font-size:21px; font-weight:700; line-height:1.15; letter-spacing:-.035em; }
.brand-mark { display:grid; place-content:center; grid-auto-flow:column; background:var(--ink); color:var(--surface); width:42px; height:42px; border-radius:12px; font-size:27px; }
.brand-mark span,.brand-dot { color:var(--accent); }
.main-nav { display:flex; align-items:center; gap:28px; font-size:14px; font-weight:700; order:2; }
.main-nav a { min-height:44px; display:inline-flex; align-items:center; }
.main-nav a:hover { color:var(--accent); }
.main-nav .nav-contact { gap:15px; padding:10px 17px; border:1px solid var(--line); border-radius:8px; }
.main-nav .nav-contact:hover { background:var(--tint); border-color:var(--accent); }
.nav-tools { margin-left:auto; display:flex; gap:10px; align-items:center; order:1; }
.menu-toggle,.theme-toggle { min-height:44px; border:1px solid var(--line); color:var(--ink); background:var(--surface); border-radius:8px; padding:8px 12px; display:inline-flex; align-items:center; gap:9px; font-size:13px; font-weight:700; }
.menu-toggle { display:none; }
.theme-toggle>span:first-child { font-size:21px; line-height:1; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.03fr) minmax(0,1fr); align-items:center; gap:64px; padding-block:78px 66px; }
.hero-description { font-size:18px; line-height:1.75; max-width:590px; margin-top:24px; }
.button-row { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:28px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-height:52px; padding:14px 22px; border:1px solid transparent; border-radius:8px; font-size:14px; font-weight:800; line-height:1.5; transition:background-color .16s; }
.button-primary { background:var(--accent); color:#fff; }
.button-primary:hover { background:var(--accent-hover); }
[data-theme='dark'] .button-primary { color:#261a1e; }
.button-outline { border-color:var(--line); color:var(--ink); }
.button-outline:hover { background:var(--wash); border-color:var(--accent); }
.button-light { color:#25262b; background:#fff; }
.button-light:hover { background:#f5dfe1; }
.text-link { display:inline-flex; align-items:center; gap:9px; min-height:44px; font-size:14px; font-weight:800; line-height:1.5; }
.text-link:hover { text-decoration:underline; text-underline-offset:5px; }
.hero-note { display:flex; align-items:center; gap:9px; font-size:13px; margin-top:22px; }
.status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.hero-work { min-width:0; background:var(--tint); padding:24px; border-radius:20px; }
.site-preview { background:var(--soft); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.preview-bar { display:flex; justify-content:space-between; align-items:center; gap:10px; height:35px; padding-inline:13px; font-size:11px; color:var(--muted); background:var(--wash); }
.preview-dots { font-size:8px; letter-spacing:2px; color:#a19da3; }
.site-preview img { width:100%; }
.site-preview figcaption { padding:9px 12px; font-size:12px; color:var(--muted); line-height:1.5; }
.hero-work-caption { display:flex; justify-content:space-between; gap:8px; align-items:center; flex-wrap:wrap; padding-top:14px; font-size:12px; color:var(--muted); }
.hero-work-caption .text-link { font-size:12px; min-height:36px; color:var(--ink); }
.benefit-strip { display:flex; justify-content:space-between; gap:18px; padding-block:23px; border-block:1px solid var(--line); font-size:13px; font-weight:600; color:var(--muted); }
.benefit-strip span::before { content:'✓'; margin-right:10px; color:var(--accent); }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:36px; margin-bottom:36px; }
.section-heading>p { max-width:330px; font-size:15px; }
.service-grid,.process-grid,.skills-grid,.projects-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.service-card { background:var(--wash); border:1px solid var(--line); border-radius:12px; padding:30px 27px; }
.service-icon { color:var(--accent); font-size:30px; display:inline-block; margin-bottom:27px; line-height:1; }
.service-card h3 { margin-bottom:18px; }
.service-card p { font-size:15px; }
.service-card .service-fit { font-size:13px; font-weight:700; color:var(--ink); border-top:1px solid var(--line); margin-top:24px; padding-top:18px; }
.section-note { margin-top:24px; font-size:14px; }
.work-section { background:var(--wash); }
.case-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:56px; align-items:center; }
.case-copy h3 { font-size:34px; margin:20px 0 18px; }
.badge { display:inline-block; background:var(--tint); color:var(--accent); font-size:12px; line-height:1.5; font-weight:700; border-radius:5px; padding:7px 10px; }
.case-details { margin:24px 0; display:grid; gap:18px; }
.case-details dt { font-size:14px; font-weight:800; }
.case-details dd { margin:5px 0 0; color:var(--muted); font-size:15px; }
.small-note { font-size:13px; line-height:1.7; }
.case-copy>.text-link { margin-top:12px; color:var(--accent); }
.process-grid { list-style:none; gap:38px; }
.process-grid li { border-top:1px solid var(--line); padding-top:24px; }
.step-number { display:inline-block; color:var(--accent); font-family:var(--display); font-size:35px; margin-bottom:24px; line-height:1; }
.process-grid h3 { margin-bottom:16px; }
.process-grid p { font-size:15px; }
.about-section { background:var(--wash); padding-block:64px; }
.about-layout { display:grid; grid-template-columns:240px minmax(0,620px); justify-content:center; align-items:center; gap:64px; }
.portrait { width:240px; height:300px; object-fit:cover; object-position:50% 39%; border-radius:12px; }
.about-layout h2 { font-size:36px; margin-bottom:20px; }
.about-layout p+p { margin-top:14px; }
.faq-layout { display:grid; grid-template-columns:1fr 1.5fr; gap:70px; }
.faq-list { border-top:1px solid var(--line); }
.faq-list details { border-bottom:1px solid var(--line); }
.faq-list summary { list-style:none; cursor:pointer; padding:22px 0; font-size:16px; font-weight:700; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { font-size:24px; color:var(--accent); }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details p { padding-bottom:22px; font-size:15px; max-width:590px; }
.contact-section { background:#29282e; color:#fff; padding-block:76px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); align-items:center; gap:70px; }
.contact-section .eyebrow { color:#ff9ba2; }
.contact-section h2 { font-size:clamp(34px,3.4vw,48px); }
.contact-section p:not(.eyebrow) { color:#d2cfd6; margin-top:20px; max-width:500px; }
.contact-actions { display:flex; align-items:flex-start; flex-direction:column; gap:14px; min-width:0; }
.contact-actions>span { color:#d2cfd6; font-size:13px; margin-top:10px; }
.email-link { font-size:16px; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:5px; max-width:100%; }
.contact-section a:focus-visible { outline-color:#ffadb3; }
.site-footer { padding-block:32px 24px; }
.footer-main { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:center; }
.footer-main>span { color:var(--muted); font-size:13px; }
.audience-link { font-size:13px; }
.footer-bottom { display:flex; justify-content:space-between; gap:18px; color:var(--muted); font-size:12px; padding-top:24px; margin-top:24px; border-top:1px solid var(--line); }
.professional-intro { display:grid; grid-template-columns:minmax(0,1fr) 230px; align-items:center; gap:64px; padding-block:62px 50px; }
.professional-intro h1 { font-size:clamp(37px,3.6vw,54px); }
.professional-intro .hero-description { font-size:16px; margin-top:20px; max-width:640px; }
.professional-intro .button-row { margin-top:24px; }
.hero-links { display:flex; flex-wrap:wrap; gap:24px; margin-top:14px; }
.availability-note { border-left:2px solid var(--line); padding-left:24px; font-size:14px; }
.availability-note .portrait { width:104px; height:112px; border-radius:12px; margin-bottom:18px; }
.availability-note strong { display:block; font-weight:800; margin:7px 0; }
.availability-note .text-link { margin-top:8px; font-size:13px; }
.projects-section { padding-top:32px; }
.technical-card { min-width:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; background:var(--soft); }
.architecture-visual { background:var(--wash); min-height:250px; padding:22px 28px; }
.architecture-label { font-size:12px; margin-bottom:16px; }
.architecture-flow { display:flex; align-items:center; flex-direction:column; font-size:13px; line-height:1.5; }
.architecture-flow>span:not(.flow-arrow) { display:block; border:1px solid var(--line); background:var(--soft); border-radius:6px; padding:7px 12px; width:100%; text-align:center; font-weight:600; }
.flow-arrow { color:var(--accent); line-height:1.5; }
.project-body { padding:25px; display:flex; flex:1; flex-direction:column; align-items:flex-start; }
.project-body .eyebrow { font-size:11px; margin-bottom:10px; }
.project-body h3 { margin-bottom:18px; font-size:28px; }
.project-body>p:not(.eyebrow), .project-contribution p { font-size:14px; }
.project-contribution { margin-top:20px; }
.project-contribution strong { font-size:13px; }
.project-contribution p { margin-top:5px; }
.project-body>.text-link { margin-top:auto; padding-top:12px; }
.tags { display:flex; flex-wrap:wrap; list-style:none; gap:7px; margin:20px 0; }
.tags li { font-size:12px; background:var(--wash); border:1px solid var(--line); border-radius:5px; padding:4px 8px; color:var(--ink); }
.gns-card>.site-preview { border:0; border-radius:0; }
.gns-card .site-preview img { height:183px; object-fit:cover; object-position:top; }
.gns-card .site-preview figcaption { height:32px; font-size:11px; }
.project-body .project-status { font-size:12px; color:var(--accent); font-weight:700; margin-top:auto; }
.skills-section { background:var(--wash); }
.skills-grid { gap:40px; }
.skills-grid h3 { font-size:25px; margin-bottom:16px; }
.skills-grid p { font-size:15px; }
.skills-grid .skill-evidence { font-size:13px; }
.skills-grid .tags li { background:var(--surface); }
.trajectory-layout { display:grid; grid-template-columns:1fr 1.4fr; gap:80px; }
.education { margin-top:36px; }
.education h3 { font-size:21px; margin-top:24px; margin-bottom:7px; }
.education p { font-size:14px; }
.experience-list article { border-bottom:1px solid var(--line); margin-bottom:24px; padding-bottom:24px; }
.experience-period { font-size:12px; margin-bottom:10px; }
.experience-list h3 { font-size:25px; margin-bottom:12px; }
.experience-list article>p:last-child { font-size:15px; }
.contact-socials { display:flex; gap:22px; flex-wrap:wrap; }
@media(min-width:1001px) { .professional .main-nav { gap:20px; } .professional .brand { font-size:19px; } }
@media(max-width:1100px) {
  .hero-grid { gap:32px; }
  .hero-work { padding:18px; }
  .hero-work-caption>span { display:none; }
  .main-nav { gap:18px; }
  .brand { font-size:19px; }
  .theme-toggle [data-theme-label] { display:none; }
  .service-card { padding:25px 20px; }
  .case-layout { gap:32px; }
  .professional-intro { gap:35px; }
  .project-body { padding:22px; }
}
@media(max-width:900px) {
  .container { width:calc(100% - 48px); }
  .nav-wrap { flex-wrap:wrap; gap:12px; padding-block:14px; min-height:76px; }
  .main-nav { width:100%; justify-content:space-between; flex-wrap:wrap; }
  .is-enhanced .menu-toggle { display:inline-flex; }
  .is-enhanced .main-nav { display:none; position:absolute; top:100%; left:0; right:0; border:1px solid var(--line); border-radius:0 0 12px 12px; background:var(--surface); padding:16px; box-shadow:0 12px 24px #0000000a; }
  .is-enhanced .main-nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:3px; }
  .main-nav a { padding:10px 12px; }
  .hero-grid { gap:35px; padding-block:52px; }
  .hero-work { padding:12px; }
  h1 { font-size:43px; }
  .hero-description { font-size:16px; }
  .hero-note { font-size:12px; }
  .benefit-strip { font-size:12px; gap:12px; }
  .service-grid,.process-grid,.skills-grid { gap:18px; }
  .service-card h3,.process-grid h3 { font-size:23px; }
  .service-card { padding:24px 18px; }
  .service-card p,.process-grid p { font-size:14px; }
  .case-layout { grid-template-columns:1fr; }
  .case-image { max-width:680px; }
  .case-copy { max-width:680px; }
  .about-layout { grid-template-columns:190px 1fr; gap:35px; }
  .about-layout .portrait { width:190px; height:260px; }
  .contact-layout,.faq-layout { gap:35px; }
  .professional-intro { grid-template-columns:minmax(0,1fr) 180px; gap:30px; }
  .projects-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gns-card { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
  .gns-card .site-preview img { height:auto; }
  .gns-card .site-preview { background:var(--wash); }
  .gns-card .site-preview figcaption { height:auto; }
  .trajectory-layout { gap:40px; }
}
@media(max-width:650px) {
  html { scroll-padding-top:100px; }
  .container { width:calc(100% - 40px); }
  .section { padding-block:58px; }
  .nav-wrap { min-height:74px; }
  .brand { font-size:17px; gap:9px; }
  .brand-mark { width:34px; height:34px; font-size:23px; border-radius:9px; }
  .menu-toggle { font-size:12px; gap:8px; padding:8px 10px; }
  .theme-toggle { padding:8px 10px; }
  .nav-tools { gap:7px; }
  .professional .brand-mark { display:none; }
  .hero-grid { grid-template-columns:1fr; gap:32px; padding:38px 0 28px; }
  h1 { font-size:44px; line-height:1.08; }
  h2 { font-size:34px; }
  .eyebrow { font-size:11px; margin-bottom:16px; }
  .hero-description { margin-top:20px; font-size:16px; }
  .button-row { gap:10px 18px; margin-top:24px; }
  .button { padding:13px 17px; font-size:13px; }
  .hero-note { margin-top:18px; }
  .hero-work { padding:15px; border-radius:12px; }
  .hero-work-caption>span { display:block; }
  .hero-work-caption { padding-top:8px; }
  .benefit-strip { display:grid; gap:8px; padding-block:18px; font-size:12px; }
  .section-heading { display:block; margin-bottom:28px; }
  .section-heading>p { margin-top:18px; max-width:100%; }
  .desktop-break { display:none; }
  .service-grid,.process-grid,.skills-grid,.projects-grid { grid-template-columns:1fr; gap:18px; }
  .service-card { padding:26px; }
  .service-icon { margin-bottom:18px; }
  .service-card h3,.process-grid h3 { font-size:26px; }
  .service-card p,.process-grid p { font-size:15px; }
  .service-card .service-fit { margin-top:18px; }
  .section-note { font-size:13px; }
  .case-layout { gap:28px; }
  .case-copy h3 { font-size:31px; }
  .process-grid { gap:27px; }
  .process-grid li { padding-top:20px; }
  .step-number { font-size:27px; margin-bottom:15px; }
  .about-section { padding-block:48px; }
  .about-layout { grid-template-columns:1fr; gap:28px; }
  .about-layout .portrait { width:160px; height:185px; object-position:50% 37%; }
  .about-layout h2 { font-size:32px; }
  .faq-layout { grid-template-columns:1fr; gap:28px; }
  .faq-list summary { font-size:15px; gap:15px; }
  .contact-section { padding-block:52px; }
  .contact-layout { grid-template-columns:1fr; gap:28px; }
  .contact-section h2 { font-size:34px; }
  .contact-section p:not(.eyebrow) { font-size:15px; }
  .email-link { font-size:14px; }
  .footer-main { align-items:flex-start; flex-direction:column; gap:12px; }
  .footer-bottom { flex-direction:column; gap:8px; padding-top:20px; margin-top:20px; }
  .professional-intro { grid-template-columns:1fr; padding-block:34px 26px; gap:22px; }
  .professional-intro h1 { font-size:38px; }
  .professional-intro .hero-description { font-size:15px; }
  .availability-note { border:0; border-top:1px solid var(--line); padding:18px 0 0; display:grid; grid-template-columns:62px 1fr; gap:2px 14px; }
  .availability-note .portrait { grid-column:1; grid-row:1/4; width:62px; height:70px; margin:0; border-radius:8px; }
  .availability-note>.status-dot,.availability-note>.text-link { display:none; }
  .availability-note strong { margin:0; font-size:13px; grid-column:2; }
  .availability-note p { font-size:12px; grid-column:2; }
  .availability-note br { display:none; }
  .projects-section { padding-top:26px; }
  .gns-card { grid-column:auto; display:flex; }
  .gns-card .site-preview img { height:auto; }
  .project-body { padding:24px; }
  .project-body .eyebrow { font-size:11px; }
  .project-body>p:not(.eyebrow),.project-contribution p { font-size:15px; }
  .architecture-visual { min-height:235px; }
  .skills-grid { gap:32px; }
  .trajectory-layout { grid-template-columns:1fr; gap:36px; }
  .education { margin-top:24px; }
}
@media(max-width:360px) {
  .container { width:calc(100% - 32px); }
  h1 { font-size:38px; }
  .professional-intro h1 { font-size:33px; }
  .professional .brand { font-size:16px; }
  .professional .nav-wrap { gap:6px; }
  .theme-toggle { padding:8px; }
  .hero-work-caption>span { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; animation:none!important; }
}
