.home-page .home-main { width: calc(100% - var(--rail)); max-width: none; min-height: 100vh; margin-left: var(--rail); padding: 18px 22px 30px; }
.home-page .home-main > * { max-width: none; }
.home-hero { position: relative; display: flex; align-items: center; min-height: 356px; overflow: hidden; padding: 30px 38px; border: 1px solid var(--home-line); border-radius: 7px; background: linear-gradient(90deg, rgba(10,11,22,.98) 0%, rgba(16,13,31,.87) 35%, rgba(34,17,53,.43) 75%, rgba(34,17,53,.27) 100%), url('/images/site/workstation-hero.png') center / cover no-repeat; color: #fff; }
.home-hero-content { position: relative; z-index: 1; max-width: 715px; }
.home-overline { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; color: #d5d8e1; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-overline span { width: 21px; height: 3px; background: var(--yellow); }
.home-hero h1 { margin: 0 0 3px; color: #fff; font-size: clamp(2.55rem, 3.8vw, 3.7rem); }
.home-hero h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.42rem, 2.25vw, 2.15rem); }
.home-hero h2 span { color: var(--yellow); }
.home-hero-content > p:not(.home-overline) { max-width: 590px; margin-bottom: 17px; color: #dce0e8; font-size: .84rem; line-height: 1.55; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.home-hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 36px; padding: 8px 14px; border: 1px solid #d9dbe2; border-radius: 5px; color: #f4f5f8; font-size: .72rem; font-weight: 750; text-decoration: none; transition: transform .16s, background .16s; }
.home-hero-actions a:hover { transform: translateY(-2px); }
.home-hero-actions .home-primary-action { border-color: var(--yellow); background: var(--yellow); color: #151719; }
.home-hero-stats { display: flex; gap: 0; margin-top: 20px; }
.home-hero-stats div { min-width: 115px; padding-right: 18px; }
.home-hero-stats div + div { padding-left: 18px; border-left: 1px solid rgba(235,238,245,.3); }
.home-hero-stats strong, .home-hero-stats span { display: block; }
.home-hero-stats strong { color: var(--yellow); font-size: 1.15rem; line-height: 1.1; }
.home-hero-stats span { margin-top: 2px; color: #c4cbd8; font-size: .61rem; }
.home-hero-status { position: absolute; right: 24px; bottom: 20px; display: grid; grid-template-columns: 8px 1fr; column-gap: 8px; align-items: center; min-width: 185px; padding: 10px 12px; border: 1px solid rgba(166,179,196,.32); border-radius: 5px; background: rgba(12,18,29,.76); text-decoration: none; backdrop-filter: blur(8px); }
.home-hero-status > span { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; background: #55d185; box-shadow: 0 0 12px #55d185; }
.home-hero-status strong { color: #f2f4f7; font-size: .65rem; }
.home-hero-status small { color: #afb9ca; font-size: .57rem; }
.home-dashboard { display: grid; grid-template-columns: 1.05fr 1.05fr .9fr; gap: 12px; margin-top: 12px; }
.home-panel { min-width: 0; padding: 17px 18px; border: 1px solid var(--home-line); border-radius: 6px; background: var(--home-card); box-shadow: 0 12px 25px rgba(2,6,14,.1); }
.home-panel-heading { display: flex; align-items: center; gap: 8px; min-height: 29px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--home-line); }
.home-panel-icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--home-accent); }
.home-panel-heading h2 { flex: 0 0 auto; margin: 0; color: var(--home-text); font-size: .91rem; letter-spacing: -.02em; }
.home-panel-heading a { margin-left: auto; color: var(--yellow); font-size: .61rem; font-weight: 700; text-align: right; text-decoration: none; white-space: nowrap; }
.home-panel-heading a:hover { text-decoration: underline; }
.home-about, .home-experience, .home-skills { min-height: 299px; }
.home-about { display: flex; flex-direction: column; }
.home-about > p, .home-skills > p { margin: 0; color: var(--home-soft); font-size: .73rem; line-height: 1.55; }
.home-about > p + p { margin-top: 18px; }
.home-about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--home-line); }
.home-about-points div { padding: 0 8px; text-align: center; }
.home-about-points div + div { border-left: 1px solid var(--home-line); }
.home-about-points span, .home-about-points strong, .home-about-points small { display: block; }
.home-about-points span { margin-bottom: 7px; color: var(--home-accent); font-size: 1rem; font-weight: 900; }
.home-about-points span svg { width: 21px; height: 21px; margin: 0 auto; }
.home-about-points strong { color: var(--home-text); font-size: .65rem; }
.home-about-points small { margin-top: 3px; color: var(--home-muted); font-size: .56rem; line-height: 1.4; }
.home-timeline { display: grid; gap: 8px; margin: 0; padding: 0 0 0 14px; list-style: none; }
.home-timeline li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 9px; padding-left: 10px; border-left: 1px solid var(--home-line); }
.home-timeline li::before { content: ""; position: absolute; top: 4px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.home-timeline time { color: var(--home-accent); font-size: .6rem; font-weight: 750; white-space: nowrap; }
.home-timeline strong, .home-timeline small { display: block; }
.home-timeline strong { color: var(--home-text); font-size: .68rem; line-height: 1.25; }
.home-timeline small { margin-top: 2px; color: var(--home-muted); font-size: .57rem; }
.home-timeline p { margin: 3px 0 0; color: var(--home-soft); font-size: .57rem; line-height: 1.4; }
.home-skill-list { display: grid; gap: 0; margin: 9px 0 0; padding: 0; list-style: none; }
.home-skill-list li { position: relative; display: grid; gap: 1px; padding: 6px 0 6px 12px; border-bottom: 1px solid var(--home-line); }
.home-skill-list li:last-child { border-bottom: 0; }
.home-skill-list li::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 0; width: 3px; border-radius: 3px; background: var(--yellow); }
.home-skill-list span { color: var(--home-text); font-size: .67rem; font-weight: 750; }
.home-skill-list small { color: var(--home-muted); font-size: .57rem; }
.home-projects { grid-column: span 2; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-project { overflow: hidden; border: 1px solid var(--home-line); border-radius: 5px; background: color-mix(in srgb, var(--home-card) 78%, var(--home-bg)); text-decoration: none; transition: transform .16s, border-color .16s; }
.home-project:hover { transform: translateY(-3px); border-color: var(--home-link); }
.home-project-media { height: 100px; background-color: #0e1724; background-position: center; background-size: cover; }
.home-lab-media { background-image: linear-gradient(rgba(5,10,19,.12), rgba(5,10,19,.12)), url('/images/cis/Screenshot-Thumbnail.png'); }
.home-m365-media { background-image: linear-gradient(rgba(5,10,19,.12), rgba(5,10,19,.18)), url('/images/application%20images/Microsoft365/Screenshot%202026-10-07%20125147.png'); background-position: right top; }
.home-rmm-media { overflow: hidden; background: #202122; }
.home-rmm-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: top left; image-rendering: auto; filter: saturate(.9) brightness(1.04); transform: scale(1.15); }
.home-project-body { padding: 10px 11px 12px; }
.home-project-body strong { color: var(--home-text); font-size: .76rem; }
.home-project-body p { min-height: 44px; margin: 5px 0 7px; color: var(--home-soft); font-size: .62rem; line-height: 1.35; }
.home-project-body > small { display: inline-block; color: var(--home-accent); font-size: .57rem; }
.home-side-stack { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-width: 0; }
.home-training-row { display: grid; grid-template-columns: 39px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--home-line); }
.home-training-row:first-of-type { border-top: 0; }
.home-training-row time { color: var(--home-accent); font-size: .62rem; font-weight: 800; }
.home-training-row strong, .home-training-row small { display: block; }
.home-training-row strong { color: var(--home-text); font-size: .65rem; line-height: 1.3; }
.home-training-row small { color: var(--home-muted); font-size: .57rem; }
.home-contact p { margin: 0 0 10px; color: var(--home-soft); font-size: .67rem; }
.home-contact-mail { display: flex; justify-content: space-between; gap: 8px; color: var(--home-accent); font-size: .67rem; font-weight: 750; text-decoration: none; }
.home-contact-mail:hover { text-decoration: underline; }
@media (max-width: 1050px) {
  .home-page .home-main { width: 100%; min-height: calc(100vh - 66px); margin-left: 0; padding: 16px; }
  .home-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-skills, .home-projects, .home-side-stack { grid-column: span 2; }
  .home-side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
}
@media (max-width: 680px) {
  .home-page .home-main { padding: 12px; }
  .home-hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 535px; padding: 23px; background-image: linear-gradient(0deg, rgba(10,11,22,.98) 0%, rgba(16,13,31,.88) 61%, rgba(34,17,53,.34) 100%), url('/images/site/workstation-hero.png'); background-position: 58% center; }
  .home-hero h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .home-hero h2 { font-size: clamp(1.25rem, 5.7vw, 1.6rem); }
  .home-hero-content > p:not(.home-overline) { font-size: .8rem; }
  .home-hero-stats { margin-top: 18px; }
  .home-hero-stats div { min-width: 0; flex: 1; padding-right: 8px; }
  .home-hero-stats div + div { padding-left: 9px; }
  .home-hero-stats strong { font-size: .99rem; }
  .home-hero-stats span { font-size: .55rem; }
  .home-hero-status { position: static; align-self: flex-start; min-width: 0; margin-top: 17px; }
  .home-dashboard { grid-template-columns: minmax(0, 1fr); }
  .home-skills, .home-projects, .home-side-stack { grid-column: auto; }
  .home-about, .home-experience, .home-skills { min-height: 0; }
  .home-about-points { margin-top: 22px; }
  .home-project-grid, .home-side-stack { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-project-media { height: 135px; }
  .home-project-body p { min-height: 0; }
}
