@font-face {
  font-family: Pretendard;
  src: url(/font.otf) format("opentype");
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #202126;
  --muted: #575b62;
  --red: #b92332;
  --line: #d9dadc;
  --surface: #f2f3f4;
  --gutter: clamp(1.25rem, 5.5vw, 6.25rem);
  color: var(--ink);
  background: white;
  font:
    100%/1.65 Pretendard,
    "Apple SD Gothic Neo",
    sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body,
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-underline-offset: 0.27em;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #3074cc;
  outline-offset: 4px;
}
::selection {
  background: #f4c5c9;
  color: var(--ink);
}
.wrap {
  width: min(calc(100% - var(--gutter) * 2), 84rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 5;
  padding: 0.75rem 1rem;
  background: white;
  left: var(--gutter);
  transform: translateY(-125%);
}
.skip:focus {
  transform: translateY(0);
}
.mast {
  border-bottom: 1px solid var(--line);
  background: white;
}
.topline,
.brand,
nav,
.foot,
.foot-links {
  display: flex;
  align-items: center;
}
.topline {
  min-height: 4.5rem;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  white-space: nowrap;
  flex-shrink: 0;
  gap: 0.8rem;
  text-decoration: none;
}
.brand img {
  width: 7.1rem;
  height: auto;
}
.brand span {
  border-left: 1px solid #c8c9cc;
  padding-left: 0.8rem;
  font:
    600 1.03rem/1.1 Arial,
    sans-serif;
}
nav {
  gap: clamp(0.8rem, 2.7vw, 2.8rem);
}
nav a,
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
nav a {
  white-space: nowrap;
  font-weight: 600;
}
nav a:hover,
.foot-links a:hover {
  text-decoration: underline;
}
nav .nav-contact {
  min-height: 40px;
  padding: 0.35rem 1.25rem;
  border: 1px solid #afb1b4;
  border-radius: 2px;
}
.hero {
  background: var(--surface);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 3.2vw, 4rem);
  padding-block: clamp(2rem, 3.7vw, 4rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.45rem;
  height: 0.45rem;
  transform: skewX(-35deg);
  background: linear-gradient(
    90deg,
    var(--red) 0 66%,
    transparent 66% 77%,
    var(--red) 77%
  );
}
.hero-copy {
  padding-block: 1rem;
}
.hero h1 {
  margin-block: 1.15rem 1.3rem;
  font-size: clamp(2.45rem, 4.85vw, 4.9rem);
  line-height: 1.13;
  letter-spacing: -0.07em;
}
.period {
  color: var(--red);
}
.lead {
  color: #484c52;
  line-height: 1.7;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}
.primary,
.apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0.65rem 1.65rem;
  border-radius: 3px;
  color: white;
  background: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.primary {
  margin-top: clamp(1.35rem, 2.3vw, 2.15rem);
}
.primary:hover,
.apply:hover {
  background: #941c28;
}
.hero-media {
  position: relative;
}
.control-photo {
  position: absolute;
  bottom: 1.25rem;
  left: -1.55rem;
  width: 27%;
  height: auto;
  aspect-ratio: 1.5;
  border: 5px solid var(--surface);
}
.hero-photo {
  --cut: clamp(1.6rem, 3.5vw, 3.8rem);
  position: relative;
  isolation: isolate;
  background-color: #292a2d;
  aspect-ratio: 1.57;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  z-index: 0;
  background: linear-gradient(transparent, rgb(13 15 20 / 65%));
  pointer-events: none;
}
.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1rem;
  color: white;
  font-size: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.18rem 0.58rem;
  background: #17181ece;
}
.hero-photo i {
  width: 1px;
  height: 0.75rem;
  background: #adb0b5;
}

section[id] {
  scroll-margin-top: 1.5rem;
}
.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(3.5rem, 6.2vw, 6.5rem);
}
.section-title h2 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
}
.board-body {
  min-width: 0;
  border-top: 2px solid var(--ink);
}
.board .section-title h2 {
  margin: 0;
}
#count {
  margin-top: 0.6rem;
  color: var(--muted);
}
.empty,
.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0.15rem;
}
.empty strong,
.job strong {
  display: block;
  line-height: 1.45;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  letter-spacing: -0.035em;
}
.empty p,
.job-meta {
  color: var(--muted);
  margin-top: 0.35rem;
}
.text-link,
.back {
  font-weight: 600;
  text-underline-offset: 0.32em;
  text-decoration-thickness: 1px;
}
.empty a {
  flex: none;
  padding-block: 0.65rem;
}
.job {
  text-decoration: none;
}
.job:hover strong {
  color: var(--red);
  text-decoration: underline;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.65rem;
}
.job-meta span + span {
  padding-left: 0.65rem;
  border-left: 1px solid #bebfc3;
}
.job-meta span {
  line-height: 1.25;
}
.deadline {
  font-size: 0.95rem;
  color: var(--muted);
}
.job > .deadline {
  flex-shrink: 0;
}
.load {
  padding-block: 1.5rem;
  color: var(--muted);
}
.load-error button {
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  min-height: 44px;
  margin-top: 0.75rem;
  background: white;
}

