.umbral {
    --paper: #f6f4ee; --ink: #252b28; --accent: #303a34; --line: #c3c2b7;
    --display: 'Instrument Serif', Georgia, serif;
}
.umbral h1, .umbral h2, .umbral h3 { font-weight: 400; }

.umbral-header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
    color: #fffdf5;
}
.umbral-header .header-inner { border-bottom: 1px solid #fffdf570; }
.umbral-header .site-brand { font-size: 1.95rem; }
.umbral-header .language { border-color: #fffdf570; }
.umbral-header .language a[aria-current], .umbral-header .language a:hover { background: #fffdf5; color: #252b28; }
.umbral-hero { position: relative; isolation: isolate; overflow: hidden; background: #303a34; color: #fffdf5; }
.umbral-hero > img { position: absolute; inset: -85px 0 auto; width: 100%; height: calc(100% + 85px); object-fit: cover; object-position: center 56%; z-index: -2; }
.umbral-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #101a16ce, transparent 30%), linear-gradient(0deg, #101a16ed, #101a1660 49%, transparent 84%);
}
.umbral-hero-inner { min-height: clamp(555px, 87svh, 850px); display: flex; flex-direction: column; justify-content: end; align-items: start; padding-block: 115px 55px; }
.umbral-hero h1 { max-width: 13ch; font-size: clamp(3.4rem, 8vw, 8rem); text-wrap: pretty; }
.umbral-link { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; margin-top: 21px; color: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; font-weight: 700; }
.umbral-link span { transition: transform .25s; }
.umbral-link:hover span { transform: translateY(4px); }

.umbral-section { padding-block: clamp(43px, 8vw, 112px); scroll-margin-top: 16px; }
.umbral-work-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px 28px; margin-bottom: clamp(24px, 4vw, 55px); padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.umbral-work-heading span { color: #48554c; font-size: .86rem; }
.umbral-projects { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 6vw, 85px); align-items: start; }
.umbral-projects article:nth-child(2) { margin-top: clamp(38px, 11vw, 155px); }
.umbral-projects figure { overflow: hidden; }
.umbral-projects img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; transition: transform .65s ease; }
.umbral-projects article:nth-child(2) img { aspect-ratio: .95; }
.umbral-projects article:hover img { transform: scale(1.045); }
.umbral-project-caption { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9px 21px; align-items: end; margin-top: 14px; }
.umbral-projects article:nth-child(2) .umbral-project-caption { grid-template-columns: 1fr; }
.umbral-project-caption .eyebrow { margin: 0 0 5px; color: #48554c; }
.umbral-project-caption > p { font-size: .92rem; }

.umbral-studio { background: #29342e; color: #fffdf5; }
.umbral-studio-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; }
.umbral-studio-grid > div { position: relative; z-index: 1; padding: clamp(23px, 4vw, 56px); margin-inline-end: clamp(-60px, -4vw, -24px); background: #29342e; border: 1px solid #fffdf55e; }
.umbral-studio-grid img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.umbral-studio-grid .eyebrow { color: #d8c8ad; }
.umbral-studio-grid p:last-child { margin-top: 15px; max-width: 42ch; }

.umbral-practice { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(22px, 8vw, 105px); align-items: start; }
.umbral-line { height: 1px; transform-origin: left; background: linear-gradient(90deg, #555f54, #c3c2b7 82%, transparent); margin-top: 18px; }
.umbral-services { border-top: 1px solid var(--line); }
.umbral-services article { display: grid; grid-template-columns: .85fr 1.15fr; align-items: baseline; gap: 9px 22px; padding-block: clamp(15px, 2.2vw, 26px); border-bottom: 1px solid var(--line); }
.umbral-services p { font-size: .95rem; }
.umbral-contact { padding-block: clamp(45px, 7vw, 90px); background: #e7e1d4; color: #252b28; }
.umbral-contact > div { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: end; }
.umbral-contact p { grid-row: 2; }
.umbral-contact button { grid-area: 1 / 2 / 3; justify-self: start; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
    .umbral-hero-inner { animation: umbral-in .7s ease both; }
    .umbral-line[data-reveal] { transform: scaleX(1); transition: transform .9s ease, opacity .4s ease; }
    .umbral-line[data-reveal].pending { transform: scaleX(0); }
    @keyframes umbral-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 660px) {
    .umbral-hero-inner { min-height: 535px; padding-bottom: 39px; }
    .umbral-work-heading { flex-wrap: wrap; align-items: start; }
    .umbral-projects, .umbral-studio-grid, .umbral-practice, .umbral-contact > div { grid-template-columns: 1fr; }
    .umbral-projects article:nth-child(2) { margin: 8px 0 0 clamp(18px, 8vw, 48px); }
    .umbral-projects article:nth-child(2) img { aspect-ratio: 1.27; }
    .umbral-project-caption { grid-template-columns: 1fr; }
    .umbral-studio-grid > div { margin: 0 16px -15px 0; }
    .umbral-studio-grid img { width: calc(100% - 16px); margin-inline-start: 16px; }
    .umbral-services article { grid-template-columns: 1fr; }
    .umbral-contact button { grid-area: auto; margin-top: 4px; }
}
