@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Hanken+Grotesk:wght@400;500;600;700;800&family=Young+Serif&display=swap');

:root {
  --ink: #2b1822;
  --ink-soft: #563b49;
  --plum: #43182d;
  --plum-2: #5b203b;
  --ivory: #f8ecdf;
  --cream: #fff8f1;
  --paper: #fffaf5;
  --pink: #ef78a7;
  --pink-hot: #f04f91;
  --pink-dark: #b63f70;
  --blush: #f5c8d9;
  --blush-2: #f9dde8;
  --rosewood: #7b304f;
  --line: #d8b5c4;
  --line-dark: #7e465d;
  --shadow: 0 22px 60px rgba(71, 24, 46, .11);
  --edge: clamp(1.15rem, 3.6vw, 3.5rem);
  --head: 'Young Serif', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body);
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image: url('/assets/textures/paper-tooth.jpg');
  background-size: 380px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wrap {
  width: min(1160px, calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(67, 24, 45, .97);
  color: #fff7f2;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url('/assets/textures/paper-tooth.jpg');
  background-size: 330px;
  mix-blend-mode: soft-light;
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: var(--plum);
  border-radius: 7px 12px 7px 12px;
  transform: rotate(-2deg);
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: inset 0 -2px 0 rgba(67,24,45,.18);
}
.brand-text {
  font-family: var(--head);
  font-size: 1.12rem;
  letter-spacing: -.02em;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #faeaf0;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  background: var(--pink);
  color: var(--plum);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/textures/crumpled-paper.jpg');
  background-size: cover;
  background-position: center;
  opacity: .48;
  mix-blend-mode: multiply;
}
.hero::after {
  content: '';
  position: absolute;
  width: min(41vw, 650px);
  aspect-ratio: 1;
  right: -12vw;
  top: -19vw;
  border-radius: 50%;
  background: var(--blush);
  opacity: .75;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(70px, 9vw, 128px) 0 clamp(64px, 8vw, 105px);
}
.eyebrow,
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--pink-dark);
  background: var(--blush-2);
  color: var(--rosewood);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 999px;
}
.hero h1,
.page-hero h1 {
  margin: 20px 0 0;
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .91;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(4rem, 8.5vw, 8.8rem); max-width: 850px; }
.page-hero h1 { font-size: clamp(3.4rem, 7vw, 7rem); }
.hero-copy,
.page-dek {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
}
.hero-note {
  border-left: 4px solid var(--pink);
  padding: 4px 0 4px 22px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.hero-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.04rem;
}
.hand-note {
  margin-top: 24px;
  font-family: var(--hand);
  font-size: 1.55rem;
  color: var(--pink-dark);
  transform: rotate(-1deg);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 112px) 0 clamp(54px, 7vw, 86px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/textures/paper-fleck.jpg');
  background-size: 420px;
  opacity: .38;
  mix-blend-mode: multiply;
}
.page-hero .wrap { position: relative; z-index: 1; }

.section { padding: clamp(58px, 7vw, 96px) 0; }
.section.dark {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: #fff7f2;
}
.section.dark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url('/assets/textures/paper-tooth.jpg');
  background-size: 360px;
  mix-blend-mode: soft-light;
}
.section.dark > .wrap { position: relative; z-index: 1; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
  margin-bottom: 32px;
}
.section-head h2,
.section h2,
.rich-copy h2 {
  margin: 0;
  font-family: var(--head);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}
