@font-face {
  font-family: "GmarketSansTTFMedium";
  src: url("https://raw.githubusercontent.com/2020AMGN/gonafont/main/font/GmarketSansTTFMedium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RIDIBatang";
  src: url("https://raw.githubusercontent.com/2020AMGN/gonafont/main/font/RIDIBatang.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #ff5a00;
  --brand-deep: #c94800;
  --brand-soft: #fff1e8;
  --brand-pale: #ffd2bb;
  --ink: #27150d;
  --ink-soft: #6e4d3c;
  --line: #efc8b5;
  --surface: #ffffff;
  --surface-alt: #fff8f4;
  --surface-accent: #fff3ec;
  --shadow: 0 18px 48px rgba(194, 88, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background:
    radial-gradient(circle at top, rgba(255, 90, 0, 0.09), transparent 34%),
    linear-gradient(180deg, #fffaf7 0%, #fff3ec 100%);
  color: var(--ink);
  font-family: "RIDIBatang", Georgia, serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  background: transparent;
}

a {
  color: var(--brand-deep);
}

a:hover {
  color: var(--brand);
}

h1,
h2,
h3,
summary,
.badge,
.quick-nav a,
.video-links a,
.bottom-tab-nav a,
.pill,
.meta span strong,
.brand-chip strong {
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #1e100a;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

ul,
ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin: 0.42rem 0;
  color: var(--ink-soft);
}

li::marker {
  color: var(--brand);
}

.page {
  width: min(980px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  gap: 18px;
  padding: 32px 0 60px;
}

.recruit-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #ff5a00 0%, #ff7f32 100%);
  color: #fff;
  text-decoration: none;
  border: 1px solid #da4d00;
  box-shadow: 0 18px 34px rgba(255, 90, 0, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.recruit-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255, 90, 0, 0.25);
  filter: saturate(1.05);
}

.recruit-banner strong,
.recruit-banner__eyebrow,
.recruit-banner__button {
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
}

.recruit-banner strong {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
}

.recruit-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #fff7f0;
}

.recruit-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  background: #fff;
  color: var(--brand);
  font-size: 0.92rem;
}

.page--placeholder {
  min-height: 100vh;
  align-content: start;
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--brand-pale);
  background: #fff;
  color: var(--brand-deep);
  text-decoration: none;
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
  font-size: 0.9rem;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.page-tabs a:hover {
  transform: translateY(-1px);
  background: var(--brand-soft);
  border-color: var(--brand);
}

.page-tabs a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.placeholder-card {
  padding: 48px 28px;
  text-align: center;
}

.related-hero {
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  background: #fffaf7;
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(194, 88, 29, 0.08);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.related-card h2 {
  margin-bottom: 8px;
  color: var(--brand-deep);
}

.related-card p {
  margin: 0;
}

.related-card:hover {
  transform: translateY(-3px);
  background: #fff4ed;
  border-color: var(--brand);
  box-shadow: 0 18px 32px rgba(194, 88, 29, 0.14);
}

.placeholder-card__eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
  font-size: 0.95rem;
}

.placeholder-card h1 {
  margin-bottom: 10px;
}

.hero,
section,
details,
footer {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
section,
footer {
  padding: 22px;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.12), rgba(255, 255, 255, 0.85) 42%),
    var(--surface);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), #ff8a47);
}

.lead {
  max-width: 100%;
  font-size: 1.02rem;
  color: var(--brand-deep);
  text-align: center;
  margin: 0;
}

.hero-slogan {
  margin: 0;
  max-width: 960px;
  color: var(--brand);
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
  font-size: clamp(1.35rem, 4vw, 2.8rem);
  line-height: 1.2;
  text-wrap: balance;
}

.hero-title-block {
  width: min(100%, 950px);
  padding: 22px 24px;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(255, 90, 0, 0.18);
}

.hero-title-block h1 {
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
}

.hero-logo-wrap {
  width: min(100%, 520px);
  padding: 18px;
  background: #fff8f3;
  border: none;
  box-shadow: 0 14px 28px rgba(194, 88, 29, 0.1);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero .quote {
  width: min(100%, 980px);
  margin-top: 0;
  text-align: left;
}

.hero .meta,
.hero .brand-palette {
  justify-content: center;
}

.quote,
.callout {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--surface-accent);
  border-left: 5px solid var(--brand);
  color: var(--ink);
}

.links,
.video-links,
.pill-list,
.tags,
.meta,
.brand-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta {
  margin-top: 16px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  background: rgba(255, 90, 0, 0.08);
  border: 1px solid rgba(255, 90, 0, 0.18);
  color: var(--ink);
  font-size: 0.92rem;
}

.brand-palette {
  margin-top: 16px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 10px 12px;
  background: #fffdfb;
  border: 1px solid var(--line);
}

.brand-chip p {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--brand-deep);
}

.brand-chip__swatch {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.brand-chip__swatch--main {
  background: var(--brand);
}

.brand-chip__swatch--soft {
  background: var(--brand-soft);
}

.brand-chip__swatch--deep {
  background: var(--brand-deep);
}

.video-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--brand-pale);
  color: var(--brand-deep);
  font-size: 0.9rem;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.video-links a:hover {
  transform: translateY(-1px);
  background: var(--brand-soft);
  border-color: var(--brand);
}

.badge,
.pill {
  display: inline-block;
  padding: 8px 12px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  font-size: 0.84rem;
  line-height: 1;
}

.hero > .badge {
  margin-bottom: 14px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: #20120c;
}

