:root {
    --parallax-ratio: 0;
    --bg-offset: 0px;

    --bg: #ffffff;
	--loader: #b5b5b5;
    --txt: #171717;
    --semi: #000000;
	--orange: #ff7800;

    --gray01: rgba(0, 0, 0, 0.01);
    --gray03: rgba(0, 0, 0, 0.03);
    --gray05: rgba(0, 0, 0, 0.05);
    --gray075: rgba(0, 0, 0, 0.075);
    --gray10: rgba(0, 0, 0, 0.1);
    --gray15: rgba(0, 0, 0, 0.15);

    --gray20: rgba(0, 0, 0, 0.2);
    --gray25: rgba(0, 0, 0, 0.25);

    --gray30: rgba(0, 0, 0, 0.3);

    --gray: rgba(0, 0, 0, 0.5);
    --gray60: rgba(0, 0, 0, 0.6);
    --gray70: rgba(0, 0, 0, 0.7);

    --grayb: rgba(0, 0, 0, 0.5);
    --gray60b: rgba(0, 0, 0, 0.6);
    --gray70b: rgba(0, 0, 0, 0.7);

    --white: rgba(255, 255, 255, 0.5);
    --white60: rgba(255, 255, 255, 0.6);
    --white70: rgba(255, 255, 255, 0.7);

    --tp: rgba(255, 255, 255, 0);

    --header-h: 6rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0a;
		--loader: #454545;
        --txt: #ffffff;
        --semi: #ffffff;

        --gray01: rgba(255, 255, 255, 0.01);
        --gray03: rgba(255, 255, 255, 0.03);
        --gray05: rgba(255, 255, 255, 0.05);
        --gray075: rgba(255, 255, 255, 0.075);
        --gray10: rgba(255, 255, 255, 0.1);
        --gray15: rgba(255, 255, 255, 0.15);

        --gray20: rgba(255, 255, 255, 0.2);
        --gray25: rgba(255, 255, 255, 0.25);
        --gray30: rgba(255, 255, 255, 0.3);

        --gray: rgba(255, 255, 255, 0.5);
        --gray60: rgba(255, 255, 255, 0.6);
        --gray70: rgba(255, 255, 255, 0.7);

        --grayb: rgba(0, 0, 0, 0.5);
        --gray60b: rgba(0, 0, 0, 0.6);
        --gray70b: rgba(0, 0, 0, 0.7);

        --white: rgba(0, 0, 0, 0.5);
        --white60: rgba(0, 0, 0, 0.6);
        --white70: rgba(0, 0, 0, 0.7);
    }
}

@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, "LINE Seed JP", "Apple SD Gothic Neo KR ONLY", sans-serif !important; }
}

* {
    outline: none;
    box-sizing: border-box;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -.025rem;
    margin: 0;
    padding: 0;
	font-family: inherit;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-tap-highlight-color: transparent;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02", "ss07", "ss08";
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg);
    scrollbar-width: none;
    letter-spacing: -.025rem;
}

.load {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background: var(--bg);
    opacity: 1;
    visibility: visible;
    transition: all .3s ease;
}

.load.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
  width: 1rem;
  aspect-ratio: 1;
  background:
    linear-gradient(var(--loader) 0 0),
    linear-gradient(var(--txt) 0 0),
    var(--loader);
  background-repeat: no-repeat;
  animation: l1 1.5s infinite; 
}

@keyframes l1 {
  0%   {background-size:100%    0,0    100%}
  30%,
  50%  {background-size:100%    0,100% 100%}
  80%,
  100% {background-size:100% 100%,100% 100%}
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
}

header * {
    user-select: none;
}

.header-wrap {
    padding: 2rem;
}

.header-contents {
    padding: 1rem;
    display: flex;
    align-items: center;
	justify-content: center;
    border-radius: .3rem;
    gap: 2.5rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all .2s ease;
}

.logo {
	color: var(--txt);
	font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
	text-transform: uppercase;
	font-weight: 600;
}

.cls-1, .cls-2 {
    fill: var(--txt);
    transition: all .5s ease;
}

.sections {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.sections-button-circle {
    cursor: pointer;
	color: var(--gray);
    font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
    flex-shrink: 0;
    transition: all .5s ease;
}

.sections-button.active > .sections-button-circle {
    color: var(--txt);
}

.sections-button {
    cursor: pointer;
    color: var(--gray60);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sections-button.active {
    color: var(--txt);
}

.sections-button-text {
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    white-space: nowrap;
	text-transform: uppercase;
  	font-weight: 600;
	font-size: .9rem;
	line-height: .9rem;
  	height: .9rem;
    transition: all .5s ease;
}

.sbt {
	line-height: .9rem;
  	height: .9rem;
	font-size: .9rem;
	text-transform: uppercase;
  	font-weight: 600;
    white-space: nowrap;
}

.sections-button.active > #about-section-button,
.sections-button.semi-active >  #about-section-button {
    width: var(--btn-0-width);
}

.sections-button.active > #igie-section-button,
.sections-button.semi-active > #igie-section-button {
    width: var(--btn-1-width);
}

