/* ===== Theme ===== */
:root {
  --cream: #f6eee7;
  --cream-2: #efe4da;
  --ink: #2b211c;
  --muted: #6b5a50;
  --accent: #a87b62;
  --peach: #f0d6c5;
  --sage: #dedbc9;
  --blush: #efd9d2;
  --sand: #e6d8c8;
  --radius: 22px;
  --shadow: 0 10px 30px -14px rgba(90, 60, 40, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --script: "Allura", cursive;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: radial-gradient(circle at 50% 0%, #fbf6f1 0%, var(--cream) 55%, var(--cream-2) 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.solid, svg .fill { fill: currentColor; stroke: none; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 32px;
  overflow: hidden;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero__img { position: relative; overflow: hidden; }
.hero__img--left  { background: linear-gradient(135deg, #b8643a, #7a3b1f 60%, #d79a6a); }
.hero__img--right { background: linear-gradient(200deg, #f3ece5, #d9c7b8 60%, #b49a87); }
.hero__img img { position: absolute; inset: 0; }
.hero__img--right img { object-position: 55% 25%; }
.hero__img--left::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(40,22,12,.55) 0%, rgba(40,22,12,.15) 45%, transparent 70%);
}

.hero__script {
  position: absolute;
  top: 24px; left: 28px;
  font-family: var(--script);
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  z-index: 1;
}
.hero__script span { font-family: var(--sans); font-size: 1.2rem; }

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 160px;
  fill: #faf4ee; stroke: none;
}

.avatar {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 6px solid #faf4ee;
  overflow: hidden;
  background: linear-gradient(160deg, #e9d6c6, #a67c63);
  box-shadow: var(--shadow);
  z-index: 2;
}

/* ===== Intro ===== */
.intro { text-align: center; padding: 8px 24px 28px; }
.intro__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.4rem;
  letter-spacing: .08em;
  line-height: 1;
}
.heart { color: var(--accent); font-weight: 400; font-size: .8em; }
.heart--fill { font-size: 1em; }

.intro__tags {
  margin-top: 14px;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro__tags i { font-style: normal; margin: 0 .6em; }

.intro__bio {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 26px;
  max-width: 440px;
  border-radius: 999px;
  background: rgba(230, 216, 200, .55);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

/* ===== Link buttons ===== */
.links { display: grid; gap: 14px; padding: 0 40px; }

.link {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 10px 28px 10px 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(255,255,255,.6) inset;
  transition: transform .25s ease, box-shadow .25s ease;
}
.link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link--peach { background: linear-gradient(90deg, #f6e1d3, var(--peach)); }
.link--sage  { background: var(--sage); }
.link--blush { background: var(--blush); }
.link--sand  { background: var(--sand); }

.link__media {
  flex: 0 0 120px;
  height: 90px;
  display: grid;
  place-items: center;
  margin: -20px 0 -10px;
}
.link__media img { object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.15)); }
.link__media.is-icon { margin: 0; height: auto; flex-basis: 68px; }
.link__media--photo {
  margin: 0;
  height: 68px;
  flex-basis: 68px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px -6px rgba(60, 40, 30, .45);
}
.link__media--photo img { object-fit: cover; object-position: center; filter: none; }
.link__media svg { width: 40px; height: 40px; }
.link__media .emoji { font-size: 2.4rem; }

.link__text { flex: 1; display: grid; gap: 4px; }
.link__text strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.link__text small { font-size: .9rem; color: var(--muted); }
.link__text small b { font-weight: 500; color: var(--ink); letter-spacing: .03em; }

.link__arrow { font-size: 2rem; font-weight: 300; line-height: 1; transition: transform .25s; }
.link:hover .link__arrow { transform: translateX(4px); }

/* Shop favourites dropdown */
.favs summary { list-style: none; cursor: pointer; }
.favs summary::-webkit-details-marker { display: none; }
.favs .link__arrow { transition: transform .3s ease; }
.favs[open] .link__arrow { transform: rotate(90deg); }
.favs[open] summary { border-radius: var(--radius) var(--radius) 0 0; }

.favs__list {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(222, 219, 201, .45);
  border-radius: 0 0 var(--radius) var(--radius);
  animation: rise .35s ease both;
}
.fav {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #fbf7f2;
  border-radius: 16px;
}
.fav__img { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 12px; }
.fav__info { display: grid; gap: 4px; }
.fav__info strong { font-weight: 600; font-size: .95rem; }
.fav__info small { color: var(--muted); font-size: .8rem; }
.fav__info small b { color: var(--ink); font-weight: 500; }
.fav__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fav__btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 500 .75rem var(--sans);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s;
}
.fav__btn:hover { background: #8f624b; }
.fav__btn--ghost { background: transparent; color: var(--accent); }
.fav__btn--ghost:hover { background: rgba(168, 123, 98, .12); }
.favs__more { text-align: center; font-size: .8rem; color: var(--muted); }

/* Work with me panel */
.favs--brands .favs__list { background: rgba(230, 216, 200, .5); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 14px 6px;
  background: #fbf7f2;
  border-radius: 14px;
}
.stats strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.stats small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.brands__intro { text-align: center; font-size: .9rem; color: var(--muted); line-height: 1.5; padding: 4px 8px 0; }
.brands__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
}
.brands__list li {
  padding: 10px 12px;
  background: #fbf7f2;
  border-radius: 12px;
  font-size: .82rem;
}
.brands__list li::before { content: "♡ "; color: var(--accent); }
.brands__cta { justify-self: center; padding: 11px 26px; font-size: .8rem; margin-top: 4px; }

/* Coming soon */
.link--soon { cursor: default; }
.link--soon:hover { transform: none; box-shadow: 0 2px 0 rgba(255,255,255,.6) inset; }
.badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== Section divider ===== */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 60px 22px;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #d8c8ba; }

/* ===== Explore tiles ===== */
.explore {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 24px;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,20,15,.7), transparent 55%);
}
.tile--food       { background: linear-gradient(160deg, #e7c99a, #a8763f); }
.tile--lifestyle  { background: linear-gradient(160deg, #f1ebe3, #b9a493); }
.tile--motherhood { background: linear-gradient(160deg, #eadbd0, #9d7e6a); }
.tile--finland    { background: linear-gradient(180deg, #9fc2dc, #50708a); }

.tile__label {
  position: absolute;
  left: 16px; right: 12px; bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: clamp(.68rem, 1.6vw, .85rem);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tile__label svg { display: block; width: 22px; height: 22px; margin-bottom: 6px; }
.tile__label em { font-style: normal; margin-left: 4px; }

/* ===== Featured ===== */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  margin: 28px 24px 0;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #efe3d7 30%, #e5d5c5);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 240px;
}
.featured__text { padding: 36px 32px 36px 48px; }
.eyebrow {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.featured h3 {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 6px 0 4px;
}
.featured__text > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; }
.featured__img { align-self: stretch; max-height: 320px; background: linear-gradient(160deg, #f4c27a, #e48a2f); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.btn:hover { background: #8f624b; transform: translateY(-2px); }
.featured__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.featured__actions .btn { margin-top: 0; }
.code {
  padding: 9px 16px;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font: 500 .75rem var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
}
.code:hover { background: rgba(168, 123, 98, .1); }

/* ===== Socials ===== */
.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 24px;
}
.socials a {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 8px;
  border-radius: 16px;
  background: rgba(230, 216, 200, .6);
  font-size: .85rem;
  transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--sand); transform: translateY(-3px); }
.socials svg { width: 30px; height: 30px; }

/* ===== Footer ===== */
.footer {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 24px 24px 0;
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(230, 216, 200, .55);
  overflow: hidden;
}
.footer__leaf { width: 60px; height: 60px; color: #6f7d55; }
.footer__leaf .leaf { fill: #7d8c5f; stroke: none; }
.footer__script {
  font-family: var(--script);
  font-size: 1.9rem;
  line-height: 1.15;
}
.footer__script span { font-family: var(--sans); font-size: 1rem; color: var(--accent); }

.copyright {
  margin-top: 28px;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .15em;
  color: #a7968a;
}

/* ===== Entrance animation ===== */
@media (prefers-reduced-motion: no-preference) {
  .intro, .links > *, .explore, .featured, .socials, .footer {
    animation: rise .7s ease both;
  }
  .links > *:nth-child(1) { animation-delay: .1s; }
  .links > *:nth-child(2) { animation-delay: .17s; }
  .links > *:nth-child(3) { animation-delay: .24s; }
  .links > *:nth-child(4) { animation-delay: .31s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .hero { height: 260px; }
  .hero__script { font-size: 1.6rem; top: 16px; left: 16px; }
  .avatar { width: 150px; height: 150px; bottom: 10px; }
  .intro__name { font-size: 2.6rem; }
  .intro__tags { font-size: .68rem; letter-spacing: .22em; }

  .links { padding: 0 16px; gap: 12px; }
  .link { min-height: 76px; gap: 14px; padding: 10px 18px 10px 14px; }
  .link__media, .link__media.is-icon, .link__media--photo { flex-basis: 56px; height: 56px; margin: 0; }
  .link__media svg { width: 32px; height: 32px; }
  .link__text strong { font-size: .9rem; }
  .link__text small { font-size: .78rem; }
  .badge { font-size: .6rem; padding: 4px 9px; }
  .brands__list { grid-template-columns: 1fr; }

  .divider { margin: 40px 16px 18px; font-size: .72rem; gap: 14px; }
  .explore, .socials { padding: 0 16px; gap: 10px; }
  .explore { grid-template-columns: repeat(2, 1fr); }

  .featured { grid-template-columns: 1fr; margin: 24px 16px 0; }
  .featured__text { padding: 28px 24px; }
  .featured__img { min-height: 200px; order: -1; }

  .footer { margin: 20px 16px 0; padding: 22px 20px; }
  .footer__leaf { width: 44px; height: 44px; }
  .footer__script { font-size: 1.5rem; }
}
