:root {
  --bg-page: #f3e6ed;
  --bg-card: #f3e6ed;
  --hero-bg: #0c0c0c;
  --text: #111111;
  --text-muted: #8a8a8a;
  --text-intro: #9a9a9a;
  --border: #f5dde5;
  --gold: #c9a227;
  --radius-card: 0;
  --radius-icon: 14px;
  --max-width: 440px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.45;
}

.bg-petals {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#business-card {
  position: relative;
  z-index: 1;
}

body.is-intro .card {
  visibility: hidden;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: transparent;
  transition: opacity 0.55s ease;
}

.intro-splash--out {
  opacity: 0;
  pointer-events: none;
}

#intro-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.intro-skip {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0));
  z-index: 10001;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.intro-skip:active {
  opacity: 0.85;
}

.card {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100dvh;
  background: rgba(243, 230, 237, 0.55);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(180, 120, 140, 0.08);
}

/* —— Hero —— */
.hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 28px 22px 22px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.avatar-wrap {
  flex-shrink: 0;
}

.avatar {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
}

.avatar.avatar--fallback {
  visibility: hidden;
  position: relative;
}

.avatar-wrap:has(.avatar--fallback)::before,
.avatar-wrap .avatar.avatar--fallback + .avatar-placeholder {
  display: none;
}

.avatar-wrap::after {
  content: "";
  display: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(145deg, #3d3d3d 0%, #222 100%);
  position: absolute;
}

.avatar-wrap {
  position: relative;
}

.avatar-wrap:has(.avatar--fallback)::after {
  display: block;
  position: static;
}

.hero-text {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.hero-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-name-en {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #b0b0b0;
}

.hero-role {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #888;
  font-weight: 400;
}

.brand-block {
  flex-shrink: 0;
  max-width: 38%;
  text-align: right;
  padding-top: 2px;
}

.brand-logo {
  display: block;
  max-width: 130px;
  height: auto;
  margin-left: auto;
}

.brand-block .brand-fallback {
  display: none;
}

.brand-block--text .brand-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-tagline {
  font-size: 0.62rem;
  color: #777;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-address {
  margin: 20px 0 0;
  font-size: 0.78rem;
  color: #aaa;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.icon-pin {
  flex-shrink: 0;
  margin-top: 2px;
  color: #888;
}

/* —— Content —— */
.content {
  flex: 1;
  padding-bottom: 100px;
}

.block {
  padding: 22px 20px 8px;
  border-bottom: 1px solid var(--border);
}

.block-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.link-row:active {
  background: rgba(255, 255, 255, 0.55);
}

.link-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.link-icon:not(.link-icon--kakao) svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.link-icon--phone {
  background: #25b564;
}

.link-icon--web {
  background: #3b7ddd;
  color: #fff;
}

.link-icon--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.link-icon--kakao {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.link-icon--kakao svg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-icon);
  display: block;
  flex-shrink: 0;
}

.link-icon--naver {
  background: #03c75a;
}

.naver-n {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  font-family: Arial, sans-serif;
}

.link-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.link-primary {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.link-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.link-chevron {
  color: #ccc;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  padding-right: 4px;
}

.block--intro .intro-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-intro);
  line-height: 1.65;
  white-space: pre-line;
}

.intro-foot {
  margin: 16px 0 12px;
  font-size: 0.78rem;
  color: #b5b5b5;
  line-height: 1.55;
}

/* —— Footer CTA —— */
.footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0));
  background: linear-gradient(to top, var(--bg-card) 75%, rgba(243, 230, 237, 0));
  pointer-events: none;
}

.btn-save {
  pointer-events: auto;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #0a0a0a;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-save:active {
  transform: scale(0.98);
  opacity: 0.92;
}

@media (min-width: 480px) {
  body {
    padding: 24px 0;
  }

  .card {
    min-height: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .footer {
    position: sticky;
    transform: none;
    left: auto;
  }
}