:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(15, 19, 27, .92);
  --panel-2: #181d27;
  --panel-3: #11151d;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.15);
  --text: #f6f7fb;
  --muted: #b7bdc8;
  --purple: #936fff;
  --purple-deep: #5d3bd6;
  --yellow: #fee500;
  --shadow: 0 28px 80px rgba(0,0,0,.46);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  letter-spacing: -.035em;
  background:
    radial-gradient(circle at 50% -12%, rgba(92, 65, 212, .28), transparent 34%),
    radial-gradient(circle at 12% 36%, rgba(55, 78, 155, .08), transparent 28%),
    linear-gradient(180deg, #080a10 0%, #05070b 55%, #080a10 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.01) 1px, transparent 1px);
  background-size: 34px 34px;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }

.profile-page {
  position: relative;
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
  padding: 24px 0 38px;
}

/* hero */
.hero-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: #090b10;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
}
.profile-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.94) contrast(1.04) brightness(.92);
}
.hero-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  left: 35%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121,77,255,.30), transparent 68%);
  filter: blur(12px);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,5,9,.94) 0%, rgba(4,5,9,.78) 24%, rgba(4,5,9,.12) 57%, rgba(4,5,9,.04) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), transparent 45%, rgba(2,3,7,.56) 100%);
}
.hero-copy {
  position: absolute;
  left: 44px;
  bottom: 42px;
  z-index: 2;
  max-width: 370px;
}
.hero-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #a98fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 72px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.075em;
  text-shadow: 0 4px 24px rgba(0,0,0,.65);
}
.hero-area {
  margin: 17px 0 28px;
  color: #9f7aff;
  font-size: 21px;
  font-weight: 800;
}
.hero-contact-list { display: grid; gap: 12px; }
.hero-contact {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eceef3;
  font-size: 17px;
  font-weight: 620;
  text-decoration: none;
}
.mini-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  border-radius: 9px;
}
.mini-icon svg { width: 17px; height: 17px; fill: currentColor; }
.phone-mini { color: #fff; background: linear-gradient(145deg, #6d52d8, #342467); }
.talk-mini { color: #181300; background: var(--yellow); font-size: 8px; font-weight: 900; border-radius: 50%; }
.hero-chevron { color: #e4e6eb; font-size: 28px; line-height: 1; }

/* actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 18px;
}
.quick-action {
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr 18px;
  align-items: center;
  gap: 18px;
  padding: 20px 25px;
  border-radius: 22px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  transition: transform .2s ease, filter .2s ease;
}
.quick-action:hover { transform: translateY(-3px); filter: brightness(1.035); }
.action-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.action-icon svg { width: 26px; height: 26px; fill: currentColor; }
.action-text { display: grid; gap: 7px; }
.action-text strong { font-size: 20px; line-height: 1; }
.action-text small { font-size: 15px; font-weight: 650; }
.action-arrow { justify-self: end; font-size: 31px; line-height: 1; }
.phone-action { background: linear-gradient(135deg, #8e71ff, #694add 66%, #5131bc); color: white; }
.phone-action .action-icon { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.kakao-action { background: linear-gradient(135deg, #ffea2c, #fee500 62%, #e8cf00); color: #181400; }
.kakao-action .action-icon { background: rgba(39,31,0,.10); }
.talk-action-icon { font-size: 11px; font-weight: 900; }

/* cards */
.about-card,
.accordion-card,
.contact-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(80,67,150,.08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}
.about-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 64px 1fr 18px;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
}
.about-icon,
.contact-icon,
.promise-icon,
.manager-icon {
  display: grid;
  place-items: center;
  color: #9b79ff;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.13), transparent 36%), rgba(124,87,255,.14);
}
.about-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}
.about-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.about-copy h2 { margin: 0; font-size: 22px; font-weight: 850; }
.about-copy p { margin: 9px 0 0; color: #c9ced7; font-size: 16px; line-height: 1.62; }
.row-chevron { justify-self: end; color: #e5e7ec; font-size: 30px; }

/* accordion */
.accordion-card { overflow: hidden; }
.accordion-trigger {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 22px 1fr 24px;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.heading-diamond { color: #9d78ff; font-size: 23px; }
.accordion-title { font-size: 21px; font-weight: 850; }
.accordion-chevron {
  justify-self: end;
  color: #9c75ff;
  font-size: 27px;
  line-height: 1;
  transition: transform .28s ease;
}
.accordion-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .34s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  opacity: 1;
}
.accordion-panel > * { min-height: 0; overflow: hidden; }
.accordion-card:not(.is-open) .accordion-panel { grid-template-rows: 0fr; opacity: 0; }
.accordion-card:not(.is-open) .accordion-chevron { transform: rotate(-90deg); }

/* company promises */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
  padding: 0 20px 20px;
}
.promise-item {
  position: relative;
  min-height: 185px;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 90% 10%, rgba(123,84,255,.14), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 55%),
    var(--panel-3);
}
.promise-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promise-number {
  padding: 7px 11px;
  border-radius: 13px;
  color: #bca8ff;
  background: rgba(132,94,255,.18);
  font-size: 16px;
  font-weight: 900;
}
.promise-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.promise-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise-content { margin-top: 30px; }
.promise-content h3 { margin: 0 0 9px; font-size: 18px; font-weight: 850; }
.promise-content p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.58; }

/* manager promises */
.manager-promises {
  padding: 0 14px 14px;
}
.manager-promise {
  min-height: 94px;
  display: grid;
  grid-template-columns: 58px 42px 1fr 18px;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(145deg, rgba(255,255,255,.022), transparent 62%), var(--panel-3);
}
.manager-promise:first-child { border-radius: 16px 16px 0 0; }
.manager-promise:last-child { border-radius: 0 0 16px 16px; }
.manager-promise + .manager-promise { border-top: 0; }
.manager-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.manager-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.manager-number { color: #a980ff; font-size: 17px; font-weight: 900; }
.manager-copy h3 { margin: 0 0 7px; font-size: 17px; font-weight: 850; }
.manager-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.item-chevron { justify-self: end; color: #e3e5e9; font-size: 28px; }

/* contact */
.contact-card { overflow: hidden; }
.contact-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: 48px 110px 1fr 18px;
  align-items: center;
  gap: 15px;
  padding: 17px 24px;
}
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.contact-icon svg { width: 23px; height: 23px; fill: currentColor; }
.contact-row strong { font-size: 17px; }
.contact-copy p { margin: 3px 0; color: #c3c8d1; font-size: 14px; line-height: 1.42; }
.homepage-row { text-decoration: none; }
.homepage-url { color: #a984ff; font-size: 16px; font-weight: 750; }

/* footer */
footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 0 2px;
}
.logo-slot {
  width: 215px;
  min-height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 12px;
  color: #a9afba;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
.logo-slot img { max-width: 86%; max-height: 58px; object-fit: contain; }
.logo-slot small { color: #767e8c; }
footer p { margin: 0; color: #858c98; font-size: 12px; line-height: 1.55; text-align: right; }

.error-state { margin: 80px 0; text-align: center; }

@media (max-width: 680px) {
  .profile-page { width: min(calc(100% - 20px), 820px); padding-top: 10px; }
  .hero-card { min-height: 540px; }
  .hero-copy { left: 28px; bottom: 28px; }
  .hero-copy h1 { font-size: 54px; }
  .hero-area { font-size: 18px; }
  .quick-action { min-height: 92px; grid-template-columns: 48px 1fr 15px; gap: 13px; padding: 16px 18px; }
  .action-icon { width: 48px; height: 48px; }
  .action-text strong { font-size: 17px; }
  .action-text small { font-size: 13px; }
  .about-card { grid-template-columns: 56px 1fr 15px; gap: 15px; padding: 22px; }
  .about-copy p { font-size: 14px; }
  .accordion-title { font-size: 19px; }
  .contact-row { grid-template-columns: 42px 88px 1fr 14px; gap: 10px; padding: 15px 18px; }
  .contact-row strong { font-size: 14px; }
  .contact-copy p, .homepage-url { font-size: 12px; }
}

@media (max-width: 480px) {
  .profile-page { width: min(calc(100% - 14px), 820px); padding-bottom: 24px; }
  .hero-card { min-height: 510px; border-radius: 22px; }
  .profile-image { object-position: 57% 25%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4,5,9,.92) 0%, rgba(4,5,9,.73) 30%, rgba(4,5,9,.10) 68%, rgba(4,5,9,.03) 100%),
      linear-gradient(180deg, rgba(0,0,0,.04), transparent 45%, rgba(2,3,7,.65) 100%);
  }
  .hero-copy { left: 21px; right: 18px; bottom: 22px; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-area { margin: 12px 0 17px; font-size: 16px; }
  .hero-contact { gap: 9px; font-size: 13px; }
  .mini-icon { width: 27px; height: 27px; flex-basis: 27px; }
  .quick-actions { gap: 8px; margin-top: 9px; }
  .quick-action { min-height: 78px; grid-template-columns: 39px 1fr 12px; gap: 9px; padding: 12px; border-radius: 16px; }
  .action-icon { width: 39px; height: 39px; }
  .action-icon svg { width: 20px; height: 20px; }
  .action-text { gap: 4px; }
  .action-text strong { font-size: 14px; }
  .action-text small { font-size: 11px; }
  .action-arrow { font-size: 24px; }
  .about-card, .accordion-card, .contact-card { margin-top: 11px; border-radius: 18px; }
  .about-card { min-height: 112px; grid-template-columns: 46px 1fr 12px; gap: 12px; padding: 17px; }
  .about-icon { width: 43px; height: 43px; }
  .about-icon svg { width: 24px; height: 24px; }
  .about-copy h2 { font-size: 18px; }
  .about-copy p { margin-top: 6px; font-size: 12.5px; line-height: 1.5; }
  .accordion-trigger { min-height: 62px; grid-template-columns: 18px 1fr 19px; padding: 0 16px; }
  .heading-diamond { font-size: 20px; }
  .accordion-title { font-size: 17px; }
  .promise-grid { gap: 8px; padding: 0 12px 12px; }
  .promise-item { min-height: 166px; padding: 14px; border-radius: 14px; }
  .promise-number { padding: 6px 9px; font-size: 13px; }
  .promise-icon { width: 38px; height: 38px; }
  .promise-icon svg { width: 21px; height: 21px; }
  .promise-content { margin-top: 22px; }
  .promise-content h3 { font-size: 14px; }
  .promise-content p { font-size: 11px; }
  .manager-promises { padding: 0 10px 10px; }
  .manager-promise { min-height: 84px; grid-template-columns: 42px 31px 1fr 12px; gap: 9px; padding: 12px; }
  .manager-icon { width: 39px; height: 39px; }
  .manager-icon svg { width: 21px; height: 21px; }
  .manager-number { font-size: 14px; }
  .manager-copy h3 { font-size: 13.5px; }
  .manager-copy p { font-size: 10.5px; }
  .contact-row { min-height: 84px; grid-template-columns: 36px 68px 1fr 10px; gap: 7px; padding: 13px 11px; }
  .contact-icon { width: 33px; height: 33px; }
  .contact-icon svg { width: 18px; height: 18px; }
  .contact-row strong { font-size: 12px; }
  .contact-copy p, .homepage-url { font-size: 10px; }
  footer { align-items: center; gap: 12px; }
  .logo-slot { width: 145px; min-height: 58px; font-size: 11px; }
  footer p { font-size: 8px; }
}
