:root {
  --ink: #23312d;
  --muted: #68756f;
  --paper: #fffaf2;
  --cloud: #f6fbf8;
  --sage: #8ab59d;
  --sage-deep: #4b8065;
  --coral: #e78b7b;
  --blue: #80b5d4;
  --yellow: #e7bd5c;
  --lavender: #b8a9d9;
  --line: rgba(35, 49, 45, 0.14);
  --shadow: 0 18px 50px rgba(61, 83, 74, 0.12);
  --max-width: 1160px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --text-xs: 0.78rem;
  --text-sm: 0.88rem;
  --text-md: 1rem;
  --text-lg: 1.12rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#resources,
#digest,
#digest-reader,
#projects,
#blog,
#contact {
  scroll-margin-top: 0;
}

#digest-reader {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 34px rgba(61, 83, 74, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 14px 38px rgba(61, 83, 74, 0.14);
}

.brand,
.main-nav,
.hero-actions,
.filter-bar,
.social-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf2;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.main-nav {
  gap: 6px;
}

.main-nav a,
.button,
.filter-chip {
  min-height: 42px;
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: rgba(35, 49, 45, 0.76);
  font-size: 0.94rem;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(138, 181, 157, 0.18);
  color: var(--ink);
}

.main-nav .nav-contact {
  margin-left: 6px;
  background: var(--ink);
  color: #fffaf2;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  padding: 128px max(24px, calc((100vw - var(--max-width)) / 2)) 74px;
  overflow: hidden;
  background: #f9f4ea;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.8) 44%, rgba(255, 250, 242, 0.24) 74%),
    linear-gradient(0deg, rgba(255, 250, 242, 0.88), rgba(255, 250, 242, 0) 38%);
}

.hero-content {
  width: min(760px, 100%);
  align-self: center;
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.85rem, 7vw, 5.5rem);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.05rem, 4.8vw, 4.2rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: #43524d;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 720;
}

.button:hover,
.button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: #fffaf2;
  box-shadow: 0 10px 24px rgba(35, 49, 45, 0.18);
}

.button.secondary {
  border-color: rgba(35, 49, 45, 0.22);
  background: rgba(255, 255, 255, 0.64);
}

.section-link {
  width: fit-content;
  color: var(--sage-deep);
  font-weight: 780;
}

.scroll-hint {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 26px;
  color: rgba(35, 49, 45, 0.5);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  overflow: visible;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow);
}

.intro-item {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item:hover,
.intro-item:focus-visible {
  background: rgba(138, 181, 157, 0.12);
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(231, 139, 123, 0.16);
  color: #9b4f42;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1;
}

.intro-item strong {
  font-size: 1.05rem;
}

.intro-item span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 108px max(24px, calc((100vw - var(--max-width)) / 2));
}

.section-heading {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.resources-section {
  background:
    linear-gradient(180deg, var(--paper), #f2f8f4 48%, #f7fbf9),
    var(--cloud);
}

.digest-section {
  background:
    linear-gradient(180deg, #f7fbf9, #fff8ee 48%, #fffaf2),
    var(--paper);
}

.projects-section {
  background:
    linear-gradient(180deg, #fffaf2, #f5f7fb 55%, #f8fbf1),
    #f5f7fb;
}

.blog-section {
  background:
    linear-gradient(180deg, #f8fbf1, #fff8f3 52%, #fffaf2),
    var(--paper);
}

.resource-grid,
.project-grid,
.blog-grid {
  display: grid;
  gap: 18px;
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-column,
.project-card,
.blog-card,
.latest-digest,
.digest-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(61, 83, 74, 0.08);
}

.resource-column {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.56);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--column-color), white 12%),
      color-mix(in srgb, var(--column-color), white 48%)
    );
  box-shadow: 0 18px 48px rgba(61, 83, 74, 0.12);
  isolation: isolate;
}

.resource-column::after {
  position: absolute;
  right: -44px;
  bottom: -74px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.38);
  content: attr(data-plot);
  font-family: Georgia, serif;
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
}

.column-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 58px;
}

.column-icon {
  display: grid;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.62);
  color: rgba(35, 49, 45, 0.72);
  font-weight: 800;
  font-family: Georgia, serif;
}

