/* ============================================
   GALLERY HERO
   ============================================ */
/* Mobile */
@media only screen and (min-width: 0em) {
  #gallery-hero {
    background: #fff;
    padding: 6.875em 0 3.75em;
    text-align: center;
  }
  #gallery-hero .container {
    width: 90%;
    max-width: 57.5em;
    margin: 0 auto;
  }
  #gallery-hero .eyebrow {
    display: block;
    margin-bottom: 1.125em;
    text-transform: uppercase;
    letter-spacing: .55em;
    font-size: 0.625em;
    color: #8f8175;
  }
  #gallery-hero h1 {
    margin: 0;
    font-size: 5.75em;
    line-height: .8em;
    font-weight: 400;
    font-style: italic;
    color: #3f3934;
  }
  #gallery-hero p {
    margin: 1.5em auto 0;
    max-width: 35em;
    font-size: 1.5em;
    line-height: 1.35em;
    font-style: italic;
    color: #3f3934;
  }
  #gallery-hero .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.125em;
    margin: 2.125em auto 3.375em;
  }
  #gallery-hero .hero-divider span {
    width: 4.875em;
    height: 0.0625em;
    background: rgba(63, 57, 52, 0.35);
  }
  #gallery-hero .hero-divider i {
    width: 0.3125em;
    height: 0.3125em;
    border-radius: 50%;
    background: #b8a58f;
  }
  #gallery-hero .gallery-filter {
    border-top: 0.0625em solid rgba(63, 57, 52, 0.18);
    border-bottom: 0.0625em solid rgba(63, 57, 52, 0.18);
    padding: 1.5em 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.375em 1em;
    align-items: center;
    justify-items: center;
  }
  #gallery-hero .filter-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: 0.625em;
    color: #3f3934;
    transition: color .25s ease, opacity .25s ease;
  }
  #gallery-hero .filter-btn.active {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.25em;
  }
  #gallery-hero .filter-btn:hover {
    color: #b8a58f;
  }
  #gallery-hero .image-count {
    margin-top: 1.5em;
    font-size: 0.8125em;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-style: normal;
  }
  #gallery-hero .image-count strong {
    font-weight: 500;
    color: #3f3934;
  }
  #gallery-hero .image-count em {
    letter-spacing: 0;
    text-transform: none;
    font-size: 1.23076923em;
    color: #8f8175;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #gallery-hero {
    padding: 8.125em 0 4.375em;
  }
  #gallery-hero h1 {
    font-size: 8.75em;
  }
  #gallery-hero p {
    font-size: 1.875em;
  }
  #gallery-hero .gallery-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  #gallery-hero .filter-btn {
    position: relative;
    margin: 0 1.375em;
    font-size: 0.6875em;
  }
  #gallery-hero .filter-btn.active {
    font-size: 1.25em;
  }
  #gallery-hero .filter-btn:not(:last-of-type):after {
    content: '·';
    position: absolute;
    right: -3em;
    top: 50%;
    transform: translateY(-50%);
    color: #b8a58f;
    font-style: normal;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #gallery-hero {
    padding: 9.0625em 0 4.6875em;
  }
  #gallery-hero .container {
    max-width: 57.5em;
  }
  #gallery-hero .eyebrow {
    font-size: 0.6875em;
    margin-bottom: 1.25em;
  }
  #gallery-hero h1 {
    font-size: 10.75em;
  }
  #gallery-hero p {
    margin-top: 1.375em;
    font-size: 1.75em;
    max-width: 38.75em;
  }
  #gallery-hero .hero-divider {
    margin: 2.375em auto 5.125em;
  }
  #gallery-hero .gallery-filter {
    padding: 1.5em 0;
  }
  #gallery-hero .filter-btn {
    margin: 0 1.75em;
    font-size: 0.6875em;
  }
  #gallery-hero .filter-btn.active {
    font-size: 1.25em;
  }
  #gallery-hero .image-count {
    margin-top: 1.625em;
  }
}
/* ============================================
   GALLERY GRID
   ============================================ */
