/* ==================================================
   FONT
================================================== */

@font-face {
  font-family: "Apple SD Gothic Neo";
  src: url("../fonts/AppleSDGothicNeo.ttc") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ==================================================
   ROOT
================================================== */

:root {
  --background: #181818;
  --text: #bdbdbd;

  --font-size: 14px;
  --line-height: 1.5;

  --page-x: 22vw;
  --section-gap: 160px;

  --interface-x: 24px;
  --interface-y: 22px;

  --statement-paragraph-gap: 80px;
}


/* ==================================================
   RESET
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;

  overflow-x: hidden;

  background: var(--background);
  color: var(--text);

  font-family:
    "Apple SD Gothic Neo",
    sans-serif;

  font-size: var(--font-size);
  font-weight: 400;
  line-height: var(--line-height);

  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}


/* ==================================================
   FIXED INTERFACE
================================================== */

.site-header {
  position: fixed;
  z-index: 1000;

  top: var(--interface-y);
  right: var(--interface-x);
  left: var(--interface-x);

  pointer-events: none;
}

.site-header a,
.site-header span {
  pointer-events: auto;
}


/* Top left */

.site-title {
  position: absolute;
  top: 0;
  left: 0;

  font-weight: 700;
}


/* Top right navigation */

.site-navigation {
  position: absolute;
  top: 0;
  right: 0;

  display: flex;
  flex-direction: column;

  width: max-content;

  gap: 18px;

  text-align: left;
}

.navigation-group {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
}

.navigation-group a,
.navigation-heading {
  display: block;
}

.navigation-heading {
  font-weight: 700;
}


/* Middle left */

.departure-info {
  position: fixed;
  z-index: 1000;

  top: 50%;
  left: var(--interface-x);

  display: flex;
  flex-direction: column;

  transform: translateY(-50%);
}


/* Middle right */

.day-counter {
  position: fixed;
  z-index: 1000;

  top: 50%;
  right: var(--interface-x);

  transform: translateY(-50%);
}


/* Bottom left */

.email-link {
  position: fixed;
  z-index: 1000;

  bottom: var(--interface-y);
  left: var(--interface-x);
}


/* Bottom center */

.top-link {
  position: fixed;
  z-index: 1000;

  bottom: var(--interface-y);
  left: 50%;

  transform: translateX(-50%);
}


/* ==================================================
   GENERAL SECTION
================================================== */

.page-section {
  position: relative;

  width: 100%;
}


/* ==================================================
   HERO
================================================== */

.hero{
    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    min-height:100svh;

    padding:120px var(--page-x);
}

.hero-logo {
  width: min(48vw, 760px);
  height: auto;

  object-fit: contain;
}

.hero-subtitle{
    margin-top:24px;
    text-align:center;
}

/* ==================================================
   STATEMENT / INFORMATION
================================================== */

.about-section {
  width: 100%;

  padding-right: var(--page-x);
  padding-left: var(--page-x);
}


/* Statement section */

#statement {
  padding-top: 100px;
  padding-bottom: var(--section-gap);
}


/* Information section */

#about {
  padding-top: 0;
  padding-bottom: 180px;
}


/* Center title */

.about-page-title {
  width: 100%;

  margin-bottom: 84px;

  text-align: center;
  font-weight: 700;
}


/* Two-column layout */

.about-grid {
  display: grid;

  grid-template-columns:
    minmax(260px, 1fr)
    minmax(350px, 1fr);

  column-gap: 220px;

  align-items: start;
}


/* General column */

.about-column {
  min-width: 0;
}

.about-column h2 {
  margin-bottom: 34px;

  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}


/* ==================================================
   STATEMENT PARAGRAPHS
================================================== */

/*
  각 열을 세로 Flex 구조로 만들고
  문단과 문단 사이를 gap으로 조절한다.
*/

#statement .statement-column {
  display: block;
}

#statement .statement-column p {
  margin: 0 0 23px 0;
  line-height: 1.42;
}

#statement .statement-column p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   INFORMATION
================================================== */

.project-description {
  line-height: 1.42;
}

.about-item,
.credit-item {
  margin-top: 30px;
}

.project-description + .about-item {
  margin-top: 44px;
}

.credits-column h2 + .credit-item {
  margin-top: 0;
}

.about-label {
  display: block;
}

.about-value {
  display: block;
}

.italic {
  font-style: italic;
}

.support-credit{
    margin-top:48px;
}

.support-logo{
    display:block;

    width:160px;

    margin-top:20px;

    opacity:.45;

    filter:grayscale(100%);
}

/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 1100px) {

  :root {
    --page-x: 16vw;
  }

  .about-grid {
    grid-template-columns:
      minmax(220px, 1fr)
      minmax(300px, 1fr);

    column-gap: 70px;
  }

  .hero-logo {
    width: min(58vw, 680px);
  }
}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 768px) {

  :root {
    --font-size: 12px;

    --page-x: 24px;
    --interface-x: 16px;
    --interface-y: 16px;

    --statement-paragraph-gap: 56px;
  }


  /* Fixed navigation */

  .site-title {
    max-width: 42vw;
  }

  .site-navigation {
    gap: 14px;

    max-width: 48vw;
  }


  /* Hero */

  .hero {
    min-height: 100svh;

    padding:
      110px
      24px;
  }

  .hero-logo {
    width: min(76vw, 480px);
  }


  /* Statement / Information */

  #statement {
    padding-top: 90px;
    padding-bottom: 130px;
  }

  #about {
    padding-bottom: 130px;
  }

  .about-page-title {
    margin-bottom: 64px;
  }

  .about-grid {
    grid-template-columns: 1fr;

    row-gap: 90px;
  }

  .about-column h2 {
    margin-bottom: 30px;
  }

  #statement .statement-column p,
  .project-description,
  .grant-line {
    line-height: 1.45;
  }

  .about-item,
  .credit-item {
    margin-top: 28px;
  }

  .project-description + .about-item {
    margin-top: 40px;
  }

  .support-credit,
  .grant-line {
    margin-top: 42px;
  }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media screen and (max-width: 480px) {

  :root {
    --font-size: 11px;
    --statement-paragraph-gap: 50px;
  }

  .site-navigation {
    gap: 12px;
  }

  .about-grid {
    row-gap: 76px;
  }

  .about-page-title {
    margin-bottom: 54px;
  }
}

