.home-portfolio-section,
.home-capabilities,
.home-process {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--theme-border);
}

.home-project-showcase { border-top: 1px solid var(--theme-border); }
.home-project-feature { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--theme-border); }
.home-project-feature__number { color: var(--theme-accent); font-family: var(--font-mono); font-size: 0.64rem; font-weight: 800; }
.home-project-feature__type { color: var(--theme-muted); font-family: var(--font-mono); font-size: 0.59rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.home-project-feature h3 { margin: 0.35rem 0 0.6rem; color: var(--theme-text); font-family: var(--font-heading); font-size: clamp(1.35rem, 2.6vw, 2rem); letter-spacing: -0.04em; }
.home-project-feature p { max-width: 720px; margin: 0; color: var(--theme-muted); font-size: 0.8rem; line-height: 1.7; }
.home-project-feature__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.home-project-feature__tags span { padding: 0.27rem 0.48rem; border: 1px solid var(--theme-border); border-radius: 999px; color: var(--theme-muted); font-size: 0.6rem; font-weight: 750; }
.home-project-feature__actions { display: grid; justify-items: end; gap: 0.65rem; }
.home-project-feature__actions a { color: var(--theme-text); font-size: 0.68rem; font-weight: 800; text-decoration: none; }
.home-project-feature__actions a:hover { color: var(--theme-accent); }
.home-portfolio-empty { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--theme-border); border-bottom: 1px solid var(--theme-border); color: var(--theme-muted); }
.home-portfolio-empty p { margin: 0; }
.home-portfolio-empty a { color: var(--theme-accent); text-decoration: none; }

.home-capability-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--theme-border); border-bottom: 1px solid var(--theme-border); }
.home-capability-list article { min-height: 280px; padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 1px solid var(--theme-border); transition: background-color 180ms ease, transform 180ms ease; }
.home-capability-list article:first-child { border-left: 0; }
.home-capability-list article:hover { background: color-mix(in srgb, var(--theme-accent) 4%, transparent); transform: translateY(-3px); }
.home-capability-list article > span { color: var(--theme-accent); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 800; }
.home-capability-list h3 { margin: 3rem 0 0.7rem; font-family: var(--font-heading); font-size: 1.25rem; letter-spacing: -0.035em; }
.home-capability-list p { margin: 0; color: var(--theme-muted); font-size: 0.76rem; line-height: 1.65; }
.home-capability-list small { display: block; margin-top: 1.2rem; color: var(--theme-text); font-family: var(--font-mono); font-size: 0.58rem; line-height: 1.6; }

.home-process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--theme-border); border-bottom: 1px solid var(--theme-border); list-style: none; }
.home-process__steps li { min-height: 210px; padding: 1.4rem; border-left: 1px solid var(--theme-border); }
.home-process__steps li:first-child { border-left: 0; }
.home-process__steps span { color: var(--theme-accent); font-family: var(--font-mono); font-size: 0.6rem; font-weight: 800; }
.home-process__steps strong { display: block; margin-top: 3.2rem; font-family: var(--font-heading); font-size: 0.95rem; }
.home-process__steps p { margin: 0.55rem 0 0; color: var(--theme-muted); font-size: 0.69rem; line-height: 1.6; }

.home-availability { display: grid; grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr) auto; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; margin: clamp(4rem, 8vw, 7rem) 0; padding: clamp(2rem, 4vw, 3rem); border: 1px solid color-mix(in srgb, var(--theme-accent) 28%, var(--theme-border)); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 7%, var(--theme-surface)), var(--theme-surface)); }
.home-availability__status { display: flex; align-items: center; gap: 0.5rem; color: var(--theme-muted); font-size: 0.68rem; font-weight: 750; }
.home-availability__status > span { width: 7px; height: 7px; border-radius: 50%; background: #35d58a; box-shadow: 0 0 0 5px color-mix(in srgb, #35d58a 12%, transparent); }
.home-availability h2 { margin: 0.4rem 0 0; font-family: var(--font-heading); font-size: clamp(1.55rem, 3vw, 2.6rem); letter-spacing: -0.05em; }
.home-availability p { max-width: 650px; margin: 0.65rem 0 0; color: var(--theme-muted); font-size: 0.78rem; line-height: 1.65; }
.home-footer__inner { grid-template-columns: 1fr auto auto auto; }
.home-footer__social { display: inline-flex; justify-content: center; gap: 0.75rem; }
.home-footer__social a { color: var(--theme-muted); font-size: 0.64rem; font-weight: 750; text-decoration: none; }
.home-footer__social a:hover { color: var(--theme-accent); }

@media (max-width: 900px) {
    .home-project-feature { grid-template-columns: 40px minmax(0, 1fr); }
    .home-project-feature__actions { grid-column: 2; grid-auto-flow: column; justify-content: start; justify-items: start; }
    .home-capability-list { grid-template-columns: 1fr; }
    .home-capability-list article { min-height: 0; border-top: 1px solid var(--theme-border); border-left: 0; }
    .home-capability-list article:first-child { border-top: 0; }
    .home-capability-list h3 { margin-top: 2rem; }
    .home-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-process__steps li:nth-child(3) { border-top: 1px solid var(--theme-border); border-left: 0; }
    .home-process__steps li:nth-child(4) { border-top: 1px solid var(--theme-border); }
    .home-availability { grid-template-columns: 1fr; }
    .home-footer__inner { grid-template-columns: 1fr auto; }
    .home-footer__inner > span,
    .home-footer__social { grid-column: 1 / -1; }
    .home-footer__social { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .home-project-feature { grid-template-columns: 1fr; }
    .home-project-feature__actions { grid-column: 1; }
    .home-process__steps { grid-template-columns: 1fr; }
    .home-process__steps li { min-height: 0; border-top: 1px solid var(--theme-border); border-left: 0; }
    .home-process__steps li:first-child { border-top: 0; }
    .home-process__steps strong { margin-top: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-capability-list article { transition: none; }
}
