/*!
Theme Name: Jisoo Baik 2023
Text Domain: jb
Domain Path: /languages
Author: MKVC
Author URI: https://www.maxkohler.com/
Description: Custom Wordpress theme for Jisoo Baik. Design by Charlie Noon, Oliver Boulton and Max Kohler, development by Max Kohler. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 1.0.0
License: All rights reserved
*/
@font-face {
  font-family: Lector;
  src: url(./assets/LectorRegular.subset.woff) format("woff"), url(./assets/LectorRegular.subset.woff2) format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
:root {
  --ratio: 1.3;
  --ms--1: calc(var(--ms-0) / var(--ratio));
  --ms-0: clamp(1.15rem, calc(1.2vw + 0.1rem), 1.3rem);
  --ms-1: calc(var(--ms-0) * var(--ratio));
  --ms-2: calc(var(--ms-1) * var(--ratio));
  --ms-3: calc(var(--ms-2) * var(--ratio));
  --ms-4: calc(var(--ms-3) * var(--ratio));
  --serif: Lector, Georgia, serif;
  --baseline: calc(var(--ms-0) * 1.35);
  --black: rgb(36, 35, 35);
  --lightgray: #ccc;
  --padding: 8vw;
  --indent: calc(var(--ms-0) * 2);
  --padding-small: calc(var(--ms-0) * 0.25);
  --fast: 300ms;
  --logo-proportion: 6.221;
  --logo-height: calc(var(--logo-width) / var(--logo-proportion));
  --logo-padding: 8vw;
  --scrollbar-foreground: var(--lightgray);
  --scrollbar-background: var(--black);
  --logo-width: 90vw;
}
@media (min-width: 800px) {
  :root {
    --logo-width: 85vw;
    --logo-padding: 5vw;
  }
}
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  :root {
    font-size: 0.85rem;
  }
}

.home__footer-copy, .home__copy, .site__error {
  font-size: var(--ms-0);
  font-family: var(--serif);
  line-height: var(--baseline);
  letter-spacing: -0.0025em;
  -webkit-hyphens: none;
          hyphens: none;
  text-underline-offset: 0.15em;
}
.home__footer-copy p + p, .home__copy p + p, .site__error p + p {
  margin-top: 0.65em;
}

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

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: 100%;
  color: inherit;
}

html {
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);
}
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-thumb {
  background: var(--scrollbar-foreground);
}
html::-webkit-scrollbar-track {
  background: var(--scrollbar-background);
}

.portrait {
  display: none;
}
@media all and (orientation: portrait) {
  .portrait {
    display: block;
  }
}

@media all and (orientation: portrait) {
  .landscape {
    display: none;
  }
}

body {
  background: var(--lightgray);
  color: var(--black);
}

a {
  -webkit-tap-highlight-color: transparent;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: 90ms;
}
a:focus-visible {
  outline: 2px solid white;
  background: white;
  color: var(--black);
}
a:hover, a:focus-visible {
  text-decoration-color: rgba(0, 0, 0, 0.75);
}

button {
  -webkit-tap-highlight-color: transparent;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 1px solid var(--highlight);
  outline-offset: 2px;
}

abbr {
  text-decoration: none;
}

img {
  opacity: 0;
  transition: var(--fast);
}
img.loaded {
  opacity: 1;
}

::-moz-selection {
  background-color: var(--black);
  color: white;
}

::selection {
  background-color: var(--black);
  color: white;
}

.site__error {
  height: 100svh;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding);
}
.site__error p {
  text-align: center;
}
.site__error p + p {
  margin-top: 0;
}

.home__container {
  position: relative;
}

.home__header {
  position: relative;
}
@media (min-width: 800px) {
  .home__header {
    height: calc(100svh + var(--logo-height));
  }
}
.home__header svg {
  width: var(--logo-width);
}