.resource-summary {
  max-width: 430px;
  margin: 0 0 24px;
  color: rgba(35, 49, 45, 0.78);
  font-size: 1.08rem;
}

.resource-cta {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: inline-flex;
  width: fit-content;
  color: rgba(35, 49, 45, 0.74);
  font-size: 0.9rem;
  font-weight: 780;
}

.blog-card:hover,
.blog-card:focus-visible {
  border-color: rgba(75, 128, 101, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

.meta,
.tag-list,
.digest-meta,
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.tag {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(128, 181, 212, 0.16);
  color: #3c6a83;
  font-size: 0.76rem;
  font-weight: 720;
}

.digest-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 18px;
}

.latest-digest {
  position: sticky;
  top: 104px;
  align-self: start;
  min-height: 460px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.92), rgba(255, 255, 255, 0.78)),
    #fff;
}

.latest-digest .digest-date {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(231, 189, 92, 0.24);
  color: #7a5d18;
  font-size: 0.8rem;
  font-weight: 780;
}

.latest-digest h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.latest-digest p {
  color: var(--muted);
}

.digest-points {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.digest-points li {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(35, 49, 45, 0.1);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.digest-points strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.digest-points span {
  color: var(--muted);
  font-size: 0.94rem;
}

.digest-list {
  display: grid;
  gap: 14px;
}

.digest-preview {
  display: grid;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
  list-style: none;
}

.digest-preview li {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid rgba(138, 181, 157, 0.62);
}

.digest-preview strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.digest-preview span {
  color: var(--muted);
  font-size: 0.88rem;
}

.digest-card {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 20px;
}

.digest-card p {
  margin: 0;
  color: var(--muted);
}

.digest-link-button,
.digest-card-link {
  width: fit-content;
  color: var(--sage-deep);
  font-weight: 780;
}

.digest-link-button {
  margin-top: 4px;
}

.digest-meta,
.project-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.filter-bar {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  border: 1px solid rgba(35, 49, 45, 0.16);
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffaf2;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 16px;
  min-height: 520px;
  padding: 20px;
}

.project-art {
  display: grid;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(35, 49, 45, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 32%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, var(--project-color), rgba(255, 255, 255, 0.8));
  color: rgba(35, 49, 45, 0.74);
  font-size: 2.4rem;
  font-weight: 800;
  font-family: Georgia, serif;
}

.project-art.has-image {
  height: 178px;
  padding: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(135deg, rgba(128, 181, 212, 0.64), rgba(255, 250, 242, 0.8));
}

.project-art.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.project-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
}

.project-details {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: auto 1fr;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(35, 49, 45, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.5);
}

.project-details dt {
  color: rgba(35, 49, 45, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
  white-space: nowrap;
}

.project-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
}

.project-link {
  align-self: end;
  width: fit-content;
  color: var(--sage-deep);
  font-weight: 780;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  display: grid;
  gap: 14px;
  min-height: 286px;
  padding: 22px;
}

.construction-card {
  grid-column: 1 / -1;
  min-height: 320px;
  align-content: center;
  background:
    radial-gradient(circle at 84% 28%, rgba(231, 189, 92, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 251, 248, 0.92));
}

.construction-card h3 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.upcoming-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.upcoming-list li {
  padding-left: 14px;
  border-left: 3px solid rgba(138, 181, 157, 0.8);
  color: var(--muted);
}

.blog-date {
  color: #9b4f42;
  font-size: 0.85rem;
  font-weight: 760;
}

.site-footer {
  padding: 82px max(24px, calc((100vw - var(--max-width)) / 2)) 30px;
  border-top: 1px solid rgba(35, 49, 45, 0.1);
  background:
    radial-gradient(circle at 82% 24%, rgba(138, 181, 157, 0.18), transparent 28%),
    linear-gradient(180deg, #fffaf2, #f2f8f4);
  color: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.site-footer .eyebrow {
  color: var(--sage-deep);
}

.site-footer h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
}

.site-footer p {
  max-width: 620px;
  color: var(--muted);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(35, 49, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(61, 83, 74, 0.08);
  font-weight: 740;
}

.social-grid a:hover,
.social-grid a:focus-visible {
  border-color: rgba(75, 128, 101, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.social-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf2;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr);
}

.contact-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  min-height: 104px;
  font-size: 1.08rem;
}

.contact-grid span {
  grid-row: 1 / span 2;
}

.contact-grid strong,
.contact-grid small {
  display: block;
}

.contact-grid strong {
  align-self: end;
}

.contact-grid small {
  grid-column: 2;
  align-self: start;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.copyright {
  margin: 48px 0 0;
  color: rgba(35, 49, 45, 0.55);
  font-size: 0.9rem;
}

.digest-page {
  background:
    linear-gradient(180deg, #f7fbf9 0%, #fffaf2 38%, #f2f8f4 100%),
    var(--paper);
}

.subpage-hero {
  position: relative;
  min-height: 54svh;
  padding: 132px max(24px, calc((100vw - var(--max-width)) / 2)) var(--space-8);
  overflow: hidden;
  background: #f9f4ea;
  isolation: isolate;
}

.subpage-hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.84) 48%, rgba(255, 250, 242, 0.42)),
    linear-gradient(0deg, rgba(247, 251, 249, 0.92), rgba(247, 251, 249, 0) 42%);
}

.subpage-hero-content {
  display: grid;
  gap: var(--space-4);
  width: min(780px, 100%);
}

.subpage-hero h1 {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #43524d;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.digest-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100% - 32px, var(--max-width));
  margin: -24px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(35, 49, 45, 0.12);
  box-shadow: var(--shadow);
}

.digest-stats article {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 250, 242, 0.94);
}

