/* Meridia Studios — NFC card landing page
   Brand Standard: Ink / Bone / Graphite / Oxblood, TeX Gyre Heros stack.
   Oxblood appears once per surface (the Save contact action). */

:root {
  --ink: #111110;
  --bone: #F2EFE9;
  --graphite: #6E6B66;
  --oxblood: #5A1F1F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "TeX Gyre Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}

.page {
  max-width: 26rem;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

/* Type scale (Brand Standard) */
.wordmark {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 24px;
}

@media (max-width: 480px) {
  h1 { font-size: 27px; }
}

@media (max-width: 390px) {
  h1 { font-size: 23px; }
}

.role {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 10px;
}

.bio {
  margin-top: 16px;
  max-width: 68ch;
}

.caption {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--graphite);
}

/* Divider: 1px Graphite rule, 25% width, left-aligned */
.rule {
  border: 0;
  border-top: 1px solid var(--graphite);
  width: 25%;
  margin: 32px 0;
}

/* Portrait: 4:5 frame with one viewfinder bracket (four open corners) */
.portrait {
  position: relative;
  width: 168px;
  aspect-ratio: 4 / 5;
  margin-top: 28px;
}

.portrait img,
.portrait .placeholder {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
}

.portrait .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bone);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.10em;
}

.portrait .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--ink);
}
.portrait .corner.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.portrait .corner.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.portrait .corner.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.portrait .corner.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* Actions */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.btn-save {
  background: var(--oxblood);
  color: var(--bone);
}

.btn-book {
  margin-top: 12px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.actions { margin-top: 32px; }

/* Link list */
.links {
  list-style: none;
  margin-top: 8px;
}

.links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 107, 102, 0.35);
}

.links .label {
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--graphite);
  flex-shrink: 0;
}

.links .value {
  text-align: right;
  overflow-wrap: anywhere;
}

/* Switcher + footer */
.switcher {
  margin-top: 40px;
  font-size: 15px;
}

.switcher a { color: var(--ink); }

footer {
  margin-top: 48px;
}

@media (hover: hover) {
  .btn-save:hover { background: var(--ink); }
  .btn-book:hover { background: var(--ink); color: var(--bone); }
}
