/* MG Solutions: shared visual language from https://mgsolutions.be/ */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/brand/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/brand/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --ink: #020617;
  --paper: #f8fafc;
  --accent: #22d3ee;
  --muted: #475569;
  --line: #e2e8f0;
  --serif: Inter, Arial, sans-serif;
}
body { font-family: Inter, Arial, sans-serif; color: #0f172a; background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(1280px, calc(100% - 64px)); }
h1, h2, h3 { font-family: Inter, Arial, sans-serif; font-weight: 700; }
h1, h2 { letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; }
h3 { letter-spacing: -.02em; }
h2 { text-wrap: balance; line-height: 1.18; }
.section-heading h2, .wide-heading h2, .about-profile h2 { max-width: 23ch; }
.section-heading p, .description { line-height: 1.75; }
.project-order { margin: 0 0 9px; color: #64748b; font-size: 12px; line-height: 1.6; }
.projects-content .project-grid { align-items: stretch; }
.project { display: flex; flex-direction: column; }
.project>details { margin-top: auto; padding-top: 10px; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.accent, .organization, .entry-link, .hobby-index { color: #0e7490; }
.eyebrow { color: #0e7490; font-size: 12px; letter-spacing: .17em; }
.dot { background: var(--accent); }
:focus-visible { outline: 3px solid #0891b2; outline-offset: 4px; }
.button, .secondary, .text-button, a, summary { transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s; }
.button { background: #22d3ee; color: #020617; border-radius: 999px; font-weight: 700; padding: 15px 25px; font-size: 14px; }
.button:hover { background: #67e8f9; filter: none; }
.secondary { border-color: #cbd5e1; border-radius: 999px; padding: 11px 20px; font-weight: 600; }
.secondary:hover { background: #ecfeff; border-color: #67e8f9; filter: none; }
.text-button { font-weight: 600; }
.text-button:hover { color: #0e7490; filter: none; }
.header { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5; border: 0; min-height: 116px; gap: 24px; }
.brand { background: white; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px #02061712; border-radius: 12px; padding: 12px 16px; flex-shrink: 0; }
.brand img { width: 210px; height: auto; display: block; }
.brand:hover { text-decoration: none; }
.header-links { display: flex; align-items: center; gap: 12px; }
.header nav { background: #fffffff2; color: #334155; border: 1px solid #e2e8f0b3; border-radius: 999px; padding: 12px 24px; gap: 26px; font-weight: 600; box-shadow: 0 1px 3px #02061712; }
.header nav a:hover { color: #0e7490; text-decoration: none; }
.company-link { background: white; border-radius: 999px; padding: 13px 20px; color: #334155; font-size: 13px; font-weight: 600; white-space: nowrap; }
.company-link:hover { color: #0e7490; text-decoration: none; background: #ecfeff; }
.language-switch select { display: block; max-width: 170px; min-height: 46px; padding: 11px 34px 11px 15px; border: 1px solid #e2e8f0; border-radius: 999px; font: 600 13px Inter, Arial, sans-serif; color: #334155; background: white; cursor: pointer; }
.language-switch select:hover { border-color: #67e8f9; }
.photo-caption { white-space: pre-line; }
.editor-language { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: white; padding: 20px 24px; border: 1px solid #e2e8f0; border-radius: 16px; margin-top: 28px; }
.editor-language select { display: block; font: inherit; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 14px; margin-top: 8px; min-width: 185px; background: white; color: #0f172a; }
.editor-language p { margin: 0; font-size: 13px; color: #475569; max-width: 520px; }
@media (max-width: 1100px) { .company-link { display: none; } }
@media (max-width: 650px) {
  body:not(.admin)>.header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 142px; }
  .header-links { display: contents; }
  .header .brand { grid-column: 1; grid-row: 1; width: max-content; }
  .header .language-switch { grid-column: 2; grid-row: 1; }
  .language-switch select { max-width: 150px; min-height: 44px; font-size: 12px; padding-left: 12px; padding-right: 26px; }
  .header nav { grid-column: 1/-1; grid-row: 2; justify-self: center; justify-content: center; width: max-content; }
  .header nav a:first-child { display: inline; }
  .masthead .hero { padding-top: 175px; }
  .editor-language { flex-direction: column; align-items: stretch; }
}
.masthead { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at top right, #06b6d433, transparent 38%), radial-gradient(circle at bottom left, #3b82f624, transparent 35%), #020617; }
.masthead::before, .masthead::after { content: ''; position: absolute; border: 1px solid #22d3ee33; border-radius: 50%; width: 320px; height: 320px; right: -95px; top: 130px; pointer-events: none; }
.masthead::after { width: 208px; height: 208px; right: -24px; top: 210px; }
.hero { position: relative; z-index: 1; grid-template-columns: 1.2fr .8fr; gap: 7%; padding: 172px 0 80px; align-items: center; }
.hero h1 { font-size: clamp(62px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin-bottom: 24px; color: white; }
.hero .accent, .hero .eyebrow { color: #67e8f9; }
.hero .subtitle { color: #e2e8f0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.4; margin: 0 0 22px; }
.hero .intro { font-size: 15px; line-height: 1.8; color: #cbd5e1; margin: 0; max-width: 650px; }
.hero .actions { margin-top: 28px; gap: 14px; }
.hero .text-button { color: white; border: 1px solid #475569; border-radius: 999px; padding: 13px 21px; }
.hero .text-button:hover { background: #ffffff0d; border-color: #94a3b8; }
.identity.portrait-card { border-radius: 24px; border: 1px solid #ffffff26; padding: 12px; background: #ffffff0f; box-shadow: 0 25px 60px #02061766; margin: 35px 0 0; max-width: 470px; aspect-ratio: auto; overflow: hidden; }
.portrait-card img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 1/1; }
.portrait-card .identity-bottom { position: relative; padding: 20px 7px 8px; background: none; color: #cbd5e1; font-size: 9px; letter-spacing: .1em; gap: 14px; }
.skills { padding: 34px 0; border-top: 0; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.skills .eyebrow { color: #0e7490; margin: 0; }
.skills>.eyebrow { flex: 0 0 auto; white-space: nowrap; }
.skills .chips { min-width: 0; }
.portrait-card .identity-bottom { font-size: 10px; line-height: 1.6; }
.chip { background: white; color: #334155; border-color: #e2e8f0; border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 500; }
.strengths .chip { color: #155e75; background: #ecfeff; border: 1px solid #cffafe; }
.portfolio-section, .section { padding-top: 80px; padding-bottom: 80px; }
.expertise-grid { gap: 24px; }
.expertise-item { background: white; border: 1px solid #e2e8f0; border-radius: 24px; padding: 28px; box-shadow: 0 1px 3px #02061708; }
.expertise-item h3 { font-size: 18px; margin-bottom: 12px; }
.expertise-item .description { font-size: 14px; line-height: 1.8; }
.organization { color: #0e7490; font-weight: 600; }
.period { color: #64748b; font-weight: 500; }
.entry summary { color: #0e7490; }
.project, .hobby { background: white; border-color: #e2e8f0; border-radius: 24px; box-shadow: 0 1px 3px #02061708; }
.project:hover { border-color: #a5f3fc; box-shadow: 0 10px 28px #0f172a0a; }
.project .description, .hobby p { line-height: 1.8; }
.hobby-index { color: #0e7490; font-weight: 700; }
.project-filters input, .project-filters select, input, textarea { border-color: #cbd5e1; border-radius: 12px; }
input:focus, textarea:focus, select:focus { border-color: #0891b2; }
.contact { position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0, #06b6d433, transparent 55%), #020617; border-radius: 24px; padding: 56px 60px; }
.contact .eyebrow, .contact h2 span { color: #67e8f9; }
.contact h2 { font-size: clamp(33px, 4.5vw, 60px); color: white; }
.button.light { background: #22d3ee; color: #020617; }
.button.light:hover { background: #67e8f9; }
.contact-link { color: #e2e8f0; }
.contact-link:hover { color: #67e8f9; }
.footer { color: #64748b; padding: 30px 0; font-size: 12px; }
.footer a:hover { color: #0e7490; }
.notice { background: #ecfeff; border-color: #0891b2; border-radius: 12px; }
.admin .header { position: relative; top: auto; left: auto; transform: none; background: #020617; width: 100%; max-width: none; padding: 18px max(32px, calc((100% - 1216px) / 2)); }
.admin .brand { gap: 20px; }
.admin .brand span { font-size: 12px; color: #475569; }
.admin .header>a:last-child { color: #e2e8f0; font-size: 13px; font-weight: 600; }
.admin h1 { font-weight: 700; letter-spacing: -.04em; }
.admin h2 { letter-spacing: -.025em; }
.toolbar { background: #ecfeff; border-color: #a5f3fc; border-radius: 16px; }
.edit-card { background: white; border-color: #e2e8f0; border-radius: 20px; }
.switch input { accent-color: #0891b2; }
.status { background: #0f172a; border-radius: 12px; }
.status.failure { background: #9f1239; }
.row-tools button:last-child { color: #9f1239; }
.project details { margin-top: 16px; }
.project summary { color: #0e7490; cursor: pointer; font-size: 13px; font-weight: 600; padding: 6px 0; }
.project summary:hover { text-decoration: underline; }
.project summary, .entry summary { min-height: 44px; padding-top: 11px; padding-bottom: 11px; line-height: 1.6; }
.project .description-list { font-size: 13px; line-height: 1.8; }
.projects-content .project-grid.single-result { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header { min-height: 104px; }
  .brand img { width: 174px; }
  .header nav { gap: 16px; padding: 12px 18px; font-size: 12px; }
  .company-link { font-size: 12px; padding: 13px 16px; }
  .hero { padding-top: 150px; grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 68px; }
  .hero .intro { max-width: 740px; font-size: 16px; }
  .identity.portrait-card { width: 100%; margin: 0; justify-self: start; max-width: 430px; }
  .hero .portrait-card .identity-bottom { font-size: 9px; }
  .section, .portfolio-section { padding-top: 55px; padding-bottom: 55px; }
  .admin .header { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; min-height: 104px; align-content: start; }
  .brand { padding: 10px 12px; border-radius: 10px; }
  .brand img { width: 134px; }
  .header-links { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .header nav { gap: 12px; padding: 11px 14px; font-size: 11px; }
  .header nav a:first-child { display: none; }
  .company-link { display: none; }
  .hero { padding-top: 134px; padding-bottom: 44px; gap: 32px; }
  .hero h1 { font-size: clamp(48px, 12vw, 66px); }
  .hero .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero .subtitle { font-size: 20px; }
  .hero .intro { font-size: 14px; }
  .hero .actions { align-items: stretch; flex-direction: column; }
  .hero .actions .button, .hero .actions .text-button { width: 100%; justify-content: center; text-align: center; }
  .identity.portrait-card { max-width: 430px; border-radius: 20px; padding: 10px; }
  .portrait-card img { border-radius: 12px; }
  .skills { padding: 26px 0; }
  .expertise-item { border-radius: 20px; padding: 24px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact { padding: 35px 26px; border-radius: 20px; }
  .contact .actions { align-items: flex-start; }
  .admin .header { min-height: 96px; align-items: center; flex-wrap: nowrap; padding: 16px 18px; }
  .admin .brand { gap: 10px; }
  .admin .brand img { width: 140px; }
  .admin .brand span { display: none; }
  .admin .header>a:last-child { font-size: 11px; text-align: right; max-width: 110px; }
}
@media (max-width: 380px) {
  .header .brand img { width: 134px; }
  .header nav { gap: 10px; font-size: 11px; padding: 10px 12px; }
  .header { gap: 10px; }
}
@media print {
  body { background: white; color: black; font-size: 11px; }
  .wrap { width: 100%; }
  .header { position: static; transform: none; min-height: 55px; padding: 0; }
  .brand { border: 0; padding: 0; box-shadow: none; }
  .brand img { width: 160px; }
  .header-links { display: none; }
  .masthead { color: black; background: white; overflow: visible; }
  .masthead::before, .masthead::after { display: none; }
  .hero { padding: 25px 0; display: block; }
  .hero h1 { color: black; font-size: 38px; }
  .hero .subtitle { color: #0f172a; font-size: 16px; }
  .hero .intro { color: #334155; font-size: 11px; }
  .hero .eyebrow { color: #0e7490; }
  .section, .portfolio-section { padding: 25px 0; }
  .expertise-item { padding: 12px; border-radius: 8px; box-shadow: none; }
  .contact { background: white; color: black; padding: 20px; border: 1px solid #cbd5e1; }
  .contact h2 { color: black; font-size: 24px; }
  .contact-link { color: black; }
  .project, .hobby { box-shadow: none; border-radius: 8px; }
  .project { display: block; }
  .project-order { display: none; }
  .project details summary { display: none; }
  .project .description-list { font-size: 10px; }
}
@media (max-width: 650px) {
  body:not(.admin)>.header nav a:first-child { display: inline; }
}
@media (max-width: 380px) {
  .header .brand img { width: 110px; }
  .header .language-switch select { max-width: 120px; font-size: 11px; padding-left: 9px; padding-right: 21px; }
}

/* Keep the route back to MG Solutions available on every screen size. */
.header .company-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer { flex-wrap: wrap; gap: 14px 24px; }
.company-footer-link { color: #0e7490; font-weight: 600; }
@media (min-width: 651px) and (max-width: 1100px) {
  .header { align-items: flex-start; padding-top: 24px; }
  .header-links { flex-wrap: wrap; justify-content: flex-end; max-width: calc(100% - 265px); }
  .header nav { order: 3; justify-content: center; width: 100%; gap: 18px; }
  .masthead .hero { padding-top: 210px; }
}
@media (max-width: 650px) {
  .header .company-link { grid-column: 1/-1; grid-row: 3; justify-self: center; padding: 9px 18px; }
  body:not(.admin)>.header { padding-top: 16px; }
  .masthead .hero { padding-top: 230px; }
}
@media print { .company-footer-link { display: none; } }
