/* The entrance and company homepage retain their existing routes. */
html:not([data-entry-view]) .cosmic-entry,
html[data-entry-view="company"] .cosmic-entry{display:none}
html[data-entry-view="intro"] body[data-site="synk"]{background:#fff}
html[data-entry-view="intro"] body[data-site="synk"] > :not(.cosmic-entry):not(.cosmic-transition):not(.cosmic-atlas-frame):not(.site-header-wrap){display:none!important}
/* The company bar is the same on the entrance, on Atlas and on the company page (2026-10-01). Here it floats
   over the sky, and it stays above the entrance while the ㅇ opens into Atlas, which wears the same bar. */
html[data-entry-view="intro"] .site-header-wrap{position:fixed;top:0;left:0;right:0}
html[data-cosmic-transition="ieung"] .site-header-wrap{z-index:1003}

.cosmic-entry{--sky-ink:#f2f2f2;background:#d8e7ef;color:var(--sky-ink);letter-spacing:0}
.cosmic-stage{position:relative;isolation:isolate;overflow:hidden;min-height:max(650px,100svh)}
.korean-architecture{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none}
/* The sky stands still: one photo for the visitor's time of day (set before the first paint in the head of /).
   The other two are hidden, and hidden lazy images are never downloaded. Without a choice it is day. */
.korean-architecture picture{position:absolute;inset:0;display:none}
html:not([data-sky="sunset"]):not([data-sky="night"]) .korean-architecture .sky-day,
html[data-sky="sunset"] .korean-architecture .sky-sunset,
html[data-sky="night"] .korean-architecture .sky-night{display:block}
.korean-architecture img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0}
/* A static scrim keeps the white type legible on every sky. */
.korean-architecture::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#00000094 0%,#00000094 48%,#0000002e 66%,transparent 84%)}
.cosmic-content{display:flex;align-items:flex-start;min-height:inherit;padding:calc(var(--site-header-height,76px) + 40px) 5% 72px}
.cosmic-copy{width:43%;max-width:660px}
.cosmic-wordmark{width:100%;max-width:560px;aspect-ratio:560/328;margin:0;color:var(--sky-ink);line-height:0}
.hangul-wordmark{display:block;width:100%;height:100%;overflow:visible}
/* What SYNK is, in the company's own first sentence, then the two ways in: Atlas and the company. */
.cosmic-lead{margin:30px 0 0;width:100%;max-width:560px;color:var(--sky-ink);font-size:20px;font-weight:450;line-height:1.5;letter-spacing:-.02em;word-break:keep-all}
.cosmic-atlas-intro{margin-top:38px;width:100%;max-width:560px;color:var(--sky-ink);text-align:left}
.cosmic-company-intro{margin-top:18px}
.cosmic-atlas-title{margin:12px 0 0;font-weight:500;letter-spacing:0}
.cosmic-atlas-description{display:flex;align-items:center;gap:16px;min-height:20px;margin:0;font-size:13px;font-weight:450;line-height:1.5;letter-spacing:0;text-align:left;word-break:keep-all;overflow-wrap:anywhere}
.cosmic-atlas-description::after{content:'';flex:1 0 32px;height:1px;background:currentColor;opacity:.62}
.cosmic-atlas-link{display:flex;align-items:baseline;justify-content:space-between;gap:24px;min-height:64px;width:100%;padding:0 0 6px;color:inherit;font-weight:500;line-height:1.2;letter-spacing:0;text-decoration:none;word-break:keep-all;overflow-wrap:anywhere}
.cosmic-atlas-link-name{min-width:0;font-size:40px}
.cosmic-atlas-link-action{font-size:13px;font-weight:400;line-height:1.5;text-align:right;text-decoration:none;text-underline-offset:5px}
.cosmic-atlas-link small{font-size:11px;font-weight:450}
.cosmic-atlas-link:hover .cosmic-atlas-link-action,.cosmic-atlas-link:focus-visible .cosmic-atlas-link-action{text-decoration:underline;text-decoration-thickness:1px}
/* Atlas loads when it is reached for; a click that comes first waits here, without any motion. */
.cosmic-atlas-link[aria-busy="true"]{cursor:progress}
.cosmic-atlas-link[aria-busy="true"] .cosmic-atlas-link-action{opacity:.55}
.cosmic-entry a:focus-visible{outline:3px solid #a93823;outline-offset:5px}

/* From the photo straight to the white of Atlas: the frame and the backdrop behind the opening ㅇ are the
   paper of Atlas, so the change never passes through black. */
.cosmic-atlas-frame{position:fixed;inset:0;z-index:900;width:100vw;height:100%;border:0;opacity:0;pointer-events:none;background:#fff}
html[data-cosmic-atlas="active"],html[data-cosmic-atlas="active"] body{overflow:hidden}
html[data-cosmic-atlas="active"] .cosmic-atlas-frame{opacity:1;pointer-events:auto}
.cosmic-transition{display:contents;pointer-events:none}
/* During the change: Atlas at the bottom, the white paper with its window above it, the fading entrance
   above that, the ㅇ on top, and the bar above everything. */
.cosmic-transition-backdrop{position:fixed;inset:0;z-index:999;background:#fff}
.cosmic-entry.is-ieung-departing{position:relative;z-index:1000;will-change:transform,opacity}
.cosmic-entry.is-ieung-departing [data-cosmic-ieung]{visibility:hidden}
.cosmic-transition-ieung{position:fixed;inset:0;z-index:1002;width:100%;height:100%;pointer-events:none}
.cosmic-atlas-frame.is-matching-ieung{z-index:998;pointer-events:none;will-change:transform,opacity}
html[data-cosmic-transition="ieung"],html[data-cosmic-transition="ieung"] body{overflow:clip}

@media(min-width:1700px){
 .cosmic-content{padding-top:calc(var(--site-header-height,76px) + 64px)}
}
@media(min-width:761px) and (max-height:820px){
 .cosmic-content{padding-top:calc(var(--site-header-height,76px) + 28px)}
 .cosmic-wordmark{max-width:460px}
}
@media(max-width:1100px) and (min-width:761px){
 .cosmic-content{padding-left:4%}
 .cosmic-copy{width:45%}
}
@media(max-width:760px){
 .cosmic-stage{min-height:max(600px,100svh)}
 .cosmic-content{padding:calc(var(--site-header-height,64px) + 24px) 24px 56px;min-height:0}
 .cosmic-copy{width:100%;max-width:none}
 .cosmic-wordmark{width:300px;max-width:100%}
 .cosmic-lead{margin-top:24px;max-width:320px;font-size:18px}
 .cosmic-atlas-intro{margin-top:28px;max-width:320px}
 .cosmic-company-intro{margin-top:14px}
 .cosmic-atlas-link{gap:16px;min-height:58px}
 .cosmic-atlas-link-name{font-size:34px}
 .cosmic-atlas-link-action{font-size:13px}
 .korean-architecture{inset:0;height:100%}
 .korean-architecture img{object-position:50% 50%}
 .korean-architecture::after{background:linear-gradient(180deg,#00000094 0px,#00000094 560px,#0000002e 700px,transparent 800px)}
}
@media(max-width:370px){
 .cosmic-content{padding:calc(var(--site-header-height,64px) + 20px) 20px 48px}
 .cosmic-wordmark{width:260px}
 .cosmic-lead,.cosmic-atlas-intro{max-width:280px}
}
@media(prefers-reduced-motion:reduce){.cosmic-transition{display:none}}
@media(forced-colors:active){
 .cosmic-entry{background:Canvas;color:CanvasText}
 .korean-architecture{display:none}
 .cosmic-wordmark,.cosmic-lead{color:CanvasText}
 .cosmic-atlas-intro{color:CanvasText}
 .cosmic-entry a{color:LinkText!important;background:Canvas!important;border-color:LinkText!important}
 .cosmic-atlas-link{min-height:44px;justify-content:center;border:1px solid LinkText}
}
