/* The Fumba Haven — host card, photo edition */
:root {
  --rausch: #ff395c;
  --rausch-deep: #e01e48;
  --babu: #00a699;
  --ink: #1f1f1f;
  --grey: #8c8c8c;
  --grey-2: #b9b9b9;
  --line: #ececec;
  --page: #ececec;
  --white: #ffffff;
  --rail: 52px;
  --font: "Jost", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.5;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--rausch); outline-offset: 3px; }

/* ---------- Card frame ---------- */
.card {
  position: relative;
  width: min(100%, 500px);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  background: var(--white);
}
@media (min-width: 600px) {
  body {
    background: radial-gradient(700px 500px at 50% 0%, #f7f7f7, var(--page) 70%);
    padding: 48px 16px 56px;
  }
  .card {
    min-height: 0;
    box-shadow: 10px 12px 0 var(--ink), 0 40px 80px -30px rgba(0, 0, 0, .35);
  }
}

/* ---------- Left rail ---------- */
.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-right: 1px solid var(--line);
}
.rail .top, .rail .bottom {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
}
.rail .top { display: flex; align-items: center; gap: 8px; }
.rail .top i { width: 7px; height: 7px; border-radius: 50%; background: var(--babu); }
.rail .bottom { display: flex; gap: 6px; align-items: center; color: var(--grey); }
.rail .bottom i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-2); }
.rail .bottom i:first-child { background: var(--rausch); }
.wordmark {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 24px 0;
}
.wordmark span { font-weight: 300; color: var(--grey-2); }
.wordmark b { font-weight: 600; color: var(--rausch); }

/* ---------- Main column ---------- */
.main { display: flex; flex-direction: column; min-width: 0; }

.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--rausch), var(--rausch-deep) 55%, #00a699);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  animation: reveal 1.1s var(--ease) both;
}
.photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(6px);
}
.photo figcaption svg { width: 14px; height: 14px; color: var(--rausch); }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); scale: 1.06; } to { clip-path: inset(0); scale: 1; } }

.info { padding: 26px 24px 8px; }
h1 {
  margin: 0;
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.role {
  margin: 6px 0 0;
  font-size: clamp(24px, 6.4vw, 30px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--rausch);
}
.facts {
  list-style: none;
  margin: 18px 0 0; padding: 0;
  display: grid; gap: 4px;
  font-size: 15px;
  font-weight: 400;
  color: var(--grey);
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 15px; height: 15px; flex: none; color: var(--grey); }
.facts a:hover { color: var(--ink); }

.hello { margin: 18px 0 0; font-size: 16px; font-weight: 500; }
.hello a { display: block; font-weight: 400; font-size: 14px; color: var(--grey-2); }
.hello a:hover { color: var(--rausch-deep); }

/* photo strip */
.strip {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.strip a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3f3f3;
}
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.strip a:hover img { transform: scale(1.06); }
.strip a:last-child::after {
  content: attr(data-more);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(31, 31, 31, .55);
  color: #fff;
  font-size: 14px; font-weight: 500;
}

/* icon row */
.icons {
  margin: 22px 0 0;
  display: flex; justify-content: space-between;
  padding: 0 4px;
}
.icons a, .icons button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: color .2s, background-color .2s;
}
.icons a:hover, .icons button:hover { color: var(--rausch); background: rgba(255, 57, 92, .08); }
.icons svg { width: 22px; height: 22px; }

/* QR */
.qr {
  margin: 20px 0 0;
  padding: 16px 0 6px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.qr .code { width: 70px; height: 70px; flex: none; padding: 6px; border: 1px solid var(--line); }
.qr img { width: 100%; height: 100%; display: block; }
.qr b { display: block; font-weight: 500; font-size: 15px; }
.qr span { font-size: 13px; color: var(--grey); }

/* ---------- Red action bar ---------- */
.bar {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 64px;
  min-height: 72px;
  background: var(--rausch);
  color: #fff;
}
.bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .2s;
}
.bar a svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.bar a:hover { background: var(--rausch-deep); }
.bar a:hover svg { transform: translate(2px, -2px); }
.bar button {
  display: grid; place-items: center;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .2s;
}
.bar button:hover { background: var(--rausch-deep); }
.bar button svg { width: 24px; height: 24px; }

/* ---------- Menu sheet ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 20;
  display: grid; align-items: end; justify-items: center;
  background: rgba(20, 20, 20, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet .panel {
  width: min(100%, 500px);
  background: var(--white);
  padding: 10px 0 calc(16px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.sheet.open .panel { transform: none; }
.sheet .grab { width: 40px; height: 4px; margin: 4px auto 10px; border-radius: 4px; background: var(--line); }
.sheet a, .sheet button {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  font-size: 17px; text-align: left;
}
.sheet a:hover, .sheet button:hover { background: #f6f6f6; }
.sheet svg { width: 20px; height: 20px; color: var(--rausch); flex: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 30;
  translate: -50% 20px;
  padding: 12px 18px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

@media (max-width: 380px) {
  :root { --rail: 42px; }
  .wordmark { font-size: 24px; }
  .info { padding: 22px 18px 8px; }
  .bar a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
