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

:root {
  --bg: #eef3f8;
  --surface: #f8fbff;
  --surface-2: #e5edf6;
  --ink: #0f172a;
  --muted: #64748b;
  --green: #102a43;
  --green-2: #1e3a5f;
  --gold: #4f8cff;
  --clay: #2f5f8f;
  --blue: #23364d;
  --charcoal: #070b12;
  --charcoal-2: #0b1220;
  --line: rgba(15, 23, 42, 0.13);
  --line-dark: rgba(226, 239, 255, 0.14);
  --shadow: 0 18px 44px rgba(7, 11, 18, 0.16);
  --shadow-soft: 0 8px 22px rgba(7, 11, 18, 0.09);
  --radius: 8px;
  --sans: "Paperlogy", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Paperlogy", "Noto Serif KR", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.72;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(79, 140, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.06), transparent 34%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(7, 11, 18, 0.16);
}

.nav {
  width: min(100%, 920px);
  height: 56px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--surface);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  line-height: 1;
}

.nav-logo img {
  width: 24px;
  height: 24px;
  padding: 2px;
  border: 1px solid rgba(79, 140, 255, 0.36);
  border-radius: 50%;
  background: var(--surface);
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.1);
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: var(--surface);
}

.nav-links {
  position: fixed;
  left: 14px;
  right: 14px;
  top: 68px;
  display: none;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-color: var(--line-dark);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.nav-links.open {
  display: grid;
}

.nav-links a {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 253, 248, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(79, 140, 255, 0.16);
  color: var(--surface);
}

.hero {
  min-height: 100svh;
  padding: 96px 20px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(115deg, rgba(7, 11, 18, 0.99), rgba(11, 18, 32, 0.98) 54%, rgba(16, 42, 67, 0.94)),
    linear-gradient(90deg, rgba(79, 140, 255, 0.18), transparent);
  border-bottom: 1px solid rgba(79, 140, 255, 0.22);
}

.hero-inner {
  width: min(100%, 1040px);
  display: grid;
  gap: 28px;
  text-align: left;
  border-top: 1px solid rgba(79, 140, 255, 0.3);
  border-bottom: 1px solid rgba(255, 253, 248, 0.1);
  padding: 34px 0;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-brand-lockup {
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 253, 248, 0.06);
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-brand-lockup img {
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
  object-fit: contain;
}

.hero-photo-wrap,
.profile-image-frame {
  position: relative;
  width: 142px;
  height: 142px;
  margin: 0 auto;
}

.hero-photo-wrap::before,
.profile-image-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(79, 140, 255, 0.46);
  border-radius: 50%;
}

.hero-photo,
.profile-image-frame img {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 253, 248, 0.86);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.photo-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid rgba(255, 253, 248, 0.86);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--charcoal-2), var(--gold));
  color: #fff;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.photo-missing img {
  display: none;
}

.photo-missing .photo-fallback {
  z-index: 1;
}

.photo-fallback.small {
  font-size: 28px;
}

.eyebrow,
.section-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(42px, 11vw, 72px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-title,
.hero-location {
  margin-bottom: 8px;
  color: rgba(255, 253, 248, 0.68);
  font-weight: 600;
}

.hero-message {
  margin: 24px 0;
  padding: 18px 0 18px 18px;
  border-left: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  width: 100%;
  max-width: 620px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  max-width: 100%;
  overflow: hidden;
}

.panel-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.panel-header strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
}

.panel-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.panel-grid div {
  padding: 15px;
  border: 1px solid rgba(255, 253, 248, 0.11);
  border-radius: 7px;
  background: rgba(7, 11, 18, 0.28);
}

.panel-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.panel-grid b {
  display: block;
  margin-top: 4px;
  color: var(--surface);
  font-size: 17px;
}

.panel-grid p {
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.panel-note {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 13px;
}

.keyword-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  max-width: 100%;
}

.keyword-row span {
  min-width: 0;
  width: 100%;
  padding: 6px 12px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.05);
  color: rgba(255, 253, 248, 0.76);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}

.button-row.center {
  margin-top: 22px;
  justify-content: center;
}

.btn {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--surface);
  color: var(--charcoal);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  border-color: rgba(255, 253, 248, 0.34);
  color: var(--surface);
  background: transparent;
}

.btn-outline.dark {
  border-color: rgba(15, 23, 42, 0.24);
  color: var(--charcoal);
}

.btn-soft {
  background: rgba(79, 140, 255, 0.16);
  color: var(--surface);
}

.section {
  padding: 62px 20px;
}

.section-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.section h2,
.cta-card h2,
.contact-section h2 {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.25;
  max-width: 780px;
}

.section-guide {
  color: var(--muted);
  font-size: 14px;
  max-width: 680px;
}

