/* Photography homepage. Scoped here so the other pages keep their own styles. */
.home-page {
    --ink: #163f42;
    --soft-ink: #4b6563;
    color: var(--ink);
    background: #f2f5ee;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.home-page .home-main { width: 100%; max-width: none; margin: 0; padding: 0; }

.home-hero {
    --scene-x: 0px;
    --scene-y: 0px;
    --foreground-x: 0px;
    --foreground-y: 0px;
    position: relative;
    min-height: 800px;
    height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: #194341;
    perspective: 1200px;
}
.hero-scene, .hero-image-reveal, .hero-image, .hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-scene {
    z-index: -3;
    inset: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    transform: translate3d(var(--scene-x), var(--scene-y), 0);
}
.hero-image { max-width: none; object-fit: cover; object-position: 51% 56%; }
.hero-shade {
    z-index: -2;
    pointer-events: none;
    /* A local text scrim leaves the center walkway and right facade bright. */
    background:
        linear-gradient(90deg, rgb(5 31 30 / 64%) 0%, rgb(7 34 31 / 33%) 29%, transparent 62%),
        linear-gradient(180deg, rgb(9 32 30 / 20%), transparent 20%, transparent 78%, rgb(8 31 27 / 25%));
}
.hero-header {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px clamp(24px, 5.8vw, 100px);
    z-index: 6;
}
.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.5px;
    text-shadow: 0 2px 12px rgb(0 25 24 / 20%);
}
.brand-mark { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.contact-link {
    display: inline-flex;
    gap: 23px;
    align-items: center;
    padding: 10px 17px;
    border: 1px solid rgb(255 255 255 / 46%);
    border-radius: 999px;
    background: rgb(14 45 43 / 28%);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease;
}
.contact-link:hover { background: rgb(14 45 43 / 58%); border-color: #fff; }
.hero-copy {
    position: absolute;
    top: clamp(112px, calc(18% - 56px), 158px);
    left: clamp(24px, 5.8vw, 100px);
    z-index: 2;
    max-width: min(630px, 58vw);
    color: #fff;
    transform: perspective(1000px) translate3d(var(--copy-x, 0px), var(--copy-y, 0px), 0) rotateX(var(--copy-tilt-x, 0deg)) rotateY(var(--copy-tilt-y, 0deg));
    transform-origin: left center;
    transition: transform .35s ease-out;
    will-change: transform;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 23px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}
.hero-eyebrow > span { width: 5px; height: 5px; background: #d3e6b9; border-radius: 50%; box-shadow: 0 0 0 5px rgb(222 240 205 / 12%); }
.hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(55px, 5.5vw, 88px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.055em;
    text-shadow: 0 3px 24px rgb(9 36 29 / 10%);
}
.hero-copy h1 > span { color: #edf4e6; }
.hero-description { margin: 26px 0 0; color: rgb(255 255 255 / 88%); font-size: clamp(14px, 1.15vw, 17px); letter-spacing: .05px; }
.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 29px;
    padding: 0 0 7px;
    border-bottom: 1px solid rgb(255 255 255 / 45%);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: gap .25s ease;
}
.explore-link:hover { gap: 20px; }
.explore-link svg, .hero-scroll svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.portal-nav { position: absolute; inset: 0; z-index: 3; pointer-events: none; scroll-margin-top: 18px; }
.portal-anchor {
    position: absolute;
    width: clamp(295px, 24vw, 355px);
    pointer-events: auto;
    transform: translate3d(var(--foreground-x), var(--foreground-y), 0);
}
.portal-anchor--study { left: 5.8%; bottom: calc(10% + clamp(16px, 1.4vw, 24px)); }
.portal-anchor--loadout { top: calc(46% - clamp(110px, 8vw, 128px)); right: clamp(150px, 16vw, 240px); }
.portal-anchor--move { right: calc(10% + clamp(28px, 2.5vw, 40px)); bottom: calc(5% + clamp(18px, 1.5vw, 26px)); }
.portal-nav a.portal-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 128px;
    scroll-margin-top: 24px;
    padding: 23px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 76%);
    border-radius: 17px;
    background: rgb(244 250 244 / 76%);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 15px 40px rgb(10 35 32 / 19%), inset 0 1px 0 rgb(255 255 255 / 88%);
    transform: perspective(850px) translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease, border-color .35s ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .portal-nav a.portal-card {
        background: linear-gradient(120deg, rgb(255 255 255 / 68%), rgb(235 248 241 / 45%));
        backdrop-filter: blur(20px) saturate(123%);
        -webkit-backdrop-filter: blur(20px) saturate(123%);
    }
}
.portal-card::before { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgb(255 255 255 / 30%), transparent 55%); content: ""; pointer-events: none; }
.portal-icon {
    display: grid;
    flex: 0 0 47px;
    width: 47px;
    height: 52px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 12px;
    background: rgb(250 255 249 / 36%);
    box-shadow: inset 0 1px 1px rgb(255 255 255 / 50%);
    transition: transform .35s ease, background .35s ease;
}
.portal-icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.portal-copy { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; }
.portal-category { margin-bottom: 5px; color: #4a6865; font-size: 9px; font-weight: 600; letter-spacing: .55px; }
.portal-copy strong { font-size: clamp(17px, 1.4vw, 21px); font-weight: 650; line-height: 1.25; letter-spacing: -.55px; white-space: nowrap; }
.portal-description { margin-top: 6px; color: #294c49; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .1px; }
.portal-arrow { align-self: flex-end; margin: 0 0 4px 2px; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .3s ease; }
@media (hover: hover) and (pointer: fine) {
    .portal-nav a.portal-card:hover {
        border-color: #fff;
        background-color: rgb(255 255 255 / 25%);
        box-shadow: 0 24px 50px rgb(8 36 33 / 24%), inset 0 1px 0 #fff;
        transform: perspective(850px) translate3d(0, -6px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    }
    .portal-card:hover .portal-icon { transform: translateY(-2px) scale(1.045); }
    .portal-card:hover .portal-arrow { transform: translate(3px, -3px); }
}
.portal-nav a.portal-card:active { transform: perspective(850px) translateY(-1px) scale(.985); }
.home-page a:focus-visible { outline: 3px solid #e5f6d5; outline-offset: 6px; }
.portal-nav a.portal-card:focus-visible { outline-color: #fff; box-shadow: 0 0 0 7px #245d58, 0 18px 40px rgb(8 36 33 / 23%); }
.hero-caption { position: absolute; left: 5.8%; bottom: 35px; display: flex; align-items: center; gap: 13px; color: rgb(255 255 255 / 85%); font-size: 10px; letter-spacing: .2px; }
.hero-caption > span { width: 27px; height: 1px; background: rgb(255 255 255 / 70%); }
.hero-scroll { position: absolute; right: 5.8%; bottom: 29px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; color: #fff; text-decoration: none; transition: background .25s ease; }
.hero-scroll:hover { background: rgb(255 255 255 / 20%); }
.home-page .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px 30px; flex-wrap: wrap; padding: 23px 5.8%; border: 0; background: #f2f5ee; color: #58706a; font-size: 11px; }
.home-page .site-footer p, .home-page .site-footer address { margin: 0; }
.home-page .site-footer p > span { margin: 0 7px; }
.home-page .site-footer address { font-style: normal; }
.home-page .site-footer a { color: #315750; text-decoration: none; text-underline-offset: 4px; }
.home-page .site-footer a:hover { text-decoration: underline; }
.home-page .site-footer a:focus-visible { outline-color: #245d58; }

/* The one-time reveal is separate from transforms used by pointer movement. */
.js .home-hero:not(.is-ready) .hero-image-reveal,
.js .home-hero:not(.is-ready) .hero-copy,
.js .home-hero:not(.is-ready) .portal-reveal { opacity: 0; }
.home-hero.is-intro.is-ready .hero-image-reveal { animation: image-arrive 1.9s cubic-bezier(.2, .65, .3, 1) both; }
.home-hero.is-intro.is-ready .hero-eyebrow { animation: content-arrive .9s .18s both; }
.home-hero.is-intro.is-ready h1 { animation: content-arrive 1s .28s both; }
.home-hero.is-intro.is-ready .hero-description { animation: content-arrive .9s .43s both; }
.home-hero.is-intro.is-ready .explore-link { animation: content-arrive .9s .53s both; }
.home-hero.is-intro.is-ready .portal-reveal { animation: content-arrive .85s cubic-bezier(.2, .65, .3, 1) both; }
.home-hero.is-intro.is-ready .portal-anchor--study .portal-reveal { animation-delay: .6s; }
.home-hero.is-intro.is-ready .portal-anchor--loadout .portal-reveal { animation-delay: .76s; }
.home-hero.is-intro.is-ready .portal-anchor--move .portal-reveal { animation-delay: .92s; }
@keyframes image-arrive { from { opacity: .2; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes content-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 761px) and (max-width: 1100px) {
    .hero-copy { top: clamp(108px, calc(18% - 46px), 138px); max-width: 70vw; }
    .hero-copy h1 { font-size: clamp(53px, 6.2vw, 68px); }
    .portal-anchor { width: 290px; }
    .portal-anchor--study { bottom: calc(18% + 18px); left: 5%; }
    .portal-anchor--loadout { top: clamp(220px, 29vh, 290px); right: clamp(75px, 12vw, 130px); }
    .portal-anchor--move { right: calc(13% + 24px); bottom: calc(2% + 18px); }
    .portal-nav a.portal-card { min-height: 112px; padding: 19px; gap: 12px; }
    .hero-caption, .hero-scroll { bottom: 30px; }
}
@media (max-width: 760px) {
    .home-hero { display: flex; height: auto; min-height: max(900px, 100svh); flex-direction: column; padding: 154px 24px 79px; perspective: none; }
    .hero-scene { inset: 0; width: 100%; height: 100%; transform: none; }
    .hero-image { object-position: 53% center; }
    .hero-shade { background: linear-gradient(180deg, rgb(7 31 29 / 34%) 0%, rgb(7 31 29 / 28%) 34%, rgb(7 31 29 / 12%) 62%, rgb(7 31 29 / 42%) 100%); }
    .hero-header { padding: 24px; }
    .home-brand { gap: 8px; font-size: 18px; }
    .brand-mark { width: 29px; height: 29px; }
    .contact-link { gap: 12px; padding: 8px 12px; font-size: 10px; }
    .hero-copy { position: relative; inset: auto; top: -30px; width: 100%; max-width: 100%; margin-bottom: 68px; }
    .hero-eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: 2.8px; }
    .hero-copy h1 { font-size: clamp(42px, 10.3vw, 64px); line-height: 1.08; }
    .hero-description { margin-top: 22px; font-size: 13px; }
    .explore-link { margin-top: 22px; font-size: 11px; }
    .portal-nav { position: relative; inset: auto; display: grid; gap: 13px; }
    .portal-anchor { position: relative; inset: auto; width: 100%; transform: none; }
    .portal-nav a.portal-card { min-height: 106px; padding: 18px 20px; gap: 16px; border-radius: 14px; }
    .portal-icon { flex-basis: 44px; width: 44px; height: 47px; }
    .portal-copy strong { font-size: 19px; }
    .portal-category { font-size: 9px; margin-bottom: 3px; }
    .portal-description { font-size: 10px; margin-top: 4px; }
    .hero-caption { left: 24px; bottom: 27px; font-size: 9px; }
    .hero-scroll { display: none; }
    .home-page .site-footer { padding: 22px 24px; gap: 8px; font-size: 10px; }
}
@media (max-width: 370px) {
    .home-hero { padding-inline: 19px; }
    .hero-header { padding-inline: 19px; }
    .home-brand { font-size: 16px; }
    .contact-link { gap: 8px; }
    .hero-copy h1 { font-size: 39px; }
    .portal-nav a.portal-card { gap: 12px; padding-inline: 15px; }
    .portal-copy strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
    .hero-scene, .portal-anchor, .portal-nav a.portal-card { transform: none !important; }
}
