/* DOR Advanced Technologies, Inc. · DOR-ID 000000011 · DOR-Hash 1aec5261a687f0064511bfdc4d476abc2d21595810cee24871ba2bf3f896d9da */
/* DOR Institute (/institute). Static page. Header and footer rules mirror the site's own. */
@font-face { font-family: "DOR Sans"; src: url("/fonts/DORSans-Regular-v1-2.woff2") format("woff2"); font-weight: 300 450; font-style: normal; font-display: swap; }
@font-face { font-family: "DOR Sans"; src: url("/fonts/DORSans-Medium-v1-2.woff2") format("woff2"); font-weight: 451 650; font-style: normal; font-display: swap; }
@font-face { font-family: "DOR Sans"; src: url("/fonts/DORSans-Bold-v1-2.woff2") format("woff2"); font-weight: 651 900; font-style: normal; font-display: swap; }

:root {
  --dor-black: #0B0B0B; --dor-raised: #161616; --dor-line: #1F1F1F;
  --dor-text: #F2F2F2; --dor-text-2: #B8B8B8; --dor-text-3: #8C8C8C;
  --dor-accent: #2E6E93; --dor-accent-text: #5B9BC0;
  --dor-paper: #F9F9F9; --dor-ink: #191919;
  --font-display: "DOR Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px; --container-max: 1400px; --gutter: 24px; --gutter-lg: 40px;
  --dor-btn-radius: 6px; --radius: 4px;
}
html, body { margin: 0; padding: 0; }
body.di-page { background: var(--dor-black); color: var(--dor-text); font-family: var(--font-display); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.di-page *, .di-page *::before, .di-page *::after { box-sizing: border-box; }
.di-page a { text-decoration: none; }
.di-page img { max-width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(11,11,11,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--dor-text); border-bottom: 1px solid var(--dor-line); transition: background-color .2s ease, border-color .2s ease; }
.header.is-top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.header.is-open { background: var(--dor-black); }
.header-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-lg); display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 16px; color: inherit; flex-shrink: 0; transition: opacity .2s; }
.brand-lockup:hover { opacity: .9; }
.brand-mark { height: 32px; width: auto; display: block; }
.brand-subtext { font-weight: 400; font-size: 12px; opacity: .6; letter-spacing: .005em; white-space: nowrap; }
.nav-row { display: flex; align-items: center; gap: 4px; font-weight: 400; font-size: 14px; }
.nav-row a:not(.nav-cta) { color: inherit; opacity: .7; padding: 8px 14px; border-radius: var(--radius); transition: opacity .18s; }
.nav-row a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; margin-left: 12px; border-radius: var(--dor-btn-radius); background: var(--dor-paper); color: var(--dor-black) !important; font-weight: 500; font-size: 13.5px; letter-spacing: .005em; transition: background .18s; }
.nav-cta:hover { background: #e4e4e4; }
.nav-toggle { display: none; background: transparent; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.nav-row a:focus-visible, .nav-toggle:focus-visible, .brand-lockup:focus-visible { outline: 2px solid var(--dor-accent-text); outline-offset: 3px; border-radius: var(--radius); }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-row { display: none; }
  .nav-row.open { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: var(--dor-black); border-bottom: 1px solid var(--dor-line); padding: 32px var(--gutter) 40px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-row.open a:not(.nav-cta) { font-size: 20px; opacity: 1; padding: 10px 0; }
  .nav-row.open .nav-cta { margin: 12px 0 0; padding: 12px 24px; font-size: 14px; }
}
@media (max-width: 768px) { .header-inner { padding: 0 var(--gutter); } }

/* Scenes */
.di-wrap { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-lg); }
@media (max-width: 768px) { .di-wrap { padding: 0 var(--gutter); } }
.di-scene { position: relative; }
.di-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--dor-black); }
.di-hero { height: 240vh; }
.di-item { height: 230vh; }
.di-close { height: 170vh; }