.home__image {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  height: 100svh;
  background: var(--black);
  z-index: 100;
}
.home__footer .home__image {
  height: 100vh;
}
.home__image img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.logo-white-container {
  height: 100svh;
  width: 100%;
  z-index: 200;
  position: relative;
  -webkit-clip-path: inset(0 0 0 0);
          clip-path: inset(0 0 0 0);
}

.logo-white {
  display: block;
  left: 50%;
  bottom: calc(var(--logo-padding));
  transform: translateX(-50%);
  position: absolute;
}
@media (min-width: 800px) {
  .logo-white {
    position: fixed;
  }
}
.logo-white path {
  fill: white;
}

.logo-black-container {
  height: 100svh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  text-align: center;
  display: none;
  height: calc(100svh + var(--logo-height) + var(--logo-padding) * 1);
}
@media (min-width: 800px) {
  .logo-black-container {
    display: block;
    height: calc(100svh + var(--logo-height) + var(--logo-padding) * 1.3);
  }
}

.logo-black {
  position: sticky;
  top: calc(100svh - var(--logo-padding) - var(--logo-height));
}
.logo-black path {
  fill: var(--black);
}

.home__hero,
.home__footer {
  position: relative;
  width: 100%;
}

.home__hero {
  height: 100svh;
}

.home__footer {
  height: 100vh;
}

.home__footer-copy, .home__copy {
  display: grid;
  grid-template-columns: 3.377362557% 2.097511704% 0.9049057054% 2.604882077% 1.059401802% 8.454961142% 0.971118318% 16.07122919% 1.235968768% 16.07122919% 8.123378765% 0.5180163221% 7.439441425% 14.12847324% 0.4414174173% 0.5180163221% 2.097252047% 0.9049057054% 9.603165742% 3.377362557%;
  margin: 0 auto;
  max-width: var(--logo-width);
}

.home__copy {
  text-align: center;
  position: relative;
  background: var(--lightgray);
  padding-top: calc(var(--baseline) * 2);
  padding-bottom: calc(var(--baseline) * 2);
}
@media (min-width: 800px) {
  .home__copy {
    text-align: left;
    padding-top: calc(var(--logo-height) * 0.8);
  }
}
@media (min-width: 1400px) {
  .home__copy {
    padding-bottom: calc(var(--baseline) * 4);
  }
}

.home__menu {
  display: contents;
}
.home__menu > ul {
  display: flex;
  flex-flow: column;
  grid-column: 2/20;
}
@media (min-width: 800px) {
  .home__menu > ul {
    grid-column: 13/20;
  }
}
@media (min-width: 1400px) {
  .home__menu > ul {
    display: contents;
  }
}
.home__menu > ul > li {
  margin-bottom: var(--baseline);
}
.home__menu > ul > li:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 1400px) {
  .home__menu > ul > li:nth-child(1) {
    grid-column: 13/16;
  }
  .home__menu > ul > li:nth-child(2) {
    grid-column: 17/20;
  }
}

.copy__inner {
  grid-column: 2/20;
  margin-bottom: var(--baseline);
}
@media (min-width: 800px) {
  .copy__inner {
    grid-column: 2/11;
  }
}
@media (min-width: 1400px) {
  .copy__inner {
    margin-bottom: 0;
    grid-column: 2/11;
    padding-right: 4%;
  }
}

.home__footer-copy {
  color: white;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: calc(var(--baseline) * 2);
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1000;
}
.home__footer-copy span {
  grid-column: 2/20;
}
@media (min-width: 800px) {
  .home__footer-copy span {
    text-align: left;
  }
  .home__footer-copy span:nth-child(1) {
    grid-column: 2/10;
  }
  .home__footer-copy span:nth-child(2) {
    grid-column: 13/20;
  }
}
@media (min-width: 1400px) {
  .home__footer-copy span:nth-child(1) {
    grid-column: 2/10;
  }
  .home__footer-copy span:nth-child(2) {
    grid-column: 17/20;
  }
}

.footer__copyright {
  text-transform: lowercase;
}
