@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-4Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-5Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-6SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-7Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-8ExtraBold-full.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Bazzi";
  src: url("assets/fonts/Bazzi-OTF.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --brand-red: #ef3334;
  --brand-red-dark: #d91e2a;
  --brand-red-soft: #fff0ec;
  --ink: #171311;
  --muted: #6d6661;
  --paper: #fffdfb;
  --page: #f2eee9;
  --line: #e9e1db;
  --shadow: 0 20px 60px rgba(52, 37, 30, 0.12);
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(239, 51, 52, 0.08), transparent 28rem),
    var(--page);
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(31, 24, 20, 0.08);
  background: rgba(255, 253, 251, 0.91);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1184px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-en {
  color: var(--brand-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1.8px;
}

.brand-ko {
  color: #4f4a47;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-ko i {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 6px -2px;
  background: #aaa19c;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 15px 0 18px;
  border: 1px solid rgba(239, 51, 52, 0.16);
  border-radius: 999px;
  color: var(--brand-red-dark);
  background: var(--brand-red-soft);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.header-cta:hover {
  background: #ffe4df;
  transform: translateY(-1px);
}

.header-cta svg,
.submit-button svg,
.mobile-bar-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 360px;
  gap: 24px;
  align-items: start;
  width: min(1184px, calc(100% - 40px));
  margin: 26px auto 56px;
}

.site-footer {
  width: min(1184px, calc(100% - 40px));
  margin: -32px auto 42px;
  text-align: center;
}

.site-footer a {
  color: #8d837d;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story {
  overflow: hidden;
  min-width: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.story-panel {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.story-panel img {
  width: 100%;
  height: auto;
}

.story-cta-hotspot {
  position: absolute;
  top: 61.7%;
  left: 4.9%;
  width: 90.5%;
  height: 18.9%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.story-cta-hotspot:hover {
  background: rgba(255, 255, 255, 0.08);
}

.story-cta-hotspot:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.96);
  outline-offset: -8px;
  box-shadow: 0 0 0 3px rgba(25, 19, 17, 0.58);
}

.contact-panel,
.contact-kakao-wrap {
  background: #ef3334;
}

.contact-main-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 810;
}

.contact-main-visual img {
  width: 100%;
  height: auto;
}

.contact-main-visual .story-cta-hotspot {
  top: 75.1%;
  height: 23%;
}

.contact-kakao-wrap {
  padding: 16px 4.9% 22px;
}

.contact-legal-visual {
  aspect-ratio: 1080 / 176;
  background-image: url("assets/story/09-contact.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.kakao-chat-button,
.mobile-kakao-bar {
  color: #191919;
  background: #fee500;
}

.kakao-chat-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
  min-height: 0;
  padding: 0 clamp(36px, 3.4vw, 53px) 0 clamp(12px, 1vw, 16px);
  border: 0;
  border-radius: 999px;
  aspect-ratio: 977 / 186;
  box-shadow: none;
  transition: filter 180ms ease;
}

.kakao-chat-button:hover {
  filter: brightness(1.02);
}

.kakao-chat-button:focus-visible,
.mobile-kakao-bar:focus-visible {
  outline: 4px solid #191919;
  outline-offset: 4px;
}

.kakao-chat-icon {
  display: grid;
  flex: 0 0 auto;
  width: clamp(68px, 7.5vw, 104px);
  height: clamp(68px, 7.5vw, 104px);
  place-items: center;
  border-radius: 50%;
  color: #191919;
  background: rgba(255, 255, 255, 0.72);
}

.kakao-chat-icon svg {
  width: 72%;
  height: 72%;
  overflow: visible;
  fill: currentColor;
}

.kakao-chat-icon text {
  fill: #fee500;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.kakao-chat-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.kakao-chat-copy strong {
  display: block;
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(27px, 3.1vw, 42px);
  font-weight: 800;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -0.025em;
  white-space: nowrap;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.kakao-chat-arrows {
  display: grid;
  flex: 0 0 clamp(72px, 7.25vw, 116px);
  width: clamp(72px, 7.25vw, 116px);
  height: clamp(32px, 3.25vw, 52px);
  place-items: center;
  color: #191919;
}

.kakao-chat-arrows svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sidebar {
  align-self: stretch;
  min-width: 0;
}

.sidebar-inner {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100vh - var(--header-height) - 36px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8cdc5 transparent;
}

.form-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(40, 30, 25, 0.08);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  margin: -24px -24px 18px;
  padding: 23px 22px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.18), transparent 100px),
    linear-gradient(132deg, #f0473c 0%, #e92532 55%, #c71325 100%);
}

.form-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.form-heading h2 {
  margin: 0;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.character-avatar {
  position: relative;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #4a2d22;
  box-shadow: 0 7px 20px rgba(79, 12, 18, 0.22);
}

.character-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  transform: scale(1.15);
}

.recruitment-note {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #f6d7d0;
  border-radius: 12px;
  color: #75645e;
  background: #fff7f4;
  font-size: 11.5px;
  line-height: 1.45;
}

.recruitment-note strong {
  color: var(--brand-red-dark);
  font-size: 12.5px;
  font-weight: 800;
}

.application-form {
  display: grid;
  gap: 13px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: #514944;
  font-size: 12px;
  font-weight: 700;
}

.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input::placeholder {
  color: #b4aca7;
}

.field input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(239, 51, 52, 0.11);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.segmented-control label {
  margin: 0;
  cursor: pointer;
}

.segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.segmented-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #776e69;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.segmented-control input:checked + span {
  border-color: var(--brand-red);
  color: var(--brand-red-dark);
  background: #fff0ec;
  box-shadow: inset 0 0 0 1px var(--brand-red);
}

