.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-height) + 34px) 0 24px;
    overflow: clip;
    color: var(--text-inverse);
}

.hero-media,
.hero-overlay,
.hero-glow {
    position: absolute;
    inset: 0;
}

.hero-media img {
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
    transform: scale(1.04);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(16, 18, 22, 0.24) 0%, rgba(16, 18, 22, 0.76) 60%, rgba(16, 18, 22, 0.94) 100%),
        linear-gradient(270deg, rgba(16, 18, 22, 0.1) 0%, rgba(16, 18, 22, 0.72) 74%);
}

.hero-glow {
    background:
        radial-gradient(circle at 78% 20%, rgba(207, 152, 80, 0.28), transparent 18%),
        radial-gradient(circle at 18% 78%, rgba(207, 152, 80, 0.18), transparent 28%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    align-items: end;
}

.hero-copy {
    max-width: 38rem;
}

.hero-copy h1 {
    margin-top: 16px;
    max-width: 12ch;
}

.hero-lead {
    max-width: 34rem;
    margin-top: 18px;
    color: rgba(248, 244, 238, 0.82);
    font-size: 1rem;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-proof {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(248, 244, 238, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 244, 238, 0.12);
}

.hero-proof__label {
    color: rgba(248, 244, 238, 0.62);
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.hero-proof__list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.hero-proof__list li {
    display: grid;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(248, 244, 238, 0.12);
}

.hero-proof__list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.hero-proof__list strong {
    font-size: 1.6rem;
    font-family: var(--font-display);
    color: var(--text-inverse);
}

.hero-proof__list span {
    color: rgba(248, 244, 238, 0.78);
}

.proof-band {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: 28px 0 10px;
    background: linear-gradient(180deg, #15181e 0%, rgba(21, 24, 30, 0.18) 100%);
}

.proof-band__grid {
    display: grid;
    gap: 16px;
}

.proof-band__grid div {
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(248, 244, 238, 0.12);
}

.proof-band__grid span {
    display: block;
    color: var(--text-inverse);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.proof-band__grid p {
    color: rgba(248, 244, 238, 0.72);
}

.story-grid,
.project-focus__grid,
.contact-shell {
    display: grid;
    gap: 28px;
}

.story-copy,
.project-copy,
.contact-copy {
    display: grid;
    gap: 18px;
}

.story-metrics {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.story-metrics div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.story-metrics strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.story-metrics span {
    color: var(--text-muted);
}

.story-figure,
.project-stack figure {
    margin: 0;
}

.story-figure img {
    min-height: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.story-figure figcaption {
    margin-top: 14px;
    max-width: 30rem;
    color: var(--text);
    font-weight: 700;
}

.project-focus {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        rgba(251, 248, 243, 0.44);
}

.project-stack {
    display: grid;
    grid-template-columns: 1fr minmax(112px, 30%);
    gap: 12px;
    align-items: end;
}

.project-stack__primary img,
.project-stack__secondary img {
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.project-stack__primary img {
    min-height: 360px;
}

.project-stack__secondary img {
    min-height: 240px;
}

.project-steps {
    display: grid;
    gap: 18px;
    list-style: none;
}

.project-steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.project-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(207, 152, 80, 0.16);
    color: var(--accent-deep);
    font-family: var(--font-display);
    font-weight: 700;
}

.project-steps p {
    margin-top: 6px;
}

.contact-section {
    background: var(--surface-strong);
    color: var(--text-inverse);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact-section .contact-copy p,
.contact-details span {
    color: rgba(248, 244, 238, 0.72);
}

.contact-section .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text-inverse);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-details {
    display: grid;
    gap: 16px;
    align-content: start;
}

.contact-details div {
    padding: 18px 0;
    border-top: 1px solid var(--line-inverse);
}

.contact-details div:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-details span {
    display: block;
    margin-bottom: 6px;
}

.contact-details a,
.contact-details p {
    color: var(--text-inverse);
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    font-weight: 700;
}