/* Mobile */
@media only screen and (min-width: 0em) {
  #gallery-grid {
    background: #f8f6f3;
    padding: 2.625em 0 5em;
  }
  #gallery-grid .container {
    width: 92%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875em;
  }
  #gallery-grid .container:not(:last-of-type) {
    margin-bottom: 1em;
  }
  #gallery-grid .gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.625em;
    background: #e6dfd7;
    text-decoration: none;
  }
  #gallery-grid .gallery-item img {
    display: block;
    width: 100%;
    height: 20.625em;
    object-fit: cover;
    transition: transform .6s ease;
  }
  #gallery-grid .gallery-item:hover img {
    transform: scale(1.04);
  }
  #gallery-grid .gallery-item.hidden {
    display: none;
  }
  #gallery-grid .gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5em;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08), transparent);
    opacity: 1;
    transition: opacity .35s ease;
  }
  #gallery-grid .gallery-overlay span {
    display: block;
    margin-bottom: 0.375em;
    text-transform: uppercase;
    letter-spacing: .32em;
    font-size: 0.625em;
    color: rgba(255, 255, 255, 0.82);
  }
  #gallery-grid .gallery-overlay h3 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1.1em;
    font-weight: 400;
    font-style: italic;
    color: #fff;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #gallery-grid {
    padding: 3.125em 0 5.625em;
  }
  #gallery-grid .container {
    width: 94%;
    max-width: 70em;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }
  #gallery-grid .container:not(:last-of-type) {
    margin-bottom: 1em;
  }
  #gallery-grid .gallery-item img {
    height: 22.5em;
  }
  #gallery-grid .item-1,
  #gallery-grid .item-5,
  #gallery-grid .item-9,
  #gallery-grid .item-13 {
    grid-row: span 2;
  }
  #gallery-grid .item-1 img,
  #gallery-grid .item-5 img,
  #gallery-grid .item-9 img,
  #gallery-grid .item-13 img {
    height: 46em;
  }
  #gallery-grid .item-8,
  #gallery-grid .item-16 {
    grid-column: span 2;
  }
  #gallery-grid .item-8 img,
  #gallery-grid .item-16 img {
    height: 23.75em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #gallery-grid {
    padding: 3.75em 0 7.5em;
  }
  #gallery-grid .container {
    width: 96%;
    max-width: 84.375em;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 33.75em 26.875em 20em;
    grid-template-rows: 18.4375em 18.4375em 18.4375em 18.4375em;
    gap: 1em;
    justify-content: center;
    align-items: stretch;
  }
  #gallery-grid .container:not(:last-of-type) {
    margin-bottom: 1em;
  }
  #gallery-grid .gallery-item {
    border-radius: 0.625em;
  }
  #gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #gallery-grid .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  #gallery-grid .gallery-overlay {
    opacity: 0;
    padding: 1.75em;
  }
  #gallery-grid .gallery-overlay span {
    font-size: 0.625em;
  }
  #gallery-grid .gallery-overlay h3 {
    font-size: 1.625em;
  }
  #gallery-grid .item-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  #gallery-grid .item-2 {
    grid-column: 2;
    grid-row: 1;
  }
  #gallery-grid .item-3 {
    grid-column: 3;
    grid-row: 1;
  }
  #gallery-grid .item-4 {
    grid-column: 2;
    grid-row: 2;
  }
  #gallery-grid .item-5 {
    grid-column: 3;
    grid-row: 2 / span 2;
  }
  #gallery-grid .item-6 {
    grid-column: 1;
    grid-row: 3;
  }
  #gallery-grid .item-7 {
    grid-column: 2;
    grid-row: 3;
  }
  #gallery-grid .item-8 {
    grid-column: 1 / span 2;
    grid-row: 4;
  }
  #gallery-grid .gallery-grid-two {
    grid-template-columns: 20em 26.875em 33.75em;
    grid-template-rows: 18.4375em 18.4375em 18.4375em 18.4375em;
  }
  #gallery-grid .gallery-grid-two .item-9 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  #gallery-grid .gallery-grid-two .item-10 {
    grid-column: 2;
    grid-row: 1;
  }
  #gallery-grid .gallery-grid-two .item-11 {
    grid-column: 3;
    grid-row: 1;
  }
  #gallery-grid .gallery-grid-two .item-12 {
    grid-column: 2;
    grid-row: 2;
  }
  #gallery-grid .gallery-grid-two .item-13 {
    grid-column: 3;
    grid-row: 2 / span 2;
  }
  #gallery-grid .gallery-grid-two .item-14 {
    grid-column: 1;
    grid-row: 3;
  }
  #gallery-grid .gallery-grid-two .item-15 {
    grid-column: 2;
    grid-row: 3;
  }
  #gallery-grid .gallery-grid-two .item-16 {
    grid-column: 1 / span 2;
    grid-row: 4;
  }
}
/* ============================================
   FILTERED GALLERY STATE
   ============================================ */
