body { margin: 0; background: #121212; }
.umay-home {
    --ink: #121212;
    --berry: #a51443;
    --page-edge: clamp(20px, 5vw, 80px);
    background: #fff; color: #292929; font: clamp(17px, 1.2vw, 30px)/1.6 'Hanken Grotesk', system-ui, sans-serif;
    overflow-x: clip;
}
.umay-home a { color: inherit; }
.umay-home a:hover { color: var(--berry); }
.umay-home a:focus-visible, .umay-home button:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }
.umay-home ::selection { background: var(--berry); color: #fff; }
.umay-home h1, .umay-home h2, .umay-home h3, .umay-home p { margin: 0; }
.umay-home img { display: block; }
.umay-home [hidden] { display: none !important; }

@keyframes home-rise { from { transform: translateY(110%); } }
@keyframes home-fade { from { opacity: 0; } }
@keyframes home-draw { from { transform: scaleX(0); } }
@keyframes home-drift { from { transform: scale(1.18); } }
@keyframes home-curtain { from { transform: translateY(0); } }
@keyframes home-up { from { opacity: 0; transform: translateY(48px); } }
@keyframes home-fill { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes home-scan-solid { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }
@keyframes home-scan-drawing { from { clip-path: inset(0); } to { clip-path: inset(100% 0 0); } }
@keyframes home-scan-line { 0% { top: 0; opacity: 0; } 6%,94% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.home-hero { position: relative; display: flex; flex-direction: column; height: min(100vh, 900px); min-height: 640px; overflow: hidden; background: var(--ink); color: #fff; }
.home-hero-images { position: absolute; inset: 0; isolation: isolate; animation: home-drift 3s cubic-bezier(.16,1,.3,1) .25s both; }
.home-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transform: scale(1.08); transition: opacity 1.4s linear; }
.home-slide.is-active, .home-slide.was-active { opacity: 1; transform: scale(1); transition: opacity 1.4s linear, transform 6.4s linear; }
.home-slide.is-active { z-index: 3; }
.home-slide.was-active { z-index: 2; }
.home-spotlight {
    filter: brightness(1.7) saturate(1.1);
    -webkit-mask-image: radial-gradient(circle 440px at var(--mx,72%) var(--my,34%), #000 18%, transparent 72%);
    mask-image: radial-gradient(circle 440px at var(--mx,72%) var(--my,34%), #000 18%, transparent 72%);
}
.home-hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(18,18,18,.45) 76%, rgba(18,18,18,.85) 92%, #121212),
                linear-gradient(180deg, rgba(6,10,20,.55) 0%, rgba(6,10,20,.25) 45%, transparent) top / 100% clamp(200px,26vw,360px) no-repeat;
}
.home-curtain {
    position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none;
    background: var(--berry); transform: translateY(-101%); animation: home-curtain 1.1s cubic-bezier(.77,0,.18,1) .5s backwards;
}
.home-curtain img { height: clamp(130px, 17vw, 320px); width: auto; filter: brightness(0) invert(1); }
.home-header {
    --edge: clamp(18px, 2.4vw, 40px); position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px 32px; padding: var(--edge) calc(var(--edge) + 30px + clamp(18px, 1.8vw, 32px)) var(--edge) var(--edge);
}
.home-logo { height: clamp(56px, 4.6vw, 80px); width: auto; }
.home-header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-size: 15px; }
.home-header-nav a { padding: 12px 0; text-decoration: none; }
.home-kronos { width: auto; height: 24px; }
.home-menu-toggle, .home-mobile-menu { display: none; }
.home-works { background: var(--ink); color: #fff; }
.home-portfolio-heading {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 20px 56px; padding: clamp(28px, 3vw, 56px) var(--page-edge);
}
.home-portfolio-heading h1 { line-height: 0; overflow: hidden; }
.home-portfolio-heading h1 span { display: block; animation: home-rise 1.2s cubic-bezier(.16,1,.3,1) 1.15s both; }
.home-portfolio-heading h1 img { width: clamp(280px,40vw,1180px); height: auto; }
.home-slide-captions { display: grid; justify-items: end; text-align: right; font-size: clamp(16px, 1.3vw, 28px); line-height: 1.3; animation: home-fade 1.1s ease-out 2s both; }
.home-slide-caption {
    grid-area: 1/1; align-self: start; padding: 6px 0; color: #fff; text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: .3em; text-decoration-color: rgba(255,255,255,.45); opacity: 0; visibility: hidden;
    transition: opacity .5s linear,visibility 0s linear .5s;
}
.home-slide-caption.is-active { opacity: 1; visibility: visible; transition: opacity .7s linear .6s, visibility 0s linear .6s; }
.umay-home .home-slide-caption:hover { color: #fff; text-decoration-color: #fff; }

.home-portfolio-frame { height: min(100vh,780px); overflow: hidden; perspective: 1500px; perspective-origin: center; }
.home-strips { display: flex; height: 100%; transform-style: preserve-3d; transform: rotateY(calc(var(--mx,0)*-1.2deg)) rotateX(calc(var(--my,0)*.8deg)); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.home-strip {
    position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--ink); color: #fff;
    border-right: 1px solid rgba(255,255,255,.2); text-decoration: none;
    transition: flex-grow .95s cubic-bezier(.77,0,.18,1), transform .95s cubic-bezier(.77,0,.18,1);
}
.umay-home .home-strip:hover, .umay-home .home-strip:focus-visible { color: #fff; outline-offset: -4px; }
.home-strip.is-before { transform-origin: 100% 50%; transform: rotateY(24deg); }
.home-strip.is-after { transform-origin: 0 50%; transform: rotateY(-24deg); }
.home-strip.is-active { flex-grow: 11; }
.home-strip-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.28); filter: brightness(.42) grayscale(1); transition: transform 1.5s cubic-bezier(.16,1,.3,1),filter .8s; }
.home-strip.is-active .home-strip-image { filter: none; transform: scale(1.07) translate(calc(var(--mx,0)*-1.3%), calc(var(--my,0)*-1.3%)); }
.home-strip-wash, .home-strip-fold { position: absolute; inset: 0; }
.home-strip-wash { background: linear-gradient(180deg,rgba(18,18,18,.55), rgba(18,18,18,.25) 42%, rgba(18,18,18,.93)); }
.home-strip-fold { transition: opacity .8s; }
.home-strip.is-before .home-strip-fold { background: linear-gradient(90deg,transparent,rgba(0,0,0,.6)); }
.home-strip.is-after .home-strip-fold { background: linear-gradient(270deg,transparent,rgba(0,0,0,.6)); }
.home-strip.is-active .home-strip-fold { opacity: 0; }
.home-strip-number { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.home-strip-vertical { position: absolute; left: 50%; bottom: 28px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font-size: 18px; transition: opacity .3s; }
.home-strip.is-active .home-strip-vertical { opacity: 0; }
.home-strip-details {
    display: block; position: absolute; left: clamp(20px,3vw,64px); bottom: clamp(28px,4vw,64px); width: min(74vw,1100px);
    opacity: 0; transform: translateY(44px); transition: opacity .25s,transform .25s;
}
.home-strip.is-active .home-strip-details { opacity: 1; transform: translate(calc(var(--mx,0)*9px),calc(var(--my,0)*6px)); transition: opacity .7s .45s,transform 1.1s cubic-bezier(.16,1,.3,1) .45s; }
.home-strip-category { display: block; color: #e8e6de; }
.home-strip-title { display: block; margin-top: 8px; max-width: 16ch; font: 300 clamp(32px,4.8vw,150px)/1.04 'Hanken Grotesk',system-ui,sans-serif; letter-spacing: -.035em; }
.home-strip-rule { display: block; width: min(40vw,420px); height: 2px; margin-top: 24px; background: var(--berry); transform-origin: left; transform: scaleX(0); transition: transform .3s; }
.home-strip.is-active .home-strip-rule { transform: none; transition: transform 1.1s cubic-bezier(.16,1,.3,1) .6s; }
.home-strip-action { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 500; }

.home-about { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: clamp(24px,3vw,72px); padding: clamp(96px,13vw,200px) var(--page-edge); }
.home-about-title { max-width: 11.3em; font-weight: 300; font-size: clamp(34px,5.6vw,168px); line-height: 1.1; letter-spacing: -.03em; color: var(--berry); }
.umay-home .home-about-copy { margin: clamp(32px,4vw,72px) 0 0; max-width: 74ch; font-size: clamp(17px,1.3vw,28px); line-height: 1.65; }
.home-monogram { position: relative; height: clamp(200px,23vw,560px); aspect-ratio: 429/513; margin-right: clamp(0px,2.4vw,64px); }
.home-monogram img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-monogram-solid { clip-path: inset(0 0 50%); }
.home-monogram-drawing { clip-path: inset(50% 0 0); }
.home-monogram span { position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: var(--berry); }
@supports not (animation-timeline:view()) {
    .home-monogram-solid { animation: home-scan-solid 5.5s cubic-bezier(.65,0,.35,1) 1s infinite alternate both; }
    .home-monogram-drawing { animation: home-scan-drawing 5.5s cubic-bezier(.65,0,.35,1) 1s infinite alternate both; }
    .home-monogram span { animation: home-scan-line 5.5s cubic-bezier(.65,0,.35,1) 1s infinite alternate both; }
}
.home-service {
    position: sticky; top: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 24px 64px; min-height: min(58vh,400px); box-sizing: border-box; padding: clamp(36px,4vw,72px) var(--page-edge); background: #fff; color: var(--ink);
}
.home-service:nth-child(2) { background: #f0efe8; box-shadow: 0 -24px 48px rgba(18,18,18,.12); }
.home-service:nth-child(3) { background: var(--berry); color: #fff; box-shadow: 0 -24px 48px rgba(18,18,18,.18); }
.home-service > div { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px,2.4vw,44px); }
.home-service img { display: block; height: clamp(52px,5.2vw,120px); width: auto; }
.home-service h2 { font-size: clamp(40px,7vw,210px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.home-service p { flex: 0 1 44ch; }
.home-service:nth-child(3) a:hover { color: var(--ink); }

.home-team { position: relative; background: var(--ink); color: #fff; padding: clamp(88px,12vw,176px) var(--page-edge); }
.home-team h2 { font-weight: 300; font-size: clamp(34px,5vw,150px); line-height: 1.1; letter-spacing: -.03em; }
.home-team h3 { margin: 14px 0 22px; font-weight: 400; font-size: clamp(20px,1.7vw,38px); letter-spacing: -.01em; color: #e8e6de; }
.home-team-rule { height: 1px; margin: 0 0 44px; background: var(--berry); }
.home-team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 28px; }
.home-portrait { aspect-ratio: 4/5; overflow: hidden; }
.home-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.home-team-card:hover .home-portrait img { transform: scale(1.07); }
.home-person-name { padding: 12px 16px; font-weight: 500; background: var(--berry); }
.home-person-role { padding: 10px 16px; font-size: 14px; background: #1f1f1f; color: #e8e6de; }
.home-footer { position: relative; border-top: 1px solid #2a2a2a; background: var(--ink); color: #fff; padding: clamp(72px,10vw,160px) var(--page-edge) 48px; }
.home-footer h2 { max-width: 12ch; font-weight: 300; font-size: clamp(40px,8vw,240px); line-height: 1; letter-spacing: -.04em; }
.home-contact { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 72px; margin-top: clamp(40px,6vw,88px); }
.home-email { padding: 8px 0; font-size: clamp(24px,3.4vw,100px); font-weight: 300; letter-spacing: -.02em; text-decoration: none; background: linear-gradient(var(--berry),var(--berry)) no-repeat 0 100%/0 3px; transition: background-size .6s; }
.umay-home .home-email:hover { background-size: 100% 3px; color: #fff; }
.home-contact address { font-style: normal; color: #d9d7ce; font-size: 16px; }
.home-footer-social { display: none; }
.home-map { position: relative; margin-top: clamp(40px,5vw,72px); aspect-ratio: 16/6; min-height: 300px; overflow: hidden; background: #1b1b1b; border: 1px solid #3a3a3a; }
.home-map iframe { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; filter: grayscale(1); }
.home-map a { position: absolute; right: 20px; bottom: 20px; color: #fff; background: var(--berry); text-decoration: none; font-weight: 500; font-size: 16px; padding: 13px 22px; }
.umay-home .home-map a:hover { color: #fff; text-decoration: underline; }
.home-copyright { margin-top: 56px; padding-top: 20px; border-top: 1px solid #3a3a3a; font-size: 14px; color: #b9b7ae; }
@supports (animation-timeline:view()) {
    .home-reveal { animation: home-up linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .home-team-rule { transform-origin: left; animation: home-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .home-about-title span { color: transparent; background: linear-gradient(90deg,var(--berry) 50%,#cfcdc4 50%) 100% 0/200% 100%; -webkit-background-clip: text; background-clip: text; animation: home-fill linear both; animation-timeline: view(); animation-range: entry 30% cover 62%; }
    .home-monogram { view-timeline: --home-monogram block; }
    .home-monogram-solid { animation: home-scan-solid linear both; animation-timeline: --home-monogram; animation-range: entry 40% cover 55%; }
    .home-monogram-drawing { animation: home-scan-drawing linear both; animation-timeline: --home-monogram; animation-range: entry 40% cover 55%; }
    .home-monogram span { animation: home-scan-line linear both; animation-timeline: --home-monogram; animation-range: entry 40% cover 55%; }
}
@media (max-width: 900px) {
    .home-hero { height: 70svh; min-height: 440px; }
    .home-header { padding: 16px 20px; flex-wrap: nowrap; }
    .home-logo { height: 48px; }
    .home-header-nav { display: none; }
    .home-menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -9px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
    .home-mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #fff; display: flex; flex-direction: column; box-sizing: border-box; padding: 16px 20px max(28px, env(safe-area-inset-bottom)); overflow: auto; transform: translateY(-102%); transition: transform .65s cubic-bezier(.77,0,.18,1); }
    .home-mobile-menu.is-open { transform: none; }
    .home-mobile-top { display: flex; align-items: center; justify-content: space-between; }
    .home-mobile-brand { height: 48px; width: auto; }
    .home-mobile-nav { display: flex; flex-direction: column; margin-top: 10vh; }
    .home-mobile-nav a { font-weight: 300; font-size: 40px; line-height: 1.2; letter-spacing: -.03em; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
    .home-mobile-menu.is-open .home-mobile-nav a { opacity: 1; transform: none; transition: opacity .6s .3s,transform .8s cubic-bezier(.16,1,.3,1) .3s; }
    .home-mobile-kronos { display: block; align-self: flex-start; margin-top: 32px; padding: 8px 0; }
    .home-mobile-kronos img { height: 30px; width: auto; }
    .home-mobile-social { margin-top: auto; padding-top: 24px; }
    .home-portfolio-heading { padding: 26px 20px 22px; gap: 12px 24px; }
    .home-portfolio-heading h1 img { width: min(74vw,300px); }
    .home-slide-captions { justify-items: start; text-align: left; font-size: 16px; }
    .home-portfolio-frame { perspective: none; height: auto; }
    .home-strips { flex-direction: column; height: auto; transform: none; }
    .home-strip { min-height: 72px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); transition: min-height .6s cubic-bezier(.77,0,.18,1); }
    .home-strip.is-active { min-height: 400px; }
    .home-strip.is-before, .home-strip.is-after, .home-strip.is-active .home-strip-details { transform: none; }
    .home-strip.is-active .home-strip-image { height: 55%; transform: none; }
    .home-strip:not(.is-active) .home-strip-image { filter: brightness(.3) grayscale(1); }
    .home-strip.is-active .home-strip-wash { background: linear-gradient(180deg,rgba(18,18,18,.35),transparent 18%,transparent 34%,#121212 55%,#121212); }
    .home-strip-fold { display: none; }
    .home-strip-number { left: auto; right: 20px; top: 24px; }
    .home-strip.is-active .home-strip-number { mix-blend-mode: difference; }
    .home-strip-vertical { writing-mode: horizontal-tb; transform: none; left: 20px; right: 64px; top: 23px; bottom: auto; white-space: normal; font-size: 16px; line-height: 1.3; }
    .home-strip-details { left: 20px; bottom: 24px; width: calc(100% - 40px); }
    .home-strip-title { font-size: 28px; max-width: none; }
    .home-strip-rule { width: 120px; margin-top: 16px; }
    .home-strip-action { margin-top: 14px; }
    .home-about { grid-template-columns: minmax(0,1fr); padding: 72px 20px; }
    .home-monogram { height: 200px; margin: 40px 0 0; }
    .home-service { min-height: 0; padding: 40px 20px 44px; gap: 18px; }
    .home-service > div { flex: 1 1 100%; gap: 14px; }
    .home-service img { height: 44px; }
    .home-service h2 { font-size: 36px; }
    .home-service p { flex: 1 1 100%; }
    .home-team { padding: 72px 20px; }
    .home-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .home-person-name { padding: 10px 12px; font-size: 15px; }
    .home-person-role { padding: 8px 12px; font-size: 13px; }
    .home-footer { padding: 72px 20px 56px; }
    .home-footer-social { display: block; flex-basis: 100%; }
    .home-map { aspect-ratio: auto; min-height: 0; height: 300px; }
}
@media (min-width: 600px) and (max-width: 900px) {
    .home-team-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .home-monogram { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
    .umay-home *, .umay-home *::before, .umay-home *::after { animation: none !important; transition: none !important; }
    .home-strips, .home-strip.is-before, .home-strip.is-after, .home-strip.is-active .home-strip-image, .home-strip.is-active .home-strip-details { transform: none; }
    .home-about-title span { background: none; color: var(--berry); }
}

.home-map--link { min-height: 0; height: auto; aspect-ratio: auto; border: 0; background: none; }
.home-map--link a { display: inline-block; position: static; }
