:root {
  color-scheme: light;
  --ink: #172b38;
  --navy: #101e2b;
  --navy-2: #183344;
  --muted: #536875;
  --line: #d8e4e8;
  --cyan: #a0e8e9;
  --paper: #ffffff;
  --mist: #eff5f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--cyan); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main:focus { outline: none; }
.shell { width: min(100% - 64px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; left: 20px; top: -100px; padding: 12px 18px; background: #fff; color: #111; }
.skip-link:focus { top: 14px; }

.site-header { position: relative; z-index: 10; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(140,224,235,.8); color: var(--cyan); font-size: 16px; font-weight: 800; letter-spacing: -.09em; padding-right: 2px; }
.brand-point { position: absolute; width: 5px; height: 5px; right: -3px; bottom: -3px; background: var(--cyan); }
.brand-name { font-size: 15px; font-weight: 750; letter-spacing: .01em; line-height: 1.1; }
.brand-name span { display: block; margin-top: 5px; color: #afbecb; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); margin-left: auto; }
.primary-nav a, .header-contact { font-size: 14px; font-weight: 650; letter-spacing: .01em; text-decoration: none; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d4dde6; transition: color .2s ease; }
.primary-nav a:hover, .text-link:hover, .inline-link:hover { color: var(--cyan); }
.header-contact { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; padding: 11px 16px; border: 1px solid rgba(140,224,235,.6); color: var(--cyan); white-space: nowrap; transition: background .2s ease, color .2s ease; }
.header-contact:hover { color: var(--navy); background: var(--cyan); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(circle at 84% 18%, rgba(58,120,134,.34), transparent 37%), linear-gradient(145deg, #101e2b, #173244 70%, #1c3b49); }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .4; background-image: linear-gradient(rgba(160,232,233,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(160,232,233,.09) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(90deg, transparent 10%, #000 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: center; gap: clamp(40px, 5vw, 80px); padding-block: clamp(72px, 7vw, 112px) 76px; }
.hero-copy { max-width: 710px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: var(--cyan); font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-rule { display: block; width: 26px; height: 1px; background: currentColor; }
.eyebrow-location { color: #b6cdd3; }
.eyebrow-location::before { content: "·"; margin-right: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 26px; font-size: clamp(3.7rem, 5.85vw, 6.5rem); line-height: 1.01; letter-spacing: -.064em; font-weight: 760; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-lede { max-width: 600px; margin-bottom: 34px; color: #d4e0e5; font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 15px 19px; text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.2; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--cyan); }
.button-primary:hover { background: #b5f1f5; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: #f2f7fa; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 6px; transition: color .2s ease; }
.text-link span, .inline-link span { margin-left: 6px; }
.hero-visual { position: relative; padding: 0 0 26px 26px; }
.hero-visual::before { content: ""; position: absolute; inset: 28px 21px 4px 0; border: 1px solid rgba(140,224,235,.5); }
.portrait-frame { position: relative; aspect-ratio: 4 / 4.25; overflow: hidden; background: #566473; box-shadow: 0 32px 62px rgba(0,0,0,.2); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.11); }
.portrait-frame picture { display: block; width: 100%; height: 100%; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 39%; filter: saturate(.8) contrast(1.02); }
.portrait-label { flex-wrap: wrap; position: relative; display: flex; justify-content: space-between; gap: 7px 20px; margin-top: 15px; color: #afcbd0; font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 30px; border-top: 1px solid rgba(255,255,255,.17); gap: 30px; }
.proof-item { padding-left: 20px; border-left: 2px solid rgba(140,224,235,.7); }
.proof-item strong { display: block; margin-bottom: 6px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -.025em; }
.proof-item span { color: #c3d3dc; font-size: 14px; line-height: 1.5; }

.section { padding-block: clamp(84px, 9vw, 128px); }
.section-kicker { margin-bottom: 21px; color: #176b78; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 45px; }
.section-heading h2, .about h2, .credentials h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.35rem, 4.1vw, 4.15rem); line-height: 1.06; letter-spacing: -.053em; font-weight: 750; }
.section-heading > p { max-width: 390px; margin-bottom: 4px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.expertise { background: var(--mist); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.expertise-card { display: flex; flex-direction: column; min-height: 400px; padding: 30px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(20,54,66,.035); transition: transform .25s ease, box-shadow .25s ease; }
.card-index { color: #176b78; font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.card-rule { width: 46px; height: 2px; margin: 25px 0 31px; background: #329fa9; }
.expertise-card h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.expertise-card p { margin-bottom: 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.skill-list li { padding: 8px 10px; color: #244d5a; background: #e9f3f3; font-size: 14px; font-weight: 700; line-height: 1.3; }
@media (hover: hover) { .expertise-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,54,66,.09); } }

.about { color: #fff; background: #173342; }
.about-grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(56px, 10vw, 150px); }
.about .section-kicker { color: var(--cyan); }
.about h2 { max-width: 620px; }
.about-intro { max-width: 510px; margin-top: 26px; color: #bed1d8; font-size: 18px; line-height: 1.65; }
.about-body { padding-top: 3px; }
.approach-list { margin: 0; padding: 0; list-style: none; counter-reset: approach; }
.approach-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 20px; padding: 22px 0 23px; border-top: 1px solid rgba(255,255,255,.19); }
.approach-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.19); }
.approach-index { padding-top: 4px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.approach-list h3 { margin-bottom: 7px; font-size: 21px; letter-spacing: -.025em; }
.approach-list p { margin-bottom: 0; color: #c0d1d8; font-size: 15px; line-height: 1.65; }
.inline-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 28px; padding-bottom: 5px; border-bottom: 2px solid var(--cyan); color: var(--cyan); font-size: 14px; font-weight: 750; text-decoration: none; }

.credentials-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; }
.credentials h2 span { color: #536875; }
.credential-detail { padding: 26px 0 28px; border-block: 1px solid var(--line); }
.credential-abbr { margin-bottom: 20px; color: #207c88; font-size: clamp(3.3rem, 5vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.credential-label { margin-bottom: 8px; color: #176b78; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.credential-detail h3 { margin: 0 0 9px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.credential-detail p:last-child { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.contact { padding-block: clamp(76px, 8vw, 108px); color: #fff; background: radial-gradient(circle at 100% 0, rgba(160,232,233,.2), transparent 32%), #216071; }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.contact .section-kicker { color: var(--cyan); }
.contact h2 { margin-bottom: 21px; }
.contact p:not(.section-kicker) { margin-bottom: 0; color: #e0eff0; font-size: 17px; line-height: 1.6; }
.button-light { flex-shrink: 0; color: var(--navy); background: #fff; }
.button-light:hover { background: var(--cyan); }
.site-footer { color: #aab9c7; background: var(--navy); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 86px; font-size: 14px; font-weight: 650; }
.footer-inner p { margin: 0; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: #dbe6ed; text-decoration: none; }
.footer-inner a:hover { color: var(--cyan); }

/* A verifiable project alongside the professional profile. */
.project { background: var(--paper); }
.project-panel { display: grid; grid-template-columns: 1.2fr .8fr; border: 1px solid var(--line); }
.project-copy { padding: clamp(26px, 4vw, 52px); }
.project-label, .diagram-label { margin-bottom: 22px; color: #176b78; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-copy h3 { margin-bottom: 18px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.15; }
.project-copy > p:not(.project-label) { color: var(--muted); font-size: 16px; line-height: 1.7; }
.project-details { padding-left: 20px; margin: 22px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.project-details li + li { margin-top: 10px; }
.project-details strong { color: var(--ink); }
.project-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #176b78; font-size: 14px; font-weight: 750; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.project-link:hover { color: var(--navy); }
.delivery-diagram { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 52px); background: var(--mist); border-left: 1px solid var(--line); }
.delivery-path { margin: 8px 0 26px; padding: 0; list-style: none; }
.delivery-path li { position: relative; display: flex; align-items: center; gap: 18px; }
.delivery-path li + li { margin-top: 38px; }
.delivery-path li:not(:last-child)::after { content: ""; position: absolute; top: 45px; left: 22px; height: 31px; border-left: 1px dashed #5b858d; }
.delivery-node { display: grid; place-items: center; flex-shrink: 0; width: 45px; height: 45px; background: #fff; border: 1px solid #81aeb4; color: #176b78; font-size: 12px; font-weight: 800; }
.delivery-path strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.delivery-path div > span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.diagram-note { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Professional roles verified against the LinkedIn profile. */
.career-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.career-entry { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); padding: 38px 30px; border-bottom: 1px solid var(--line); }
.career-current { background: var(--mist); border-left: 3px solid #207c88; padding-left: 27px; }
.career-meta { color: var(--muted); font-size: 13px; line-height: 1.6; }
.career-meta p { margin-bottom: 5px; }
.career-meta p:first-of-type { color: var(--ink); font-weight: 700; }
.current-label { display: inline-block; padding: 5px 9px; margin-bottom: 16px; color: #155a65; background: #d9eeee; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.career-company { margin-bottom: 8px; color: #176b78; font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.career-entry h3 { margin-bottom: 15px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.career-summary { margin-bottom: 14px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.career-entry ul { padding-left: 19px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.career-entry li + li { margin-top: 9px; }
.career-progression { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.career-entry article > :last-child { margin-bottom: 0; }
.career-foundation { margin: 26px 0 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.career-foundation strong { color: var(--ink); }
.lab-project { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); padding: clamp(26px, 4vw, 52px); margin-bottom: 28px; background: var(--mist); border: 1px solid var(--line); }
.lab-project h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.035em; }
.lab-project > div > p:not(.project-label) { color: var(--muted); font-size: 16px; line-height: 1.7; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; }
  .primary-nav { order: 3; width: 100%; justify-content: center; margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-inner { grid-template-columns: 1fr .82fr; gap: 35px; }
  .expertise-card { padding: 22px; }
  .expertise-card h3 { font-size: 21px; }
  .skill-list li { font-size: 13px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 38px, 560px); }
  html { scroll-padding-top: 30px; }
  .header-inner { min-height: 74px; row-gap: 8px; }
  .brand-name { font-size: 14px; }
  .header-contact { padding: 10px 11px; font-size: 13px; gap: 7px; }
  .primary-nav { justify-content: space-between; gap: 12px; padding-top: 4px; }
  .primary-nav a { font-size: 14px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 42px 36px; gap: 32px; }
  .hero-copy { max-width: 570px; }
  h1 { font-size: clamp(3.25rem, 12.7vw, 5.8rem); }
  .hero-lede { font-size: 17px; }
  .hero-visual { max-width: 455px; padding-left: 18px; }
  .hero-visual::before { inset: 20px 18px 4px 0; }
  .portrait-frame { aspect-ratio: 1 / .89; }
  .hero-proof { grid-template-columns: 1fr; gap: 18px; padding-block: 25px 33px; }
  .proof-item { padding-left: 15px; }
  .proof-item strong { font-size: 18px; margin-bottom: 2px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 22px; }
  .section-heading > p { max-width: 550px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 12px; }
  .expertise-card { min-height: 0; padding: 27px; }
  .card-rule { margin: 17px 0 24px; }
  .expertise-card p { margin-bottom: 24px; }
  .skill-list { margin-top: 0; }
  .skill-list li { font-size: 14px; }
  .project-panel, .lab-project { grid-template-columns: 1fr; }
  .lab-project { gap: 12px; }
  .career-entry { grid-template-columns: 1fr; gap: 16px; padding: 28px 20px; }
  .career-current { padding-left: 17px; }
  .career-entry h3 { font-size: 24px; }
  .delivery-diagram { border-left: 0; border-top: 1px solid var(--line); }
  .about-grid, .credentials-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-body { padding-top: 0; }
  .about-intro { font-size: 17px; }
  .approach-list p { font-size: 15px; }
  .credential-detail { padding-top: 25px; }
  .contact-inner { display: block; }
  .contact h2 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .contact p:not(.section-kicker) { margin-bottom: 30px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 24px; gap: 8px 20px; }
  .footer-inner p:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 410px) {
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .brand { gap: 8px; }
  .brand-name span { font-size: 8px; }
  .header-contact { font-size: 12px; }
  .primary-nav { justify-content: space-between; gap: 14px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .eyebrow-rule { width: 17px; }
  .eyebrow-location { flex-basis: 100%; margin-left: 25px; }
  .eyebrow-location::before { content: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .portrait-label { font-size: 12px; }
  .portrait-label span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .brand-name span { display: none; }
  .header-contact { font-size: 11px; padding-inline: 8px; }
  .primary-nav a { font-size: 12px; }
  h1 { font-size: 2.7rem; }
  .hero-lede { font-size: 16px; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #000; background: #fff; }
  .shell { width: 100%; }
  .site-header, .skip-link, .hero-grid, .hero-actions, .hero-visual, .contact, .site-footer { display: none; }
  .hero, .about, .expertise, .project, .credentials, .delivery-diagram, .expertise-card { color: #000; background: #fff; box-shadow: none; }
  .hero-inner { display: block; padding: 20px 0; }
  h1 { font-size: 32pt; }
  h1 em, .credentials h2 span, .hero p, .about p, .about h3, .section-kicker, .about .section-kicker, .proof-item span, .proof-item strong { color: #222; }
  .hero-proof { padding-block: 18px; border-color: #999; }
  .section { padding-block: 24px; }
  .career-entry { break-inside: avoid; padding: 20px 0; background: #fff; }
  .career-current { border-left: 0; }
  .lab-project { background: #fff; break-inside: avoid; }
  .section-heading { margin-bottom: 20px; }
  .section h2 { font-size: 24pt; }
  .expertise-card { padding: 16px; min-height: 0; break-inside: avoid; }
  .card-rule { margin: 12px 0; }
  .project-panel, .about-grid, .credentials-grid { display: block; }
  .project-copy, .delivery-diagram { padding: 20px; }
  .delivery-diagram { border-left: 0; border-top: 1px solid #999; }
  .about-body { margin-top: 20px; }
  .approach-list li { break-inside: avoid; border-color: #999; }
  .inline-link, .project-link { color: #000; }
  .inline-link::after { content: " — linkedin.com/in/jonrogol"; }
  .inline-link { flex-wrap: wrap; }
}
