/* Four open projects, each given the space of a full editorial spread. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#open-work{scroll-margin-top:0}
.open-portfolio{--project-ease:cubic-bezier(.22,1,.36,1)}
.open-portfolio-heading{padding:clamp(48px,6svh,88px) var(--gutter);background:var(--ground);color:var(--ink)}
.open-portfolio-heading .eyeline{font-family:var(--entrance-ui);font-size:.65rem;letter-spacing:.2em;color:var(--gold-ink)}
.open-portfolio-heading h2{font:450 clamp(2.65rem,5.7vw,8rem)/1.08 var(--entrance-display);letter-spacing:-.035em;margin:24px 0 0;text-wrap:balance}
.open-portfolio-heading h2 em{font-style:normal;color:var(--gold-ink)}
.project-intro{--project-accent:var(--gold-ink);--project-bg:var(--ground);position:relative;isolation:isolate;display:grid;grid-template-rows:auto 1fr auto;gap:48px;min-height:calc(100svh - var(--header-height));padding:42px var(--gutter) 28px;background:var(--project-bg);color:var(--ink);scroll-margin-top:0;border-top:1px solid var(--line);overflow:hidden}
.project-topline,.project-bottomline{display:flex;justify-content:space-between;align-items:center;gap:24px}
.project-topline .eyeline{font-family:var(--entrance-ui);font-size:.61rem;color:var(--ink-soft);letter-spacing:.16em}
.project-topline .eyeline span{color:var(--project-accent);margin:0 15px}
.project-count{font:400 .67rem var(--mono);letter-spacing:.1em;color:var(--muted)}
.project-spread{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:clamp(36px,5vw,130px);align-items:center;width:100%;padding-block:24px}
.project-copy{position:relative;z-index:1;max-width:600px}
.project-category{font:450 .65rem/1.5 var(--entrance-ui);text-transform:uppercase;letter-spacing:.17em;color:var(--project-accent);margin:0 0 24px}
.project-copy h3{font:450 clamp(3.7rem,5.9vw,7.9rem)/1.04 var(--entrance-display);letter-spacing:-.035em;margin:0;text-wrap:initial}
.project-period{color:var(--project-accent)}
.project-thesis{font:400 clamp(1.55rem,2.1vw,2.7rem)/1.25 var(--entrance-display);letter-spacing:.005em;margin:28px 0 0;color:var(--ink)}
.project-description{font:400 clamp(.96rem,.82rem + .25vw,1.15rem)/1.8 var(--entrance-ui);color:var(--ink-soft);max-width:42ch;margin:24px 0 0;letter-spacing:.005em}
.project-links{display:flex;align-items:flex-start;flex-direction:column}
.project-link{display:inline-flex;flex-direction:column;justify-content:center;gap:11px;position:relative;min-height:48px;width:fit-content;margin-top:32px;font:500 .8rem/1.5 var(--entrance-ui);letter-spacing:.04em;color:var(--ink);text-decoration:none;padding-block:8px}
.link-line{width:100%;height:1px;background:var(--project-accent);transform-origin:left}
.project-link:hover{color:var(--project-accent)}
.project-secondary{font:400 .74rem/1.6 var(--entrance-ui);min-height:44px;display:inline-flex;align-items:center;color:var(--ink-soft);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line-2)}
.project-bottomline{border-top:1px solid var(--line-2);padding-top:18px;font:400 .65rem/1.7 var(--entrance-ui);letter-spacing:.025em;color:var(--muted)}
.project-bottomline p span{margin:0 10px;color:var(--project-accent)}
.project-bottomline a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-soft);text-underline-offset:6px;white-space:nowrap}
.project-bottomline a:hover{text-decoration:underline;color:var(--project-accent)}
.project-intro :focus-visible{outline:2px solid var(--project-accent);outline-offset:7px;border-radius:2px}
.project-art{margin:0;min-width:0;width:100%;position:relative}
.project-art figcaption{font:400 .66rem/1.7 var(--entrance-ui);letter-spacing:.02em;color:var(--muted);margin-top:22px}
.project-system{--project-bg:var(--ground-2)}
/* LDS Pearl I and II materials come from the original color foundation.
   Geometry stays fixed across rest, hover, focus and press. */