.digest-stats span {
  color: var(--sage-deep);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 820;
  line-height: 1;
}

.digest-stats strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.digest-reader-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(128, 181, 212, 0.14), transparent 28%),
    linear-gradient(180deg, #fffaf2, #f4faf6);
}

.digest-reader {
  display: grid;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.digest-archive-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(61, 83, 74, 0.08);
}

.digest-archive-panel h2 {
  font-size: 1.4rem;
}

.digest-archive-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.digest-archive-list {
  display: grid;
  gap: var(--space-2);
  max-height: calc(100svh - 260px);
  overflow: auto;
  padding-right: 2px;
}

.archive-item {
  display: grid;
  gap: var(--space-1);
  width: 100%;
  padding: var(--space-3);
  border: 1px solid rgba(35, 49, 45, 0.11);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.archive-item:hover,
.archive-item:focus-visible {
  border-color: rgba(75, 128, 101, 0.36);
  background: rgba(255, 255, 255, 0.94);
}

.archive-item.is-active {
  border-color: rgba(75, 128, 101, 0.6);
  background: rgba(138, 181, 157, 0.18);
}

.archive-date {
  color: #9b4f42;
  font-size: 0.82rem;
  font-weight: 780;
}

.archive-item strong {
  font-size: var(--text-md);
  line-height: 1.3;
}

.archive-item small {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 650;
  line-height: 1.45;
}

.digest-detail-panel {
  display: grid;
  gap: var(--space-4);
}

.digest-detail-header,
.digest-empty {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 16%, rgba(231, 189, 92, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(61, 83, 74, 0.08);
}

.digest-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.digest-detail-meta span,
.digest-empty .digest-date {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(231, 189, 92, 0.24);
  color: #7a5d18;
  font-size: 0.8rem;
  font-weight: 780;
}

.digest-detail-header h2,
.digest-empty h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
}

.digest-detail-header p,
.digest-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.digest-toc {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid rgba(35, 49, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 10px 28px rgba(61, 83, 74, 0.06);
}

.toc-label {
  color: var(--sage-deep);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.toc-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 10px;
  border: 1px solid rgba(75, 128, 101, 0.18);
  border-radius: 999px;
  background: rgba(138, 181, 157, 0.12);
  color: rgba(35, 49, 45, 0.8);
  font-size: var(--text-sm);
  font-weight: 720;
}

.toc-list a:hover,
.toc-list a:focus-visible {
  border-color: rgba(75, 128, 101, 0.38);
  background: rgba(138, 181, 157, 0.2);
}

.toc-list small {
  color: rgba(35, 49, 45, 0.5);
  font-size: 0.72rem;
  font-weight: 760;
}

.digest-article {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(61, 83, 74, 0.08);
}

.digest-article-section {
  position: relative;
  scroll-margin-top: 112px;
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(35, 49, 45, 0.1);
}

.digest-article-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.section-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(138, 181, 157, 0.14);
  color: var(--sage-deep);
  font-family: Georgia, serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.article-section-head h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.28;
}

.article-section-summary {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.article-bullet-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0 0 0 1.1rem;
}

.article-bullet-item {
  padding-left: var(--space-2);
  color: var(--sage-deep);
}

.bullet-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.bullet-main strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.story-link {
  flex: 0 0 auto;
  color: var(--sage-deep);
  font-size: var(--text-xs);
  font-weight: 780;
}

.bullet-facts {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.bullet-facts li {
  display: grid;
  grid-template-columns: minmax(78px, auto) minmax(0, 1fr);
  gap: var(--space-2) var(--space-3);
}

.bullet-facts span {
  color: rgba(35, 49, 45, 0.58);
  font-size: var(--text-xs);
  font-weight: 780;
  white-space: nowrap;
}

.bullet-facts p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.58;
}

.digest-source,
.digest-source-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--sage-deep);
  font-size: 0.86rem;
  font-weight: 760;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(128, 181, 212, 0.7);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .main-nav .nav-contact {
    margin-left: 0;
  }

  .intro-strip,
  .project-grid,
  .blog-grid,
  .digest-layout,
  .digest-reader,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .latest-digest,
  .digest-archive-panel {
    position: static;
  }
}

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

