/* ==========================================================================
   PORTFOLIO — page-owned layout

   1. Hero filmstrip
   2. Hero responsive frame
   3. Hero page introduction
   4. Signature and collection sections
   5. Feature cards
   6. Pointer interaction
   7. Feature-grid tablet composition
   8. Feature-grid mobile composition
   9. Press section
   10. Client review
   11. Experience callout
   12. Service video band
   13. Lower-section laptop adjustments
   14. Lower-section compact adjustments
   15. Lower-section tablet adjustments
   16. Lower-section mobile adjustments
   17. Reduced motion
   ========================================================================== */

/* 1. Hero filmstrip ------------------------------------------------------- */
.grp-portfolio-hero {
  overflow: hidden;
  padding: 16px 0 82px;
  background: #fbfbfb;
  text-align: center;
}

.grp-portfolio-carousel {
  --carousel-card-width: 330px;
  --carousel-center-width: 370px;
  --carousel-gap: 28px;
  width: 100%;
  margin: 0 auto;
}

.grp-portfolio-filmstrip {
  width: 100%;
  height: 550px;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.grp-portfolio-track {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  height: 550px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.grp-portfolio-frame {
  flex: 0 0 var(--carousel-card-width);
  width: var(--carousel-card-width);
  height: 495px;
  margin: 0;
  overflow: hidden;
  background: #eeeeee;
  transition:
    width 750ms cubic-bezier(0.22, 0.61, 0.36, 1),
    height 750ms cubic-bezier(0.22, 0.61, 0.36, 1),
    flex-basis 750ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.grp-portfolio-frame.is-centered {
  flex-basis: var(--carousel-center-width);
  width: var(--carousel-center-width);
  height: 550px;
}

.grp-portfolio-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.grp-portfolio-carousel.is-dragging .grp-portfolio-filmstrip {
  cursor: grabbing;
}

.grp-portfolio-carousel.is-dragging .grp-portfolio-frame {
  transition: none;
}

.grp-portfolio-carousel.is-resetting .grp-portfolio-frame {
  transition: none;
}

/* 2. Hero responsive frame ---------------------------------------------- */
@media (min-width: 901px) {
  .grp-portfolio-hero {
    border-top: 1px solid var(--grp-gold);
  }
}

@media (max-width: 768px) {
  .grp-portfolio-hero {
    padding: 0 0 66px;
  }
}

/* 3. Hero page introduction --------------------------------------------- */
.grp-page-label {
  display: block;
  margin: 42px 0 14px;
}
.grp-page-label::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--grp-gold);
  margin: 14px auto 0;
}
.grp-page-title {
  font-family: var(--font-silk-light);
  font-size: 58px;
  font-weight: 400;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  color: #000000;
}
.grp-portfolio-hero-copy {
  max-width: 680px;
  margin: 28px auto 0;
}

/* 4. Signature and collection sections ---------------------------------- */
.grp-signature-weddings {
  padding: 72px 40px 96px;
  background: #ffffff;
}
.grp-signature-weddings__inner {
  width: 100%;
  max-width: 1202px;
  margin: 0 auto;
}
.grp-signature-weddings__ornament {
  width: 69px;
  height: 69px;
  object-fit: contain;
  transform: rotate(90deg);
}
.grp-signature-weddings__eyebrow {
  margin: 39px 0 0;
}
.grp-signature-weddings__title {
  margin: 10px 0 0;
  font-family: var(--font-silk-light);
  font-size: 55px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}
.grp-portfolio-collection {
  padding: 80px 40px 166px;
  background: #ffffff;
}
.grp-portfolio-collection--editorial {
  background: var(--grp-bg-off);
}
.grp-portfolio-collection__inner {
  width: 100%;
  max-width: 1202px;
  margin: 0 auto;
}
.grp-portfolio-collection__eyebrow {
  margin: 0;
}
.grp-portfolio-collection__title {
  margin: 10px 0 0;
  font-family: var(--font-silk-light);
  font-size: 55px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}
.grp-portfolio-collection .grp-feature-grid { margin-top: 130px; }

/* 5. Feature cards ------------------------------------------------------- */
.grp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 22px;
  margin-top: 72px;
}
.grp-feature-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eeeeee;
  color: #ffffff;
  text-decoration: none;
}
.grp-feature-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.grp-feature-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  color: #373535;
  background: rgba(246, 245, 241, 0.88);
  opacity: 0;
  transition: opacity 450ms ease;
}
.grp-feature-card__title {
  font-family: var(--font-silk-light);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.grp-feature-card__place {
  display: flex;
  flex-direction: column;
  min-height: 36px;
  margin-top: 2px;
  font-family: var(--font-silk-light);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.grp-feature-card__rule {
  width: 126px;
  height: 1px;
  margin-top: 30px;
  background: var(--grp-gold);
}
.grp-feature-card__action {
  margin-top: 18px;
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.grp-feature-card:focus-visible {
  outline: 2px solid #0b3850;
  outline-offset: 4px;
}

/* 6. Pointer interaction ------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .grp-feature-card:hover .grp-feature-card__overlay,
  .grp-feature-card:focus-visible .grp-feature-card__overlay { opacity: 1; }
  .grp-feature-card:hover .grp-feature-card__image,
  .grp-feature-card:focus-visible .grp-feature-card__image { transform: scale(1.025); }
}

/* 7. Feature-grid tablet composition ------------------------------------ */
@media (max-width: 1100px) {
  .grp-signature-weddings,
  .grp-portfolio-collection {
    padding-right: 32px;
    padding-left: 32px;
  }
  .grp-signature-weddings__inner,
  .grp-portfolio-collection__inner { max-width: 794px; }
  .grp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .grp-feature-grid--editorial .grp-feature-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
}

/* 8. Feature-grid mobile composition ------------------------------------ */
@media (max-width: 600px) {
  .grp-signature-weddings { padding: 60px 20px 76px; }
  .grp-portfolio-collection { padding: 60px 20px 76px; }
  .grp-signature-weddings__ornament {
    width: 58px;
    height: 58px;
  }
  .grp-signature-weddings__eyebrow {
    margin-top: 30px;
  }
  .grp-signature-weddings__title {
    letter-spacing: 0.12em;
  }
  .grp-portfolio-collection__title { letter-spacing: 0.12em; }
  .grp-portfolio-collection--engagements .grp-portfolio-collection__title {
    font-size: clamp(34px, 10vw, 40px);
    letter-spacing: 0.08em;
  }
  .grp-portfolio-collection .grp-feature-grid { margin-top: 52px; }
  .grp-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 52px;
  }
  .grp-feature-grid--editorial .grp-feature-card:last-child {
    grid-column: auto;
    width: 100%;
  }
}

/* 9. Press section ------------------------------------------------------- */
.grp-portfolio-heading {
  font-family: var(--font-silk-light);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
}
.grp-portfolio-press-band {
  background: var(--grp-bg-off);
  padding: 34px 40px 94px;
}
.grp-portfolio-press-section {
  max-width: 1200px;
  margin: 0 auto;
}
.grp-portfolio-press-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grp-portfolio-press-mark {
  display: block;
  width: 206px;
  height: 206px;
  object-fit: contain;
  opacity: 0.48;
}
.grp-portfolio-press-copy {
  margin-top: 18px;
}
.grp-portfolio-press-subtitle {
  margin: 6px auto 0;
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
}
.grp-portfolio-press-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 670px);
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.grp-portfolio-press-list li {
  position: relative;
  min-height: 63px;
  border-bottom: 1px solid rgba(210, 195, 110, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}
.grp-portfolio-press-list li:nth-child(odd)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 30px;
  background: rgba(210, 195, 110, 0.68);
  content: '';
  transform: translateY(-50%);
}

/* 10. Client review ------------------------------------------------------ */
.grp-portfolio-review {
  width: 100%;
  border-bottom: 1px solid rgba(210, 195, 110, 0.68);
  background: #ffffff;
  padding: clamp(58px, 6.32vw, 91px) 0 clamp(70px, 5.28vw, 76px);
}
.grp-portfolio-review__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 45.2%) minmax(0, 42.6%);
  gap: 12.2%;
  align-items: start;
  width: min(78vw, 950px);
  margin: 0 auto;
}
.grp-portfolio-review__inner::before,
.grp-portfolio-review__inner::after {
  position: absolute;
  z-index: 0;
  font-family: var(--font-silk-light);
  font-size: 108px;
  line-height: 1;
  color: #ffffff;
  opacity: 0.82;
  pointer-events: none;
}
.grp-portfolio-review__inner::before {
  top: -26px;
  left: -132px;
  content: '“';
}
.grp-portfolio-review__inner::after {
  bottom: -58px;
  left: 49%;
  content: '”';
}
.grp-portfolio-review__copy {
  position: relative;
  z-index: 1;
  padding-top: clamp(66px, 7.08vw, 102px);
  text-align: center;
}
.grp-portfolio-review__blockquote { margin: 0; }
.grp-portfolio-review__image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 405 / 468;
  overflow: hidden;
}
.grp-portfolio-review__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.grp-portfolio-review-name {
  display: block;
  margin-top: 18px;
  font-family: var(--font-silk-light-i);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #373535;
}
.grp-portfolio-review-link {
  margin: clamp(80px, 7.3vw, 105px) auto 0;
}

