/* DAISS 2.0 · V11.5 | targeted polish after V11.4.1 | 2026-11-10 */
:root {
  --bg:#06111b; --panel:#102435; --panel-2:#0d2030; --text:#eff7fe;
  --muted:#b9d0df; --accent:#14d9f1; --stroke:#31516a; --radius:16px;
  --header:#071723f5; --input:#082336; --shadow:0 12px 32px #0003;
  color-scheme:dark;
}
html[data-theme="light"] {
  --bg:#f3f8fb; --panel:#fff; --panel-2:#e9f3f8; --text:#153447;
  --muted:#3d5c6f; --accent:#087f9d; --stroke:#b9d1df; --header:#f9fcffed;
  --input:#eaf5fa; --shadow:0 10px 25px #42627617;
  color-scheme:light;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:94px; }
body { margin:0; font:16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; color:var(--text); background:linear-gradient(110deg,#060f17,#071521 55%,#030d16); }
html[data-theme="light"] body { background:linear-gradient(110deg,#f7fbfe,#ecf5fa 60%,#f8fcff); }
a { color:inherit; text-decoration:none; }
button { font:inherit; }
button,a,summary { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.wrap { max-width:1660px; margin:auto; padding-inline:30px; }
.skip,.skip-link { position:absolute; top:-100px; left:10px; z-index:90; padding:10px 15px; border-radius:5px; background:#fff; color:#111; }
.skip:focus,.skip-link:focus { top:9px; }
.icon-svg { width:25px; height:25px; flex:none; }
.icon-inline { width:19px; height:19px; margin-right:7px; vertical-align:middle; }

/* Masthead and primary navigation */
.site-header { position:sticky; top:0; z-index:30; background:var(--header); border-bottom:1px solid var(--stroke); backdrop-filter:blur(14px); }
.header-inner { display:flex; align-items:center; gap:25px; min-height:76px; }
.brand { display:flex; align-items:center; gap:12px; flex:none; min-width:218px; line-height:1.06; }
.brand-icon { display:grid; place-items:center; width:48px; height:42px; color:#00d8f5; }
.brand-icon .icon-svg { width:36px; height:36px; }
.brand strong { display:block; font-size:25px; letter-spacing:-.04em; }
.brand small { display:block; margin-top:4px; font-size:12px; color:var(--muted); }
.nav { display:flex; justify-content:center; align-items:center; flex:1; min-width:0; gap:clamp(14px,2.25vw,38px); }
.nav a { position:relative; white-space:nowrap; padding:26px 0; font-size:15px; }
.nav a:hover,.nav a.active,.nav a[aria-current="location"] { color:var(--accent); }
.nav a.active::after { content:""; height:2px; position:absolute; bottom:10px; left:0; right:0; background:var(--accent); }
.header-contact { display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; padding:10px 14px; border:1px solid var(--accent); border-radius:9px; font-size:14px; }
.header-contact:hover { background:#16425a; }
.menu-toggle { display:none; }
.theme-toggle { display:inline-grid; place-items:center; width:40px; height:40px; flex:none; color:var(--accent); cursor:pointer; background:transparent; border:1px solid var(--stroke); border-radius:9px; }
.theme-toggle:hover { background:#18516b25; }
.theme-moon { display:none; }
html[data-theme="light"] .theme-sun { display:none; }
html[data-theme="light"] .theme-moon { display:block; }

/* Hero; original portrait remains unmodified */
.hero { display:grid; grid-template-columns:minmax(0,2.15fr) minmax(310px,.96fr); gap:18px; padding-top:20px; }
.hero-main { display:grid; grid-template-columns:minmax(0,1.33fr) minmax(285px,.88fr); min-width:0; min-height:352px; overflow:hidden; border:1px solid #275573; border-radius:var(--radius); background:linear-gradient(111deg,#092338,#061823 80%); }
.hero-copy { position:relative; min-width:0; padding:26px 18px 25px 35px; display:flex; flex-direction:column; justify-content:center; }
.eyebrow { display:block; font-size:12px; font-weight:700; color:#9fe9f3; letter-spacing:.12em; text-transform:uppercase; }
.hero .eyebrow { font-size:11px; color:#bdd9e8; margin:0 0 12px; }
.hero h1 { font-size:clamp(31px,3vw,47px); font-weight:800; letter-spacing:-.05em; line-height:1.12; margin:0 0 18px; overflow-wrap:normal; hyphens:auto; }
 .hero h1 .cyan { color:#14d9f1; }
.hero-title-primary,.hero-title-secondary { display:block; }
.hero-title-primary { text-wrap:balance; }
.hero-title-secondary { text-wrap:balance; }
.lead { color:#dceaf5; font-size:15px; line-height:1.53; margin:0 0 18px; max-width:680px; }
.actions { display:flex; flex-wrap:wrap; gap:11px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:9px 16px; border:1px solid #43a4cb; border-radius:9px; background:#08263b; color:#f6feff; font-size:14px; font-weight:650; text-align:center; transition:background .2s, transform .2s; }
.btn:hover { background:#175274; transform:translateY(-1px); }
.btn.primary { border-color:#1ac9dc; background:linear-gradient(110deg,#089fb8,#116bc5); color:#fff; }
.btn.primary:hover { background:linear-gradient(110deg,#12bed2,#147ddf); }
.portrait { position:relative; min-width:0; overflow:hidden; background:#123044; }
.portrait img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center 32%; }
.portrait::before { content:""; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,#071c2b 0%,transparent 22%); }
.portrait::after { content:""; position:absolute; z-index:2; top:-25%; left:-17%; width:31%; height:150%; pointer-events:none; border-right:3px solid #03d5ea; border-radius:50%; filter:drop-shadow(0 0 7px #03d2ff); }
.hero-side { display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); min-width:0; gap:12px; }
.feature { display:flex; align-items:center; gap:13px; min-width:0; padding:16px 17px; background:linear-gradient(120deg,#0b2233,#0c1c2a); border:1px solid var(--stroke); border-radius:14px; transition:transform .2s,border-color .2s; }
.feature:hover { transform:translateY(-2px); border-color:var(--accent); }
.feature-symbol { display:grid; place-items:center; width:45px; flex:none; color:#00d9ef; }
.feature-symbol .icon-svg { width:32px; height:32px; }
.feature strong { display:block; font-size:17px; line-height:1.22; }
.feature small { display:block; margin-top:5px; color:#c4dae7; font-size:12.5px; line-height:1.42; }
.feature-arrow { margin-left:auto; color:#91c4d8; font-size:26px; }

/* Section hierarchy and professional history */
.section { padding-top:47px; padding-bottom:20px; }
.section-title { font-size:clamp(30px,3.6vw,47px); line-height:1.13; letter-spacing:-.04em; margin:11px 0 13px; }
.section-desc { max-width:900px; margin:0 0 23px; color:var(--muted); font-size:17px; }
.timeline { border-left:2px solid #2b5879; margin-left:14px; }
.job { display:grid; grid-template-columns:185px minmax(0,1fr); gap:24px; position:relative; padding:0 0 28px 28px; }
.job::before { content:""; position:absolute; top:10px; left:-8px; width:12px; height:12px; border-radius:50%; background:var(--accent); border:2px solid var(--bg); }
.job time { color:#8bd8ee; font-weight:700; font-size:15px; padding-top:7px; }
 .job h3 { font-size:20px; line-height:1.25; margin:0 0 3px; font-weight:750; }
.job .job-role { margin:0 0 9px; color:var(--accent); font-size:15px; line-height:1.42; font-weight:650; }
.job .job-description { margin:0; color:var(--muted); font-size:15px; line-height:1.58; max-width:1000px; }
.earlier { margin:8px 0 0 42px; padding:14px 19px; background:var(--panel); border:1px solid var(--stroke); border-radius:12px; }
.earlier summary { cursor:pointer; color:#8adcf1; font-weight:650; }
.earlier p,.earlier li { color:var(--muted); }
.earlier ul { padding-left:22px; }
 .earlier li { margin:6px 0; }
.earlier-it li { margin:12px 0 16px; }
.older-date,.older-company,.older-role { display:block; line-height:1.45; }
.older-date { font-size:12px; color:var(--accent); font-weight:700; }
.older-company { font-size:15px; color:var(--text); margin-top:3px; }
.older-role { font-size:14px; color:var(--muted); margin-top:3px; }
.early-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px 18px; margin-top:13px; }
.early-grid p { margin:6px 0; font-size:14px; }

/* Competencies, profile, and practice */
.bento { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.tile { min-width:0; min-height:190px; padding:24px; border:1px solid var(--stroke); border-radius:var(--radius); background:linear-gradient(145deg,#11293a,#0b1d2c); }
.tile.wide { grid-column:span 2; }
.tile h3 { margin:10px 0 11px; font-size:21px; line-height:1.32; letter-spacing:-.02em; }
.tile p { margin:0; color:#cbdde9; font-size:15px; line-height:1.64; }
.kicker { color:#75dcef; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; }
.tagline { display:flex; flex-wrap:wrap; gap:7px; margin-top:18px; }
.tag { padding:4px 10px; background:#12334a; border:1px solid #39647d; border-radius:30px; color:#d1f1fa; font-size:12px; }
.qualification-tile { grid-column:span 1; min-height:190px; }
.qualification-tile h3 { margin:10px 0 11px; }
.qualification-tile p { font-size:14px; }
.practice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.practice-card h3 { font-size:21px; }
.diagnostic-steps { margin:19px 0 0; padding-left:23px; color:#d0e2ed; line-height:1.59; }
.diagnostic-steps li { margin:0 0 10px; padding-left:4px; }
.diagnostic-steps li::marker { color:var(--accent); }

/* Contact */
.contact { max-width:1120px; border:1px solid #31516a; border-radius:18px; background:linear-gradient(130deg,#102b3e,#0a1f2e); padding:32px; }
.contact .section-title { margin-bottom:14px; }
.contact-intro { max-width:820px; font-size:16px; color:#d5e9f2; line-height:1.58; }
.contact-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:21px 0 22px; }
.contact-method { min-width:0; padding:20px; background:#0a2437; border:1px solid #3a6580; border-radius:13px; }
.contact-method-label { margin-bottom:10px; color:#8bdef5; font-size:12px; letter-spacing:.09em; text-transform:uppercase; font-weight:750; }
.contact-email-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
.email-address,.linkedin-address { display:inline-flex; align-items:center; gap:7px; max-width:100%; color:#f2fdff; font-size:19px; font-weight:700; overflow-wrap:anywhere; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.linkedin-address { font-size:16px; }
.email-address:hover,.linkedin-address:hover { color:#57dfef; }
.copy-email { display:inline-flex; align-items:center; gap:5px; min-height:38px; padding:7px 11px; background:#143b56; color:#e5faff; border:1px solid #4b94b2; border-radius:8px; font-size:13px; cursor:pointer; }
.copy-email .icon-inline { width:16px; height:16px; margin:0; }
.copy-email:hover { background:#205270; }
.contact-hint { color:#a9c3d5; font-size:13px; line-height:1.45; margin:10px 0 0; }
.contact .small { margin:17px 0 0; color:#acccdd; font-size:12.5px; }

/* Site footer and floating actions. Legal links retain their compact size. */
.footer { margin-top:48px; border-top:1px solid var(--stroke); background:#071622; color:#a9c4d5; font-size:13px; }
.footer-inner { min-height:76px; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; }
.footer-inner>span:last-child { display:flex; gap:23px; align-items:center; }
.footer a { color:#bfd7e3; }
.footer a:hover { color:var(--accent); }
.footer-back { color:#83cfe0; }
.floating-tools { position:fixed; right:22px; bottom:24px; display:flex; flex-direction:column; gap:9px; z-index:20; }
.floating-tools a,.floating-tools button { display:grid; place-items:center; width:44px; height:44px; background:#0e2b3c; color:#9ce4f2; border:1px solid #43728b; border-radius:50%; box-shadow:var(--shadow); cursor:pointer; }
.back-to-top { visibility:hidden; opacity:0; transform:translateY(8px); pointer-events:none; transition:opacity .2s,transform .2s,visibility .2s; }
.back-to-top.is-visible { visibility:visible; opacity:1; transform:none; pointer-events:auto; }

/* Legal information: typography and link styling kept deliberately low-key. */
.legal-page { max-width:1200px; padding-top:62px; padding-bottom:80px; }
.legal-page h1 { margin:13px 0 9px; font-size:clamp(36px,4.3vw,55px); letter-spacing:-.045em; overflow-wrap:anywhere; }
.legal-subtitle { margin:0 0 32px; color:var(--muted); font-size:16px; }
.legal-intro { max-width:900px; color:var(--muted); }
.legal-card { margin:22px 0; padding:28px 32px; border:1px solid var(--stroke); border-radius:16px; background:var(--panel); }
.legal-card h2 { margin:0 0 12px; font-size:22px; }
.legal-card h3 { margin:18px 0 10px; font-size:18px; }
.legal-card p,.legal-card li { color:var(--muted); line-height:1.7; }
.legal-card p { margin:10px 0; }
.legal-card a { color:var(--accent); text-decoration:underline; }
.legal-address { font-style:normal; white-space:normal; color:var(--muted); line-height:1.75; }
.legal-return { display:inline-flex; align-items:center; margin-top:20px; color:var(--accent); font-weight:600; }
.legal-return:hover { text-decoration:underline; }

/* Light-mode adaptations; all colors in one place. */
html[data-theme="light"] .site-header { box-shadow:0 3px 12px #1b53600c; }
html[data-theme="light"] .brand-icon { color:#008ea8; }
html[data-theme="light"] .header-contact:hover { background:#daedf4; }
html[data-theme="light"] .hero-main { background:linear-gradient(115deg,#e6f3f9,#e3f0f5 75%); border-color:#aecedd; }
html[data-theme="light"] .hero .eyebrow { color:#3c5d6d; }
html[data-theme="light"] .hero h1 .cyan { color:#007c99; }
html[data-theme="light"] .lead { color:#315367; }
html[data-theme="light"] .portrait::before { background:linear-gradient(90deg,#e6f3f9 0%,transparent 22%); }
html[data-theme="light"] .feature { background:linear-gradient(120deg,#fff,#eaf4f8); }
html[data-theme="light"] .feature strong { color:#13354c; }
html[data-theme="light"] .feature small { color:#426075; }
html[data-theme="light"] .feature-symbol { color:#007c99; }
html[data-theme="light"] .feature-arrow { color:#287b91; }
html[data-theme="light"] .job time { color:#087994; }
html[data-theme="light"] .tile { background:linear-gradient(130deg,#fff,#eaf4f8); }
html[data-theme="light"] .tile p,html[data-theme="light"] .diagnostic-steps { color:#35586d; }
html[data-theme="light"] .kicker { color:#087f9d; }
html[data-theme="light"] .tag { background:#e1f2f8; color:#24526a; border-color:#a7c8d9; }
html[data-theme="light"] .earlier summary { color:#007d9d; }
html[data-theme="light"] .contact { background:linear-gradient(120deg,#fff,#e9f4fa); border-color:#b8d2df; }
html[data-theme="light"] .contact-intro,html[data-theme="light"] .contact .small { color:#426074; }
html[data-theme="light"] .contact-method { background:#f7fcff; border-color:#b8d2df; }
html[data-theme="light"] .contact-method-label { color:#00768e; }
html[data-theme="light"] .email-address,html[data-theme="light"] .linkedin-address { color:#10425c; }
html[data-theme="light"] .contact-hint { color:#466679; }
html[data-theme="light"] .copy-email { background:#e0f2f9; border-color:#90b9cb; color:#174c63; }
html[data-theme="light"] .footer { background:#e9f3f8; }
html[data-theme="light"] .footer a,html[data-theme="light"] .footer { color:#38596c; }
html[data-theme="light"] .floating-tools a,html[data-theme="light"] .floating-tools button { background:#f8fcff; color:#147e99; }
html[data-theme="light"] .legal-card { background:#fff; }

/* Tablet: navigation switches to menu and hero columns stack. */
@media(max-width:1120px) {
  .header-inner { gap:13px; }
  .brand { min-width:0; }
  .menu-toggle { display:grid; place-items:center; order:3; margin-left:auto; flex:none; width:43px; height:43px; border:1px solid var(--stroke); border-radius:9px; background:var(--panel); color:var(--text); cursor:pointer; }
  .nav { display:none; position:absolute; top:76px; left:0; right:0; z-index:32; padding:12px 25px 20px; flex-direction:column; align-items:stretch; gap:0; background:var(--panel); border-bottom:1px solid var(--stroke); box-shadow:var(--shadow); max-height:calc(100dvh - 76px); overflow:auto; }
  .nav.open { display:flex; }
  .nav a { padding:10px 12px; }
  .nav a.active::after { display:none; }
  .header-contact { display:none; }
  .hero { grid-template-columns:1fr; }
  .hero-main { min-height:330px; grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr); }
  .hero-side { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; }
  .feature { padding:14px; }
  .feature-symbol,.feature-arrow { display:none; }
  .feature strong { font-size:16px; }
  .feature small { font-size:12px; }
}
@media(max-width:760px) {
  .wrap { padding-inline:20px; }
  .hero { gap:12px; }
  .hero-main { grid-template-columns:minmax(0,1.4fr) minmax(0,.62fr); min-height:305px; }
  .hero-copy { padding:20px; }
  .hero h1 { font-size:clamp(27px,4.65vw,36px); }
  .lead { font-size:14px; }
  .hero-side { display:none; }
  .section { padding-top:37px; }
  .section-desc { font-size:15px; }
  .job { grid-template-columns:135px minmax(0,1fr); gap:13px; padding-left:22px; }
  .job h3 { font-size:18px; }
  .job p { font-size:14px; }
  .bento { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tile.wide { grid-column:1 / -1; }
  .qualification-tile { grid-column:1 / -1; min-height:0; }
  .practice-grid { grid-template-columns:1fr; }
  .contact-methods { grid-template-columns:1fr; }
  .early-grid { grid-template-columns:1fr; }
}
/* Mobile: genuine portrait stays beside the heading; copy and button follow full width. */
@media(max-width:600px) {
  html { scroll-padding-top:76px; }
  .wrap { padding-inline:15px; }
  .header-inner { min-height:64px; gap:10px; }
  .brand { gap:6px; }
  .brand-icon { width:35px; }
  .brand-icon .icon-svg { width:30px; height:30px; }
  .brand strong { font-size:19px; white-space:nowrap; }
  .brand small { font-size:10px; }
  .theme-toggle { width:37px; height:37px; }
  .menu-toggle { order:3; width:39px; height:39px; }
  .nav { top:64px; max-height:calc(100dvh - 64px); }
  .hero { padding-top:12px; }
  .hero-main { display:grid; grid-template-columns:100px minmax(0,1fr); grid-template-rows:auto auto auto auto; min-height:0; align-items:start; }
  .hero-copy { display:contents; }
  .hero .eyebrow { grid-area:1/2; align-self:end; margin:17px 12px 5px 0; font-size:9px; line-height:1.3; letter-spacing:.07em; }
  .hero h1 { grid-area:2/2; align-self:start; margin:0 12px 12px 0; font-size:clamp(20px,5.2vw,26px); line-height:1.15; letter-spacing:-.045em; overflow-wrap:normal; hyphens:auto; }
  .hero h1 .cyan { display:block; }
  .hero .lead { grid-area:3/1/4/3; margin:3px 18px 14px; font-size:13.5px; line-height:1.47; }
  .hero .actions { grid-area:4/1/5/3; margin:0 17px 18px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
  .hero .btn { min-height:44px; padding:9px 11px; font-size:12px; }
  .portrait { grid-area:1/1/3/2; width:81px; height:102px; min-height:102px; margin:18px 0 0 13px; border-radius:11px; }
  .portrait::before { background:none; }
  .portrait::after { display:none; }
  .portrait img { object-position:center 27%; }
  .section { padding-top:34px; padding-bottom:10px; }
  .section-title { font-size:clamp(28px,7.1vw,37px); }
  .section-desc { font-size:15px; }
  .timeline { margin-left:8px; }
  .job { display:block; padding:0 0 24px 23px; }
  .job time { display:block; margin:0 0 5px; font-size:13px; }
  .job h3 { font-size:17px; }
  .job .job-role { font-size:14px; margin-bottom:7px; }
  .job .job-description { font-size:14px; }
  .earlier { margin-left:0; padding:12px 15px; }
  .earlier summary { font-size:14px; }
  .bento { display:grid; grid-template-columns:1fr; gap:12px; }
  .tile,.tile.wide { grid-column:1; min-height:0; padding:19px; }
  .tile h3 { font-size:19px; }
  .tile p { font-size:14px; }
  .practice-grid { gap:12px; }
  .contact { padding:22px 17px; }
  .contact-intro { font-size:14px; }
  .contact-method { padding:16px; }
  .email-address { font-size:19px; }
  .contact .actions { display:grid; grid-template-columns:1fr; }
  .contact .btn { width:100%; }
  .floating-contact { display:none!important; }
  .floating-tools { right:13px; bottom:14px; }
  .footer-inner { align-items:flex-start; flex-direction:column; gap:9px; padding-block:15px; }
  .footer-inner>span:last-child { gap:19px; }
  .legal-page { padding-top:40px; }
  .legal-card { padding:21px; }
}
@media(max-width:375px) {
  .hero-main { grid-template-columns:88px minmax(0,1fr); }
  .portrait { grid-area:1/1/2/2; width:71px; height:88px; min-height:88px; margin:16px 0 0 10px; }
  .hero .eyebrow { grid-area:1/2/2/3; align-self:center; font-size:10px; margin-top:16px; }
  .hero h1 { grid-area:2/1/3/3; margin:7px 15px 11px; font-size:clamp(22px,7.15vw,25px); line-height:1.17; overflow-wrap:normal; hyphens:none; }
  .hero .lead { grid-area:3/1/4/3; }
  .hero .actions { grid-template-columns:1fr; }
  .brand strong { font-size:17px; }
  .brand-icon { width:30px; }
  .header-inner { gap:7px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
}

/* Contrast refinements discovered during light-mode visual review. */
html[data-theme="light"] .section .eyebrow,
html[data-theme="light"] .legal-page .eyebrow { color:#006b86; }

/* Auxiliary labels for former contractor roles */
.earlier-it li small{display:block;margin-top:3px;font-size:.81em;line-height:1.45;color:var(--muted);font-weight:400}

/* V11.6 UX demonstration: small, reversible interaction improvements */
@media (hover:hover) and (pointer:fine) {
  .btn,.feature,.header-contact,.theme-toggle,.copy-email { transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease; }
  .btn:hover { box-shadow:0 7px 20px #0003; }
  .feature:hover { box-shadow:0 9px 24px #0002; }
}
.btn:active,.theme-toggle:active,.menu-toggle:active { transform:scale(.98); }
@media (hover:none) {
  .btn:hover,.feature:hover { transform:none; }
}
@media (max-width:600px) {
  .btn,.menu-toggle,.theme-toggle,.copy-email { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  .btn,.feature,.header-contact,.theme-toggle,.copy-email { transition:none!important; }
}

/* DAISS V12.0 Professional CV Edition: additive visual refinement */
:root { --radius:14px; }
.wrap { max-width:1440px; }
.header-inner { min-height:72px; gap:18px; }
.brand { min-width:198px; }
.brand strong { font-size:23px; }
.brand small { font-size:11px; }
.nav { gap:clamp(10px,1.45vw,25px); }
.nav a { font-size:14px; }
.hero { grid-template-columns:minmax(0,1fr); padding-top:24px; gap:14px; }
.hero-main { min-height:400px; grid-template-columns:minmax(0,1.55fr) minmax(270px,.8fr); border-radius:18px; background:radial-gradient(ellipse at 76% 30%,#0b4656 0%,transparent 42%),linear-gradient(110deg,#071925,#062638 70%,#051a27); }
.hero-copy { padding:clamp(28px,4vw,58px); }
.hero .eyebrow { color:#66e7f4; font-size:12px; letter-spacing:.16em; }
.hero h1 { font-size:clamp(34px,4.1vw,59px); letter-spacing:-.047em; line-height:1.09; }
.lead { max-width:750px; font-size:clamp(15px,1.25vw,18px); line-height:1.65; }
.hero-side { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; gap:12px; }
.feature { padding:18px 20px; min-height:112px; }
.feature strong { font-size:16px; }
.feature small { font-size:13px; }
.feature-arrow { display:none; }
.cv-snapshot { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding-top:15px; }
.snapshot-item { padding:16px 20px; border:1px solid var(--stroke); border-radius:12px; background:var(--panel); min-width:0; }
.snapshot-item strong { display:block; color:var(--accent); font-size:12px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.snapshot-item span { display:block; font-size:14px; line-height:1.45; }
.section { padding-top:66px; }
.section-title { font-size:clamp(29px,3.1vw,42px); }
.timeline { max-width:1100px; }
.job { padding-bottom:26px; }
.job > div { padding:15px 19px 18px; background:var(--panel); border:1px solid var(--stroke); border-radius:12px; }
.job-current > div { border-color:var(--accent); background:linear-gradient(110deg,#0e3545,#0d2433); }
.job-current time { color:var(--accent); }
.tile { min-height:unset; }
.cv-print-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:45px; }
.print-button { cursor:pointer; }
.print-help { color:var(--muted); font-size:13px; }
html[data-theme="light"] .job-current > div { background:#e5f6fb; }
html[data-theme="light"] .hero-main { background:linear-gradient(115deg,#103149,#0c4b61); }
@media(max-width:1120px) { .hero-main { grid-template-columns:minmax(0,1.25fr) minmax(220px,.8fr); } .hero-side { grid-template-columns:1fr; } .cv-snapshot { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .hero-main { grid-template-columns:1fr; } .hero-copy { padding:28px 22px; } .hero-side { grid-template-columns:1fr; } .cv-snapshot { grid-template-columns:1fr; } .feature { min-height:unset; } .section { padding-top:46px; } .job > div { padding:14px; } }
@media(max-width:480px) { .hero h1 { font-size:clamp(29px,8.5vw,39px); overflow-wrap:anywhere; } .hero-copy { padding:22px 18px; } .cv-print-actions { align-items:flex-start; flex-direction:column; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
@media print {
 @page { size:A4; margin:14mm; }
 html,body { background:#fff!important; color:#111!important; font-size:10pt!important; }
 .site-header,.hero-side,.cv-print-actions,.floating-tools,.footer,.skip,.actions,.theme-toggle,.header-contact { display:none!important; }
 .wrap { max-width:none; padding-inline:0; }
 .hero,.hero-main { display:block!important; min-height:0!important; border:0!important; background:#fff!important; }
 .hero-copy { padding:0!important; }
 .hero h1 { font-size:24pt!important; color:#111!important; }
 .hero h1 .cyan,.eyebrow,.kicker,.job-role { color:#15566b!important; }
 .lead,.section-desc,.tile p,.job-description,.contact-intro,.contact-hint,.contact-method p { color:#333!important; }
 .portrait { display:none!important; }
 .cv-snapshot { display:grid!important; grid-template-columns:repeat(3,1fr); gap:6px; }
 .snapshot-item,.tile,.job > div,.contact,.contact-method { background:#fff!important; color:#111!important; border:1px solid #aaa!important; box-shadow:none!important; }
 .section { padding:18px 0 0!important; break-before:auto; }
 .section-title { font-size:18pt!important; }
 .tile,.job,.practice-card,.contact-method { break-inside:avoid; }
 .timeline { border-left:1px solid #aaa; }
 .job { grid-template-columns:110px 1fr; gap:12px; padding-bottom:9px; }
 .job time { color:#15566b!important; }
 .job h3,.tile h3 { color:#111!important; }
 .tag { color:#111!important; background:#fff!important; border-color:#aaa!important; }
 details.earlier { display:block!important; background:#fff!important; color:#111!important; }
 details.earlier:not([open]) > :not(summary) { display:block!important; }
 a { color:#111!important; }
}

/* V13 – recruiter-first refinement, no new framework */
.hero-main{min-height:390px}
.hero-copy{max-width:none}
.hero .actions{align-items:center}
.btn-tertiary{border-color:transparent;background:transparent;color:#c6e7f3}
.btn-tertiary:hover{background:#15374a}
.cv-snapshot{padding-top:18px}
.snapshot-item{border-top:2px solid var(--accent)}
.section-title{max-width:1000px;text-wrap:balance}
.section-desc{max-width:800px}
.contact{border:1px solid var(--stroke)}
.contact .contact-intro{max-width:760px}
.job-current>div{box-shadow:inset 3px 0 0 var(--accent)}
html[data-theme="light"] .btn-tertiary{color:#0b5168}
html[data-theme="light"] .btn-tertiary:hover{background:#d7ecf4}
@media(max-width:760px){.hero-main{min-height:0}.hero .actions{display:grid;grid-template-columns:1fr}.hero .actions .btn{width:100%;min-height:48px}.cv-snapshot{gap:8px}.snapshot-item{padding:13px 16px}}
@media print{.hero h1{font-size:22pt!important}.cv-snapshot{grid-template-columns:1fr 1fr!important}.snapshot-item{break-inside:avoid}.contact .actions{display:none!important}a[href]::after{content:none!important}.earlier summary{list-style:none}.earlier summary::-webkit-details-marker{display:none}}

.hero-main { min-height: 0; }
.hero-copy { display: block; }
.hero h1 { margin: 0; font-size: clamp(42px, 5.5vw, 76px); }
.hero-role { margin: .5rem 0 1rem; color: #80ebf4; font-size: clamp(19px, 2.25vw, 29px); font-weight: 650; line-height: 1.25; }
.hero-role span { display: block; }
.hero-history { color: #d3e3ed; font-size: .94rem; margin: 0 0 1.25rem; }
.hero .career-link { color: #b9f7ff; display: inline-grid; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; }
.hero .actions { gap: 1rem; }
.job h3 { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus-ring, #009db1); outline-offset: 3px; }
:target { scroll-margin-top: 85px; }
@media (max-width: 760px) {
  .hero-main { grid-template-columns: minmax(0, 1fr) minmax(105px, .43fr); align-items: stretch; }
  .hero-copy { padding: 24px 20px; }
  .hero .lead, .hero .eyebrow, .hero .actions { margin-inline: 0; }
  .hero .actions { justify-items: start; gap: .45rem; }
  .hero-main .portrait { grid-area: 1 / 2; width: auto; height: auto; margin: 0; }
  .hero-main .portrait img { height: 100%; object-fit: cover; }
}
@media (max-width: 550px) {
  .hero-main { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { grid-area: 2 / 1; }
  .hero-main .portrait { grid-area: 1 / 1; height: 155px; }
  .hero-main .portrait img { object-position: center 30%; }
  .hero h1 { font-size: clamp(34px, 11vw, 52px); }
  .hero .lead { font-size: 15px; }
}
@media print {
  .hero-role { color: #15566b !important; font-size: 13pt; }
  .hero-history { color: #333 !important; }
  #profil, #praxis { display: none !important; }
  .job, .tile, .earlier li { break-inside: avoid; }
  .section-title { break-after: avoid; }
  .bento { display: block; }
  .tile { margin-bottom: 6px; }
  .contact, details.earlier, .contact-method, .practice-card { color: #111 !important; }
}

/* Portrait transition: blend the photograph into the shared hero background. */
.hero-main { background: #0c293b; }
html[data-theme="light"] .hero-main { background: #173f50; }
.hero-main .portrait { background: transparent; }
.hero-main .portrait::before,
.hero-main .portrait::after { content: none; }
.hero-main .portrait img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28%);
  mask-image: linear-gradient(to right, transparent, #000 28%);
}
@media (max-width: 550px) {
  .hero-main .portrait img {
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
    mask-image: linear-gradient(to bottom, #000 65%, transparent);
  }
}

/* iPhone review: keep hero text readable in both themes and show the portrait. */
@media screen {
  html[data-theme] .hero h1 { color: #f0f7ff; }
  html[data-theme] .hero .eyebrow { color: #a9eaf2; }
  html[data-theme] .hero .lead { color: #dceaf5; }
  html[data-theme] .hero .hero-role { color: #80ebf4; }
  html[data-theme] .hero .hero-history { color: #d3e3ed; }
}
@media screen and (max-width: 550px) {
  .hero-main .portrait {
    height: auto;
    min-height: 0;
    border-radius: 0;
  }
  .hero-main .portrait img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent);
    mask-image: linear-gradient(to bottom, #000 85%, transparent);
  }
  .hero .eyebrow { font-size: 10px; letter-spacing: .09em; }
  .hero-copy { padding-top: 20px; }
}

/* Compact mobile portrait with soft side and lower edges. */
@media screen and (max-width: 550px) {
  .hero-main .portrait {
    width: min(100%, 200px);
    justify-self: center;
  }
  .hero-main .portrait img {
    max-height: none;
    -webkit-mask-image:
      linear-gradient(to right, transparent, #000 15%, #000 85%, transparent),
      linear-gradient(to bottom, #000 78%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent, #000 15%, #000 85%, transparent),
      linear-gradient(to bottom, #000 78%, transparent);
    mask-composite: intersect;
  }
}


/* Desktop/banner composition, consolidated from variant3.css */
/* Variante 3: full-width portrait banner above the professional profile. */
@media screen {
  .hero .hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "copy";
    min-height: 0;
  }
  .hero .hero-main .portrait {
    grid-area: photo;
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    justify-self: stretch;
    overflow: hidden;
  }
  .hero .hero-main .portrait img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: center;

  }
  .hero .hero-main .portrait::before,
  .hero .hero-main .portrait::after { content: none; }
  .hero .hero-main .hero-copy {
    grid-area: copy;
    display: block;
    padding: clamp(24px, 3vw, 42px);
  }
  .hero .hero-copy .eyebrow { margin: 0 0 10px; }
  .hero .hero-copy h1 { margin: 0 0 10px; font-size: clamp(36px, 4.5vw, 64px); }
  .hero .hero-role { margin: 0 0 16px; }
  .hero .lead { max-width: 850px; }
}
@media screen and (max-width: 550px) {
  .hero .hero-main .portrait img { aspect-ratio: 2 / 1; }
  .hero .hero-main .hero-copy { padding: 22px 20px; }
  .hero .hero-copy h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero .hero-role { font-size: 20px; }
}

/* One measured anchor offset includes the fixed header and heading position. */
@media screen {
  html { scroll-padding-top: 0; }
  main section[id] { scroll-margin-top: var(--anchor-offset, 96px); }
  .site-header .nav {
    top: var(--header-height, 72px);
    max-height: calc(100dvh - var(--header-height, 72px));
  }
}

/* V14.4: prevent the masthead menu button from overflowing at 320 CSS px. */
@media screen and (max-width: 360px) {
  .header-inner { gap: 4px; }
  .brand { gap: 3px; min-width: 0; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 9px; }
  .brand-icon { width: 26px; }
  .brand-icon .icon-svg { width: 24px; height: 24px; }
  .theme-toggle { width: 34px; height: 34px; }
  .menu-toggle { width: 36px; height: 36px; }
}

/* V14.9: approved desktop hero unchanged; mobile 900 × 530 (90:53).
   The mobile asset keeps more jacket visible while using a shorter landscape
   frame. Both breakpoints display their source image in full without cropping. */
@media screen {
  .hero .hero-main .portrait {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 347 / 118;
    overflow: hidden;
    background: #092735;
  }
  .hero .hero-main .portrait picture { display: block; width: 100%; height: 100%; }
  .hero .hero-main .portrait img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero .hero-main .portrait::before,
  .hero .hero-main .portrait::after { content: none; display: none; }
}
@media screen and (max-width: 550px) {
  .hero .hero-main .portrait { aspect-ratio: 90 / 53; }
}



/* Desktop unchanged. Mobile redesign in mobile-editorial-v14-13.css. */