@media (max-width: 720px) {
  #resources,
  #digest,
  #digest-reader,
  #projects,
  #blog,
  #contact {
    scroll-margin-top: 0;
  }

  #digest-reader {
    scroll-margin-top: 86px;
  }

  .site-header {
    width: min(100% - 24px, var(--max-width));
    margin-top: 12px;
  }

  .brand span:last-child {
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 82svh;
    padding: 104px 20px 46px;
  }

  .hero-art {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.88) 54%, rgba(255, 250, 242, 0.52)),
      linear-gradient(0deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0) 40%);
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.45rem, 11vw, 3.35rem);
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .button {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .intro-strip,
  .resource-grid,
  .project-grid,
  .blog-grid,
  .digest-layout,
  .digest-stats,
  .digest-reader,
  .footer-inner,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    width: min(100% - 24px, var(--max-width));
    margin-top: 0;
  }

  .intro-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 20px;
  }

  .subpage-hero {
    min-height: 62svh;
    padding: 106px 20px 54px;
  }

  .subpage-hero-art {
    object-position: 66% center;
  }

  .subpage-actions .button {
    width: 100%;
  }

  .digest-stats {
    width: min(100% - 24px, var(--max-width));
    margin-top: 0;
  }

  .digest-archive-list {
    max-height: none;
  }

  .subpage-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.28rem, 11vw, 3.35rem);
  }

  .digest-detail-header,
  .digest-empty,
  .digest-article {
    padding: var(--space-4);
  }

  .digest-article-section {
    gap: var(--space-3);
    padding-bottom: var(--space-5);
  }

  .bullet-facts li {
    grid-template-columns: 1fr;
  }

  .bullet-main {
    align-items: flex-start;
  }

  .resource-column {
    min-height: auto;
    padding-bottom: 28px;
  }

  .resource-cta {
    position: static;
    margin-top: 8px;
  }

  .project-card,
  .blog-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Design polish pass: portfolio garden system */
:root {
  --ink: #1e302b;
  --muted: #63746d;
  --paper: #fffaf2;
  --cloud: #f4faf6;
  --sage: #89b59a;
  --sage-deep: #3f765c;
  --coral: #e58d79;
  --blue: #7eb4d2;
  --yellow: #e7be61;
  --line: rgba(30, 48, 43, 0.13);
  --shadow: 0 18px 44px rgba(55, 77, 69, 0.12);
  --shadow-strong: 0 24px 70px rgba(55, 77, 69, 0.16);
}

