.arch-home {
    --ink: #0e0d0c;
    --ivory: #f6f1e8;
    --sand: #d5ad81;
    --soft: #bfb6aa;
    --edge: #ffffff29;
    --space: clamp(20px, 5vw, 96px);
    background: var(--ink);
    color: var(--ivory);
    font-family: Montserrat, system-ui, sans-serif;
}
.arch-home h1, .arch-home h2 {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.arch-home h2 { font-size: clamp(2.15rem, 4.5vw, 4.75rem); line-height: 1.04; }
.arch-home :focus-visible { outline-color: var(--sand); }
.arch-home a { transition: color .2s, background-color .2s, border-color .2s; }
.arch-home a:hover { color: var(--sand); }
.arch-mast {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: min(960px, 92svh);
    padding: clamp(110px, 17vh, 200px) var(--space) clamp(48px, 9vh, 110px);
}
.arch-mast > img, .arch-mast::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.arch-mast > img { object-fit: cover; object-position: center 54%; z-index: -2; }
.arch-mast::after {
    content: "";
    z-index: -1;
    background: linear-gradient(0deg,#0e0d0c 0%,#0e0d0c80 42%,transparent 82%),
                linear-gradient(90deg,#100d09a8,transparent 80%);
}
.arch-mast h1 { max-width: 15ch; font-size: clamp(2.7rem, 7.2vw, 7.4rem); line-height: 1.01; }
.arch-mast-actions, .arch-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.arch-mast-actions { margin-top: 28px; }
.arch-home .arch-button {
    display: inline-flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 13px 19px; border: 1px solid var(--edge);
    font-size: .88rem; font-weight: 600;
}
.arch-home .arch-button:hover { border-color: var(--sand); }
.arch-home .arch-button-solid { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.arch-home .arch-button-solid:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.arch-band { padding: clamp(48px, 8vw, 120px) var(--space); }
.arch-band + .arch-band { border-top: 1px solid var(--edge); }
.arch-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.arch-home .arch-link { display: inline-flex; align-items: center; gap: 12px; color: var(--sand); font-size: .88rem; font-weight: 600; }
.arch-home .arch-link:hover { color: var(--ivory); }
.arch-track {
    display: flex; gap: clamp(14px, 2.25vw, 34px); overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: thin;
    scrollbar-color: var(--sand) #24201b; padding-bottom: 15px;
}
.arch-project { flex: 0 0 57%; min-width: 0; scroll-snap-align: start; }
.arch-project:nth-child(even) { flex-basis: 38%; }
.arch-frame { overflow: hidden; background: #211b16; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.arch-home a:hover .arch-frame img { transform: scale(1.035); }
.arch-project .arch-frame { height: clamp(235px, 36vw, 535px); }
.arch-caption { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 600; }
.arch-caption span:last-child { color: var(--sand); }
.arch-home .project-controls {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 10px; margin: 12px 0 0; padding: 0;
}
.arch-home .project-controls button {
    width: 44px; height: 44px; border: 1px solid var(--edge);
    border-radius: 50%; background: transparent; color: var(--ivory);
}
.arch-home .project-controls button:hover { border-color: var(--sand); color: var(--sand); }
.arch-home .project-controls progress { flex: 0 1 110px; width: 110px; height: 5px; accent-color: var(--sand); }
.arch-split {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
    gap: clamp(24px, 6vw, 88px);
}
.arch-split .arch-frame { aspect-ratio: 5/4; }
.arch-services { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--edge); }
.arch-services a {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--edge);
    font-size: clamp(.95rem, 1.45vw, 1.22rem);
}
.arch-services a span { color: var(--sand); }
.arch-story p { max-width: 58ch; margin: 20px 0; color: var(--soft); line-height: 1.8; white-space: pre-line; }
.arch-articles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px, 2vw, 28px); }
.arch-articles .arch-frame { aspect-ratio: 4/3; }
.arch-articles .arch-caption { font-size: 1rem; }
.arch-end { justify-content: space-between; background: #1c1712; }
.arch-end h2 { max-width: 17ch; }
@media (max-width: 760px) {
    .arch-mast { min-height: 78svh; }
    .arch-split { grid-template-columns: minmax(0,1fr); }
    .arch-project, .arch-project:nth-child(even) { flex-basis: 86%; }
    .arch-project .arch-frame { height: clamp(240px, 65vw, 420px); }
    .arch-articles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 460px) {
    .arch-articles { grid-template-columns: minmax(0,1fr); }
    .arch-articles .arch-frame { aspect-ratio: 16/10; }
}
@media (prefers-reduced-motion: reduce) {
    .arch-home *, .arch-home *::before, .arch-home *::after { transition: none; }
}