.section-head h2,
.section > .wrap > h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.section-note {
  max-width: 520px;
  color: var(--ink-soft);
  margin: 0;
}
.dark .section-note { color: #efd7e0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--pink);
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--pink-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--pink-dark); }
.btn.secondary {
  background: transparent;
  color: var(--pink-dark);
  border-color: var(--pink-dark);
  box-shadow: none;
}
.dark .btn.secondary { color: #ffd8e7; border-color: #c97698; }

.home-layout {
  width: 100%;
  margin: 0;
  display: block;
}
.home-main { min-width: 0; width: 100%; }
.ad-rail {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
  padding: 32px 0;
}
.ad-rail a {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #bd8ca0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(75,25,47,.12);
}
.ad-rail img { width: 100%; height: auto; }
.ad-rail-label {
  display: block;
  padding: 7px 8px 6px;
  background: var(--plum);
  color: #fff5f8;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.feature-grid,
.project-grid,
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.feature-card,
.project-card,
.hobby-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.feature-card::before,
.project-card::before,
.hobby-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('/assets/textures/paper-fleck.jpg');
  background-size: 330px;
  opacity: .25;
  mix-blend-mode: multiply;
}
.feature-card > *,
.project-card > *,
.hobby-card > * { position: relative; z-index: 1; }
.feature-card {
  grid-column: span 4;
  min-height: 275px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}
.feature-card:hover,
.project-card:hover { transform: translateY(-3px); }
.feature-card,
.project-card { transition: transform .16s ease, border-color .16s ease; }
.feature-card:hover,
.project-card:hover { border-color: var(--pink-dark); }
.card-number {
  font-family: var(--hand);
  color: var(--pink-dark);
  font-size: 1.45rem;
}
.feature-card h3,
.project-card h2,
.hobby-card h2 {
  margin: 14px 0 10px;
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}
.feature-card h3 { font-size: 2rem; }
.feature-card p,
.project-card p,
.hobby-card p { color: var(--ink-soft); }
.card-link { font-weight: 800; color: var(--pink-dark); }

.project-grid { align-items: stretch; }
.project-card {
  grid-column: span 6;
  padding: 28px;
  min-height: 290px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-card h2 { font-size: clamp(2rem, 3vw, 3rem); }
.project-card .meta { color: var(--pink-dark); font-size: .78rem; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.project-card .bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 42px; font-weight: 800; }
.project-card .arrow { font-size: 1.5rem; }

.hobby-grid { margin-top: 32px; }
.hobby-card { grid-column: span 6; padding: 28px; }
.hobby-card h2 { font-size: 2.35rem; }

.gallery-shell {
  width: min(1320px, calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 82px) 0 clamp(70px, 8vw, 120px);
}
.gallery {
  display: grid;
  gap: clamp(28px, 4vw, 58px);
}
.gallery-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 22px);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background-image: url('/assets/textures/crumpled-paper.jpg');
  background-size: cover;
  opacity: .22;
  mix-blend-mode: multiply;
}
.gallery-item img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 8px;
  background: white;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 0 2px;
  color: var(--ink-soft);
  font-size: .82rem;
}
.gallery-caption strong { color: var(--ink); }
.empty-state {
  padding: 64px 28px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.32);
  text-align: center;
  color: var(--ink-soft);
}

/* ADS I LOVE: compact three-across archive on desktop. */
.ads-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
}
.ads-gallery .gallery-item {
  padding: clamp(8px, .8vw, 12px);
}
.ads-gallery .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ads-gallery .gallery-caption {
  display: none;
}

@media (max-width: 1050px) {
  .ads-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .ads-gallery { grid-template-columns: 1fr; }
}

.rich-copy {
  width: min(850px, calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
  padding: clamp(55px, 7vw, 90px) 0 clamp(80px, 9vw, 130px);
}
.rich-copy h2 { margin-top: 2.1em; font-size: clamp(2rem, 4vw, 3.2rem); }
.rich-copy h3 { margin-top: 1.8em; font-size: 1.4rem; }
.rich-copy p,
.rich-copy li { font-size: 1.06rem; color: var(--ink-soft); }
.rich-copy p { margin: 1.05em 0; }
.rich-copy ul { padding-left: 1.2em; }
.rich-copy a { color: var(--pink-dark); font-weight: 800; }
.log-entry {
  margin: 34px 0;
  padding: 26px 28px;
  border-left: 5px solid var(--pink);
  background: var(--paper);
  box-shadow: var(--shadow);
  position: relative;
}
.log-entry::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url('/assets/textures/paper-fleck.jpg');
  background-size: 300px;
}
.log-entry > * { position: relative; z-index: 1; }
.log-date { color: var(--pink-dark); font-size: .75rem; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }

