.asg-fresh-works {
  --asg-gold: #c5ad61;
  --asg-gold-light: #e1c469;
  --asg-panel: #2b2b2b;
  position: relative;
  overflow: hidden;
  background: #222;
  color: #fff;
  border-top: 1px solid rgba(197, 173, 97, 0.16);
  border-bottom: 1px solid rgba(197, 173, 97, 0.16);
  content-visibility: auto;
  contain-intrinsic-size: 950px;
}

.asg-fresh-works::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 55%;
  width: 620px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(197, 173, 97, 0.11), transparent 70%);
}

.asg-fresh-works__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.asg-fresh-works__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.asg-fresh-works__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--asg-gold);
  font: 700 12px/1.2 Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asg-fresh-works__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.asg-fresh-works h2 {
  max-width: 720px;
  margin: 0;
  font: 700 clamp(34px, 4.1vw, 58px)/0.98 Arial, sans-serif;
  letter-spacing: -0.045em;
}

.asg-fresh-works__lead {
  margin: 0;
  color: #bdbdbd;
  font: 400 17px/1.5 Arial, sans-serif;
}

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

.asg-fresh-works__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(197, 173, 97, 0.2);
  border-radius: 22px;
  background: var(--asg-panel);
  color: inherit;
  cursor: zoom-in;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.asg-fresh-works__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.asg-fresh-works__item:nth-child(6) {
  grid-column: span 2;
}

.asg-fresh-works__item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.48));
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.asg-fresh-works__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.asg-fresh-works__item:hover img {
  transform: scale(1.035);
}

.asg-fresh-works__item:hover::after {
  opacity: 0.45;
}

.asg-fresh-works__item:focus-visible {
  outline: 2px solid var(--asg-gold-light);
  outline-offset: 3px;
}

.asg-fresh-works__badge,
.asg-fresh-works__zoom {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.asg-fresh-works__badge {
  top: 16px;
  left: 16px;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(225, 196, 105, 0.55);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.72);
  color: #f0d77f;
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asg-fresh-works__zoom {
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.65);
}

.asg-fresh-works__zoom svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.asg-fresh-works__archive-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  color: #8f8f8f;
  font: 400 14px/1.45 Arial, sans-serif;
}

.asg-fresh-works__archive-note::before {
  content: "";
  flex: 0 0 36px;
  height: 1px;
  background: rgba(197, 173, 97, 0.45);
}

.asg-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 30px;
  visibility: hidden;
  opacity: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.asg-photo-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.asg-photo-modal__figure {
  display: grid;
  place-items: center;
  width: min(1180px, 100%);
  height: min(86vh, 860px);
  margin: 0;
}

.asg-photo-modal__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(197, 173, 97, 0.28);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.asg-photo-modal__close,
.asg-photo-modal__arrow {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(32, 32, 32, 0.82);
  color: #fff;
  cursor: pointer;
}

.asg-photo-modal__close {
  top: 22px;
  right: 22px;
}

.asg-photo-modal__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.asg-photo-modal__arrow--prev { left: 22px; }
.asg-photo-modal__arrow--next { right: 22px; }

.asg-photo-modal__close svg,
.asg-photo-modal__arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.asg-photo-modal__close:focus-visible,
.asg-photo-modal__arrow:focus-visible {
  outline: 2px solid var(--asg-gold-light, #e1c469);
  outline-offset: 3px;
}

body.asg-photo-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 959px) {
  .asg-fresh-works__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .asg-fresh-works__lead {
    max-width: 620px;
  }

  .asg-fresh-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .asg-fresh-works__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .asg-fresh-works__item:nth-child(6) {
    grid-column: span 1;
  }
}

@media screen and (max-width: 639px) {
  .asg-fresh-works__inner {
    width: calc(100% - 36px);
    padding: 52px 0 58px;
  }

  .asg-fresh-works h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .asg-fresh-works__lead {
    font-size: 15px;
  }

  .asg-fresh-works__grid {
    grid-auto-rows: 170px;
    gap: 10px;
  }

  .asg-fresh-works__item,
  .asg-fresh-works__item:first-child {
    border-radius: 16px;
  }

  .asg-fresh-works__item:first-child {
    grid-row: span 2;
  }

  .asg-fresh-works__item:nth-child(6) {
    grid-column: span 2;
  }

  .asg-fresh-works__badge {
    top: 11px;
    left: 11px;
  }

  .asg-fresh-works__zoom {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
  }

  .asg-photo-modal {
    padding: 16px;
  }

  .asg-photo-modal__figure {
    height: 82vh;
  }

  .asg-photo-modal__close,
  .asg-photo-modal__arrow {
    width: 44px;
    height: 44px;
  }

  .asg-photo-modal__close {
    top: 14px;
    right: 14px;
  }

  .asg-photo-modal__arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .asg-photo-modal__arrow--prev { left: calc(50% - 54px); }
  .asg-photo-modal__arrow--next { right: calc(50% - 54px); }
}

@media (prefers-reduced-motion: reduce) {
  .asg-fresh-works__item img,
  .asg-photo-modal {
    transition: none;
  }
}
