.tsw-gallery-page,
.tsw-gallery-page * { box-sizing:border-box; }

.tsw-gallery-page {
    --tgp-green:#306648;
    --tgp-cream:#f3f1ed;
    --tgp-dark:#153c2c;
    --tgp-text:#202421;
    width:100%;
    color:var(--tgp-text);
    font-family:'Manrope',Arial,sans-serif;
}
.tsw-gallery-page__inner {
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding-left:24px;
    padding-right:24px;
}
.tsw-gallery-page__hero {
    position:relative;
    min-height:620px;
    overflow:hidden;
    background:#1c2b22;
}
.tsw-gallery-page__hero-media,
.tsw-gallery-page__hero-media img,
.tsw-gallery-page__hero-shade {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}
.tsw-gallery-page__hero-media img {
    object-fit:cover;
    object-position:center;
    display:block;
}
.tsw-gallery-page__hero-shade {
    background:
      linear-gradient(90deg,rgba(12,35,25,.82) 0%,rgba(12,35,25,.62) 42%,rgba(12,35,25,.12) 78%),
      linear-gradient(0deg,rgba(0,0,0,.18),rgba(0,0,0,.08));
}
.tsw-gallery-page__hero-inner {
    position:relative;
    z-index:2;
    min-height:620px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding-top:110px;
    padding-bottom:58px;
}
.tsw-gallery-page__hero-copy { max-width:720px; color:#fff; }
.tsw-gallery-page__hero h1 {
    margin:0;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(62px,7vw,104px);
    font-weight:500;
    line-height:.86;
    letter-spacing:-.035em;
}
.tsw-gallery-page__accent { color:#90bb32; }
.tsw-gallery-page__intro {
    max-width:640px;
    margin-top:24px;
    font-size:17px;
    line-height:1.65;
    color:rgba(255,255,255,.88);
}
.tsw-gallery-page__intro p { margin:0; }
.tsw-gallery-page__nav {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:44px;
}
.tsw-gallery-page__nav a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border:1px solid rgba(255,255,255,.42);
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
    transition:.2s ease;
}
.tsw-gallery-page__nav a:hover {
    background:#fff;
    color:var(--tgp-green);
    border-color:#fff;
}

.tsw-gallery-page__section {
    padding:108px 0 118px;
    background:#fff;
    scroll-margin-top:90px;
}
.tsw-gallery-page__section--cream { background:var(--tgp-cream); }
.tsw-gallery-page__section--dark { background:var(--tgp-dark); color:#fff; }

.tsw-gallery-page__section-head {
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    gap:14px;
    align-items:start;
    max-width:920px;
    margin-bottom:50px;
}
.tsw-gallery-page__number {
    position:relative;
    display:block;
    padding-top:18px;
    color:rgba(48,102,72,.18);
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(88px,9vw,138px);
    line-height:.78;
    font-weight:500;
    letter-spacing:-.055em;
    text-transform:none;
}
.tsw-gallery-page__section-head h2 {
    margin:0;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(50px,5.2vw,76px);
    font-weight:500;
    line-height:.92;
    letter-spacing:-.03em;
}
.tsw-gallery-page__section-text {
    max-width:580px;
    margin-top:14px;
    color:#5b625e;
    font-size:15px;
    line-height:1.7;
}
.tsw-gallery-page__section-text p { margin:0; }
.tsw-gallery-page__section-head--light .tsw-gallery-page__number {
    color:rgba(255,255,255,.16);
}
.tsw-gallery-page__section-head--light .tsw-gallery-page__section-head--light .tsw-gallery-page__section-text { color:rgba(255,255,255,.72); }

.tsw-gallery-page__grid {
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:18px;
}
.tsw-gallery-page__photo {
    position:relative;
    grid-column:span 4;
    min-height:310px;
    overflow:hidden;
    background:#ddd;
    text-decoration:none;
}
.tsw-gallery-page__photo:nth-child(6n+1),
.tsw-gallery-page__photo:nth-child(6n+5) { grid-column:span 7; }
.tsw-gallery-page__photo:nth-child(6n+2),
.tsw-gallery-page__photo:nth-child(6n+6) { grid-column:span 5; }
.tsw-gallery-page__photo:nth-child(6n+3),
.tsw-gallery-page__photo:nth-child(6n+4) { grid-column:span 6; }
.tsw-gallery-page__photo img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .7s cubic-bezier(.2,.65,.25,1);
}
.tsw-gallery-page__photo:hover img { transform:scale(1.035); }
.tsw-gallery-page__zoom {
    position:absolute;
    right:16px;
    bottom:16px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.92);
    color:var(--tgp-green);
    font-size:20px;
    opacity:0;
    transform:translateY(6px);
    transition:.2s ease;
}
.tsw-gallery-page__photo:hover .tsw-gallery-page__zoom {
    opacity:1;
    transform:none;
}

