@font-face{font-family:"Unica One";src:url('/assets/fonts/unica-one-normal.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}

    :root { color-scheme: dark; --ink:#eeece7; --muted:#aaa9a5; --line:#30302f; --paper:#0b0c0c; }
    *, *::before, *::after { box-sizing:border-box; }
    html, body { margin:0; background:var(--paper); color:var(--ink); }
    body { font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
    ::selection { background:var(--ink); color:var(--paper); }
    a { color:inherit; }
    a:focus-visible, button:focus-visible { outline:2px solid var(--ink); outline-offset:6px; }
    .mono { font:10px/1.5 "Courier New",Courier,monospace; letter-spacing:.04em; text-transform:uppercase; }
    .page { position:relative; isolation:isolate; min-height:100svh; display:grid; grid-template-columns:minmax(0,1fr) 240px; grid-template-rows:auto 1fr auto auto; gap:clamp(22px,4svh,42px) clamp(24px,4vw,64px); padding:clamp(20px,4svh,36px) 5.2%; overflow:clip; }
    .masthead, .glimpses, .closing-row { grid-column:1 / -1; }
    .hero-art { position:absolute; z-index:-1; pointer-events:none; width:62%; height:100%; right:-8%; top:0; opacity:.65; mask-image:linear-gradient(to right,transparent,#000 30%); }
    #particles { width:100%; height:100%; display:block; }
    .masthead { display:flex; justify-content:space-between; align-items:center; gap:20px; }
    .identity { font-family:"Unica One",Arial,sans-serif; font-size:23px; font-weight:400; font-style:normal; line-height:1.15; letter-spacing:.08em; }
    .header-right { display:flex; gap:32px; align-items:center; color:var(--muted); }
    .motion-control { color:var(--muted); border:0; background:none; cursor:pointer; padding:6px 0; font-size:10px; }
    .motion-control:hover { color:var(--ink); }
    .linkedin-link { display:grid; place-items:center; width:28px; height:28px; color:var(--muted); transition:color .15s; }
    .linkedin-link:hover { color:var(--ink); }
    .linkedin-link svg { display:block; width:18px; height:18px; }
    .introduction { grid-column:1; grid-row:2; align-self:center; min-width:0; padding:12px 0; }
    .eyebrow { display:flex; align-items:center; gap:9px; margin:0 0 clamp(16px,3svh,27px); color:var(--muted); }
    .eyebrow::before { content:""; width:4px; height:4px; background:var(--ink); }
    h1 { margin:0; font-size:clamp(54px,min(6.8vw,12svh),104px); font-weight:400; line-height:1.02; letter-spacing:-.065em; }
    h1 span { display:block; }
    .serif { font-family:"Unica One",Arial,sans-serif; font-style:normal; font-weight:400; letter-spacing:.08em; }
    .summary { color:var(--muted); font-size:15px; line-height:1.6; max-width:390px; margin:clamp(18px,3svh,28px) 0 0; }
    .glimpses { display:grid; grid-template-columns:repeat(3,1fr); gap:35px; border-top:1px solid var(--line); padding-top:22px; margin:0; }
    .glimpse { margin:0; }
    .glimpse dt { font-size:19px; line-height:1.25; letter-spacing:-.025em; }
    .glimpse dd { margin:7px 0 0; color:var(--muted); font-size:10px; }
    .closing { margin:0; max-width:650px; color:var(--muted); font-size:13px; line-height:1.7; }
    .story-link { color:var(--ink); text-decoration:underline; text-decoration-color:#777872; text-underline-offset:4px; text-decoration-thickness:1px; white-space:nowrap; }
    .story-link:hover { text-decoration-color:var(--ink); }
    .story-link[aria-disabled="true"] { cursor:default; }
    .side-menu { position:relative; z-index:4; grid-column:2; grid-row:2; align-self:center; display:grid; gap:0; border-left:1px solid var(--line); }
    .books-menu { position:static; }
    .books-trigger { width:100%; text-align:left; display:flex; align-items:center; gap:14px; padding:12px 0 12px 17px; border:0; border-left:1px solid #777872; background:transparent; color:var(--ink); font:12px/1.4 Arial,Helvetica,sans-serif; cursor:pointer; }
    .menu-number { color:var(--muted); font-size:9px; }
    .menu-symbol { color:var(--muted); font-size:17px; transition:transform .2s; }
    .side-menu .books-trigger { display:grid; grid-template-columns:18px minmax(0,1fr) 14px; gap:10px; min-height:52px; padding:13px 0 13px 18px; border-left:0; }
    .side-menu .menu-symbol { text-align:center; }
    .side-menu .books-trigger:hover, .side-menu .books-trigger[aria-expanded="true"] { background:linear-gradient(90deg,#ffffff08,transparent); }
    .books-trigger[aria-expanded="true"] .menu-symbol { transform:rotate(45deg); }
    .books-panel { position:absolute; right:calc(100% + 24px); top:50%; transform:translateY(-50%); width:min(470px,calc(100vw - 340px)); padding:22px; border:1px solid #3a3b38; background:#141513; box-shadow:0 24px 70px #0009; }
    .books-panel[hidden] { display:none; }
    .books-panel::after { content:""; position:absolute; left:100%; top:0; height:100%; width:25px; }
    .books-panel-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
    .books-panel h2 { margin:0; color:var(--muted); font-weight:400; font-size:10px; }
    .books-close { padding:0 3px; border:0; color:var(--muted); background:transparent; font:20px/1 Arial,sans-serif; cursor:pointer; }
    .books-close:hover { color:var(--ink); }
    .book-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
    .book { margin:0; min-width:0; }
    .book img { display:block; width:100%; height:auto; aspect-ratio:2/3; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 6px 8px #0006); }
    .book figcaption { margin-top:13px; font-size:12px; line-height:1.4; }
    .book-author { display:block; margin-top:5px; color:var(--muted); font-size:10px; }
    .country-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 18px; }
    .country { color:var(--ink); font-size:12px; line-height:1.4; }
    .country svg { display:block; width:42px; height:28px; margin-bottom:9px; outline:1px solid #ffffff20; }
    .country .flag-swiss { width:28px; }
    .languages { margin:22px 0 0; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.7; }
    .languages-label { display:block; margin-bottom:4px; font-size:9px; }
    .principle { margin:0; color:var(--ink); font:30px/1.4 "Unica One",Arial,sans-serif; letter-spacing:.08em; font-style:normal;}
    .principle span { display:block; }
    .values-list { display:grid; gap:16px; margin:0; }
    .values-list dt { font:normal 25px/1.2 "Unica One",Arial,sans-serif; letter-spacing:.08em; font-style:normal;}
    .values-list dd { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
    .aircraft-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
    .aircraft-panel { width:min(560px,calc(100vw - 340px)); }
    .aircraft-card { min-width:0; }
    .aircraft-card img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; background:var(--paper); }
    .aircraft-card .aircraft-film { object-fit:cover; object-position:45% 45%; }
    .aircraft-spec .word-spec { font-size:25px; }
    .aircraft-card h3 { margin:14px 0 11px; font-size:18px; line-height:1.2; font-weight:400; letter-spacing:-.025em; }
    .aircraft-spec { margin:0; font-size:12px; line-height:1.5; }
    .aircraft-spec strong { display:block; margin-bottom:3px; font:normal 32px/1.1 "Unica One",Arial,sans-serif; letter-spacing:.08em; font-style:normal;}
    .aircraft-detail { margin:7px 0 10px; color:var(--muted); font-size:11px; line-height:1.5; }
    .aircraft-source { color:var(--muted); font-size:10px; text-underline-offset:3px; }
    .aircraft-credit { margin:17px 0 0; padding-top:12px; border-top:1px solid var(--line); color:var(--muted); font-size:9px; line-height:1.5; }
    .closing-row { display:flex; align-items:center; justify-content:space-between; gap:28px; }
    .closing-row .closing { flex:1; }
    .contact-menu { position:relative; flex:none; z-index:5; }
    .contact-trigger { padding:12px 17px; gap:14px; border:1px solid var(--ink); background:var(--ink); color:var(--paper); white-space:nowrap; transition:background .2s,border-color .2s,box-shadow .25s,transform .25s; }
    .contact-trigger:hover { background:#d9d7d1; }
    @media (hover:hover) {
      .page:has(.identity:hover) .contact-trigger { background:#fff; border-color:#fff; box-shadow:0 0 0 5px #eeece722,0 0 30px #eeece733; transform:translateY(-2px); }
    }
    .contact-panel { right:0; top:auto; bottom:calc(100% + 16px); transform:none; width:min(390px,89.6vw); }
    .contact-panel:not([hidden]) { animation:contact-panel-enter .5s cubic-bezier(.25,.1,.25,1) both; }
    @keyframes contact-panel-enter {
      from { opacity:0; translate:0 10px; }
      to { opacity:1; translate:0 0; }
    }
    @media (prefers-reduced-motion:reduce) {
      .contact-panel:not([hidden]) { animation:none; }
    }
    .contact-panel::after { left:0; top:100%; width:100%; height:17px; }
    .contact-options { display:grid; }
    .contact-option { display:grid; grid-template-columns:1fr auto; gap:5px 15px; padding:15px 0; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; }
    .contact-option strong { font-size:15px; font-weight:400; }
    .contact-option small { grid-column:1; color:var(--muted); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
    .contact-option .contact-arrow { grid-column:2; grid-row:1 / 3; align-self:center; color:var(--muted); }
    .contact-option:hover strong { text-decoration:underline; text-underline-offset:4px; }
    .contact-note { margin:13px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }
    .contact-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:15px 0; border-top:1px solid var(--line); }
    .contact-row .contact-option { min-width:0; padding:0; border:0; grid-template-columns:minmax(0,1fr); }
    /* SVG geometry keeps contact controls monochrome on mobile platforms. */
    .contact-link-icon { display:inline-block; width:12px; height:12px; flex:none; vertical-align:-1px; }
    .contact-row .contact-link-icon { margin-left:2px; color:var(--muted); }
    .contact-close-icon { display:block; width:18px; height:18px; }
    .contact-row-chat { grid-template-columns:minmax(0,1fr); }
    .copy-contact { display:grid; place-items:center; width:32px; height:32px; padding:8px; border:0; background:transparent; color:var(--muted); opacity:.7; cursor:pointer; transition:color .15s,opacity .15s; }
    .copy-contact:hover, .copy-contact:focus-visible, .copy-contact[data-copied="true"] { color:var(--ink); opacity:1; }
    .copy-contact svg { display:block; width:16px; height:16px; }
    .copy-contact .copied-symbol, .copy-contact[data-copied="true"] .copy-symbol { display:none; }
    .copy-contact[data-copied="true"] .copied-symbol { display:block; }
    .copy-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    .copy-manual { margin-top:14px; color:var(--muted); font-size:11px; line-height:1.6; }
    .copy-manual[hidden] { display:none; }
    .copy-manual input { display:block; width:100%; margin-top:7px; padding:9px; border:1px solid var(--line); border-radius:0; background:var(--paper); color:var(--ink); font:12px Arial,Helvetica,sans-serif; }
    @media (max-width:900px) and (min-width:601px) {
      h1 { font-size:clamp(48px,7.5vw,68px); }
      .hero-art { right:-20%; width:80%; opacity:.5; }
      .glimpses { gap:20px; }
      .glimpse dt { font-size:17px; }
    }
    @media (max-width:600px) {
      .page { padding:22px 6%; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr auto auto; gap:clamp(14px,2.2svh,22px); }
      .identity { font-size:16px; }
      .location { display:none; }
      .header-right { gap:14px; }
      .motion-control { font-size:9px; }
      .hero-art { width:115%; height:67%; right:-48%; top:0; opacity:.4; }
      .introduction { grid-row:auto; padding:8px 0; }
      .eyebrow { font-size:9px; margin-bottom:18px; }
      h1 { font-size:clamp(38px,9.5vw,56px); line-height:1.07; }
      .summary { font-size:14px; max-width:310px; margin-top:20px; }
      .glimpses { grid-template-columns:1fr; gap:16px; padding-top:19px; }
      .glimpse { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:baseline; }
      .glimpse dt { font-size:16px; }
      .glimpse dd { font-size:9px; margin:0; }
      .closing { font-size:12px; max-width:310px; }
      .side-menu { grid-column:1; grid-row:auto; align-self:auto; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 14px; align-items:start; border-left:0; }
      .side-menu .books-trigger { grid-template-columns:minmax(0,1fr) 12px; min-height:32px; padding:4px 0 4px 8px; gap:5px; border-left:1px solid var(--line); }
      .books-menu { position:static; }
      .books-trigger { min-height:40px; padding:5px 0 5px 8px; gap:5px; font-size:10px; }
      .menu-number { display:none; }
      .menu-symbol { font-size:14px; }
      .books-panel { right:0; top:calc(100% + 12px); transform:none; width:min(470px,88vw); padding:16px; }
      .side-menu .books-panel { position:fixed; left:6%; right:6%; top:50%; bottom:auto; transform:translateY(-50%); width:auto; max-height:calc(100svh - 36px); overflow-y:auto; }
      .side-menu .books-panel::after { display:none; }
      .books-panel::after { left:0; top:-13px; width:100%; height:13px; }
      .books-panel-header { margin-bottom:15px; }
      .book-grid { gap:10px; }
      .book figcaption { font-size:10px; margin-top:11px; }
      .book-author { font-size:9px; }
      .country-grid { gap:17px 12px; }
      .country { font-size:11px; }
      .languages { margin-top:18px; padding-top:13px; font-size:11px; }
      .principle { font-size:24px; }
      .values-list dt { font-size:23px; }
      .aircraft-grid { gap:12px; }
      .aircraft-panel { bottom:auto; }
      .aircraft-card h3 { margin:11px 0 9px; font-size:16px; }
      .aircraft-spec { font-size:11px; }
      .aircraft-spec strong { font-size:27px; }
      .aircraft-spec .word-spec { font-size:23px; }
      .aircraft-detail { font-size:10px; }
      .closing-row { align-items:flex-end; gap:16px; }
      .contact-trigger { min-height:40px; padding:10px 12px; font-size:11px; gap:8px; }
      .contact-panel { right:0; top:auto; bottom:calc(100% + 12px); width:88vw; }
      .contact-panel::after { left:0; top:100%; width:100%; height:13px; }
    }
    @media (max-height:650px) {
      .page { padding-top:18px; padding-bottom:18px; gap:18px; }
      .introduction { padding:0; }
      .eyebrow { margin-bottom:14px; }
      .summary { margin-top:15px; }
      .glimpses { padding-top:16px; }
    }
    @media (prefers-reduced-motion:reduce) { *, *::before, *::after { transition:none !important; } }
    @media (max-width:600px) and (max-height:650px) { .page { gap:10px; } }

    .identity a { text-decoration:none; }
    .skip-link { position:fixed; z-index:100; left:20px; top:12px; padding:12px 18px; background:var(--ink); color:var(--paper); transform:translateY(-180%); }
    .skip-link:focus { transform:none; }
    .summary { max-width:440px; }
    .panel-intro { color:var(--muted); font-size:12px; line-height:1.7; margin:0 0 18px; }
    .panel-list { margin:0; display:grid; gap:16px; }
    .panel-list dt { font-size:17px; letter-spacing:-.025em; line-height:1.3; }
    .panel-list dd { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
    .panel-list .mono { display:block; margin-bottom:5px; color:var(--muted); font-size:9px; }
    .panel-links { display:flex; flex-wrap:wrap; gap:12px 22px; padding-top:18px; margin-top:18px; border-top:1px solid var(--line); font-size:12px; }
    .panel-note { color:var(--muted); font-size:11px; line-height:1.65; margin:20px 0 0; }
    .compact-principle { font-size:28px; }
    .panel-values { display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:22px; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
    .beyond-panel .book-grid { margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
    .contact-panel { width:min(410px,89.6vw); }
    .books-panel { max-height:calc(100svh - 48px); overflow-y:auto; overscroll-behavior:contain; }
    .books-close { min-width:28px; min-height:28px; }
    .subpage { max-width:1440px; margin:auto; padding:clamp(24px,4vw,52px) 5.2%; }
    .subpage .masthead { padding-bottom:32px; border-bottom:1px solid var(--line); }
    .subnav { display:flex; flex-wrap:wrap; gap:22px; font-size:11px; }
    .subnav a { color:var(--muted); text-decoration:none; }
    .subnav a:hover, .subnav a[aria-current] { color:var(--ink); text-decoration:underline; text-underline-offset:5px; }
    .document-hero { padding:clamp(45px,7vw,100px) 0 46px; max-width:960px; }
    .document-hero h1 { font-size:clamp(42px,6.2vw,86px); line-height:1.05; }
    .document-hero .summary { max-width:620px; font-size:16px; }
    .document-actions { display:flex; flex-wrap:wrap; gap:16px 26px; margin-top:27px; align-items:center; font-size:12px; }
    .solid-link { display:inline-flex; align-items:center; gap:20px; padding:13px 18px; color:var(--paper); background:var(--ink); text-decoration:none; }
    .solid-link:hover { background:#d9d7d1; }
    .document-section { display:grid; grid-template-columns:minmax(140px,1fr) minmax(0,3fr); gap:32px; padding:36px 0; border-top:1px solid var(--line); scroll-margin-top:24px; }
    .section-label { margin:0; color:var(--muted); font-weight:400; font-size:10px; }
    .prose { max-width:790px; }
    .prose h2, .prose h3 { font-weight:400; font-size:25px; line-height:1.3; letter-spacing:-.035em; margin:0 0 13px; }
    .prose p, .prose li { color:var(--muted); font-size:14px; line-height:1.8; }
    .prose p { margin:0 0 15px; }
    .prose ul { padding-left:18px; margin:14px 0 0; }
    .prose li+li { margin-top:8px; }
    .prose strong { color:var(--ink); font-weight:400; }
    .experience-entry+.experience-entry { border-top:1px solid var(--line); margin-top:30px; padding-top:30px; }
    .experience-meta { margin:0 0 10px !important; font-size:10px !important; }
    .experience-entry h3 { font-size:23px; }
    .credential-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
    .credential-grid h3 { font-size:20px; }
    .document-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; border-top:1px solid var(--line); padding-top:28px; margin-top:14px; color:var(--muted); font-size:11px; }
    .document-footer a { text-underline-offset:4px; }
    .print-only { display:none; }
    @media (max-width:600px) {
      .summary { max-width:340px; }
      .panel-list { gap:13px; }
      .panel-list dt { font-size:16px; }
      .panel-list dd { font-size:11px; }
      .compact-principle { font-size:24px; }
      .contact-panel { position:fixed; left:6%; right:6%; top:50%; bottom:auto; width:auto; transform:translateY(-50%); }
      .subpage { padding:22px 6%; }
      .subpage .masthead { align-items:flex-start; gap:20px; padding-bottom:24px; }
      .subnav { gap:14px; font-size:10px; }
      .document-hero { padding:45px 0 32px; }
      .document-hero .summary { font-size:14px; }
      .document-section { grid-template-columns:1fr; gap:20px; padding:28px 0; }
      .prose h2 { font-size:24px; }
      .prose p, .prose li { font-size:13px; }
      .credential-grid { grid-template-columns:1fr; gap:24px; }
    }
    @media print {
      :root { --ink:#111; --muted:#333; --line:#ccc; --paper:#fff; color-scheme:light; }
      body { background:#fff; color:#111; }
      .subpage { padding:0; max-width:none; }
      .subnav, .document-actions, .document-footer, .skip-link { display:none; }
      .print-only { display:block; }
      .document-hero { padding:24px 0; }
      .document-hero h1 { font-size:40px; }
      .document-section { padding:20px 0; gap:20px; }
      .experience-entry { break-inside:avoid; }
      .prose p, .prose li { font-size:10pt; line-height:1.5; }
    }

    @media (max-width:600px) and (max-height:650px) {
      .page { padding-top:16px; padding-bottom:16px; gap:8px; }
      .page .eyebrow { margin-bottom:10px; }
      .page .summary { margin-top:10px; }
      .page .glimpses { gap:10px; }
    }

/* Shared personal identity and the direct blog entry. */
.brand-link { display:inline-flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; flex-shrink:0; }
.brand-symbol { display:block; width:36px; height:36px; object-fit:contain; flex:none; }
.brand-name { font:normal 400 23px/1.15 "Unica One",Arial,sans-serif; letter-spacing:.08em; white-space:nowrap; font-style:normal;}
.blog-entry { color:var(--ink); text-decoration:none; }
.blog-entry:hover { background:linear-gradient(90deg,#ffffff08,transparent); }
.blog-entry .menu-symbol { font-size:16px; }
@media (max-width:700px) {
  .brand-link { gap:9px; }
  .brand-name { font-size:14px; }
  .brand-symbol { width:27px; height:27px; }
}
@media (max-width:600px) {
  .page .masthead { gap:12px; }
  .page .header-right { gap:10px; }
  .page .linkedin-link { width:23px; height:27px; }
  .subpage .masthead { flex-wrap:wrap; }
}

@media (max-width:600px) and (max-height:650px) { .page { gap:7px; } }

/* More-menu links use the existing monochrome palette. */
.profile-links{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.profile-links a{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line)}
.profile-links a:hover{color:var(--ink);text-decoration-color:var(--ink)}

.more-menu{position:relative}
.more-panel{width:min(320px,calc(100vw - 340px));background:var(--paper)}