.gallery-item.hidden {
  display: none !important;
}
/* Mobile */
@media only screen and (min-width: 0em) {
  #gallery-grid.is-filtered {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #f8f6f3;
    display: grid;
    grid-template-columns: minmax(0, 92%);
    gap: 1em;
    justify-content: center;
  }
  #gallery-grid.is-filtered .container {
    display: contents !important;
  }
  #gallery-grid.is-filtered .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  #gallery-grid.is-filtered .gallery-item img {
    width: 100%;
    height: 20.625em;
    object-fit: cover;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #gallery-grid.is-filtered {
    grid-template-columns: repeat(2, minmax(0, 33.75em));
    gap: 1.125em;
  }
  #gallery-grid.is-filtered .gallery-item img {
    height: 22.5em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #gallery-grid.is-filtered {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #f8f6f3;
    display: grid;
    grid-template-columns: repeat(3, 26.875em);
    gap: 1.125em;
    justify-content: center;
    align-items: start;
  }
  #gallery-grid.is-filtered .container {
    display: contents !important;
  }
  #gallery-grid.is-filtered .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
  }
  #gallery-grid.is-filtered .gallery-item img {
    width: 100%;
    height: 22.5em;
    object-fit: cover;
  }
  #gallery-grid.is-filtered .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  #gallery-grid.is-filtered .gallery-overlay {
    opacity: 0;
  }
  #gallery-grid.is-filtered .gallery-overlay span {
    font-size: 0.625em;
  }
  #gallery-grid.is-filtered .gallery-overlay h3 {
    font-size: 1.5em;
  }
}
/* ============================================
   GALLERY STATS
   ============================================ */
/* Mobile */
@media only screen and (min-width: 0em) {
  #gallery-stats {
    padding: 4.375em 0;
    border-top: 0.0625em solid rgba(63, 57, 52, 0.12);
    border-bottom: 0.0625em solid rgba(63, 57, 52, 0.12);
    background: #fff;
  }
  #gallery-stats .container {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125em 1.875em;
  }
  #gallery-stats .stat {
    text-align: center;
  }
  #gallery-stats .stat-number {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25em;
    margin-bottom: 1.125em;
  }
  #gallery-stats .stat-number span {
    display: block;
    font-size: 4.5em;
    line-height: .8em;
    font-weight: 400;
    font-style: italic;
    color: #3f3934;
  }
  #gallery-stats .stat-number sup {
    position: relative;
    top: -0.625em;
    font-size: 1.5em;
    line-height: 1;
    font-weight: 400;
    color: #3f3934;
  }
  #gallery-stats .stat-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: 0.625em;
    line-height: 1.6em;
    color: #8f8175;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #gallery-stats {
    padding: 5.625em 0;
  }
  #gallery-stats .container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25em;
  }
  #gallery-stats .stat-number span {
    font-size: 5.125em;
  }
  #gallery-stats .stat-number sup {
    font-size: 1.75em;
    top: -0.75em;
  }
  #gallery-stats .stat-label {
    font-size: 0.6875em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #gallery-stats {
    padding: 6.25em 0;
  }
  #gallery-stats .container {
    width: 92%;
    max-width: 87.5em;
  }
  #gallery-stats .stat-number {
    margin-bottom: 1.375em;
  }
  #gallery-stats .stat-number span {
    font-size: 5.75em;
  }
  #gallery-stats .stat-number sup {
    font-size: 2em;
    top: -0.875em;
  }
  #gallery-stats .stat-label {
    letter-spacing: .45em;
    font-size: 0.6875em;
  }
}
/* ============================================
   GALLERY TESTIMONIAL
   ============================================ */
