/*
   SubmitInMe About page
   Local Tailwind utility subset plus page-specific presentation.
   Keeping only the classes used by about-submitinme.aspx avoids the runtime
   Tailwind compiler and keeps the first render independent of a CDN.
*/

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../vendor/fonts/source-sans-3-latin-var.woff2") format("woff2");
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../vendor/fonts/space-grotesk-latin-var.woff2") format("woff2");
}

/* Tailwind preflight used by this page. */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
}

body {
    margin: 0;
    line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

ol,
ul {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: inherit;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

button,
[role="button"] {
    cursor: pointer;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Local utilities generated from the classes used by this page. */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-shrink-0 { flex-shrink: 0; }
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.mx-auto { margin-right: auto; margin-left: auto; }
.mt-auto { margin-top: auto; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.h-auto { height: auto; }
.h-10 { height: 2.5rem; }
.max-h-12 { max-height: 3rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-right: 1.5rem; padding-left: 1.5rem; }
.px-8 { padding-right: 2rem; padding-left: 2rem; }
.pl-5 { padding-left: 1.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-0 { padding-top: 0; }
.pt-10 { padding-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-blue-500 { border-color: #3b82f6; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-\[\#222\] { border-color: #222; }
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-\[\#2563eb\] { --tw-gradient-from: #2563eb; }
.to-\[\#1e3a8a\] { --tw-gradient-to: #1e3a8a; }
.bg-clip-text { background-clip: text; -webkit-background-clip: text; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-transparent { color: transparent; }
.text-blue-600 { color: #2563eb; }
.text-slate-500 { color: #64748b; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.object-cover { object-fit: cover; }
.transition {
    transition-property: color, background-color, border-color, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.hover\:border-blue-200:hover { border-color: #bfdbfe; }
.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.hover\:shadow-blue-500\/30:hover {
    box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.3), 0 4px 6px -4px rgb(59 130 246 / 0.3);
}
.hover\:underline:hover { text-decoration-line: underline; }
.group-hover\:gap-2 { }
.group:hover .group-hover\:gap-2 { gap: 0.5rem; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:inline-flex { display: inline-flex; }
    .md\:p-8 { padding: 2rem; }
    .md\:px-\[8\%\] { padding-right: 8%; padding-left: 8%; }
    .md\:pt-14 { padding-top: 3.5rem; }
    .md\:pb-8 { padding-bottom: 2rem; }
    .md\:pb-20 { padding-bottom: 5rem; }
    .md\:pb-28 { padding-bottom: 7rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-\[1\.15fr_0\.85fr\] { grid-template-columns: 1.15fr 0.85fr; }
}

/* Page shell. */
body {
    font-family: "Source Sans 3", sans-serif !important;
    background: #050508;
    color: #fff;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif !important;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.03;
}

.noise > svg {
    width: 100%;
    height: 100%;
}

/* Full-viewport hero slider. */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: brightness(0.65) saturate(0.85);
    transition: transform 7s ease-out;
}

.slide.active .slide-img { transform: scale(1); }
.slide-img.founder-img { filter: brightness(0.85) saturate(0.95); object-position: center 30%; }

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(135deg, rgb(30 64 175 / 0.2) 0%, transparent 50%),
        linear-gradient(to top, #050508 0%, rgb(5 5 8 / 0.5) 30%, transparent 60%),
        linear-gradient(to right, rgb(5 5 8 / 0.75) 0%, rgb(5 5 8 / 0.2) 45%, transparent 70%);
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 14%;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-bottom: 16px;
    color: #60a5fa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}

.slide.active .slide-tag { opacity: 1; transform: translateY(0); }

.slide-name,
.slide-degree,
.slide-title,
.slide-desc,
.slide-cta {
    opacity: 0;
}

.slide-name {
    margin-bottom: 8px;
    color: rgb(255 255 255 / 0.35);
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateY(15px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s;
}

.slide.active .slide-name { opacity: 1; transform: translateY(0); }

.slide-degree {
    margin-bottom: 14px;
    color: rgb(255 255 255 / 0.3);
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.03em;
    transform: translateY(15px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.28s;
}

.slide.active .slide-degree { opacity: 1; transform: translateY(0); }
.slide-degree:empty { display: none; }

.slide-title {
    margin-bottom: 16px;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.03em;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
}

.slide.active .slide-title { opacity: 1; transform: translateY(0); }

.tenure-badge {
    display: none;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.42s;
}

.tenure-badge.show { display: inline-flex; }
.slide.active .tenure-badge.show { opacity: 1; transform: translateY(0); }

.tenure-badge-num {
    flex-shrink: 0;
    color: transparent;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, #bfdbfe 0%, #60a5fa 45%, #2563eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 0 16px rgb(37 99 235 / 0.55));
}

.tenure-badge-text {
    padding-left: 14px;
    border-left: 2px solid rgb(96 165 250 / 0.4);
    color: rgb(255 255 255 / 0.8);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tenure-badge-since {
    display: block;
    margin-top: 2px;
    color: rgb(255 255 255 / 0.4);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
}

.slide-desc {
    max-width: 520px;
    margin-bottom: 28px;
    color: rgb(255 255 255 / 0.5);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.55s;
}

.slide.active .slide-desc { opacity: 1; transform: translateY(0); }

.slide-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 9999px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 40px -10px rgb(37 99 235 / 0.6);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.7s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.slide.active .slide-cta { opacity: 1; transform: translateY(0); }
.slide-cta:hover { background: #1d4ed8; transform: translateY(-2px) scale(1.03) !important; box-shadow: 0 0 50px -8px rgb(37 99 235 / 0.8); }

.slide-number {
    position: absolute;
    top: 10%;
    right: 5%;
    z-index: 4;
    color: transparent;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(80px, 13vw, 200px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    -webkit-text-stroke: 1px rgb(96 165 250 / 0.07);
    opacity: 0;
    transform: translateX(30px) rotate(3deg);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

.slide.active .slide-number { opacity: 1; transform: translateX(0) rotate(3deg); }

/* Founder and milestone timeline. */
.year-journey {
    position: absolute;
    top: 62px;
    right: 5%;
    left: 5%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.3s, transform 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}

.slide.active .year-journey { opacity: 1; transform: translateY(0); }

.year-journey-year {
    flex-shrink: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.year-journey-year:not(.accent) { color: #fff; text-shadow: 0 0 40px rgb(255 255 255 / 0.2), 0 6px 30px rgb(0 0 0 / 0.75); }
.year-journey-year.accent { color: transparent; background: linear-gradient(100deg, #bfdbfe 0%, #60a5fa 45%, #2563eb 100%); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 22px rgb(37 99 235 / 0.65)); }

.year-journey-line {
    position: relative;
    flex: 1 1 auto;
    align-self: center;
    height: 0;
    min-width: 24px;
    border-top: 3px dotted rgb(96 165 250 / 0.5);
}

.year-journey-line::after {
    position: absolute;
    top: -5px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #93c5fd;
    box-shadow: 0 0 14px 4px rgb(147 197 253 / 0.9), 0 0 28px 10px rgb(37 99 235 / 0.5);
    content: "";
    animation: yearSpark 3.2s ease-in-out infinite;
}

@keyframes yearSpark {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: calc(100% - 10px); opacity: 0; }
}

.person-card {
    position: absolute;
    top: 50%;
    right: 6%;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) translateX(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 0.35s;
}

.slide.active .person-card { opacity: 1; transform: translateY(-50%) translateX(0); }
.person-card-inner { width: 180px; padding: 24px; border: 1px solid rgb(255 255 255 / 0.06); border-radius: 16px; background: rgb(255 255 255 / 0.03); backdrop-filter: blur(20px); }
.person-card-avatar { width: 56px; height: 56px; margin-bottom: 14px; overflow: hidden; border: 2px solid rgb(96 165 250 / 0.3); border-radius: 50%; }
.person-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card-name { margin-bottom: 3px; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 600; }
.person-card-role { margin-bottom: 4px; color: #60a5fa; font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.person-card-degree { margin-bottom: 12px; color: rgb(255 255 255 / 0.4); font-size: 10px; font-weight: 500; line-height: 1.4; }
.person-card-degree:empty { display: none; margin-bottom: 0; }
.person-card-line { width: 24px; height: 2px; border-radius: 1px; background: #2563eb; }

/* Hero controls and overlays. */
.progress-track { position: absolute; right: 0; bottom: 0; left: 0; z-index: 10; height: 3px; background: rgb(255 255 255 / 0.04); }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, #2563eb, #60a5fa); transition: width 0.1s linear; }
.nav-dots { position: absolute; bottom: 32px; left: 50%; z-index: 10; display: flex; gap: 10px; transform: translateX(-50%); }
.nav-dot { position: relative; width: 32px; height: 3px; overflow: hidden; border-radius: 2px; background: rgb(255 255 255 / 0.12); cursor: pointer; transition: all 0.5s ease; }
.nav-dot.active { background: rgb(255 255 255 / 0.12); }
.nav-dot-fill { position: absolute; inset: 0; border-radius: 2px; background: #2563eb; transform: scaleX(0); transform-origin: left; }
.nav-dot.active .nav-dot-fill { animation: dotFill linear forwards; animation-duration: var(--dot-duration, 6s); }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.nav-arrow { position: absolute; top: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 0.07); border-radius: 50%; background: rgb(255 255 255 / 0.03); cursor: pointer; backdrop-filter: blur(8px); transition: all 0.4s ease; }
.nav-arrow:hover { border-color: rgb(37 99 235 / 0.3); background: rgb(37 99 235 / 0.12); transform: translateY(-50%) scale(1.1); }
.nav-arrow.prev { left: 20px; transform: translateY(-50%); }
.nav-arrow.next { right: 20px; transform: translateY(-50%); }

.top-bar { position: absolute; top: 0; right: 0; left: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 24px 5%; background: linear-gradient(to bottom, rgb(5 5 8 / 0.6), transparent); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid rgb(255 255 255 / 0.06); border-radius: 9999px; background: rgb(255 255 255 / 0.03); color: rgb(255 255 255 / 0.45); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; backdrop-filter: blur(8px); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #2563eb; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgb(37 99 235 / 0.4); } 50% { opacity: 0.5; box-shadow: 0 0 0 6px rgb(37 99 235 / 0); } }
.cred-float { position: absolute; z-index: 5; padding: 8px 16px; border: 1px solid rgb(255 255 255 / 0.05); border-radius: 8px; background: rgb(0 0 0 / 0.45); color: rgb(255 255 255 / 0.35); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; backdrop-filter: blur(12px); transition: opacity 0.4s ease; }
body.hide-creds .cred-float { opacity: 0 !important; }
.scan { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.scan::after { position: absolute; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(37 99 235 / 0.25), transparent); content: ""; animation: scanMove 6s linear infinite; }
@keyframes scanMove { 0% { top: -2%; } 100% { top: 102%; } }

/* Team image cycling. */
.team-cycle { position: absolute; inset: 0; z-index: 1; }
.team-cycle-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: brightness(0.75) saturate(0.9); opacity: 0; transition: opacity 1s ease; }
.team-cycle-img.active { z-index: 1; opacity: 1; }

/* Below-hero sections. */
.below-hero { position: relative; background: #050508; }
.crumb-bar { border-bottom: 1px solid rgb(255 255 255 / 0.06); }
.crumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 1400px; margin: 0 auto; padding: 18px 5%; color: rgb(255 255 255 / 0.4); font-size: 13px; font-weight: 500; }
.crumb-list a { color: rgb(255 255 255 / 0.55); text-decoration: none; transition: color 0.2s; }
.crumb-list a:hover { color: #60a5fa; }
.crumb-list .sep { color: rgb(255 255 255 / 0.2); }
.crumb-list .current { color: #93c5fd; font-weight: 600; }

.reveal-up { opacity: 1; transform: translateY(0); }
.js .reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* Archive filmstrip. */
.archive-scroll { overflow-x: auto; overflow-y: hidden; padding: 6px 5% 20px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-color: #cbd5e1 #f1f5f9; scrollbar-width: thin; }
.archive-scroll::-webkit-scrollbar { height: 7px; }
.archive-scroll::-webkit-scrollbar-track { border-radius: 99px; background: #f1f5f9; }
.archive-scroll::-webkit-scrollbar-thumb { border-radius: 99px; background: #cbd5e1; }
.archive-track { position: relative; display: flex; align-items: flex-start; gap: 30px; width: max-content; padding-top: 32px; }
.archive-track::before { position: absolute; top: 5px; right: 0; left: 0; height: 0; border-top: 2px dotted #bfdbfe; content: ""; }
.archive-card { position: relative; display: block; flex: 0 0 auto; width: 230px; text-decoration: none; scroll-snap-align: start; }
.archive-node { position: absolute; top: -32px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #bfdbfe; transform: translateX(-50%); }
.archive-browser { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.05); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.archive-card:hover .archive-browser { border-color: #93c5fd; box-shadow: 0 16px 32px -14px rgb(37 99 235 / 0.35); transform: translateY(-5px); }
.archive-browser-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid #e2e8f0; background: #f1f5f9; }
.archive-browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.archive-shot { overflow: hidden; aspect-ratio: 1 / 0.86; background: #f8fafc; }
.archive-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.archive-year { margin-top: 12px; color: #1e293b; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; text-align: center; transition: color 0.2s ease; }
.archive-card:hover .archive-year { color: #2563eb; }
.archive-scrollbtn { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; color: #475569; cursor: pointer; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.archive-scrollbtn:hover { border-color: #93c5fd; color: #2563eb; box-shadow: 0 6px 16px -6px rgb(37 99 235 / 0.3); }

/* Office gallery marquee. */
.office-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.office-marquee-track { display: flex; gap: 1rem; width: max-content; animation: officeMarquee 45s linear infinite; }
.office-marquee:hover .office-marquee-track { animation-play-state: paused; }
.office-marquee-item { flex: 0 0 auto; width: 280px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1rem; }
.office-marquee-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes officeMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.modern-header .navbar.main-header { padding-top: 4rem !important; }
.in-view p { max-width: 100% !important; }

@media (min-width: 768px) {
    .slide-content { padding: 0 8% 11%; }
    .slide-number { right: 8%; }
    .year-journey { top: 74px; right: 8%; left: 8%; }
    .top-bar { padding: 28px 8%; }
    .crumb-list { padding-right: 8%; padding-left: 8%; }
    .archive-scroll { padding-right: 8%; padding-left: 8%; }
}

@media (min-width: 900px) {
    .archive-scrollbtn { display: inline-flex; }
}

@media (max-width: 1024px) {
    .person-card { display: none; }
}

@media (max-width: 768px) {
    .nav-arrow { width: 40px; height: 40px; }
    .nav-arrow.prev { left: 12px; }
    .nav-arrow.next { right: 12px; }
}

@media (max-width: 640px) {
    .year-journey { top: 56px; gap: 10px; }
    .year-journey-line { border-top-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .year-journey-line::after { opacity: 0.8; animation: none; }
    .office-marquee-track { animation: none; }
}