.sections-button.active > #projects-section-button,
.sections-button.semi-active > #projects-section-button {
    width: var(--btn-2-width);
}

.sections-button.active > .sections-button-text,
.sections-button.semi-active > .sections-button-text {
    opacity: 1;
    visibility: visible;
    width: 2rem;
    margin-left: .25rem;
}

.sections-button.semi-active > .sections-button-text {
    opacity: 1;
    visibility: visible;
    width: 100%;
    margin-left: .25rem;
}

.sections-button.semi-active > .sections-button-circle {
    background: var(--gray70);
}

.width-calc {
    opacity: 0;
    visibility: hidden;
    display: flex;
    position: absolute;
}

.lang-alert {
    position: absolute;
    top: 0;
    opacity: 0;
    visibility: hidden;
    color: var(--txt);
    cursor: pointer;
	text-transform: uppercase;
	font-size: .9rem;
}

.lang-alert.active {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.lang-alert:hover {
	background: var(--txt);
	color: var(--bg);
	font-weight: 600;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transform: translateY(var(--bg-offset));
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.6s ease-out;
}

main {
	width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
	display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

section {
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--txt);
    scroll-snap-align: start;
    scroll-snap-stop: always;
	flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    flex-direction: column;
	overflow-y: scroll;
	scrollbar-width: none;
}

.posters {
    padding: 1rem;
    height: 100%;
    overflow: visible hidden !important;
    inset: 0;
}

.posters.projects {
    display: flex;
    justify-content: flex-end;
}

.poster {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .6rem;
}

.animated {
    opacity: 0;
}

.inner {
    position: relative;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.inner.title {
	width: 100%;
	text-transform: uppercase;
    color: var(--gray60);
	font-weight: 500;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.sub {
	font-size: inherit;
    font-weight: 600;
    position: relative;
    color: var(--txt);
}

.sub.project {
	margin: 0 .5rem;
}

.divide-line {
	width: 100%;
	border-bottom: solid .05rem var(--gray);
}

.about-wrap {
    display: flex;
    flex-direction: column;
	align-items: center;
    gap: 5rem;
    padding: 33vh 3rem;
    user-select: none;
	max-width: 1000px;
	width: 100%;
}

.about-section-wrap {
	display: flex;
	gap: 5rem;
  	flex-flow: wrap;
}

.about-section {
	display: flex;
    flex-direction: column;
	flex: 1;
	gap: 2rem;
	min-width: 12rem;
}

.about-section.philosophy {
	min-width: 100%;
}

.about-header, .projects-header {
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
	font-size: .9rem;
	font-weight: 600;
	text-transform: uppercase;
}

.projects-header {
    color: var(--txt);
}

.about-header-button {
    color: var(--txt);
}

.about-article {
    overflow: hidden;
    position: relative;
}

.about-content {
    display: flex;
	flex-direction: column;
    gap: 1rem;
    user-select: none;
}

.about-content.project {
	flex-direction: row;
	cursor: pointer;
}

.about-content.project:hover * {
	background: var(--txt);
	color: var(--bg);
	font-weight: 600;
}

.serif {
	font-size: inherit;
    font-style: italic;
}

a {
    all: unset;
    cursor: pointer;
    color: var(--txt);
}

a:hover {
    text-decoration: none;
}

a.nourl {
    cursor: default;
}

a.nourl:hover {
    text-decoration: none;
}

.about-footer {
    border-top: solid .075rem var(--gray10);
}

.inner.about {
	font-size: .9rem;
	line-height: 1.5rem;
    font-weight: 500;
	text-transform: uppercase;
}

.inner.sub {
    color: var(--gray70);
    font-weight: 400;
    opacity: 1;
    font-size: .9rem;
    line-height: 1.5rem;
	text-transform: uppercase;
}

.inner.footer {
    opacity: 1;
    padding: 3rem;
    position: absolute;
    bottom: 0;
    color: var(--txt);
    font-size: .9rem;
    font-weight: 600;
	width: 100%;
    text-transform: uppercase;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

@media screen and (max-width: 950px) {
    .sections-button {
        font-size: .95rem;
    }

    .about-wrap {
        padding: 33vh 2rem;
    }
}

@media screen and (max-width: 768px) {
    .header-wrap {
        padding: 1rem;
    }

	.header-contents {
		gap: 1.5rem;
		justify-content: flex-start;
	}

    .sections {
        gap: 1.5rem;
    }
}