.meaning-section {
  border-top: 1px solid rgba(79, 140, 255, 0.18);
  border-bottom: 1px solid rgba(79, 140, 255, 0.18);
  background: linear-gradient(145deg, #070b12, #0b1220 58%, #102a43);
  color: var(--surface);
}

.meaning-section h2 {
  color: var(--surface);
}

.meaning-section .section-guide {
  color: rgba(248, 251, 255, 0.68);
}

.meaning-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.meaning-grid article {
  padding: 20px;
  border: 1px solid rgba(226, 239, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(248, 251, 255, 0.07);
  box-shadow: 0 18px 44px rgba(7, 11, 18, 0.18);
}

.meaning-grid span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(79, 140, 255, 0.18);
  color: #7fb0ff;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
}

.meaning-grid h3 {
  margin: 14px 0 8px;
  color: var(--surface);
  font-size: 20px;
}

.meaning-grid p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 14px;
}

.meaning-statement {
  margin-top: 14px;
  padding: 20px;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(79, 140, 255, 0.1);
}

.meaning-statement strong {
  color: #dbeafe;
  font-size: 14px;
}

.meaning-statement p {
  margin: 8px 0 0;
  color: var(--surface);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
}

.profile-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 22px;
  overflow: hidden;
  max-width: 100%;
}

.profile-card > * {
  min-width: 0;
}

.profile-card p {
  color: var(--muted);
}

.profile-card h2,
.profile-card p {
  word-break: normal;
  overflow-wrap: anywhere;
}

.profile-mark {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.profile-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.meta-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
}

.meta-list div {
  padding: 12px 14px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  background: var(--surface-2);
  min-width: 0;
}

.meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.meta-list dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
  text-align: right;
  min-width: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

.accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.acc-item + .acc-item {
  border-top: 1px solid var(--line);
}

.acc-head {
  width: 100%;
  min-height: 76px;
  padding: 18px;
  border: 0;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.acc-head strong {
  display: block;
  font-size: 17px;
}

.acc-head small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.acc-index {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(79, 140, 255, 0.16);
  color: var(--gold);
  font-weight: 900;
}

.acc-arrow {
  font-size: 28px;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.acc-item:not(.open) .acc-arrow {
  transform: rotate(0);
}

.acc-body {
  display: none;
  padding: 0 18px 22px;
}

.acc-item.open .acc-body {
  display: block;
}

.card-list,
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.card-list li,
.detail-list li {
  padding: 13px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: #e8f0fa;
  color: var(--charcoal);
  font-weight: 700;
}

.detail-list li {
  border-left-color: var(--green-2);
}

.timeline {
  display: grid;
  gap: 13px;
  border-left: 2px solid rgba(79, 140, 255, 0.42);
  padding-left: 18px;
}

.timeline div {
  position: relative;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline b {
  color: var(--charcoal);
}

.timeline p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.services-section {
  background: #dfe8f3;
}

.process-section {
  background: var(--bg);
}

.service-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.service-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  min-height: 176px;
}

.service-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.service-grid h3 {
  margin: 6px 0 8px;
  color: var(--charcoal);
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-section {
  padding: 56px 20px;
  background: var(--charcoal);
}

.cta-card {
  padding: 34px 24px;
  border: 1px solid rgba(79, 140, 255, 0.42);
  border-radius: var(--radius);
  background: transparent;
  text-align: center;
  box-shadow: none;
}

.cta-card p {
  color: rgba(255, 253, 248, 0.68);
}

.cta-card h2 {
  margin-left: auto;
  margin-right: auto;
  color: var(--surface);
  text-align: center;
}

.cta-card .btn-outline.dark {
  border-color: rgba(248, 251, 255, 0.28);
  color: var(--surface);
}

.contact-section {
  padding: 54px 20px 34px;
  background: linear-gradient(150deg, #070b12, #0b1220 64%, #102a43);
}

.contact-section h2 {
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-grid a,
.contact-grid div {
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.contact-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-grid strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.copyright {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 680px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 54px;
    text-align: left;
    padding: 46px 0;
  }

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

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .meaning-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-card {
    grid-template-columns: minmax(260px, 0.78fr) 1fr;
    align-items: center;
    padding: 28px;
  }

  .profile-mark {
    align-self: stretch;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .nav {
    padding-inline: 14px;
  }

  .nav-logo {
    font-size: 13px;
    gap: 6px;
  }

  .nav-logo img {
    width: 22px;
    height: 22px;
    padding: 2px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-inner {
    padding-block: 28px;
    text-align: left;
  }

  .section,
  .cta-section,
  .contact-section {
    padding-inline: 16px;
  }

  .profile-card {
    padding: 16px;
  }

  .profile-card h2 {
    font-size: 24px;
    word-break: keep-all;
  }

  .profile-card p {
    word-break: keep-all;
  }

  .hero-message {
    max-width: 100%;
    padding-left: 14px;
    font-size: 15px;
  }

  .hero-panel {
    padding: 18px;
  }

  .keyword-row span {
    padding-inline: 8px;
    font-size: 11px;
  }

  .btn {
    flex: 1 1 100%;
    padding-inline: 14px;
  }

  .meta-list div {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 5px;
  }

  .meta-list dd {
    text-align: left;
    overflow-wrap: anywhere;
  }

  .acc-head {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 10px;
    padding: 16px 14px;
  }

  .acc-index {
    width: 38px;
    height: 38px;
  }

  .contact-grid a,
  .contact-grid div {
    padding: 15px;
  }
}
