:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --border: rgba(49, 56, 65, 0.10);
  --border-strong: rgba(49, 56, 65, 0.16);
  --text: #313841;
  --text-muted: rgba(49, 56, 65, 0.62);
  --accent: #ff5722;
  --accent-soft: rgba(255, 87, 34, 0.12);
  --shadow: 0 24px 48px -28px rgba(49, 56, 65, 0.22);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }

.topbar {
  display: flex;
  justify-content: center;
  padding: 36px 24px 8px;
  flex-shrink: 0;
}

.logo {
  height: 102px;
  width: auto;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 87, 34, 0.35);
}

.card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 22px 0 8px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.card:hover .card-link svg {
  transform: translateX(3px);
}

.card-art {
  position: relative;
  height: 218px;
  border-radius: 16px;
  background: #fbfaf8;
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Personal card art: isometric grid + floating panel */

.art-personal .grid-plane {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(55deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(-55deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 34px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 45%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 45%, transparent 85%);
}

.floating-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.panel-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-icon svg { width: 16px; height: 16px; }

.panel-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.panel-text strong { font-size: 13.5px; }
.panel-text small { font-size: 11.5px; color: var(--text-muted); }

/* Travel card art: diamond + crossing beams */

.art-travel .beams {
  position: absolute;
  inset: 0;
}

.art-travel .beams span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 1px;
  background: var(--border-strong);
  transform: translate(-50%, -50%) rotate(var(--r));
}

.diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.pin-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transform: rotate(-45deg);
}

/* Music card art: track rows + dashed connector */

.art-music {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
}

.art-music .connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--border-strong);
}

.art-music .connector .node {
  fill: var(--accent);
}

.track-row {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
}

.row-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-icon svg { width: 14px; height: 14px; }

.row-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.row-text strong { font-size: 12.5px; }
.row-text small { font-size: 11px; color: var(--text-muted); }

.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.coming-soon h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  margin: 0 0 12px;
  color: var(--text);
}

.coming-soon p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 28px 24px 40px;
  flex-shrink: 0;
}

footer p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo { height: 84px; }
}
