* { margin:0; padding:0; box-sizing:border-box; }
body {
  width: 100vw; height: 100vh;
  overflow: hidden;
  font-family: Georgia, serif;
  background-image: url('../img/home/desk.jpg');
  background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
}

.back {
  position: fixed; top: 20px; left: 24px;
  font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(60,40,20,0.65);
  text-decoration: none;
  transition: color 0.2s; z-index: 100;
}
.back:hover { color: rgba(60,40,20,1); }

/* ── CARD ── */
.card {
  width: min(650px, 100vw);
  background: #e8e0cc;
  border-radius: 4px;
  box-shadow:
    0 12px 50px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* paper texture */
.card::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23e4dcc8'/%3E%3Crect x='0' y='0' width='1' height='1' fill='rgba(0,0,0,0.04)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(0,0,0,0.02)'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 5;
  border-radius: 4px; mix-blend-mode: multiply;
}

/* header */
.card-header {
  background: linear-gradient(90deg, #1c1410, #2a1e14, #1c1410);
  padding: 11px 18px 10px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #0a0806;
  position: relative;
}
.card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,170,90,0.4), transparent);
}
.header-left { display: flex; flex-direction: column; gap: 2px; }
.header-title {
  font-size: 14px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(210,190,140,0.85);
}
.header-sub {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(170,148,100,0.45);
}
.header-emblem {
  width: 34px; height: 34px;
  border: 1px solid rgba(200,170,90,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(200,170,90,0.6); font-size: 14px;
}

.gold-rule {
  height: 2px;
  background: linear-gradient(90deg, #1c1410, #c8a840, #e0c060, #c8a840, #1c1410);
  opacity: 0.7;
}

/* body */
.card-body {
  display: flex; gap: 0;
  padding: 18px 18px 14px;
}

/* photo col */
.photo-col {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  margin-right: 18px;
}
.photo-box {
  width: 150px; height: auto;
  background: linear-gradient(145deg, #c0b8a8, #d0c8b8);
  border: 1px solid #a09880;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.2), 2px 2px 6px rgba(0,0,0,0.2);
  overflow: hidden;
}
.photo-box::before {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid rgba(160,148,120,0.3);
  z-index: 1; pointer-events: none;
}
/* if using a real photo: */
.photo-box img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-box .placeholder-icon { opacity: 0.25; }

.chip {
  width: 34px; height: 26px;
  background: linear-gradient(135deg, #b89028, #d8b040, #a07e18);
  border-radius: 3px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,220,80,0.3);
}
.chip::before {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid rgba(240,200,80,0.35);
  border-radius: 1px;
}
.chip-lines {
  position: absolute; inset: 6px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.chip-line { height: 1px; background: rgba(240,200,60,0.35); }

/* info col */
.info-col { flex: 1; }

.field { margin-bottom: 11px; }
.field:last-child { margin-bottom: 0; }

.field-label {
  font-size: 14px; letter-spacing: 0.26em;
  text-transform: uppercase; color: #8a7860;
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
}
.field-label::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(140,120,80,0.3), transparent);
}

.field-value {
  font-size: 14px; color: #1e1610;
  font-style: italic; line-height: 1.25;
}
.field-value.name { font-size: 20px; letter-spacing: 0.03em; font-weight: normal; }
.field-value.small {
  font-size: 14px; font-style: normal;
  color: #3a2e1e; line-height: 1.65;
}
.field-value.mono {
  font-family: 'Courier New', monospace;
  font-style: normal; font-size: 14px;
  color: #4a3e2e; letter-spacing: 0.06em;
}

.contact-list { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.contact-item {
  font-size: 15px; color: #5a4a30;
  font-style: italic;
  display: flex; align-items: baseline; gap: 6px;
}
.contact-key {
  font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9a8870;
  font-style: normal; flex-shrink: 0; width: 52px;
}

.section-rule {
  height: 1px; margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(140,120,80,0.35), transparent);
}

/* stamp */
.stamp {
  position: absolute;
  bottom: 40px; right: 16px;
  width: 52px; height: 52px;
  border: 1.5px solid rgba(140,100,40,0.35);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transform: rotate(-12deg);
  z-index: 4; pointer-events: none;
}
.stamp-text {
  font-size: 6px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(140,100,40,0.4);
  text-align: center; line-height: 1.5;
}
.stamp::before {
  content: '';
  position: absolute; inset: 3px;
  border: 1px dashed rgba(140,100,40,0.2);
  border-radius: 50%;
}

/* footer */
.card-footer {
  background: linear-gradient(90deg, #1c1410, #2a1e14, #1c1410);
  padding: 8px 18px;
  border-top: 1px solid rgba(200,170,90,0.15);
}
.mrz {
  font-family: 'Courier New', monospace;
  font-size: 10px; color: rgba(200,175,120,0.35);
  letter-spacing: 0.1em; line-height: 1.8;
}