.tsw-gallery-page__videos {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.tsw-gallery-page__video,
.tsw-gallery-page__video:link,
.tsw-gallery-page__video:visited,
.tsw-gallery-page__video:hover,
.tsw-gallery-page__video:focus,
.tsw-gallery-page__video:active {
    color:#fff;
    text-decoration:none;
    text-decoration-line:none;
}
.tsw-gallery-page__video h3,
.tsw-gallery-page__video span {
    color:inherit;
    text-decoration:none;
    text-decoration-line:none;
}
.tsw-gallery-page__video-media {
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#0c241a;
}
.tsw-gallery-page__video-media img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    opacity:.8;
    transition:transform .7s cubic-bezier(.2,.65,.25,1),opacity .25s ease;
}
.tsw-gallery-page__video:hover img { transform:scale(1.04); opacity:1; }
.tsw-gallery-page__play {
    position:absolute;
    left:22px;
    bottom:22px;
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#90bb32;
    color:#fff;
    font-size:14px;
    padding-left:3px;
}
.tsw-gallery-page__video-copy { padding:18px 2px 0; }
.tsw-gallery-page__video-copy span {
    display:block;
    margin-bottom:7px;
    color:#a8c5b5;
    font-size:11px;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.tsw-gallery-page__video-copy h3 {
    margin:0;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:27px;
    font-weight:500;
    line-height:1.06;
}

.tsw-gallery-page__legal {
    max-width:930px;
    margin-top:54px;
    padding-top:26px;
    border-top:1px solid #ccd1cc;
    color:#777d79;
    font-size:11px;
    line-height:1.65;
}
.tsw-gallery-page__legal p { margin:0; }

@media (max-width:1024px) {
    .tsw-gallery-page__hero,
    .tsw-gallery-page__hero-inner { min-height:560px; }
    .tsw-gallery-page__section { padding:84px 0 92px; }
    .tsw-gallery-page__photo { min-height:260px; }
    .tsw-gallery-page__videos { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:767px) {
    .tsw-gallery-page__inner { padding-left:18px; padding-right:18px; }
    .tsw-gallery-page__hero,
    .tsw-gallery-page__hero-inner { min-height:520px; }
    .tsw-gallery-page__hero-inner { padding-top:90px; padding-bottom:34px; }
    .tsw-gallery-page__hero h1 { font-size:clamp(52px,16vw,72px); }
    .tsw-gallery-page__intro { font-size:14px; }
    .tsw-gallery-page__nav { margin-top:28px; gap:6px; }
    .tsw-gallery-page__nav a { min-height:38px; padding:0 12px; font-size:11px; }
    .tsw-gallery-page__section { padding:64px 0 68px; }
    .tsw-gallery-page__section-head {
        grid-template-columns:1fr;
        gap:10px;
        margin-bottom:32px;
    }
    .tsw-gallery-page__number {
        width:auto;
        padding-top:12px;
        font-size:clamp(58px,18vw,92px);
        line-height:.82;
    }
        .tsw-gallery-page__section-head h2 { font-size:clamp(42px,13vw,58px); }
    .tsw-gallery-page__grid { grid-template-columns:1fr; gap:10px; }
    .tsw-gallery-page__photo,
    .tsw-gallery-page__photo:nth-child(n) {
        grid-column:auto;
        min-height:250px;
    }
    .tsw-gallery-page__photo:nth-child(3n+1) { min-height:310px; }
    .tsw-gallery-page__zoom { opacity:1; transform:none; width:36px; height:36px; right:10px; bottom:10px; }
    .tsw-gallery-page__videos { grid-template-columns:1fr; gap:28px; }
    .tsw-gallery-page__video-copy h3 { font-size:24px; }
    .tsw-gallery-page__legal { margin-top:38px; }
}