/* Mobile */
@media only screen and (min-width: 0em) {
  #gallery-testimonial {
    background: #eee9e3;
    padding: 5.125em 0 5.5em;
    text-align: center;
  }
  #gallery-testimonial .container {
    width: 88%;
    max-width: 61.25em;
    margin: 0 auto;
  }
  #gallery-testimonial .quote-mark {
    margin-bottom: 0.5em;
    font-size: 4.375em;
    line-height: .5em;
    font-style: italic;
    color: #b8a58f;
  }
  #gallery-testimonial blockquote {
    margin: 0 auto 2.125em;
    max-width: 55em;
    font-size: 1.9375em;
    line-height: 1.45em;
    font-style: italic;
    font-weight: 400;
    color: #3f3934;
  }
  #gallery-testimonial p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .45em;
    font-size: 0.625em;
    color: #8f8175;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #gallery-testimonial {
    padding: 6em 0 6.5em;
  }
  #gallery-testimonial blockquote {
    font-size: 2.5em;
    line-height: 1.35em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #gallery-testimonial {
    padding: 6.875em 0 7.375em;
  }
  #gallery-testimonial .container {
    max-width: 62.5em;
  }
  #gallery-testimonial .quote-mark {
    font-size: 4.75em;
    margin-bottom: 0.5em;
  }
  #gallery-testimonial blockquote {
    font-size: 2.625em;
    line-height: 1.35em;
    margin-bottom: 2.375em;
  }
  #gallery-testimonial p {
    font-size: 1em;
  }
}
/* ============================================
   FINAL CTA
   ============================================ */
/* Mobile */
@media only screen and (min-width: 0em) {
  #final-cta {
    background: #fff;
    padding: 5.625em 0;
  }
  #final-cta .container {
    width: 90%;
    max-width: 56.25em;
    margin: auto;
    text-align: center;
  }
  #final-cta .eyebrow {
    display: block;
    margin-bottom: 1.5em;
    text-transform: uppercase;
    letter-spacing: .45em;
    font-size: 0.625em;
    color: #8f8175;
  }
  #final-cta h2 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: .95em;
    font-weight: 400;
    color: #3f3934;
  }
  #final-cta h2 span {
    display: inline-block;
    font-style: italic;
    font-weight: 400;
    color: #3f3934;
  }
  #final-cta .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin-top: 2.625em;
  }
  #final-cta .button-solid,
  #final-cta .button-outline {
    width: 100%;
    max-width: 20em;
    height: 3.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: 0.6875em;
    transition: .3s ease;
  }
  #final-cta .button-solid {
    border: 0.0625em solid #3f3934;
    color: #3f3934;
  }
  #final-cta .button-solid:hover {
    background: #000;
    color: #000;
  }
  #final-cta .button-outline {
    border: 0.0625em solid #c9b8a5;
    color: #c9b8a5;
    gap: 0.625em;
  }
  #final-cta .button-outline:hover {
    background: #c9b8a5;
    color: #fff;
  }
  #final-cta .button-outline span {
    font-size: 1.125em;
    line-height: 1;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #final-cta {
    padding: 6.875em 0;
  }
  #final-cta h2 {
    font-size: 6em;
  }
  #final-cta .button-group {
    flex-direction: row;
    justify-content: center;
    gap: 1.75em;
  }
  #final-cta .button-solid,
  #final-cta .button-outline {
    width: 21.25em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #final-cta {
    padding: 7.5em 0;
  }
  #final-cta .eyebrow {
    margin-bottom: 1.625em;
    font-size: 0.6875em;
  }
  #final-cta h2 {
    font-size: 6.5em;
  }
  #final-cta .button-group {
    margin-top: 3em;
    gap: 2em;
  }
  #final-cta .button-solid,
  #final-cta .button-outline {
    width: 22.5em;
    height: 4em;
  }
}