summary::-webkit-details-marker {
  display: none;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

details + details {
  margin-top: 12px;
}

details[open] {
  background: #fffdfb;
}

details[open] summary {
  border-bottom: 1px solid #f4d5c7;
  background: #fff7f2;
}

details ul,
details p {
  padding: 0 18px 18px;
}

details ul {
  padding: 0 18px 18px 38px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.intro-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.intro-card {
  background: #fffaf7;
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(194, 88, 29, 0.06);
}

.intro-card h3 {
  margin-bottom: 10px;
  color: var(--brand-deep);
}

.intro-card p,
.intro-card ul {
  margin-top: 0;
}

#flow ul,
#talent ul {
  padding-left: 1.45rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.project-showcase__list {
  min-width: 0;
}

.project-showcase__image-wrap {
  background: #fff8f3;
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: 0 14px 28px rgba(194, 88, 29, 0.08);
}

.project-showcase__image {
  display: block;
  width: 100%;
  height: auto;
}

.intro-card--wide {
  grid-column: 1 / -1;
}

.award-note {
  margin: 14px 0 18px;
}

.award-highlight {
  margin: 14px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.award-highlight__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #ff640d 0%, #ff7a2f 100%);
  color: #fff;
  border: 1px solid #e85a07;
  box-shadow: 0 12px 24px rgba(255, 90, 0, 0.16);
  border-radius: 999px;
  color: #fff;
  font-family: "GmarketSansTTFMedium", "Pretendard", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.35;
  text-align: center;
}

.award-note summary {
  color: var(--brand-deep);
}

.award-note p {
  padding-top: 14px;
}

.award-list {
  margin-top: 0;
}

#process .grid-2 {
  grid-template-columns: 1fr;
}

#process .process-block {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 18px;
}

#process .process-block h3 {
  margin-bottom: 4px;
}

.sandbox-panel {
  margin-top: 16px;
}

.sandbox-panel summary {
  position: relative;
  padding-right: 56px;
  background: linear-gradient(90deg, #fff1e8 0%, #fff7f2 55%, #ffffff 100%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sandbox-panel summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sandbox-panel:hover summary {
  background: linear-gradient(90deg, #ffe8db 0%, #fff4ed 55%, #ffffff 100%);
  transform: translateY(-1px);
}

.sandbox-panel:hover summary::after {
  transform: translateY(-50%) scale(1.08);
  background: var(--brand-deep);
  box-shadow: 0 10px 22px rgba(255, 90, 0, 0.28);
}

.sandbox-panel[open] summary::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.sandbox-panel__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px;
}

.sandbox-panel__content p {
  padding: 0;
  margin-top: 0;
}

.sandbox-panel__intro {
  margin-bottom: 10px;
  color: var(--ink);
}

.sandbox-panel__subtitle {
  margin-bottom: 12px;
  color: var(--brand-deep);
}

.sandbox-panel__feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sandbox-panel__feature-list li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid #f1d3c2;
  color: var(--ink);
}

.sandbox-panel__feature-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sandbox-panel__feature-list p {
  margin-top: 8px;
  color: var(--brand-deep);
}

.sandbox-panel__image-wrap {
  background: #fff8f4;
  border: 1px solid var(--line);
  padding: 12px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 16px 32px rgba(194, 88, 29, 0.1);
}

.sandbox-panel__image {
  width: 100%;
  height: auto;
  display: block;
}

.process-block--schedule {
  background: linear-gradient(180deg, #fff4ec 0%, #fffaf7 100%) !important;
}

#media .video-links {
  margin-top: 14px;
}

#media .video-links a::before {
  content: "\25B6";
  margin-right: 6px;
}

footer {
  background: linear-gradient(180deg, #fff0e6 0%, #ffe1cf 100%);
  border-color: #f1c2a6;
}

footer p,
footer li,
footer span,
footer strong {
  color: #7a3715;
}

footer a {
  color: #8b3100;
}

.bottom-tab-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 20px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #efc4ad;
  box-shadow: 0 14px 34px rgba(194, 88, 29, 0.18);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.bottom-tab-nav a {
  min-width: 0;
  padding: 10px 6px;
  text-decoration: none;
  text-align: center;
  color: #9a5b39;
  border-right: 1px solid #f4d5c7;
  font-size: 0.76rem;
  line-height: 1.2;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.bottom-tab-nav a:last-child {
  border-right: none;
}

.bottom-tab-nav a:hover {
  background: #fff2ea;
  color: var(--brand-deep);
}

.bottom-tab-nav a.is-active {
  background: var(--brand);
  color: #fff;
}

.has-bottom-tabs .page {
  padding-bottom: 104px;
}

@media (max-width: 767px) {
  .page {
    width: min(980px, calc(100% - 20px));
    padding: 20px 0 42px;
  }

  .page-tabs a {
    flex: 1 1 calc(50% - 10px);
  }

  .recruit-banner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding: 16px;
  }

  .recruit-banner__button {
    width: 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  section,
  footer {
    padding: 18px 16px;
  }

  .hero {
    gap: 14px;
  }

  .hero-slogan {
    font-size: clamp(1.1rem, 7vw, 1.8rem);
  }

  .hero-title-block h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .hero-title-block {
    padding: 16px 12px;
  }

  .hero .quote {
    text-align: left;
  }

  .intro-card-grid {
    grid-template-columns: 1fr;
  }

  .intro-card--wide {
    grid-column: auto;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .video-links a {
    width: 100%;
  }

  .brand-chip {
    width: 100%;
  }

  .sandbox-panel__body {
    padding: 16px;
  }

  .bottom-tab-nav {
    width: calc(100% - 12px);
    bottom: 6px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bottom-tab-nav a {
    min-width: 0;
    font-size: 0.64rem;
    padding: 9px 3px;
    letter-spacing: -0.04em;
  }

  .has-bottom-tabs .page {
    padding-bottom: 96px;
  }
}