.di-eyebrow { margin: 0 0 28px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #f9f9f9; }
.di-seal { display: block; width: 106px; height: 106px; margin: 0 0 30px; opacity: .88; }
@media (max-width: 768px) { .di-seal { width: 78px; height: 78px; margin-bottom: 22px; } }
.di-page.is-reduced .di-seal { opacity: .88; }
.di-lit { margin: 0; font-weight: 700; font-size: clamp(44px, 7.4vw, 112px); line-height: 1.02; letter-spacing: -0.025em; max-width: 13ch; }
.di-lit .di-w { color: rgba(242,242,242,.13); transition: color .5s ease; }
.di-lit .di-w.is-lit { color: var(--dor-text); }
.di-lit .di-kick .di-w.is-lit, .di-lit .di-w--k.is-lit { color: var(--dor-accent-text); }
.di-lit--close { font-size: clamp(36px, 5.6vw, 84px); max-width: 16ch; }
.di-hero-inner { position: relative; z-index: 1; }

.di-glow { position: absolute; left: 50%; top: 50%; width: min(120vw, 1500px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(126, 92, 230, .30), rgba(70, 150, 200, .14) 45%, rgba(11,11,11,0) 72%);
  transform: translate(-30%, -50%) scale(calc(.55 + var(--p, 0) * .6)); opacity: calc(.35 + var(--p, 0) * .65); filter: blur(10px); }

.di-item-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(32px, 5vw, 96px); }
.di-item--rev .di-item-grid { grid-template-columns: 1fr 1.35fr; }
.di-item--rev .di-fig { order: 2; }
.di-fig { margin: 0; position: relative; }
.di-fig img { display: block; width: 100%; height: auto; mix-blend-mode: lighten;
  opacity: var(--img, 0); transform: scale(calc(1.06 - var(--img, 0) * .06)); filter: brightness(calc(.35 + var(--img, 0) * .65)); }
#dorian .di-fig img { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.di-copy { opacity: var(--txt, 0); transform: translateY(calc((1 - var(--txt, 0)) * 28px)); }
.di-name { margin: 0 0 22px; font-weight: 700; font-size: clamp(56px, 8.4vw, 132px); line-height: .95; letter-spacing: .01em; color: var(--dor-text); }
.di-line { margin: 0 0 16px; font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.01em; color: var(--dor-text); }
.di-body { margin: 0; max-width: 34ch; font-weight: 400; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--dor-text-2); }

@media (max-width: 900px) {
  .di-item { height: 210vh; }
  .di-item-grid, .di-item--rev .di-item-grid { grid-template-columns: 1fr; gap: 28px; }
  .di-item--rev .di-fig { order: 0; }
  .di-name { margin-bottom: 14px; }
}

/* Reduced motion: everything shown, nothing moves */
.di-page.is-reduced .di-hero, .di-page.is-reduced .di-item, .di-page.is-reduced .di-close { height: auto; }
.di-page.is-reduced .di-stick { position: relative; height: auto; min-height: 100vh; padding: 120px 0; }
.di-page.is-reduced .di-fig img, .di-page.is-reduced .di-copy, .di-page.is-reduced .di-eyebrow { opacity: 1; transform: none; filter: none; }
.di-page.is-reduced .di-lit .di-w { color: var(--dor-text); transition: none; }
.di-page.is-reduced .di-lit .di-kick .di-w { color: var(--dor-accent-text); }
@media (prefers-reduced-motion: reduce) { .di-lit .di-w { transition: none; } }

/* Footer (mirrors the site footer) */
.footer { background: var(--dor-black); color: var(--dor-text-2); padding: 96px 0 40px; border-top: 1px solid var(--dor-line); position: relative; z-index: 1; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 1024px) { .footer-inner { padding: 0 var(--gutter-lg); } }
.footer-mission { font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--dor-text); margin: 0 0 56px; max-width: 22ch; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 64px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.footer-brand-line { color: var(--dor-text); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; color: var(--dor-text-2); max-width: 44ch; margin: 0 0 20px; }
.footer .footer-head { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dor-text-3); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; font-size: 13.5px; }
.footer a { color: var(--dor-text-2); transition: color .2s; }
.footer a:hover { color: var(--dor-text); }
.footer a:focus-visible { outline: 2px solid var(--dor-paper); outline-offset: 3px; border-radius: 2px; }
.footer-cred { font-weight: 400; font-size: 11.5px; color: var(--dor-text-3); line-height: 1.8; margin-top: 12px; }
.footer-brands { list-style: none; margin: 0 0 56px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.footer-brands li { display: flex; align-items: center; margin: 0; }
.footer-brands a { display: block; line-height: 0; border-radius: 4px; }
.footer-brands img { display: block; width: auto; opacity: .72; transition: opacity .2s ease; }
.footer-brands a:hover img, .footer-brands a:focus-visible img { opacity: 1; }
.footer-brands img[height="24"] { height: 18px; }
.footer-brands img[height="42"] { height: 31.5px; }
@media (max-width: 900px) { .footer-brands { justify-content: flex-start; gap: 24px 36px; } }
.footer-close { border-top: 1px solid var(--dor-line); padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-weight: 400; font-size: 11.5px; color: var(--dor-text-3); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