.workplace {
  background: #22242a;
  color: white;
  padding-block: clamp(3.3rem, 5.8vw, 6rem);
}
.workplace .eyebrow {
  color: #ffa1aa;
}
.workplace .eyebrow::before {
  --red: #ff7d8a;
}
.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.work-heading a {
  padding-block: 0.6rem;
}
.gallery-tabs {
  display: flex;
  gap: 0.35rem;
  border-top: 1px solid #5a5d63;
  padding: 0.7rem 0;
}
.gallery-tabs button {
  min-height: 44px;
  background: transparent;
  color: #d9dade;
  border: 1px solid transparent;
  padding: 0.45rem 1.15rem;
  border-radius: 2px;
  font-weight: 600;
}
.gallery-tabs button:hover {
  border-color: #898c93;
}
.gallery-tabs button[aria-selected="true"] {
  background: white;
  border-color: white;
  color: var(--ink);
}
.scene {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  background: #303238;
}
.scene + .scene {
  margin-top: 1rem;
}
.gallery:has(.gallery-tabs:not([hidden])) .scene {
  margin-top: 0;
}
.scene img {
  width: 100%;
  height: 100%;
  max-height: 30rem;
  aspect-ratio: 2.22;
  object-fit: cover;
}
.scene-copy {
  align-self: end;
  padding: clamp(1.4rem, 3vw, 3.3rem);
}
.scene-copy h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.3;
  letter-spacing: -0.045em;
}
.scene-copy p {
  color: #d7d8dd;
  margin-top: 0.6rem;
}

.detail {
  max-width: 67rem;
  min-height: 65vh;
  padding-block: clamp(3rem, 6vw, 6.5rem);
}
.back {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.detail h1 {
  max-width: 24em;
  margin: 1.5rem 0 0.8rem;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.job-heading {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2rem;
}
.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.48fr);
  gap: 3rem;
  padding-top: 2.4rem;
}
.job-layout h2 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}
.description {
  white-space: pre-wrap;
  line-height: 1.85;
}
.apply-card {
  align-self: start;
  background: var(--surface);
  border-top: 3px solid var(--red);
  padding: 1.6rem;
}
.apply {
  margin-top: 1.3rem;
  width: 100%;
}
footer {
  border-top: 1px solid var(--line);
}
.foot {
  justify-content: space-between;
  align-items: start;
  gap: 1.2rem;
  padding-block: 2.4rem;
}
.foot p,
.foot-links a {
  color: var(--muted);
  font-size: 0.94rem;
}
.foot p {
  margin-top: 0.22rem;
}
.foot-links {
  gap: 1.35rem;
  flex-wrap: wrap;
}
@media (max-width: 60rem) {
  .control-photo {
    width: 30%;
    left: -0.65rem;
    bottom: 0.65rem;
    border-width: 3px;
  }
  .hero-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr 1.05fr;
  }
  .hero-photo {
    aspect-ratio: 1.2;
  }
  .board {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.4fr);
  }
  .scene-copy {
    padding: 1.45rem;
  }
}
@media (max-width: 44rem) {
  .topline {
    min-height: 3.75rem;
    gap: 0.7rem;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand img {
    width: 5.15rem;
  }
  .brand span {
    font-size: 0.9rem;
    padding-left: 0.5rem;
  }
  nav {
    gap: 0.9rem;
  }
  nav a {
    font-size: 0.9rem;
  }
  .nav-contact {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.45rem;
    padding-block: 2.2rem 1.25rem;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 7.8vw, 3.35rem);
    margin-block: 0.7rem 0.85rem;
  }
  .control-photo {
    display: none;
  }
  .hero-photo {
    aspect-ratio: 2.05;
  }
  .hero-photo figcaption {
    right: 0.65rem;
    bottom: 0.6rem;
  }
  .primary {
    margin-top: 1.1rem;
  }
  .board {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding-block: 2.6rem;
  }
  .board .section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
  }
  #count {
    margin: 0;
  }
  .empty,
  .job {
    align-items: start;
    flex-direction: column;
    gap: 0.6rem;
    padding-block: 1.15rem;
  }
  .empty a {
    padding-block: 0.5rem;
  }
  .job-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .work-heading {
    margin-bottom: 1.3rem;
  }
  .scene {
    grid-template-columns: 1fr;
  }
  .scene img {
    aspect-ratio: 1.8;
    height: auto;
  }
  .scene-copy {
    padding: 1.15rem 1.3rem 1.4rem;
  }
  .foot {
    flex-direction: column;
    gap: 0.55rem;
  }
}
@media (max-width: 23rem) {
  .topline {
    gap: 0.5rem;
  }
  .brand img {
    width: 4.5rem;
  }
  nav {
    gap: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