/* 11. Experience callout ------------------------------------------------ */
.grp-portfolio-experience {
  min-height: clamp(278px, 33.3vw, 400px);
  padding: clamp(84px, 10.9vw, 131px) 20px 60px;
  text-align: center;
  background: #ffffff;
}
.grp-portfolio-experience__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grp-portfolio-experience__kicker {
  font-family: var(--font-silk-light-i);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.grp-portfolio-experience__kicker::after {
  display: block;
  width: clamp(54px, 4.86vw, 70px);
  height: 1px;
  margin: 8px auto 0;
  background: var(--grp-gold);
  content: '';
}
.grp-portfolio-experience__title {
  margin-top: 20px;
  font-family: var(--font-silk-light);
  font-size: 55px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grp-gold);
}
.grp-portfolio-experience__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000000;
  transition: color var(--trans), opacity var(--trans);
}
.grp-portfolio-experience__link:hover {
  color: var(--grp-gold);
}
.grp-portfolio-experience__link:focus-visible {
  outline: 2px solid var(--grp-gold);
  outline-offset: 5px;
}
.grp-portfolio-experience__arrow {
  width: clamp(32px, 3.2vw, 46px);
  height: clamp(33px, 3.33vw, 48px);
  pointer-events: none;
}

/* 12. Service video band ------------------------------------------------ */
.grp-portfolio-service-band {
  position: relative;
  min-height: clamp(290px, 33.3vw, 400px);
  overflow: hidden;
  padding: clamp(34px, 8.2vw, 98px) 24px 40px;
  background-color: #545454;
  background-image: url('/assets/img/portfolio/portfolio-service-video-poster.webp');
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #ffffff;
}
.grp-portfolio-service-band::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(84, 84, 84, 0.56);
  content: '';
}
.grp-portfolio-service-band__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.grp-portfolio-service-band__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}
.grp-portfolio-service-band__statement {
  font-family: var(--font-silk-light);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.5;
}
.grp-portfolio-service-band__statement em {
  font-family: var(--font-silk-light-i);
  font-style: normal;
}
.grp-portfolio-service-band__invitation {
  margin-top: 8px;
  font-family: var(--font-silk-light-i);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.6;
}
.grp-portfolio-service-band__cta {
  min-width: 145px;
  margin-top: 44px;
}