.system-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;text-decoration:none;border:1px solid var(--line-2);border-radius:3px;overflow:hidden;isolation:isolate}
.pearl-study{position:relative;display:grid;grid-template-rows:auto 1fr auto;align-items:center;justify-items:center;gap:32px;min-width:0;min-height:clamp(360px,34vw,620px);padding:28px 20px 32px;container-type:inline-size;overflow:hidden}
.pearl-study-light{color:#303744;background:radial-gradient(ellipse at 0 0,#fff9,transparent 65%),radial-gradient(ellipse at 100% 100%,#c3dfe65c,transparent 65%),#e8eaf0}
.pearl-study-dark{color:#e0e5ed;background:var(--portfolio-dark)}
.pearl-edition{justify-self:start;font:450 .55rem/1.5 var(--entrance-ui);letter-spacing:.16em;text-transform:uppercase;opacity:.75}
.lds-pearl{position:relative;display:block;width:82%;aspect-ratio:1;border:1px solid;border-radius:48% 52% 50% 46% / 52% 46% 54% 48%;font-size:.195238cqi}
.lds-pearl::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse 54% 42% at 27% 17%,#ffffff5c,transparent 72%);opacity:0}
.pearl-caption{display:grid;gap:9px;justify-items:center;text-align:center;font:400 .68rem/1.6 var(--entrance-ui);letter-spacing:.025em}
.pearl-caption strong{font:450 clamp(1rem,1.4vw,1.65rem)/1.3 var(--entrance-display);letter-spacing:.025em}
.pearl-caption>span{opacity:.75}
.system-art>figcaption{display:flex;justify-content:space-between;gap:24px}
.system-art>figcaption span:last-child{color:var(--ink-soft)}
.project-system .project-link:is(:hover,:focus-visible),.project-system .project-link:is(:hover,:focus-visible) .link-line{transform:none}
.system-materials:focus-visible .lds-pearl::after{opacity:.65}
@media(hover:hover){.system-materials:hover .lds-pearl::after{opacity:.65}}
.system-materials:active .lds-pearl::after{opacity:.25}
@media(prefers-reduced-motion:no-preference){.lds-pearl::after{transition:opacity 240ms var(--project-ease)}}
.pearl-study-light .lds-pearl {
  border-color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(ellipse 54% 42% at 27% 17%, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .48) 34%, transparent 70%),
    radial-gradient(ellipse 68% 62% at 16% 78%, rgba(171, 130, 220, .34) 0%, rgba(171, 130, 220, .085) 46%, transparent 80%),
    radial-gradient(ellipse 70% 66% at 88% 70%, rgba(56, 187, 214, .34) 0%, rgba(56, 187, 214, .085) 46%, transparent 82%),
    radial-gradient(ellipse 64% 56% at 82% 6%, rgba(238, 162, 191, .26) 0%, rgba(238, 162, 191, .06) 48%, transparent 82%),
    radial-gradient(ellipse 116% 108% at 35% 28%, #FBFCFF 0%, #E8EBF2 44%, #C9D0DB 76%, #9BA6B5 100%);
  box-shadow:
    inset 16em 12em 30em rgba(255, 255, 255, .72),
    inset -24em -30em 42em rgba(57, 70, 94, .30),
    inset 8em -10em 30em rgba(115, 190, 211, .14),
    0 42em 62em -16em rgba(30, 39, 55, .62),
    0 18em 44em -20em rgba(255, 255, 255, .68),
    -20em 22em 44em -28em rgba(126, 91, 187, .48),
    20em 22em 46em -28em rgba(43, 164, 193, .46);
}
.pearl-study-dark .lds-pearl {
  border-color: rgba(219, 235, 255, .34);
  filter: saturate(128%) contrast(102%);
  background:
    radial-gradient(ellipse 66% 52% at 13% 4%, rgba(224, 236, 255, .76) 0%, rgba(224, 236, 255, .16) 38%, transparent 70%),
    radial-gradient(ellipse 70% 64% at 96% 4%, rgba(126, 76, 194, .78) 0%, rgba(126, 76, 194, .24) 42%, transparent 78%),
    radial-gradient(ellipse 76% 68% at 102% 98%, rgba(41, 183, 207, .68) 0%, rgba(41, 183, 207, .20) 46%, transparent 80%),
    radial-gradient(ellipse 72% 64% at -2% 100%, rgba(199, 61, 151, .62) 0%, rgba(199, 61, 151, .18) 46%, transparent 80%),
    radial-gradient(ellipse 58% 54% at 80% 82%, rgba(178, 191, 95, .36) 0%, rgba(178, 191, 95, .08) 52%, transparent 78%),
    radial-gradient(ellipse 118% 108% at 36% 30%, #343B4C 0%, #181D29 42%, #090C14 72%, #020307 100%);
  box-shadow:
    inset -28em -34em 46em rgba(0, 0, 0, .68),
    inset 14em 12em 28em rgba(196, 217, 247, .22),
    inset 10em -12em 34em rgba(43, 167, 194, .12),
    0 44em 64em -16em rgba(0, 0, 0, .88),
    0 16em 48em -22em rgba(187, 215, 255, .38),
    0 0 44em -18em rgba(83, 168, 211, .30),
    -20em 24em 48em -28em rgba(128, 75, 190, .58),
    20em 24em 50em -28em rgba(38, 169, 197, .54);
}




@media(prefers-reduced-motion:no-preference){.project-link,.project-link .link-line{transition:color 200ms,transform 450ms var(--project-ease)}.project-link:is(:hover,:focus-visible){transform:translateY(-3px)}.project-link:is(:hover,:focus-visible) .link-line{transform:scaleX(.7)}}

@media(min-width:1600px){.project-spread{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7vw}.project-copy{padding-left:clamp(0px,3vw,90px)}.project-art{max-width:1050px;justify-self:center}.project-intro{padding-block:52px 32px}}
@media(max-width:1050px){.project-intro{gap:32px;min-height:calc(100svh - var(--header-height));padding-top:34px}.project-spread{grid-template-columns:1fr;gap:48px;max-width:840px;margin-inline:auto;padding-top:8px}.project-copy{max-width:none}.project-copy h3{font-size:clamp(3.7rem,8vw,5.2rem)}.project-copy h3 br{display:none}.project-description{max-width:58ch}.project-thesis{font-size:1.85rem}.project-art{max-width:760px;justify-self:center}.project-bottomline{margin-top:18px}}
@media(max-width:600px){.project-intro{padding:30px var(--gutter) 20px;gap:24px}.project-topline .eyeline{font-size:.52rem;letter-spacing:.09em}.project-topline .eyeline span{margin:0 8px}.project-count{font-size:.56rem}.project-spread{gap:38px;padding-block:12px}.project-category{font-size:.57rem;letter-spacing:.11em;margin-bottom:20px}.project-copy h3{font-size:clamp(2.65rem,11.8vw,4rem);line-height:1.1;letter-spacing:-.03em}.project-copy h3 br{display:block}.project-thesis{font-size:1.5rem;margin-top:23px}.project-description{font-size:.95rem;line-height:1.75;margin-top:20px}.project-link{font-size:.75rem;margin-top:24px}.project-bottomline{align-items:flex-start;font-size:.59rem;gap:18px}.project-bottomline p{max-width:24ch}.project-bottomline p span{margin:0 3px}.project-bottomline a{min-height:44px}.project-art figcaption{font-size:.6rem;margin-top:18px}.image-frame-label{padding:14px 16px;font-size:.48rem}.image-frame-label img{width:84px;height:26px}.project-image-frame{transform:none}}

@media(max-width:1050px){.pearl-study{min-height:420px;padding:30px}.lds-pearl{width:76%;font-size:.180952cqi}}
@media(max-width:600px){.pearl-study{min-height:280px;padding:20px 12px 24px;gap:28px}.pearl-edition{font-size:.45rem;letter-spacing:.11em}.lds-pearl{width:88%;font-size:.209524cqi}.pearl-caption{font-size:.52rem;gap:7px}.pearl-caption strong{font-size:.9rem}.system-art>figcaption{flex-direction:column;gap:4px}}

/* Equal, explicit routes from each portfolio introduction. */
.project-links{flex-direction:row;flex-wrap:wrap;gap:12px;margin-top:30px}
.project-links .project-link{flex-direction:row;align-items:center;gap:24px;margin:0;padding:13px 20px;min-height:48px;border:1px solid var(--line-2);border-radius:3px;font-size:.8rem;letter-spacing:0}
.project-links .project-link:first-child{background:var(--ink);color:var(--ground);border-color:var(--ink)}
.project-links .project-link:is(:hover,:focus-visible){transform:none;border-color:var(--project-accent);box-shadow:inset 0 0 0 1px var(--project-accent)}
/* The original Allodia hero occupies this entire chapter, edge to edge. */
.project-allodia{position:relative;width:100%;height:calc(100svh - var(--header-height));padding:0;margin:0;border:0;scroll-margin-top:0;background:#0b0b0d}
.allodia-hero-frame{display:block;width:100%;height:100%;border:0}
.project-allodia[data-expanded=true]{position:fixed;inset:0;height:100dvh;z-index:1000}