body {
  background:
    linear-gradient(180deg, #fffaf2 0%, #f4faf6 42%, #fff8ef 100%),
    var(--paper);
}

.eyebrow,
.scroll-hint {
  letter-spacing: 0;
}

.site-header {
  width: min(100% - 36px, 1220px);
  margin-top: 18px;
  padding: 12px 14px;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 250, 242, 0.84);
  box-shadow: 0 16px 44px rgba(55, 77, 69, 0.12);
}

.brand {
  font-size: 1.02rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #1e302b, #2b4d42);
}

.main-nav a {
  padding-inline: 13px;
  font-weight: 700;
}

.main-nav .nav-contact {
  box-shadow: 0 10px 24px rgba(30, 48, 43, 0.18);
}

.hero {
  min-height: 92svh;
  padding-top: 142px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.99) 0%, rgba(255, 250, 242, 0.9) 36%, rgba(255, 250, 242, 0.48) 68%, rgba(255, 250, 242, 0.2) 100%),
    linear-gradient(0deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.18) 42%, rgba(255, 250, 242, 0.1));
}

.hero-content {
  position: relative;
  width: min(810px, 100%);
  padding-top: 0;
}

h1 {
  max-width: 11.5ch;
  font-size: 5.2rem;
  line-height: 1.05;
}

h2 {
  font-size: 3.45rem;
  line-height: 1.06;
}