/* 13. Lower-section laptop adjustments ---------------------------------- */
@media (max-width: 1100px) {
  .grp-portfolio-service-band__statement {
    font-size: 29px;
  }
  .grp-portfolio-service-band__invitation {
    font-size: 20px;
  }
}

/* 14. Lower-section compact adjustments --------------------------------- */
@media (max-width: 900px) {
  .grp-portfolio-experience {
    padding-bottom: 38px;
  }
  .grp-portfolio-experience__title {
    font-size: 47px;
  }
  .grp-portfolio-service-band {
    padding-bottom: 20px;
  }
  .grp-portfolio-service-band__cta {
    margin-top: 30px;
  }
}

/* 15. Lower-section tablet adjustments ---------------------------------- */
@media (max-width: 768px) {
  .grp-page-label { margin-top: 30px; }
  .grp-page-title { font-size: 36px; letter-spacing: 0.13em; }
  .grp-portfolio-hero-copy { padding: 0 24px; }
  .grp-portfolio-press-band { padding: 30px 20px 72px; }
  .grp-portfolio-press-mark {
    width: 140px;
    height: 140px;
  }
  .grp-portfolio-press-copy { margin-top: 34px; }
  .grp-portfolio-heading { font-size: 29px; }
  .grp-portfolio-press-subtitle {
    max-width: 310px;
    margin-top: 18px;
    line-height: 1.8;
  }
  .grp-signature-weddings__title,
  .grp-portfolio-collection__title { font-size: clamp(38px, 12vw, 48px); }
  .grp-portfolio-press-list {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .grp-portfolio-press-list li {
    min-height: 82px;
    padding-inline: 0;
  }
  .grp-portfolio-press-list li:nth-child(odd)::after { content: none; }
}

/* 16. Lower-section mobile adjustments ---------------------------------- */
@media (max-width: 600px) {
  .grp-portfolio-review {
    padding: 77px 0 70px;
  }
  .grp-portfolio-review__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: min(calc(100% - 40px), 350px);
  }
  .grp-portfolio-review__inner::before,
  .grp-portfolio-review__inner::after {
    content: none;
  }
  .grp-portfolio-review__image-frame {
    grid-row: 1;
    width: 94%;
    margin: 0 auto;
    aspect-ratio: 329 / 451;
  }
  .grp-portfolio-review__copy {
    grid-row: 2;
    margin-top: 60px;
    padding-top: 0;
  }
  .grp-portfolio-review-name {
    margin-top: 20px;
    font-family: var(--font-cormorant);
    font-size: 18px;
  }
  .grp-portfolio-review-link {
    margin-top: 60px;
  }
  .grp-portfolio-experience {
    min-height: 244px;
    padding: 63px 20px 40px;
  }
  .grp-portfolio-experience__kicker {
    font-size: 13px;
  }
  .grp-portfolio-experience__title {
    margin-top: 5px;
    font-size: 25px;
    line-height: 1.2;
  }
  .grp-portfolio-experience__link {
    gap: 8px;
    margin-top: 26px;
    font-size: 10px;
  }
  .grp-portfolio-experience__arrow {
    width: 48px;
    height: 50px;
  }
  .grp-portfolio-service-band {
    min-height: 290px;
    padding: 34px 14px 28px;
  }
  .grp-portfolio-service-band__statement {
    font-size: 22px;
    line-height: 1.3;
  }
  .grp-portfolio-service-band__invitation {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
  }
  .grp-portfolio-service-band__cta {
    min-width: 128px;
    min-height: auto;
    margin-top: 40px;
    border: 0;
    padding: 0;
  }
  .grp-portfolio-service-band__cta::after {
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 8px;
    background: var(--grp-gold);
    content: '';
  }
}

/* 17. Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .grp-portfolio-track,
  .grp-portfolio-frame,
  .grp-feature-card__image,
  .grp-feature-card__overlay {
    transition: none;
  }
  .grp-portfolio-service-band__video { display: none; }
}