.segmented-control input:focus-visible + span {
  outline: 3px solid rgba(239, 51, 52, 0.22);
  outline-offset: 2px;
}

.field-error {
  display: none;
  margin: 6px 2px 0;
  color: #c5232d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

[data-field].is-invalid .field-error {
  display: block;
}

[data-field].is-invalid input[type="text"],
[data-field].is-invalid input[type="tel"] {
  border-color: #d52b36;
  background: #fff9f8;
}

[data-field].is-invalid .segmented-control span {
  border-color: #e79ba0;
}

.consent-wrap {
  padding-top: 2px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #625a55;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--brand-red);
}

.consent em {
  color: var(--brand-red-dark);
  font-style: normal;
}

.privacy-detail {
  margin: 3px 0 0 25px;
  color: #8a817c;
  font-size: 10px;
  line-height: 1.5;
}

.privacy-detail summary {
  display: inline-block;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-detail summary::marker,
.privacy-detail summary::-webkit-details-marker {
  display: none;
}

.privacy-detail p {
  margin: 7px 0 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f6f2ef;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(115deg, #ef3b3b, #e21829);
  box-shadow: 0 10px 24px rgba(225, 31, 42, 0.24);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(225, 31, 42, 0.29);
  filter: saturate(1.06);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.form-status {
  display: none;
  margin: 0;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
  color: #286340;
  background: #edf8f0;
}

.form-status.is-error {
  color: #a41f2a;
  background: #fff0f1;
}

.section-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.section-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(42, 31, 26, 0.08);
  border-radius: 11px;
  color: #5d554f;
  background: rgba(255, 253, 251, 0.86);
  font-size: 11px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.section-nav a:hover {
  border-color: #f1b5ae;
  color: var(--brand-red-dark);
  background: #fff7f4;
}

.section-nav span {
  color: var(--brand-red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sheet-close,
.sheet-backdrop,
.mobile-action-dock,
.mobile-application-bar,
.mobile-kakao-bar {
  display: none;
}

@media (max-height: 820px) and (min-width: 901px) {
  .section-nav {
    display: none;
  }

  .form-card {
    padding: 18px 20px;
  }

  .form-heading {
    min-height: 98px;
    margin: -18px -20px 14px;
    padding: 18px 20px 14px;
  }

  .form-heading h2 {
    font-size: 26px;
  }

  .character-avatar {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .recruitment-note {
    margin-bottom: 12px;
    padding: 8px 11px;
  }

  .application-form {
    gap: 9px;
  }

  .field input[type="text"],
  .field input[type="tel"] {
    height: 43px;
  }

  .segmented-control span {
    height: 40px;
  }

  .submit-button {
    min-height: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 58px;
  }

  body {
    padding-bottom: calc(162px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 7px;
  }

  .brand-en {
    font-size: 23px;
  }

  .brand-ko {
    font-size: 11px;
  }

  .brand-ko i,
  .brand-ko i + * {
    display: none;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .header-cta svg {
    width: 16px;
    height: 16px;
  }

  .layout {
    display: block;
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .site-footer {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 20px 0 calc(164px + env(safe-area-inset-bottom));
    background: #f2eee9;
  }

  .contact-main-visual {
    overflow: visible;
    aspect-ratio: auto;
  }

  .contact-main-visual .story-cta-hotspot {
    top: 61.7%;
    height: 18.9%;
  }

  .contact-kakao-wrap,
  .contact-legal-visual {
    display: none;
  }

  .story {
    border-radius: 0;
    box-shadow: none;
  }

  .sidebar {
    position: fixed;
    z-index: 80;
    inset: 0;
    min-width: 0;
    pointer-events: none;
  }

  .sheet-backdrop {
    position: absolute;
    display: block;
    inset: 0;
    border: 0;
    opacity: 0;
    background: rgba(23, 19, 17, 0.58);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity 220ms ease;
  }

  .sidebar-inner {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100%, 560px);
    max-height: calc(100dvh - 22px);
    margin: 0 auto;
    overflow: visible;
    transform: translateY(calc(100% + 24px));
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sidebar.is-open {
    pointer-events: auto;
  }

  .sidebar.is-open .sheet-backdrop {
    opacity: 1;
  }

  .sidebar.is-open .sidebar-inner {
    transform: translateY(0);
  }

  .form-card {
    max-height: calc(100dvh - 22px);
    overflow-y: auto;
    padding: 20px 20px calc(22px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -18px 56px rgba(31, 22, 18, 0.24);
    overscroll-behavior: contain;
  }

  .form-heading {
    min-height: 106px;
    margin: -20px -20px 16px;
    padding: 23px 55px 18px 20px;
  }

  .form-heading h2 {
    font-size: 28px;
  }

  .character-avatar {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .sheet-close {
    position: absolute;
    z-index: 3;
    top: 13px;
    right: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: rgba(55, 8, 12, 0.22);
    cursor: pointer;
  }

  .sheet-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .section-nav {
    display: none;
  }

  .mobile-action-dock {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    gap: 8px;
    width: min(620px, calc(100% - 24px));
    margin: 0 auto;
  }

  .mobile-application-bar,
  .mobile-kakao-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 9px 10px 9px 19px;
    border-radius: 18px;
    cursor: pointer;
    text-align: left;
  }

  .mobile-application-bar {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: linear-gradient(115deg, #ef3b3b, #d91526);
    box-shadow: 0 14px 38px rgba(142, 14, 23, 0.34);
  }

  .mobile-kakao-bar {
    border: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: 0 14px 38px rgba(92, 78, 0, 0.26);
  }

  .mobile-bar-copy {
    display: grid;
    gap: 1px;
  }

  .mobile-bar-copy small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 500;
  }

  .mobile-bar-copy strong {
    font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
    font-size: 19px;
    font-weight: 800;
    font-synthesis: none;
    line-height: 1.2;
    letter-spacing: -0.025em;
    white-space: nowrap;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .mobile-bar-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    place-items: center;
    color: var(--brand-red);
    background: #fff;
  }

  .mobile-bar-arrow svg {
    width: 22px;
    height: 22px;
  }

  .mobile-kakao-bar .mobile-bar-arrow {
    color: #191919;
    background: #fff;
  }

  body.sheet-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 430px) {
  .brand-ko {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .form-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .form-heading {
    margin-right: -18px;
    margin-left: -18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