.hero-copy {
  max-width: 680px;
  margin-top: 24px;
  color: #41564f;
  font-size: 1.16rem;
  line-height: 1.78;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(30, 48, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(30, 48, 43, 0.78);
  font-size: 0.88rem;
  font-weight: 760;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  min-height: 46px;
  padding-inline: 20px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(145deg, #1e302b, #2f594b);
  box-shadow: 0 14px 30px rgba(30, 48, 43, 0.2);
}

.button.secondary {
  border-color: rgba(30, 48, 43, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button:hover,
.button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.project-card:hover,
.resource-column:hover,
.digest-card:hover {
  transform: translateY(-3px);
}

.intro-strip {
  width: min(100% - 36px, 1220px);
  margin-top: -48px;
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow-strong);
}

.intro-item {
  min-height: 142px;
  padding: 24px;
}

.intro-item strong {
  font-size: 1.16rem;
}

.intro-item span:last-child {
  max-width: 17rem;
  color: rgba(30, 48, 43, 0.62);
  line-height: 1.48;
}

.intro-kicker {
  width: 38px;
  height: 38px;
  background: rgba(231, 141, 121, 0.18);
  color: #9a5144;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-heading {
  position: relative;
  width: min(830px, 100%);
  margin-bottom: 42px;
  padding-left: 18px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 6px;
  width: 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--sage), var(--blue), var(--coral));
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: #65756e;
  font-size: 1.05rem;
  line-height: 1.76;
}

.resources-section {
  background: linear-gradient(180deg, #fffaf2, #f2faf6 50%, #f8fbf6);
}

.digest-section {
  background: linear-gradient(180deg, #f8fbf6, #fff8ee 52%, #fffaf2);
}

.projects-section {
  background: linear-gradient(180deg, #fffaf2, #f4f8fb 48%, #f8fbf1);
}

.blog-section {
  background: linear-gradient(180deg, #f8fbf1, #fff8f2 54%, #fffaf2);
}

.resource-grid,
.project-grid,
.digest-layout,
.blog-grid {
  gap: 20px;
}

.resource-column,
.project-card,
.blog-card,
.latest-digest,
.digest-card {
  border-color: rgba(30, 48, 43, 0.11);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(55, 77, 69, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resource-column:hover,
.project-card:hover,
.digest-card:hover {
  border-color: rgba(63, 118, 92, 0.28);
  box-shadow: var(--shadow-strong);
}

.resource-column {
  min-height: 350px;
  padding: 30px;
}

.column-top {
  margin-bottom: 52px;
}

.column-icon {
  width: 68px;
  height: 68px;
  background: rgba(255, 250, 242, 0.7);
}

.resource-summary {
  color: rgba(30, 48, 43, 0.76);
  line-height: 1.66;
}

.tag {
  background: rgba(128, 181, 212, 0.18);
  color: #356a84;
}

.latest-digest {
  min-height: 500px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(255, 255, 255, 0.78));
}

.latest-digest h3 {
  font-size: 2.28rem;
  line-height: 1.12;
}

.digest-points li {
  background: rgba(255, 255, 255, 0.68);
}

.digest-card {
  padding: 22px;
}

.digest-card h3 {
  line-height: 1.25;
}

.filter-bar {
  gap: 9px;
  margin-bottom: 26px;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 13px;
  border-color: rgba(30, 48, 43, 0.13);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  min-height: 510px;
  padding: 22px;
  align-content: start;
}

.project-card.is-featured {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(232, 244, 250, 0.84));
}

.project-card.is-featured .project-art.has-image {
  height: 260px;
}

.project-art {
  height: 126px;
}

.project-art.has-image {
  height: 210px;
  background: linear-gradient(135deg, rgba(126, 180, 210, 0.5), rgba(255, 250, 242, 0.84));
}

.project-card h3 {
  font-size: 1.38rem;
}

.project-details {
  background: rgba(255, 250, 242, 0.58);
}

.project-link,
.section-link,
.digest-link-button,
.digest-card-link,
.resource-cta {
  color: var(--sage-deep);
  font-weight: 820;
}

.construction-card {
  min-height: 300px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 246, 0.94));
}

.construction-card h3 {
  font-size: 2.7rem;
  line-height: 1.12;
}

.site-footer {
  padding-top: 92px;
  background: linear-gradient(180deg, #fffaf2, #eef7f2);
}

.footer-inner {
  align-items: stretch;
}

.site-footer h2 {
  max-width: 10ch;
  font-size: 3.35rem;
  line-height: 1.08;
}

.contact-grid a {
  min-height: 126px;
  background: rgba(255, 255, 255, 0.78);
}

.copyright {
  margin-top: 56px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.9rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.is-featured {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, var(--max-width));
    margin-top: 12px;
  }

  .hero {
    min-height: 86svh;
    padding-top: 110px;
  }

  h1 {
    max-width: 9.5ch;
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-notes {
    gap: 8px;
  }

  .hero-note {
    min-height: 32px;
    font-size: 0.82rem;
  }

  .intro-strip {
    width: min(100% - 24px, var(--max-width));
    margin-top: 0;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    padding-left: 14px;
  }

  .project-grid,
  .project-card.is-featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .project-card.is-featured .project-art.has-image,
  .project-art.has-image {
    height: 220px;
  }

  .latest-digest h3,
  .construction-card h3,
  .site-footer h2 {
    font-size: 2.1rem;
  }
}


/* Digest reader polish pass */
.digest-subpage-hero .subpage-hero-content {
  width: min(860px, 100%);
}

.digest-subpage-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.digest-stats {
  margin-top: -34px;
}

.digest-stats article {
  min-height: 112px;
  padding: 22px 26px;
}

.digest-stats span {
  color: var(--ink);
}

.digest-reader {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 26px;
}

.digest-archive-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.archive-item {
  padding: 14px;
  background: rgba(255, 250, 242, 0.78);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.archive-item:hover,
.archive-item:focus-visible {
  transform: translateY(-2px);
}

.archive-item.is-active {
  background: linear-gradient(135deg, rgba(138, 181, 157, 0.22), rgba(128, 181, 212, 0.18));
}

.digest-detail-header {
  padding: 30px;
  background:
    radial-gradient(circle at 88% 10%, rgba(231, 190, 97, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 248, 0.86));
}

.digest-detail-header h2 {
  max-width: 16ch;
  line-height: 1.12;
}

.digest-reading-note {
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(126, 180, 210, 0.24);
  border-radius: 8px;
  background: rgba(128, 181, 212, 0.12);
  color: rgba(30, 48, 43, 0.72) !important;
  font-size: 0.92rem !important;
}

.digest-toc {
  padding: 18px;
  background: rgba(255, 250, 242, 0.82);
}

.toc-label {
  letter-spacing: 0;
}

.toc-list a {
  min-height: 36px;
  background: rgba(255, 255, 255, 0.66);
}

.digest-article {
  gap: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.86);
}

.digest-article-section {
  gap: 18px;
  padding: 0 0 30px;
}

.article-section-head {
  align-items: center;
}

.section-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, rgba(138, 181, 157, 0.18), rgba(128, 181, 212, 0.16));
}

.article-section-head h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.article-section-summary {
  max-width: 760px;
  padding-left: 54px;
  color: rgba(30, 48, 43, 0.62);
  font-size: 0.96rem;
  line-height: 1.7;
}

.article-bullet-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-bullet-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(30, 48, 43, 0.1);
  border-left: 4px solid rgba(126, 180, 210, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 248, 0.78));
  color: var(--ink);
}