.project-detail-hero {
  background: var(--plum);
  color: #fff7f2;
  padding: clamp(68px, 8vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.project-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/textures/paper-mask.jpg');
  background-size: cover;
  opacity: .17;
  mix-blend-mode: screen;
}
.project-detail-hero .wrap { position: relative; z-index: 1; }
.project-detail-hero h1 {
  max-width: 880px;
  margin: 16px 0 18px;
  font-family: var(--head);
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.05em;
}
.project-detail-hero p { max-width: 720px; color: #f1d9e3; font-size: 1.12rem; }
.project-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.project-actions .btn.secondary { color: #ffe4ee; border-color: #d78aaa; }

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: #edd7df;
  border-top: 1px solid #6a3349;
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/textures/paper-tooth.jpg');
  background-size: 380px;
  opacity: .14;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: #ffe5ef; text-decoration: none; font-size: .88rem; font-weight: 700; }

@media (max-width: 1500px) {
  .home-layout { display: block; width: 100%; }
  .ad-rail { display: none; }
}
@media (max-width: 850px) {
  .nav-shell { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px 0 12px; }
  .nav-links { margin-left: 0; justify-content: flex-start; gap: 4px; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav-links a { flex: 0 0 auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-note { border-left: 0; border-top: 3px solid var(--pink); padding: 18px 0 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .feature-card { grid-column: span 12; min-height: 220px; }
  .project-card, .hobby-card { grid-column: span 12; }
}
@media (max-width: 540px) {
  :root { --edge: 1rem; }
  .brand-text { font-size: 1rem; }
  .hero h1 { font-size: clamp(3.55rem, 18vw, 5.4rem); }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .feature-card, .project-card, .hobby-card { padding: 22px; }
  .gallery-shell { width: calc(100% - 24px); }
  .gallery-item { padding: 9px; border-radius: 10px; }
  .gallery-caption { display: block; }
}


/* v2.3 — tighter home hero + shared 3-column image galleries + lightbox */
@media (min-width: 851px) {
  .hero-inner {
    min-height: calc(100svh - 76px);
    align-items: center;
    padding: clamp(38px, 5.5vh, 66px) 0;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 5.5vw, 5.8rem);
    max-width: 790px;
    line-height: .93;
  }
  .hero-copy { margin-top: 18px; }
  .hand-note { margin-top: 16px; }
}

.media-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
}
.media-gallery .gallery-item {
  padding: clamp(8px, .8vw, 12px);
}
.media-gallery .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.media-gallery .gallery-caption { display: none; }
.gallery-expandable {
  cursor: zoom-in;
  transition: transform .16s ease, filter .16s ease;
}
.gallery-expandable:hover,
.gallery-expandable:focus-visible {
  transform: translateY(-2px);
  filter: contrast(1.02);
  outline: 3px solid rgba(240, 79, 145, .35);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(35, 13, 25, .88);
  backdrop-filter: blur(5px);
}
.lightbox.is-open { display: grid; }
.lightbox-panel {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - clamp(36px, 8vw, 96px));
  max-height: calc(100vh - clamp(36px, 8vw, 96px));
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(67,24,45,.94);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0,0,0,.25);
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--pink);
  color: var(--plum);
  outline: none;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 1050px) {
  .media-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .media-gallery { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .lightbox-image {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .lightbox-close { top: 8px; right: 8px; }
}

@media (max-width: 850px) {
  .hero-inner {
    padding: 40px 0 48px;
  }
  .hero h1 {
    font-size: clamp(3.05rem, 11vw, 4.6rem);
    line-height: .94;
  }
  .hero-copy { margin-top: 16px; }
  .hand-note { margin-top: 14px; }
}


/* v2.5 — home badge directory and Images I Love */
.home-hub { min-height: 100vh; background: #f8ecdf; }
.home-hub::after { opacity: .13; }
.hub-main {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 75px) 24px 70px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hub-intro { text-align: center; padding-bottom: 34px; }
.hub-signet {
  margin: 0 0 13px;
  color: var(--pink-dark);
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 800;
}
.hub-signet span { padding: 0 8px; font-size: .9rem; }
.hub-intro h1 {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.hub-badges {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 31px);
}
.hub-badge {
  --icon-paper: #fff9f0;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  width: clamp(235px, 75vw, 320px);
  aspect-ratio: 1 / 1;
  padding: 24px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--plum);
  border-radius: 23px;
  color: var(--plum);
  box-shadow: 7px 8px 0 var(--plum), 0 20px 40px rgba(70, 25, 45, .1);
  transition: transform .16s ease, box-shadow .16s ease;
}
.hub-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/assets/textures/paper-fleck.jpg');
  background-size: 310px;
  opacity: .33;
  mix-blend-mode: multiply;
}
.hub-badge:hover, .hub-badge:focus-visible {
  transform: translate(-3px,-3px);
  box-shadow: 10px 11px 0 var(--plum), 0 25px 45px rgba(70,25,45,.14);
  outline: 0;
}
.hub-badge:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: 11px; }
.hub-icon { width: 116px; max-width: 48%; height: 116px; display: grid; place-items: center; }
.hub-icon svg { width: 100%; height: 100%; }
.hub-label { margin-top: 14px; font-family: var(--head); font-size: clamp(1.55rem, 5vw, 1.9rem); letter-spacing: -.035em; line-height: 1.1; }
.hub-subtitle { margin-top: 10px; font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.hub-arrow { position: absolute; top: 16px; right: 22px; font-size: 1.5rem; font-weight: 800; }
.badge-gencon { background: #f5d5de; }
.badge-images { background: #fff8f1; }
.badge-foundry { background: #e8ca9e; }
.hub-footer { color: var(--rosewood); text-align: center; padding: 0 24px 30px; font-size: .8rem; }

.images-hero { padding: clamp(48px,6vw,76px) 0 clamp(40px,5vw,64px); }
.images-hero h1 { font-size: clamp(3.2rem,7vw,6rem); }
.images-gallery-shell { padding-top: clamp(30px,4vw,54px); }
.images-gallery { align-items: start; }
.images-gallery .image-collection-item { padding: clamp(8px,.8vw,12px); }
.collection-image-frame { position: relative; overflow: hidden; border-radius: 8px; }
.collection-image-frame img { border-radius: 8px; }
.collection-category {
  position: absolute;
  top: 11px; left: 11px;
  z-index: 3;
  display: inline-block;
  max-width: calc(100% - 22px);
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(67,24,45,.91);
  color: #fffaf4;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
}
@media (prefers-reduced-motion: reduce) {
  .hub-badge, .gallery-expandable { transition: none; }
}
@media (max-width: 540px) {
  .hub-intro { padding-bottom: 28px; }
  .hub-badge { width: min(100%, 290px); }
  .hub-icon { height: 105px; width: 105px; }
  .hub-label { font-size: 1.66rem; }
  .collection-category { top: 9px; left: 9px; }
}
