/* Page compositions use the shared colors, controls, and dashboard styles in styles.css. */
:root {
  --accent: #995237;
  --lime: #995237;
  --bg: #f8faf7;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { height: auto; }
main { min-height: 45vh; }
.wrap { max-width: 1360px; }
.nav { background: #f8faf7f5; }
.navin { gap: 20px; }
.navlinks { gap: 16px; font-size: .74rem; }
.navlinks a { position: relative; }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 750; }
.navlinks a[aria-current="page"]::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.brand-dot { color: var(--accent); }
.btn { min-height: 44px; border-radius: 7px; }
.btn span { margin-left: 12px; }
.btn.primary { box-shadow: 0 4px 8px #183b3510; }
.menu-toggle { align-items: center; justify-content: center; }
.hero-shell { padding: 68px 0 62px; background: #f0f4ec; overflow: clip; }
.premium-hero {
  display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { letter-spacing: .12em; font-size: .65rem; color: #486353; }
.hero-copy .eyebrow::before { display: none; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #60805c; flex-shrink: 0; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.65vw, 4.6rem); line-height: 1.07; letter-spacing: -.062em; margin-bottom: 26px; }
.hero-description { font-size: 1rem; max-width: 530px; line-height: 1.8; }
.hero-copy .actions { margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; color: #617468; font-size: .73rem; }
.hero-proof strong { color: var(--ink); font-weight: 700; }
.hero-proof i { width: 1px; height: 14px; background: #bacab8; }
.hero-visual {
  position: relative; min-width: 0; padding: 24px 24px 70px; border: 1px solid #c5d3c0;
  border-radius: 14px; background: #e4ecde; box-shadow: 0 28px 55px -32px #1c3d3a55;
}
.visual-topline { display: flex; justify-content: space-between; gap: 16px; font-size: .56rem; letter-spacing: .12em; color: #4c6956; margin-bottom: 20px; }
.visual-topline > span:first-child { display: flex; align-items: center; gap: 8px; }
.hero-diagram { padding: 5px; background: #f7f9f0; border: 1px solid #c6d3bf; border-radius: 6px; }
.hero-diagram img { width: 100%; height: auto; object-fit: contain; }
.visual-caption { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 22px; }
.visual-caption strong { display: block; font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.visual-caption div > span { display: block; margin-top: 10px; font-size: .61rem; color: #5c7360; }
.visual-arrow { font-size: 2.2rem; font-weight: 300; }
.engineer-badge {
  position: absolute; left: 24px; right: 24px; bottom: -26px; display: flex; align-items: center;
  gap: 13px; padding: 14px 18px; background: #fff; border: 1px solid #d9e1d3; border-radius: 9px;
  box-shadow: 0 14px 30px #243f3310; transition: transform .2s;
}
.engineer-badge:hover { transform: translateY(-3px); }
.engineer-badge img { width: 44px; height: 50px; object-fit: cover; object-position: top; border-radius: 5px; }
.engineer-badge strong { display: block; font-size: .81rem; letter-spacing: -.02em; }
.engineer-badge small { display: block; font-size: .67rem; color: var(--muted); margin-top: 2px; }
.engineer-badge > span:last-child { margin-left: auto; }
.credential-strip { border-bottom: 1px solid var(--line); background: #fff; }
.credential-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.credential-strip .wrap > span:first-child { font-size: .58rem; letter-spacing: .14em; color: #718073; }
.credential-strip strong { font-size: .8rem; font-weight: 550; letter-spacing: -.01em; }
.strip-divider { color: #c5cfc1; }
.pathway-grid { gap: 20px; }
.pathway-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pathway-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px #183b3510; border-color: #a1b69e; }
.pathway-number { font-size: .58rem; font-weight: 650; letter-spacing: .14em; color: #66766a; }
.pathway-symbol { font-size: 2.5rem; color: #63805f; line-height: 1; margin: 30px 0; }
.pathway-card h3 { font-size: 1.4rem; line-height: 1.25; }
.pathway-card p { font-size: .85rem; }
.pathway-card .text-link { margin-top: auto; padding-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: .8rem; font-weight: 650; color: var(--ink); }
.text-link > span { transition: transform .2s; }
a:hover .text-link > span, a.text-link:hover > span { transform: translate(2px, -2px); }
.home-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.feature-editorial p { font-size: .94rem; max-width: 500px; }
.feature-editorial .text-link { margin-top: 20px; }
.project-blueprint { background: #1c3e36; color: #dbe7d1; border-radius: 12px; padding: 32px; position: relative; overflow: hidden; }
.project-blueprint .eyebrow { color: #c0cfa9; font-size: .61rem; }
.blueprint-lines { height: 150px; display: flex; align-items: start; justify-content: space-evenly; margin: 28px 0; border-top: 3px solid #aac99a; border-bottom: 1px dashed #729478; background: repeating-linear-gradient(0deg, transparent, transparent 29px, #ffffff0c 30px); }
.blueprint-lines span { display: block; width: 18px; height: 90%; border: 1px solid #b6d5a4; background: #b8dba319; }
.blueprint-lines span:nth-child(2n) { height: 70%; }
.blueprint-labels { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; font-size: .6rem; color: #c2d6b5; }
.project-blueprint p { color: #97b3a0; border-top: 1px solid #ffffff20; padding-top: 20px; margin: 25px 0 0; font-size: .63rem; }
.research-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.research-preview > div > p { max-width: 430px; }
.publication-preview { display: block; padding: 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); transition: border-color .2s; }
.publication-preview:hover { border-color: #8da98b; }
.publication-preview h3 { font-size: 1.7rem; line-height: 1.4; margin: 24px 0; }
.publication-preview p { font-size: .78rem; }
.publication-preview .text-link { margin-top: 24px; }
.page-intro { padding: 32px 0 58px; background: #f0f4ec; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 12px; font-size: .7rem; color: #6b7d6c; margin-bottom: 42px; }
.breadcrumbs a:hover { text-decoration: underline; }
.intro-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 80px; }
.intro-layout h1 { font-size: clamp(2.6rem, 4.3vw, 4rem); max-width: 750px; margin: 0; }
.intro-layout p { max-width: 440px; margin: 0 0 5px; font-size: .95rem; line-height: 1.85; }
.intro-layout .eyebrow { margin-bottom: 18px; }
.page-content { padding: 64px 0 80px; background: var(--bg); }
.page-content .section-heading { margin-top: 0; }
.page-research .research-card { min-height: 280px; border-top: 3px solid #8da587; }
.page-research .research-card h3 { font-size: 1.4rem; }
.research-banner { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 54px; padding: 40px; border-radius: 12px; background: #e8eee2; }
.research-banner h2 { font-size: 2rem; }
.research-banner p { margin: 0; }
.about-intro { display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 70px; margin-bottom: 60px; }
.profile-photo { max-width: 340px; padding: 12px; border: 1px solid #d5dfce; background: #e6ecdf; border-radius: 10px; }
.profile-photo img { width: 100%; border-radius: 5px; }
.profile-photo > span { display: block; padding: 14px 4px 3px; font-size: .73rem; font-weight: 650; }
.about-intro p { font-size: .9rem; }
.about-intro .text-link { margin-top: 14px; }
.service-list { display: grid; }
.service-row { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 36px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
.service-number { align-self: start; font-size: 1rem; color: #8e9e8b; font-variant-numeric: tabular-nums; }
.service-row h2 { font-size: 2rem; }
.service-row p { max-width: 700px; font-size: .93rem; }
.service-row .eyebrow { margin-bottom: 15px; }
.process-panel { display: grid; grid-template-columns: 1fr 1.7fr; gap: 55px; background: #eaf0e4; padding: 38px; margin-top: 60px; border-radius: 10px; }
.process-panel h2 { font-size: 2rem; }
.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: steps; padding: 0; margin: 0; list-style: none; }
.process-steps li::before { counter-increment: steps; content: '0' counter(steps); display: block; font-size: .7rem; color: #6e8765; margin-bottom: 14px; }
.process-steps strong { font-size: .92rem; }
.process-steps p { font-size: .77rem; margin: 9px 0 0; }
.page-contact .intro-layout h1 { max-width: 680px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-primary { padding: 36px; border-radius: 12px; background: #e8efdf; border: 1px solid #d9e3d0; }
.contact-primary h2, .contact-secondary h2 { font-size: 2rem; }
.contact-primary > p { font-size: .95rem; }
.contact-primary .btn { margin-top: 15px; }
.contact-note { border-top: 1px solid #c6d4bb; margin-top: 40px; padding-top: 25px; }
.contact-note .eyebrow { font-size: .6rem; }
.contact-note p { font-size: .83rem; margin: 0; }
.contact-secondary .card { padding: 34px; }
.profile-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 15px 0; font-size: .9rem; }
.profile-link:hover { color: var(--accent); }
.contact-topics { padding: 30px 12px 0; }
.contact-topics h3 { font-size: 1rem; }
.empty { padding: 60px 30px; background: #f1f5ec; }
.empty h2 { font-size: 1.8rem; }
.empty p { max-width: 500px; margin: 0 auto 26px; }
.empty-icon { display: block; font-size: 2.4rem; margin-bottom: 20px; color: #6d8862; }
.app-public-card { display: flex; flex-direction: column; gap: 14px; }
.app-public-card h3, .app-public-card p, .app-public-card .topline { margin: 0; }
.app-public-card .btn { align-self: start; margin-top: auto; }
.closing-cta { padding: 60px 0; background: #183b35; color: #f5f7ed; }
.closing-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.closing-cta h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); margin: 0; }
.closing-cta .eyebrow { color: #c2d3b1; }
.closing-cta .btn { flex-shrink: 0; background: #ecf0df; color: #1c3e36; border-color: #ecf0df; }
.site-footer { background: #f4f7ef; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 58px; padding-bottom: 48px; }
.footer-brand p { font-size: .9rem; margin: 22px 0 14px; }
.footer-brand > span { font-size: .62rem; color: #71816c; }
.footer-main > div > h2 { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-main > div:not(.footer-brand) a { display: block; width: fit-content; font-size: .75rem; color: #5c6f5f; margin: 10px 0; }
.footer-main a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: .64rem; color: #6e7e69; }
.dashboard-site .login { box-shadow: 0 18px 65px #193e3510; border-top: 3px solid #718d61; }
.dashboard-site .dashstat { transition: border-color .2s; }
.dashboard-site .dashstat:hover { border-color: #9bb18f; }
.dashboard-site .sidebar [aria-current="page"] { background: #ffffff15; color: white; }
@keyframes enter-page { from { transform: translateY(8px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .intro-layout { animation: enter-page .45s ease-out both; }
  .hero-visual { animation: enter-page .65s ease-out both; }
}
@media (min-width: 1600px) { .hero-shell { padding: 85px 0; } }
@media (max-width: 1180px) {
  .navlinks { gap: 11px; font-size: .68rem; }
  .nav-contact { display: none; }
  .premium-hero { gap: 38px; }
  .hero-visual { padding: 20px 20px 65px; }
  .engineer-badge { left: 20px; right: 20px; }
  .home-feature, .research-preview { gap: 55px; }
  .service-row { grid-template-columns: 35px 1fr; gap: 24px; }
  .service-row > a { grid-column: 2; }
}
@media (max-width: 960px) {
  .navin { flex-wrap: wrap; min-height: 76px; }
  .menu-toggle { display: flex; }
  .nav-contact { display: inline-flex; margin-left: auto; }
  .navlinks { display: none; order: 4; flex-basis: 100%; gap: 2px 26px; padding-bottom: 18px; font-size: .84rem; }
  .navlinks.is-open { display: flex; }
  .navlinks a { padding: 10px 0; }
  .hero-copy h1 { font-size: clamp(2.65rem, 4.8vw, 3.6rem); }
  .hero-copy .eyebrow { font-size: .53rem; }
  .hero-description { font-size: .9rem; }
  .hero-visual { padding: 16px 16px 60px; }
  .engineer-badge { padding: 10px; left: 14px; right: 14px; gap: 10px; }
  .engineer-badge strong { font-size: .73rem; }
  .engineer-badge small { font-size: .58rem; }
  .visual-topline { font-size: .48rem; gap: 8px; }
  .visual-caption strong { font-size: 1.05rem; }
  .hero-proof { font-size: .64rem; gap: 10px; }
  .credential-strip .wrap { flex-wrap: wrap; justify-content: center; }
  .credential-strip .wrap > span:first-child { flex-basis: 100%; text-align: center; }
  .credential-strip strong { font-size: .72rem; }
  .home-feature, .research-preview { gap: 36px; }
  .publication-preview { padding: 28px; }
  .publication-preview h3 { font-size: 1.3rem; }
  .intro-layout { gap: 40px; }
  .process-panel { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { gap: 24px; }
  .about-intro { gap: 36px; }
  .research-banner { padding: 28px; }
}
@media (max-width: 720px) {
  .hero-shell { padding: 44px 0 66px; }
  .premium-hero { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 9.4vw, 4.5rem); max-width: 630px; }
  .hero-description { max-width: 550px; font-size: .95rem; }
  .hero-copy .eyebrow { font-size: .6rem; }
  .hero-proof { font-size: .7rem; margin-top: 24px; }
  .hero-visual { width: 100%; max-width: 530px; justify-self: center; padding: 20px 20px 64px; }
  .hero-diagram img { max-height: 310px; }
  .visual-topline { font-size: .55rem; }
  .visual-caption strong { font-size: 1.2rem; }
  .engineer-badge strong { font-size: .8rem; }
  .engineer-badge small { font-size: .66rem; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { padding: 26px; }
  .pathway-symbol { margin: 22px 0; }
  .pathway-card h3 br { display: none; }
  .home-feature, .research-preview, .intro-layout, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .home-feature, .research-preview { gap: 35px; }
  .intro-layout { gap: 24px; }
  .page-intro { padding: 24px 0 40px; }
  .breadcrumbs { margin-bottom: 28px; }
  .intro-layout h1 { font-size: clamp(2.3rem, 8.3vw, 3.5rem); }
  .intro-layout p { max-width: 560px; font-size: .87rem; }
  .page-content { padding: 40px 0 58px; }
  .about-intro { gap: 28px; margin-bottom: 35px; }
  .profile-photo { max-width: 270px; }
  .service-row { grid-template-columns: 24px 1fr; gap: 16px; padding: 30px 0; }
  .service-row h2 { font-size: 1.6rem; }
  .service-row .eyebrow { font-size: .6rem; }
  .service-row p { font-size: .86rem; }
  .process-panel { padding: 26px; margin-top: 40px; }
  .process-steps { grid-template-columns: 1fr; gap: 22px; }
  .process-steps li::before { margin-bottom: 5px; }
  .research-banner { display: block; margin-top: 34px; }
  .research-banner .btn { margin-top: 24px; }
  .closing-cta .wrap { display: block; }
  .closing-cta .btn { margin-top: 28px; }
  .footer-main { grid-template-columns: repeat(3,1fr); gap: 25px; padding-top: 40px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p { margin: 18px 0 12px; }
  .footer-main > div:not(.footer-brand) a { font-size: .67rem; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: .6rem; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .contact-primary, .contact-secondary .card { padding: 26px; }
}
@media (max-width: 380px) {
  .nav-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-copy h1 { font-size: 2.65rem; }
  .hero-copy .eyebrow { font-size: .53rem; letter-spacing: .07em; }
  .hero-proof { gap: 8px; font-size: .6rem; }
  .visual-topline { font-size: .44rem; }
  .engineer-badge small { font-size: .59rem; }
  .credential-strip .wrap { gap: 10px; }
  .credential-strip strong { font-size: .59rem; }
}
.workspace-brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 28px; font-size: .78rem; font-weight: 650; color: #fff; }
.workspace-brand .monogram { background: #c9d9b7; color: #193e35; }
.workspace-brand small { display: block; margin-top: 3px; font-size: .6rem; color: #a7bdae; font-weight: 400; }
@media (max-width: 900px) { .workspace-brand { display: none; } }
.feature-card h2, .research-card h2 { font-size: 1.17rem; letter-spacing: -.025em; }
.page-research .research-card h2 { font-size: 1.4rem; }
.project h2 { font-size: 1.17rem; line-height: 1.25; letter-spacing: -.025em; }
.publication h2 { font-size: 1.04rem; line-height: 1.4; letter-spacing: -.025em; margin: 0; }
.tool-viewer h1 { font-size: clamp(2rem, 4vw, 3rem); }
.app-public-card h2 { font-size: 1.17rem; line-height: 1.25; }
/* Doctoral milestone alongside the existing academic history. */
.page-about .education-card {
  display: grid;
  grid-template-columns: minmax(200px, .8fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: 32px;
}
.graduation-portrait {
  margin: 0;
  max-width: 300px;
  justify-self: center;
  padding: 8px;
  border: 1px solid #d8e1d0;
  border-radius: 10px;
  background: #f3f6ed;
}
.graduation-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}
.graduation-portrait figcaption {
  padding: 11px 4px 3px;
  color: #61745b;
  font-size: .66rem;
  text-align: center;
}
.education-details h2 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); }
.education-details .stack-list { gap: 18px; margin-top: 26px; }
.education-details .stack-list > div { border-left: 2px solid #d5dfcc; padding-left: 16px; }
.education-details .stack-list h3 { font-size: 1rem; margin-bottom: 6px; }
@media (max-width: 640px) {
  .page-about .education-card { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .graduation-portrait { max-width: 270px; width: 100%; }
}
