:root {
  --green: #167b51;
  --green-dark: #0e5b3b;
  --green-soft: #e7f3eb;
  --navy: #182a35;
  --ink: #233740;
  --muted: #536870;
  --line: #d8e5dc;
  --surface: #ffffff;
  --page: #f1f6f2;
  --shadow: 0 18px 50px rgba(25, 64, 45, 0.12);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 6%, rgba(80, 157, 105, 0.12), transparent 25rem),
    radial-gradient(circle at 96% 32%, rgba(218, 181, 102, 0.1), transparent 24rem),
    var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.link-shell {
  width: min(100% - 28px, 680px);
  margin: 0 auto;
  padding: 40px 0 28px;
}

.profile {
  text-align: center;
}

.profile-mark {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 15px;
  place-items: center;
  border: 1px solid rgba(22, 123, 81, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 32px rgba(31, 79, 53, 0.11);
}

.profile-mark img {
  width: 60px;
  height: 60px;
}

.handle {
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h1 span {
  color: var(--green);
}

.intro {
  margin: 11px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.permanent-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 32px;
}

.permanent-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 20px rgba(28, 73, 49, 0.06);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.permanent-link:hover {
  border-color: rgba(22, 123, 81, 0.42);
  box-shadow: 0 12px 28px rgba(28, 73, 49, 0.11);
  transform: translateY(-2px);
}

.permanent-icon {
  display: grid;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 10px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.permanent-link-shop .permanent-icon {
  color: #795b1d;
  background: #f8edcf;
}

.permanent-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.permanent-link > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.permanent-link strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.permanent-link small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.permanent-arrow,
.row-arrow {
  color: var(--green);
  font-size: 1.08rem;
  transition: transform 220ms var(--ease);
}

.permanent-link:hover .permanent-arrow,
.link-row:hover .row-arrow {
  transform: translateX(3px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 13px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 5vw, 1.72rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading p {
  max-width: 52ch;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.feed-status {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.feature-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
}

.feature-link:hover {
  box-shadow: 0 24px 58px rgba(25, 64, 45, 0.17);
  transform: translateY(-3px);
}

.feature-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-soft);
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.feature-link:hover .feature-image-wrap img {
  transform: scale(1.025);
}

.latest-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 99px;
  color: #fff;
  background: rgba(14, 91, 59, 0.95);
  box-shadow: 0 3px 12px rgba(6, 43, 28, 0.2);
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-copy {
  padding: 21px 22px 22px;
}

.kind {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 4px 8px;
  border-radius: 99px;
  color: #4e5f67;
  background: #edf1f2;
  font-size: 0.65rem;
  font-weight: 800;
}

.kind-shop {
  color: #705219;
  background: #f7ebc9;
}

.kind-recipe {
  color: #9a3e24;
  background: #fbe5dc;
}

.kind-workout {
  color: #235d8a;
  background: #e1effa;
}

.kind-article {
  color: #42602e;
  background: #e7f1df;
}

.feature-copy h3 {
  margin: 9px 0 7px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-copy p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.entry-cta span {
  transition: transform 220ms var(--ease);
}

.feature-link:hover .entry-cta span {
  transform: translateX(3px);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.link-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 10px 13px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 18px rgba(28, 73, 49, 0.055);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.link-row:hover {
  border-color: rgba(22, 123, 81, 0.36);
  box-shadow: 0 10px 25px rgba(28, 73, 49, 0.1);
  transform: translateY(-2px);
}

.link-row img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
  background: var(--green-soft);
}

.row-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.row-copy strong {
  margin: 5px 0 3px;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.3;
}

.row-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.row-arrow {
  flex: 0 0 auto;
}

footer {
  padding: 30px 10px 2px;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

footer p {
  margin: 0 0 6px;
}

footer div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

footer a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid rgba(22, 123, 81, 0.42);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .link-shell {
    width: min(100% - 20px, 680px);
    padding-top: 28px;
  }

  .profile-mark {
    width: 74px;
    height: 74px;
    margin-bottom: 12px;
  }

  .profile-mark img {
    width: 54px;
    height: 54px;
  }

  .permanent-links {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 23px 0 29px;
  }

  .permanent-link {
    padding: 11px 12px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading p {
    max-width: 34ch;
  }

  .feature-link {
    border-radius: 18px;
  }

  .feature-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .feature-copy {
    padding: 18px 17px 19px;
  }

  .link-row {
    gap: 11px;
    padding: 9px 11px 9px 9px;
  }

  .link-row img {
    width: 72px;
    height: 72px;
  }

  .row-copy small {
    -webkit-line-clamp: 1;
  }
}

@media (max-width: 340px) {
  .link-shell {
    width: min(100% - 14px, 680px);
  }

  .feed-status {
    display: none;
  }

  .link-row img {
    width: 64px;
    height: 64px;
  }

  .row-copy small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
