/*
Theme Name: James Sui
Author: James Sui
Author URI: https://jamessui.com/
*/

@import url("https://use.typekit.net/ubu8nae.css");

/* resets
--------------------------------------------------------------------------
*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; line-height: 1; overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
progress { vertical-align: baseline; }
[hidden], template { display: none; }

svg:not(:root) { overflow: hidden; }

img, iframe { border: 0; vertical-align: middle; }

strong { font-weight: bolder; }
em { font-style: italic; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

button, input, optgroup, select, textarea { margin: 0; font: inherit; font-size: 100%; line-height: 1; vertical-align: baseline; color: inherit; outline: 0; border-radius: 0; }
button, input, textarea { padding: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
label, button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; }
button, input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; }
button[disabled], input[disabled] { cursor: default; }
button { width: auto; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border: 0; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

table { border-collapse: collapse; border-spacing: 0; }
th, td { vertical-align: top; }
th { font-weight: normal; text-align: left; }

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

ul, ol { list-style: none; }
li { display: list-item; }

hr { box-sizing: content-box; height: 0; overflow: visible; }

a { color: #000; background: transparent; text-decoration: none; cursor: pointer; -webkit-text-decoration-skip: ink; text-decoration-skip: ink; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }

.hide { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }

a, span, button { -webkit-transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, -webkit-text-decoration-color 0.4s ease; transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, -webkit-text-decoration-color 0.4s ease; transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, text-decoration-color 0.4s ease; transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, text-decoration-color 0.4s ease, -webkit-text-decoration-color 0.4s ease; }

/* global
--------------------------------------------------------------------------
*/

body { font: 62.5%/1 futura-pt, 'Helvetica Neue', Arial, Helvetica, sans-serif; background: #fff; color: #000; text-align: center; }

header { padding: 30px; position: relative; text-align: center; }
header a { color: #666; }
header a:hover { color: #000; }
header h1 { font-family: futura-pt-condensed, sans-serif; font-weight: 800; font-size: 50px; }
header h2,
header ul { font-size: 18px; line-height: 150%; }
header h2 { margin: 1em 0 0; }
header ul { font-weight: 600; }

@media only screen and (min-width: 600px) {
	header ul { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
	header ul li { display: -webkit-box; display: -ms-flexbox; display: flex; }
	header ul li + li:before { margin: 0 0.5em; content: "–"; display: block; }
}

body > ul { position: relative; }
body > ul li { padding: 1px 0 0; }
body > ul li a { padding: 30px; height: 100vw; background: #000; color: #fff; position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
body > ul li a:before { width: 100%; height: 100%; position: absolute; top: 0; left: 0; background-color: var(--color); opacity: 0; -webkit-transition: opacity 1.5s ease; transition: opacity 1.5s ease; content: " "; display: block; }
body > ul li a:hover:before { opacity: 1; }
@media (hover: none) and (pointer: coarse) {
	body > ul li a:before { opacity: 1; }
}
body > ul li a h2 { font-weight: 300; font-size: 30px; line-height: 150%; position: relative; z-index: 2; }
body > ul li a p { margin: 0.5em 0 0; font-weight: 600; font-size: 14px; line-height: 150%; position: relative; z-index: 2; }

@media only screen and (min-width: 600px) {
	body > ul { display: -ms-grid; display: grid; -ms-grid-columns: (1fr)[2]; grid-template-columns: repeat(2, 1fr); -webkit-column-gap: 1px; -moz-column-gap: 1px; column-gap: 1px; row-gap: 1px; }
	body > ul li { padding: 0; }
	body > ul li a { height: calc( 100vw / 2 ); }
}

@media only screen and (min-width: 1024px) {
	body > ul { -ms-grid-columns: (1fr)[4]; grid-template-columns: repeat(4, 1fr); }
	body > ul li a { height: calc( 100vw / 4 ); }
}