/* Shared palette and rhythm for the professional portfolio. */
:root {
  --bm-navy: #153a5b;
  --bm-navy-deep: #102e49;
  --bm-ink: #172b3e;
  --bm-muted: #526579;
  --bm-paper: #f4f7fb;
  --bm-line: #d6e0eb;
  --bm-blue-light: #e5edf5;
  --bm-blue-pale: #c3d7e9;
  --bm-radius: 4px;
}
html { scroll-padding-top: 104px; }
.bm-site { line-height: 1.65; }
.site-header {
  position: sticky;
  top: 0;
  border-bottom-color: #365771;
  box-shadow: 0 3px 18px #102e490c;
}
.brand { font-weight: 550; }
.site-nav { gap: 30px; }
.site-nav a { color: #e5edf5; transition: color .18s; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: white; }
.site-nav a[aria-current="location"]::after { right: 0; }
.section-shell, .site-header, .site-footer {
  padding-left: max(5%, calc((100% - 1320px) / 2));
  padding-right: max(5%, calc((100% - 1320px) / 2));
}
.section-shell { scroll-margin-top: 0; }
.section-label { align-items: center; gap: 13px; }
.section-label::before { content: ""; width: 22px; height: 1px; background: currentColor; flex-shrink: 0; }
.section-label h2 { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.section-statement { color: var(--bm-navy); font-weight: 450; }
.hero {
  height: auto;
  min-height: min(760px, calc(100svh - 80px));
  max-height: none;
  padding: 72px max(5%, calc((100% - 1320px) / 2)) 68px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-rows: auto 1fr;
  column-gap: 5%;
  background: var(--bm-paper);
  border-bottom: 1px solid var(--bm-line);
}
.hero h1 { font-size: clamp(68px, 7.1vw, 112px); line-height: 1.03; letter-spacing: -.06em; margin-top: 23px; }
.hero-intro { padding: 30px 0 0; max-width: 495px; }
.hero-intro > p { font-size: clamp(18px, 1.45vw, 21px); color: #334b60; line-height: 1.65; }
.hero-photo {
  max-width: 490px;
  width: 100%;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  box-shadow: 14px 14px 0 var(--bm-blue-light);
  margin-right: 14px;
}
.hero-actions { gap: 26px; margin-top: 32px; }
.resume-tab, .resume-download, .linkedin-link { border-radius: var(--bm-radius); }
.resume-tab:hover { background: #214e75; box-shadow: inset 0 0 0 1px #214e75; }
.contact-line { border-color: #8b9eaf; }
.about { padding-top: 108px; padding-bottom: 108px; }
.about-copy { line-height: 1.9; }
.about-image img { border-radius: var(--bm-radius); }
.about-image::before { border-color: var(--bm-line); border-radius: var(--bm-radius); }
.experience { background: var(--bm-paper); }
.experience-heading { margin-top: 34px; margin-bottom: 46px; }
.experience-list { border-top-color: #b7c7d7; }
.job { border-bottom-color: #c7d4e1; }
.job summary { padding: 28px 0; }
.job summary:hover { padding-left: 0; padding-right: 0; background: #e9f0f7; }
.job[open] .job-employer { color: var(--bm-navy); }
.job-toggle { border: 1px solid #b5c7d8; border-radius: 50%; }
.job-toggle::before, .job-toggle::after { left: 6px; right: 6px; top: 11px; }
.job-body { padding-bottom: 30px; }
.job-logo--walkons { border-radius: 2px; }
.education { padding-top: 108px; padding-bottom: 108px; }
.education-aside .society-logo { border-radius: var(--bm-radius); }
.education-meta span + span { border-color: var(--bm-line); }
.involvement { border-color: var(--bm-line); }

/* Capabilities are explorable; technology marks stay in their original colors. */
.skills {
  display: grid;
  grid-template-columns: 18% minmax(0, 1fr);
  align-items: start;
  padding-top: 72px;
  padding-bottom: 64px;
  background: var(--bm-navy);
  color: white;
  border-top: 0;
}
.skills .section-label { color: var(--bm-blue-pale); padding-top: 9px; }
.skills-content { min-width: 0; }
.skills-heading { max-width: 680px; margin-bottom: 32px; }
.skills-heading .section-statement { color: white; font-size: clamp(34px, 3.5vw, 52px); }
.skills-heading > p + p { color: #c3d3e2; font-size: 14px; margin-top: 21px; max-width: 440px; }
.skills-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 42px; }
.skills-subtitle { font-size: 16px; font-weight: 500; letter-spacing: -.02em; color: white; margin: 0; line-height: 1.5; }
.skills-hint { color: #c3d3e2; font-size: 12px; line-height: 1.65; margin: 7px 0 22px !important; min-height: 40px; }
.capability-tabs { border: 1px solid #718ea7; border-radius: var(--bm-radius); overflow: hidden; }
.capability-tab {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #718ea7;
  border-radius: 0;
  background: transparent;
  color: #e8f0f7;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.capability-tab:last-child { border-bottom: 0; }
.capability-tab > img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.capability-tab:hover { background: #224c70; }
.capability-tab[aria-selected="true"] { background: #f4f7fb; color: var(--bm-navy); font-weight: 550; }
.capability-tab[aria-selected="true"] > img { filter: none; opacity: 1; }
.capability-tab[aria-selected="true"]::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #91b4d3; }
.capability-arrow { justify-self: end; color: inherit; font-size: 16px; opacity: .75; transition: transform .18s; }
.capability-tab[aria-selected="true"] .capability-arrow { transform: translate(1px, -1px); opacity: 1; }
.bm-site .capability-tab:focus-visible { outline: 3px solid #91b4d3; outline-offset: -4px; }
.skill-evidence { min-height: 146px; border-left: 2px solid #91b4d3; margin-top: 24px; padding: 0 0 0 18px; }
.skill-panel { animation: skill-appear .2s ease-out; }
.skill-panel[hidden] { display: none !important; }
.skill-panel .small-label { color: #c3d7e9; font-size: 9px; line-height: 1.9; display: block; }
.skill-panel p { color: #e2ebf3; font-size: 13px; line-height: 1.85; margin-top: 11px; }
.bm-site .skill-panel:focus-visible { outline: 2px solid #91b4d3; outline-offset: 8px; }
.technology-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.technology-card { padding: 22px 19px; min-height: 172px; background: white; border: 1px solid white; border-radius: var(--bm-radius); color: var(--bm-ink); transition: transform .2s, border-color .2s, box-shadow .2s; }
.technology-card > img { width: 45px; height: 45px; object-fit: contain; object-position: left center; }
.technology-card h4 { margin: 19px 0 4px; min-height: 2.8em; font-size: 14px; line-height: 1.4; font-weight: 550; letter-spacing: -.02em; }
.technology-card > span { color: var(--bm-muted); font-size: 11px; line-height: 1.6; display: block; }
.technology-card:hover { transform: translateY(-3px); border-color: #bdd4e8; box-shadow: 0 8px 20px #0b223633; }
.language-band { display: flex; gap: 17px; align-items: center; padding: 20px; margin-top: 18px; border: 1px solid #718ea7; border-radius: var(--bm-radius); }
.language-band > img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.language-band .skills-subtitle { font-size: 12px; color: #c3d3e2; font-weight: 400; }
.language-band ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; gap: 26px; color: white; font-size: 14px; }
.language-band li + li { border-left: 1px solid #718ea7; padding-left: 26px; }
.contact { background: var(--bm-paper); border-top: 0; padding-top: 96px; padding-bottom: 68px; }
.contact-intro > .section-statement { font-size: clamp(42px, 5vw, 76px); }
.contact-intro > p:last-child { color: var(--bm-muted); }
.email-link { border-bottom-color: #afc0d1; color: var(--bm-navy) !important; }
.contact-bottom { gap: 22px; }
.linkedin-link, .resume-download { background: white; border-color: #c5d2df; padding: 13px 16px; transition: background .18s, border-color .18s; }
.linkedin-link:hover, .resume-download:hover { background: #e5edf5; border-color: var(--bm-navy); }
.site-footer { border-top: 1px solid #365771; background: var(--bm-navy); padding-top: 29px; padding-bottom: 29px; }
.site-nav, .about-copy, .experience-heading > p:last-child, .job-body, .involvement p, .technology-card { text-wrap: pretty; }
@keyframes skill-appear { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .site-nav { gap: 22px; }
  .hero { min-height: 650px; padding-top: 64px; padding-bottom: 64px; column-gap: 5%; }
  .hero h1 { font-size: clamp(64px, 7.8vw, 88px); }
  .hero-intro > p { font-size: 18px; }
  .hero-actions { gap: 20px; }
  .hero-photo { width: calc(100% - 12px); box-shadow: 12px 12px 0 var(--bm-blue-light); margin-right: 12px; }
  .skills { grid-template-columns: 1fr; gap: 28px; }
  .skills .section-label { padding-top: 0; }
  .skills-layout { gap: 32px; }
  .skills-heading { margin-bottom: 36px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 96px; }
  .section-shell, .site-header, .site-footer { padding-left: 6%; padding-right: 6%; }
  .site-header { height: 72px; }
  .site-nav { top: 71px; border-radius: var(--bm-radius); }
  .section-shell { padding-top: 62px; padding-bottom: 62px; scroll-margin-top: 0; }
  .section-label { gap: 12px; }
  .hero { min-height: 0; padding: 44px 6% 42px; display: flex; gap: 0; }
  .hero h1 { font-size: clamp(56px, 14vw, 92px); margin-top: 20px; }
  .hero-intro { padding-top: 24px; }
  .hero-intro > p { font-size: 17px; line-height: 1.75; }
  .hero-actions { margin-top: 25px; gap: 22px; }
  .hero-photo { width: calc(100% - 12px); max-width: 400px; margin: 37px 12px 0 0; box-shadow: 12px 12px 0 var(--bm-blue-light); }
  .about-image { margin-top: 32px !important; margin-left: 10% !important; }
  .about-image img { height: 210px; }
  .experience-heading { margin-top: 28px; margin-bottom: 32px; }
  .job summary, .job summary:hover { padding: 24px 0; }
  .job-toggle { width: 26px; height: 26px; }
  .education-aside { gap: 20px; grid-template-columns: 96px minmax(0, 1fr); }
  .education-aside .society-logo { height: 106px; }
  .skills { display: block; }
  .skills-content { margin-top: 29px; }
  .skills-heading .section-statement { font-size: 35px; }
  .skills-heading > p + p { font-size: 13px; margin-top: 20px; }
  .skills-layout { grid-template-columns: 1fr; gap: 34px; }
  .skills-subtitle { font-size: 16px; }
  .skills-hint { min-height: 0; margin-bottom: 19px !important; font-size: 12px; }
  .capability-tab { padding: 16px 14px; gap: 12px; font-size: 13px; min-height: 60px; }
  .skill-evidence { min-height: 130px; margin-top: 23px; padding-left: 16px; }
  .skill-panel p { font-size: 13px; }
  .technology-grid { gap: 12px; }
  .technology-card { padding: 21px 16px; min-height: 171px; }
  .technology-card > img { width: 44px; height: 44px; }
  .technology-card h4 { font-size: 14px; margin-top: 20px; }
  .technology-card > span { font-size: 10px; }
  .language-band { margin-top: 15px; padding: 19px; }
  .contact-intro > .section-statement { font-size: 43px; }
  .contact-bottom { gap: 14px; }
  .linkedin-link, .resume-download { padding: 12px; font-size: 11px; }
  .site-footer { padding-top: 26px; padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-site *, .bm-site *::before, .bm-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .technology-card:hover { transform: none; }
}

/* Houston skyline and consistent closing section. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.about { grid-template-columns: 18% minmax(0, 1fr); }
.about-content { padding-right: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: 44px; }
.about-content > .section-statement { max-width: 430px; }
.about-copy > p + p { margin-top: 20px; }
.about-image.skyline-visual { grid-column: 2; margin: 38px 0 0 !important; align-self: start; }
.skyline-visual::before { display: none; }
.skyline-frame { position: relative; aspect-ratio: 2.6; overflow: hidden; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); background: var(--bm-navy-deep); isolation: isolate; }
.skyline-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; border-radius: 0; filter: none; transform-origin: 50% 80%; animation: skyline-drift 24s ease-in-out infinite alternate; }
.skyline-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 48%, #102e4915 68%, #0a2037cf 100%); pointer-events: none; }
.skyline-light { position: absolute; z-index: 1; top: 0; bottom: 0; left: -30%; width: 18%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, #c3d7e947, transparent); mix-blend-mode: screen; animation: skyline-light-sweep 16s ease-in-out infinite; pointer-events: none; }
.skyline-caption { position: absolute; z-index: 2; left: 25px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: white; }
.skyline-caption::before { content: ""; width: 22px; height: 1px; background: #c3d7e9; }
.contact { display: grid; grid-template-columns: 18% minmax(0, 1fr); align-items: start; padding-top: 72px; padding-bottom: 72px; background: var(--bm-paper); }
.contact .section-label { padding-top: 9px; color: var(--bm-muted); }
.contact-content { min-width: 0; }
.contact-content > .section-statement { margin: 0 0 30px; font-size: clamp(34px, 3.5vw, 52px); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.connect-card { display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 25px 28px; background: white; border: 1px solid #c5d2df; border-radius: var(--bm-radius); color: var(--bm-navy) !important; font-size: 17px; font-weight: 450; letter-spacing: -.02em; transition: border-color .2s, background .2s, transform .2s; }
.connect-card:hover { border-color: var(--bm-navy); background: #edf3f8; transform: translateY(-2px); }
.connect-card > img, .connect-card > svg { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.connect-arrow { margin-left: auto; font-size: 22px; font-weight: 400; }
.site-footer { display: block; padding-top: 34px; padding-bottom: 26px; }
.footer-main, .footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 15px; font-size: 14px; font-weight: 500; color: white !important; }
.footer-brand > img { width: 35px; height: 35px; object-fit: contain; }
.footer-top { display: inline-flex; align-items: center; gap: 17px; color: #e2ebf3; font-size: 11px; }
.footer-top > span { font-size: 19px; transition: transform .2s; }
.footer-top:hover > span { transform: translateY(-3px); }
.footer-meta { margin-top: 26px; padding-top: 19px; border-top: 1px solid #466781; font-size: 10px; color: #c3d3e2; }
@keyframes skyline-drift { from { transform: scale(1.01) translateX(.25%); } to { transform: scale(1.07) translateX(-.65%); } }
@keyframes skyline-light-sweep { 0%, 25% { transform: translateX(0) skewX(-18deg); opacity: 0; } 38% { opacity: .35; } 70%, 100% { transform: translateX(850%) skewX(-18deg); opacity: 0; } }
@media (max-width: 1050px) {
  .about-content { column-gap: 30px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .contact .section-label { padding-top: 0; }
}
@media (max-width: 700px) {
  .about { display: block; }
  .about-content { display: block; }
  .about-content > .section-statement { margin-top: 28px; }
  .about-image.skyline-visual { margin-top: 30px !important; margin-left: 0 !important; max-width: none; }
  .skyline-frame { aspect-ratio: 1.55; }
  .skyline-frame > img { top: -65%; height: 165%; }
  .skyline-caption { left: 19px; bottom: 16px; font-size: 9px; }
  .contact { display: block; padding-top: 62px; padding-bottom: 62px; }
  .contact-content { margin-top: 29px; }
  .contact-content > .section-statement { font-size: 35px; margin-bottom: 27px; }
  .contact-links { grid-template-columns: 1fr; gap: 13px; }
  .connect-card { min-height: 78px; padding: 21px; font-size: 16px; gap: 16px; }
  .connect-card > img, .connect-card > svg { width: 27px; height: 27px; }
  .site-footer { padding-top: 29px; padding-bottom: 24px; }
  .footer-brand { font-size: 12px; gap: 12px; }
  .footer-brand > img { width: 29px; height: 29px; }
  .footer-top { gap: 10px; font-size: 9px; }
  .footer-meta { margin-top: 23px; padding-top: 17px; font-size: 8px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .skyline-frame > img, .skyline-light { animation: none !important; }
  .skyline-light { display: none; }
  .connect-card:hover, .footer-top:hover > span { transform: none; }
}
