:root {
  color-scheme: light;
  --paper: #f6f8f9;
  --surface: #ffffff;
  --ink: #142b3c;
  --muted: #526372;
  --accent: #176b67;
  --accent-soft: #eef4f4;
  --line: #dce3e7;
  --font: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 28px; }
::selection { background: #badfdb; color: var(--ink); }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-200%); z-index: 5; }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
.brand img { width: 38px; height: 38px; }
.page-navigation { display: flex; align-items: center; gap: 30px; }
.page-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: none; }
.page-navigation a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }

.profile-intro { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); align-items: center; gap: clamp(36px, 6vw, 88px); padding-block: 76px 80px; }
.eyebrow { color: var(--accent); font-size: .73rem; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.profile-intro h1 { margin-block: 17px 24px; font-size: clamp(2.75rem, 4.8vw, 4.4rem); line-height: 1.08; font-weight: 640; letter-spacing: -.05em; text-wrap: balance; }
.profile-intro h1 span { display: block; color: var(--accent); }
.hero-intro { max-width: 51ch; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; font-weight: 650; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background-color 160ms, box-shadow 160ms; }
.button span { font-size: 1.15rem; }
.button[hidden] { display: none; }
.button-primary { margin-top: 28px; background: var(--accent); color: white; box-shadow: 0 4px 12px rgb(20 43 60 / 8%); }
.button-primary:hover { background: #125751; box-shadow: 0 6px 18px rgb(20 43 60 / 13%); }
.capabilities { padding: 31px; border: 1px solid #d9e4e4; border-radius: 16px; background: var(--accent-soft); }
.capabilities::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 23px; background: var(--accent); }
.capabilities ul { list-style: none; margin: 19px 0 0; padding: 0; counter-reset: focus; }
.capabilities li { display: flex; align-items: baseline; gap: 15px; padding-block: 13px; font-size: .95rem; font-weight: 550; line-height: 1.5; counter-increment: focus; }
.capabilities li::before { content: "0" counter(focus); color: var(--accent); font-size: .69rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.capabilities li + li { border-top: 1px solid #d6e1e1; }

.section { padding-block: 48px 60px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { margin-top: 8px; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.feature { overflow: hidden; padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--ink); color: white; }
.feature-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; margin-bottom: 34px; }
.feature-heading .eyebrow { color: #badfdb; }
.feature-heading h2 { max-width: 14ch; margin-top: 12px; font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 580; letter-spacing: -.035em; line-height: 1.15; }
.feature-description p { color: #cad5df; font-size: 1rem; }
.button-light { margin-top: 20px; background: #e5f2f0; color: var(--ink); }
.button-light:hover { background: white; }
.feature button:focus-visible { outline-color: #badfdb; }
.feature-figure { min-width: 0; }
.dashboard-preview { width: 100%; border: 1px solid #71828b; border-radius: 10px; box-shadow: 0 16px 35px rgb(0 0 0 / 18%); }
.feature-figure figcaption { margin-top: 15px; color: #cad5df; font-size: .8rem; }
.case-study { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
.case-study > div { border-top: 2px solid #c1d4d2; padding-top: 20px; }
.case-study h3 { margin-bottom: 8px; font-size: 1rem; font-weight: 650; }
.case-study p { color: var(--muted); font-size: .98rem; }

.example-list { list-style: none; padding: 0; margin: 0; }
.example { display: grid; grid-template-columns: 1fr 2.3fr; gap: 24px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.example .eyebrow { padding-top: 6px; max-width: 27ch; color: var(--muted); }
.example h3 { margin-bottom: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.example div p { max-width: 66ch; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.site-footer { padding-block: 27px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.dashboard-dialog { width: min(94vw, 1440px); max-width: none; max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); }
.dashboard-dialog::backdrop { background: rgb(8 21 31 / 80%); }
.dashboard-dialog header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dashboard-dialog h3 { font-size: 1rem; font-weight: 600; }
.dashboard-dialog button { min-height: 44px; padding: 8px 15px; border: 0; border-radius: 7px; background: var(--ink); color: white; cursor: pointer; }
.dashboard-expanded { overflow-x: auto; }
.dashboard-expanded img { width: 100%; min-width: 800px; max-width: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .profile-intro { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); gap: 30px; padding-block: 56px; }
  .profile-intro h1 { font-size: 3rem; }
  .capabilities { padding: 23px; }
  .feature-copy { gap: 30px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 78px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .brand { gap: 9px; font-size: .93rem; }
  .brand img { width: 32px; height: 32px; }
  .page-navigation { gap: 18px; }
  .page-navigation a { font-size: .8rem; }
  .profile-intro { grid-template-columns: 1fr; padding-block: 43px 38px; gap: 32px; }
  .profile-intro h1 { max-width: 17ch; font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hero-intro { font-size: 1.05rem; }
  .capabilities ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .capabilities li { font-size: .9rem; gap: 9px; border-top: 1px solid #d6e1e1; }
  .section { padding-block: 32px 40px; }
  .feature-copy, .case-study, .example { grid-template-columns: 1fr; }
  .feature-copy { gap: 22px; margin-bottom: 25px; }
  .feature { padding: 24px 20px; border-radius: 14px; }
  .feature-heading h2 { max-width: 18ch; }
  .case-study { gap: 23px; }
  .example { gap: 9px; padding-block: 26px; }
  .example .eyebrow { max-width: none; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .capabilities ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Case studies and supporting evidence */
.profile-intro { padding-bottom: 48px; }
.profile-perspective { padding-bottom: 30px; color: var(--muted); font-size: .9rem; letter-spacing: .01em; }
.project-feature { padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--ink); color: white; }
.project-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; margin-bottom: 32px; }
.project-heading .eyebrow { grid-column: 1 / -1; color: #badfdb; }
.project-heading h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.project-summary { color: #d4dfe6; font-size: 1.04rem; line-height: 1.8; }
.work-figure { min-width: 0; }
.work-figure > img { width: 100%; max-height: 580px; object-fit: contain; padding: 12px; border-radius: 6px; background: white; }
.work-figure figcaption { margin-top: 16px; color: #cad5df; font-size: .8rem; line-height: 1.6; }
.image-expand { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 12px; padding: 9px 0; border: none; background: transparent; color: #d9efec; font-size: .875rem; font-weight: 650; text-align: left; cursor: pointer; }
.image-expand[hidden] { display: none; }
.image-expand:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-feature button:focus-visible { outline-color: #badfdb; }
.project-feature-portrait { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.project-feature-portrait .project-heading { display: block; margin: 0; }
.project-feature-portrait h2 { margin-block: 16px 22px; }
.project-takeaway { max-width: 57ch; margin-block: 30px 36px; padding-left: 23px; border-left: 3px solid var(--accent); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; line-height: 1.65; letter-spacing: -.015em; }
.method-details { margin-top: 32px; border-block: 1px solid var(--line); }
.method-details summary { min-height: 56px; padding: 17px 2px; color: var(--accent); font-size: .95rem; font-weight: 650; cursor: pointer; }
.method-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.details-content { padding: 0 0 28px 20px; }
.details-content > p { max-width: 90ch; color: var(--muted); line-height: 1.85; }
.work-figure-secondary { margin-top: 24px; max-width: 700px; }
.work-figure-secondary img { max-height: 620px; border: 1px solid var(--line); }
.work-figure-secondary figcaption { color: var(--muted); }
.work-figure-secondary .image-expand { color: var(--accent); }
.applied-work { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.applied-heading h2, .foundation h2, .contact-section h2 { margin-block: 12px 22px; font-size: clamp(1.75rem, 2.8vw, 2.4rem); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; text-wrap: balance; }
.applied-heading > p:last-child { color: var(--muted); font-size: 1.03rem; line-height: 1.85; }
.applied-points { list-style: none; padding: 0; margin: 0; counter-reset: application; }
.applied-points li { position: relative; padding: 0 0 25px 43px; counter-increment: application; }
.applied-points li + li { border-top: 1px solid var(--line); padding-top: 25px; }
.applied-points li::before { content: "0" counter(application); position: absolute; left: 0; top: 4px; color: var(--accent); font-size: .72rem; font-weight: 700; }
.applied-points li + li::before { top: 29px; }
.applied-points h3 { margin-bottom: 7px; font-size: 1.08rem; font-weight: 650; }
.applied-points p { color: var(--muted); font-size: .98rem; }
.foundation { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.foundation h2 { max-width: 22ch; margin-bottom: 28px; }
.degree { margin-top: 20px; font-size: .98rem; font-weight: 600; }
.degree-meta { color: var(--muted); font-size: .88rem; }
.tool-list { margin: 0; padding-top: 4px; }
.tool-list > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.tool-list dt { margin-bottom: 8px; font-weight: 650; }
.tool-list dd { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.9; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 12px 0 50px; padding: clamp(28px, 4vw, 48px); border-radius: 16px; background: var(--ink); color: white; }
.contact-section .eyebrow { color: #badfdb; }
.contact-section h2 { max-width: 25ch; margin-bottom: 14px; }
.contact-section p:last-child { max-width: 57ch; color: #cad5df; }
.contact-section .button { flex-shrink: 0; margin: 0; }
.contact-section a:focus-visible { outline-color: #badfdb; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.work-dialog { width: min(94vw, 1440px); max-width: none; max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); }
.work-dialog::backdrop { background: rgb(8 21 31 / 80%); }
.work-dialog header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: white; }
.work-dialog h2 { font-size: 1rem; font-weight: 600; }
.work-dialog button { min-height: 44px; padding: 8px 15px; border: 0; border-radius: 7px; background: var(--ink); color: white; cursor: pointer; }
.expanded-work { overflow-x: auto; }
.expanded-work:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.image-help { display: none; }
.expanded-work img { width: 100%; min-width: 800px; max-width: none; }
.profile-intro { margin-top: 32px; padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: linear-gradient(120deg, #142b3c 15%, #1e3447 100%); color: white; box-shadow: 0 16px 48px rgb(20 43 60 / 8%); }
.profile-intro .eyebrow { color: #badfdb; }
.profile-intro h1 { font-size: clamp(2.7rem, 4.2vw, 4rem); }
.profile-intro h1 span { color: #badfdb; }
.hero-intro { color: #d4dfe6; }
.profile-intro .capabilities { border: 0; border-left: 1px solid #506575; border-radius: 0; background: transparent; padding: 0 0 0 28px; }
.profile-intro .capabilities::before { background: #badfdb; }
.profile-intro .capabilities li { border-color: #42596a; }
.profile-intro .capabilities li::before { color: #badfdb; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 25px; margin-top: 28px; }
.hero-actions .button-primary { margin-top: 0; background: #e5f2f0; color: #142b3c; box-shadow: none; }
.hero-actions .button-primary:hover { background: white; }
.hero-contact { display: inline-flex; align-items: center; min-height: 48px; color: white; font-size: .9rem; font-weight: 600; text-underline-offset: 6px; }
.hero-actions a:focus-visible { outline-color: #badfdb; }
.profile-perspective { padding: 25px 0 32px; }
.project-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 48px; padding: 0; border-radius: 0; background: transparent; color: var(--ink); }
.project-heading { display: block; margin: 0; }
.project-heading .eyebrow { color: var(--accent); }
.project-heading h2 { margin-block: 16px 22px; }
.project-summary { color: var(--muted); }
.work-figure > img { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.work-figure figcaption { color: var(--muted); }
.image-expand { color: var(--accent); }
.project-feature button:focus-visible { outline-color: var(--accent); }
.secondary-sample { grid-column: 1 / -1; }
.secondary-sample .work-figure { max-width: none; margin-top: 0; }
.secondary-sample .work-figure img { max-height: 510px; }
@media (max-width: 900px) {
  .project-feature-portrait { gap: 30px; }
  .profile-intro { grid-template-columns: 1fr; gap: 34px; }
  .profile-intro .capabilities { border-left: 0; border-top: 1px solid #506575; padding: 25px 0 0; }
  .profile-intro .capabilities::before { display: none; }
  .profile-intro .capabilities ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .profile-intro .capabilities li { border-top: 1px solid #42596a; }
  .project-feature { grid-template-columns: 1fr; gap: 28px; }
  .applied-work, .foundation { gap: 35px; }
}
@media (max-width: 680px) {
  .profile-intro { padding-bottom: 28px; }
  .profile-perspective { padding-bottom: 26px; font-size: .84rem; }
  .project-heading, .project-feature-portrait, .applied-work, .foundation { grid-template-columns: 1fr; gap: 24px; }
  .project-feature { padding: 0; border-radius: 0; }
  .project-heading { margin-bottom: 24px; }
  .project-heading .eyebrow { grid-column: auto; }
  .project-feature-portrait .project-heading { margin-bottom: 0; }
  .project-heading h2 { font-size: 2rem; }
  .project-summary { font-size: 1rem; }
  .work-figure > img { padding: 5px; }
  .project-takeaway { padding-left: 16px; margin-block: 26px; }
  .details-content { padding-left: 0; }
  .applied-heading h2 { max-width: 22ch; }
  .contact-section { align-items: start; flex-direction: column; gap: 25px; margin-bottom: 30px; }
  .page-navigation { gap: 18px; }
  .site-header { row-gap: 0; }
  .profile-intro { margin-top: 22px; padding: 30px 23px; border-radius: 14px; }
  .profile-intro h1 { font-size: clamp(2.3rem, 8.6vw, 3.4rem); }
  .profile-intro .capabilities ul { column-gap: 16px; }
  .profile-intro .capabilities li { font-size: .87rem; }
  .hero-actions { gap: 12px 22px; }
  .image-help { display: block; padding: 12px 18px 0; color: var(--muted); font-size: .8rem; }
}

/* Presentation rhythm: spacious headings, full-width visual evidence. */
.profile-intro { position: relative; isolation: isolate; overflow: hidden; }
.profile-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--deck-texture) center / cover no-repeat; filter: invert(1); mix-blend-mode: screen; opacity: .32; }
.project-feature { display: block; }
.project-heading { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px 64px; align-items: start; margin-bottom: 34px; }
.project-heading .eyebrow { grid-column: 1 / -1; }
.project-heading h2 { margin: 0; max-width: 20ch; }
.project-heading .project-summary { margin-top: 3px; }
.work-figure > img { padding: 0; border-radius: 14px; max-height: none; box-shadow: 0 12px 32px rgb(20 43 60 / 7%); }
.work-figure figcaption { max-width: 96ch; margin-top: 13px; }
.secondary-sample .work-figure img { max-height: none; }
.project-takeaway { margin-block: 36px; }
.applied-work { row-gap: 32px; }
@media (max-width: 900px) {
  .project-heading { grid-template-columns: 1fr; gap: 16px; }
  .project-heading h2 { max-width: 25ch; }
  .project-heading .project-summary { max-width: 70ch; }
}
@media (max-width: 680px) {
  .project-heading { margin-bottom: 24px; }
  .work-figure > img { border-radius: 8px; }
  .work-figure figcaption { font-size: .77rem; }
}
