/* ============================================
   Уля · link-in-bio
   Zine / magazine style, mobile-first
   ============================================ */

:root {
  --bg: #0d0d0d;
  --bg-soft: #161513;
  --cream: #e9e3d3;
  --cream-dim: #c9c2af;
  --teal: #3d6b5e;
  --teal-soft: #5a8f80;
  --orange: #e85a2c;
  --orange-deep: #c64818;
  --gold: #d4a93a;
  --line: rgba(233, 227, 211, 0.18);
  --line-strong: rgba(233, 227, 211, 0.4);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-photo: 22px;
}

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

html, body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(232, 90, 44, 0.08), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(61, 107, 94, 0.1), transparent 45%);
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 18px 60px;
  position: relative;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  margin-bottom: 30px;
}

.hero__photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.corner {
  position: absolute;
  color: var(--cream);
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0;
}
.corner--tl { top: 14px; left: 16px; }
.corner--br { bottom: 14px; right: 16px; }

.hero__pill {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--bg);
  padding: 18px 28px 20px;
  border-radius: var(--radius-pill);
  text-align: center;
  width: calc(100% - 36px);
  max-width: 360px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

.hero__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.7;
}

.hero__sub .arrow {
  display: inline-block;
  margin: 0 4px;
  opacity: 0.5;
}

.hero__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.35;
  color: #2a2a2a;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 0 28px;
  color: var(--cream-dim);
  font-size: 10px;
  letter-spacing: 4px;
  opacity: 0.55;
}

/* ============================================
   CARDS — base
   ============================================ */
.card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  margin-bottom: 18px;
  padding: 22px 22px 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.card:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  }
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  opacity: 0.75;
}

.kicker {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.55;
}

.card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.card__title--big {
  font-size: 38px;
  line-height: 1.05;
}

.card__title em {
  font-weight: 600;
}

.card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
  margin-bottom: 18px;
}

.card__arrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  opacity: 0.9;
  transition: opacity 0.2s ease, background 0.2s ease;
}

@media (hover: hover) {
  .card:hover .card__arrow {
    background: currentColor;
  }
  .card:hover .card__arrow {
    color: inherit;
  }
}

/* ============================================
   CARD — with photo (default dark)
   ============================================ */
.card--photo {
  background: var(--bg-soft);
  color: var(--cream);
  border: 1px solid var(--line);
}

.card__photo {
  position: relative;
  border-radius: var(--radius-photo);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  margin-bottom: 18px;
  background: #222;
}

.card__photo--tall {
  aspect-ratio: 4 / 5;
}

.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .card:hover .card__photo img {
    transform: scale(1.04);
  }
}

/* ============================================
   CARD — solid colored (002, orange)
   ============================================ */
.card--solid {
  position: relative;
}

.card--orange {
  background: var(--orange);
  color: #fff8f2;
}

.card--orange .num,
.card--orange .card__arrow {
  border-color: rgba(255, 248, 242, 0.65);
}

.rings {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.35;
  pointer-events: none;
}

/* ============================================
   CARD — feature (004, the big one)
   ============================================ */
.card--feature {
  background: linear-gradient(160deg, #1a2540 0%, #0d1426 100%);
  color: var(--cream);
  border: 1px solid rgba(212, 169, 58, 0.3);
  padding: 22px 22px 26px;
}

.card__photo--feature {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  position: relative;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #1a1306;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.card--feature .kicker {
  color: var(--gold);
  opacity: 0.85;
}

.card--feature .card__title em {
  color: var(--gold);
  font-style: italic;
}

.card--feature .card__arrow--accent {
  background: var(--gold);
  color: #1a1306;
  border-color: var(--gold);
  font-weight: 600;
}

@media (hover: hover) {
  .card--feature:hover .card__arrow--accent {
    background: #f0c14f;
    border-color: #f0c14f;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.foot {
  text-align: center;
  padding-top: 20px;
  color: var(--cream-dim);
  opacity: 0.7;
}

.foot__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 8px;
}

.foot__sub {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ============================================
   RESPONSIVE: tighten on very small screens
   ============================================ */
@media (max-width: 360px) {
  .page { padding: 18px 14px 50px; }
  .hero__name { font-size: 32px; }
  .card__title { font-size: 24px; }
  .card__title--big { font-size: 32px; }
}

@media (min-width: 640px) {
  .page { padding-top: 40px; }
}