.bullet-main {
  align-items: flex-start;
}

.bullet-main strong {
  font-size: 1.03rem;
  line-height: 1.58;
}

.story-link,
.digest-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(138, 181, 157, 0.14);
  white-space: nowrap;
}

.bullet-facts {
  gap: 8px;
}

.bullet-facts li {
  grid-template-columns: 90px minmax(0, 1fr);
}

.bullet-facts span {
  color: rgba(30, 48, 43, 0.52);
  letter-spacing: 0;
}

.bullet-facts p {
  color: rgba(30, 48, 43, 0.72);
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .digest-subpage-hero h1 {
    font-size: 2.75rem;
  }

  .digest-reader {
    gap: 18px;
  }

  .digest-detail-header,
  .digest-article {
    padding: 18px;
  }

  .article-section-summary {
    padding-left: 0;
  }

  .article-section-head {
    grid-template-columns: 1fr;
  }

  .bullet-main {
    display: grid;
  }

  .bullet-facts li {
    grid-template-columns: 1fr;
  }
}


/* Hero title compacting pass */
#hero-title {
  max-width: min(760px, 100%);
  font-size: clamp(3.55rem, 6.2vw, 4.72rem);
  line-height: 1.04;
}

#hero-title span:nth-child(2) {
  white-space: nowrap;
}

@media (max-width: 860px) {
  #hero-title {
    max-width: 10.5ch;
    font-size: clamp(2.85rem, 10vw, 3.5rem);
  }

  #hero-title span:nth-child(2) {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  #hero-title {
    max-width: 9.5ch;
    font-size: clamp(2.4rem, 10vw, 3.05rem);
  }
}


/* Project card Lele cover overlay */
.project-art.has-image {
  position: relative;
}

.project-art.has-image img {
  object-fit: cover;
}

.project-art-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: min(70%, 360px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(6, 25, 45, 0.72);
  color: #fffaf2;
  box-shadow: 0 12px 28px rgba(6, 25, 45, 0.18);
  backdrop-filter: blur(10px);
}

.project-art-overlay strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.project-art-overlay span {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.86rem;
  font-weight: 720;
}

.project-card.is-featured .project-art-overlay {
  left: 22px;
  bottom: 20px;
  max-width: min(64%, 420px);
  padding: 14px 16px;
}

@media (max-width: 720px) {
  .project-art-overlay,
  .project-card.is-featured .project-art-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
}


/* Project homepage card simplification */
.project-grid {
  align-items: start;
}

.project-card,
.project-card.is-featured {
  min-height: auto;
}

.project-card .tag-list {
  margin-top: 2px;
}

.project-link {
  margin-top: 4px;
}


/* Homepage project card structure lock */
.projects-section .project-details {
  display: none;
}

.projects-section .project-card {
  gap: 14px;
}

.projects-section .project-card > p {
  max-width: 42rem;
  line-height: 1.62;
}

.projects-section .project-card.is-featured > p {
  max-width: 46rem;
}


/* Project card clickable title */
.project-art-link {
  display: block;
  border-radius: 8px;
}

.project-art-link:hover .project-art,
.project-art-link:focus-visible .project-art {
  border-color: rgba(63, 118, 92, 0.34);
}

.project-title-link {
  color: inherit;
  text-decoration: none;
}

.project-title-link:hover,
.project-title-link:focus-visible {
  color: var(--sage-deep);
}

/* Project image click fallback */
.project-art.has-image[data-href] {
  cursor: pointer;
}
