:root {
  color-scheme: light;
  --ink: #24181a;
  --muted: #77686a;
  --line: rgba(45, 31, 34, 0.13);
  --surface: rgba(255, 255, 255, 0.82);
  --paper: #fff8f2;
  --rose: #d94f70;
  --berry: #8b2f5f;
  --gold: #d8944d;
  --green: #4f7d68;
  --shadow: 0 24px 70px rgba(55, 31, 28, 0.18);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(130deg, rgba(217, 79, 112, 0.13), transparent 34%),
    linear-gradient(230deg, rgba(216, 148, 77, 0.18), transparent 38%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(36, 24, 26, 0.06) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 242, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7b45d, #d94f70 46%, #7f3b85);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(139, 47, 95, 0.24);
}

img.avatar {
  object-fit: cover;
}

.brand strong,
.profile-row strong,
footer strong {
  display: block;
  line-height: 1.1;
}

.brand small,
.profile-row span,
footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
.text-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.text-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hero,
.page,
.quote-band,
footer {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(34px, 7vw, 88px) 0 56px;
}

.eyebrow {
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.88;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.32;
}

.actions,
.stats,
.profile-row,
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.primary,
.secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--berry));
  box-shadow: 0 16px 34px rgba(139, 47, 95, 0.23);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.stats {
  margin-top: 34px;
}

.stats span {
  min-width: 112px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.stats strong {
  display: block;
  font-size: 26px;
}

.stats small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.profile-card,
.about-grid article,
.post-card,
.quote-band {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-card {
  padding: 14px;
  transform: rotate(1.2deg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
}

.profile-row {
  padding: 18px 8px 10px;
}

.profile-card p {
  margin: 0;
  padding: 0 8px 10px;
  color: var(--muted);
  line-height: 1.55;
}

.page {
  padding: 76px 0 20px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-grid article {
  min-height: 220px;
  padding: 24px;
}

.about-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}

.post-card {
  position: relative;
  min-height: 0;
  border-radius: 22px;
}

.post-card.wide {
  grid-column: span 2;
}

.post-card.tall {
  grid-row: span 2;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(20, 14, 15, 0.72));
}

.post-card div {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
}

.post-card strong {
  display: block;
  font-size: 23px;
}

.post-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.quote-band {
  display: grid;
  gap: 10px;
  margin-top: 76px;
  margin-bottom: 54px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.02;
}

.quote-band span {
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-links a {
  color: var(--berry);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section-head,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .profile-card {
    transform: none;
  }

  .insta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .post-card.wide,
  .post-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 520px) {
  .hero,
  .page,
  .quote-band,
  footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 52px;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .stats span {
    flex: 1 1 120px;
  }

  .insta-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}
