html, body {
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-theme-mid-blue);
    min-height: 120px;
    padding: 20px 0;
}

.banner p {
    color: var(--color-white-text);
    font-size: 36px;
    text-transform: uppercase;
    margin: 0 !important;
    padding: 0;
    letter-spacing: 4px;
    font-weight: 500;
    text-align: center;
    line-height: 1.1em;
}

@media screen and (max-width: 800px) {
    .banner p {
        font-size: 28px;
        line-height: 1.5em;
    }
}

/* Hide content + footer until JS says go */
main, footer {
    visibility: hidden;
}

/* Fade target */
main {
    opacity: 0;
    transition: opacity 250ms ease;
}

/* When JS enables the transition system */
main.fade-in {
    visibility: visible;
    opacity: 1;
}

main.fade-out {
    visibility: visible;
    opacity: 0;
}

/* Footer becomes visible only when JS adds this */
footer.footer-ready {
    visibility: visible;
}


header {
    background-color: var(--color-header-background);
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
}

header.fixed {
    background-color: var(--color-header-background);
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    will-change: transform;
    transition: transform .4s cubic-bezier(.46,.03,.52,.96);
    transform: translateY(-100%);
}

/* Show header with enhanced shadow when scrolling up */
header.fixed.header--visible {
    transform: translateY(0);
}

#header-inner {
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 var(--margin-width) 0 var(--margin-width);
}

#logo {
    width: 220px;
    margin-top: -10px;
}

#theme-switcher, #theme-switcher-mobile {
    width: 16px;
    height: 20px;
    cursor: pointer;
    margin: 1px 12px 0 0;
}

nav#desktop {
    display: var(--show-for-desktop);
    /*margin-right: var(--margin-width);*/
}

nav#desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 19px;
}
#logo a {
    font-size: var(--font-size-medium);
    /*letter-spacing: 0.5px;*/
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}

.sub-header {
    background-color: var(--color-footer-background);
    color: var(--color-white-text);
    margin: 0;
    padding: var(--sub-header-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-header h1 {
    margin: 0;
    padding: 0;
}

.sub-header h1 span {
    color: var(--color-white-text);
}

.sub-header-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sub-header-navigation a {
    color: var(--color-white-text);
    opacity: 70%;
    border: 1px solid var(--color-white-text);
    padding: 0px 20px;
    border-radius: 15px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

.sub-header-navigation a:hover {
    color: var(--color-cta);
    opacity: 70%;
    border: 1px solid var(--color-cta);
    padding: 0px 20px;
    border-radius: 15px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

.form-container {
    width: 80%;
    /*background-color: var(--color-light-blue-background);*/
    background-color: #f1f1f1;
    padding: 20px;
    margin: 0 0 30px 0;
}

#paypal {
    width: 90px;
    margin-left: 10px;
}

#stripe {
    width: 170px;
    margin-left: 10px;
}

button.cta {
    overflow: visible;
    color: white !important;
    background-color: var(--color-cta);
    padding: 10px 26px;
    border-radius: 30px;
    text-transform: uppercase !important;
    cursor: pointer;
    border: 0;
    margin: 25px auto 22px auto;
    display: block;
}

#buy-button {
    width: 95%;
    text-transform: none !important;
}

button.cta.secondary {
    width: 320px;
    max-width: 80%;
    margin: 0;
    background-color: #d6d6d6;
    color: #626262 !important;
}

a.cta, a.cta:hover {
    color: white !important;
    background-color: var(--color-cta);
    padding: 4px 18px;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    font-weight: 500;
    text-align: center;
}

nav#desktop ul a {
    font-size: var(--font-size-medium);
    /*letter-spacing: 0.5px;*/
    text-decoration: none;
    color: var(--color-nav);
    font-weight: 400;
}

nav#desktop ul a:hover, nav#mobile-nav ul a:hover {
    color: var(--color-nav-hover);
}

nav#desktop ul a.active, nav#mobile-nav ul a.active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

nav#mobile {
    display: var(--show-for-mobile);
    margin-right: -9px;
}

.theme-switcher-circle {
    stroke: var(--color-text);
}

.theme-switcher-elip {
    fill: var(--color-text);
}

#mobile-nav-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-nav-background);
    margin-top: var(--header-height);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
}

#mobile-nav-overlay ul {
    list-style: none;
    margin-top: 70px;
    padding-left: 0;
}

#mobile-nav-overlay ul li {
    margin-bottom: 35px;
    text-align: center;
}

#mobile-nav-overlay nav a {
    text-decoration: none;
    font-size: var(--font-size-large);
    color: var(--color-white);
    font-weight: 300;
}

#mobile-nav-overlay nav a:hover {
    text-decoration: none;
}

.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.active-header {
    transition: background-color .5s;
    background-color: var(--color-nav-background);
}

.body-lock {
    overflow: hidden;
}

.footer-active {
    border-top: 1px solid var(--color-text);
    z-index: 999;
}

.hamburger {
    width: 40px;
    height: 40px;
    cursor: pointer;
    user-select: none;
}

.bar {
    fill: none;
    stroke: var(--color-white);
    stroke-width: 2;
    stroke-linecap: square;
    transition: transform 0.25s ease;
    transform-origin: center;
}

.bar1, .bar2 {
    transform-box: fill-box;
}

.active .bar1 {
    transform: rotate(45deg) translate(3px, 3px);
}

.active .bar2 {
    transform: rotate(-45deg) translate(4px, -4px);
}

#project-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1.875;
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
    margin: 0 auto;
}

#project-hero img {
    width: 100%;
    aspect-ratio: 1.875;
}

#hero {
    position: relative;
    width: 100%;
    aspect-ratio: var(--slide-aspect-ratio);
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
    margin: 0 auto;
}

main {
    box-sizing: border-box;
    padding-bottom: 70px;
    position: relative;
    min-height: 100vh;
    background-color: var(--color-background);
    z-index: 500;
    width: 100%;
    overflow-x: hidden;
    margin: 0 auto var(--footer-height) auto;
}

main.zero-bottom-padding {
    padding-bottom: 0 !important;
}

main ul {
    list-style: decimal-leading-zero;
    padding-left: 55px;
}

main ul li {
    margin-bottom: 7px;
}

main .contact-tag-line {
    margin-top: 74px;
}

#wrapper {
    /*border-top: 1px solid var(--color-hr);*/
    max-width: var(--max-width);
    margin: var(--wrapper-top-margin) var(--margin-width) 0 var(--margin-width);
}

#home-wrapper {
    font-size: var(--font-size-xl);
    max-width: var(--max-width);
    /*margin: var(--home-text-margin) var(--margin-width) var(--home-text-margin) var(--margin-width);*/
}

#home-wrapper p {
    font-size: var(--font-size-home);
    margin: 0;
    width: var(--home-text-width);
    max-width: var(--home-text-width);
    line-height: var(--home-text-line-height);
    margin-bottom: 20px;
}

section.profile-contact {
    display: flex;
    justify-content: space-between;
    flex-direction: var(--stack-for-mobile-reverse);
    border-bottom: 1px solid var(--color-hr);
    padding-bottom: var(--profile-contact-bottom-pad);
}

section.profile-contact:last-of-type {
    border-bottom: none;
}

section.profile-contact .left {
    flex: var(--column-width-one-third);
}

section.profile-contact .right {
    flex: var(--column-width-two-third);
}

section.profile-contact .right p:last-of-type {
    margin-bottom: 17px;
}

section.profile-contact-sub {
    display: flex;
    justify-content: flex-start;
    flex-direction: var(--stack-for-mobile);
    border-bottom: var(--desktop-only-border) var(--color-hr);
}

section.profile-contact-sub:last-of-type {
    border-bottom: none;
}

section.profile-contact-sub .left-sub {
    flex: var(--column-width-half);
}

section.profile-contact-sub .right-sub {
    flex: var(--column-width-half);
}

section.profile-contact .right a  { line-height: 32px; }

.left-sub ul, .right-sub ul {
    margin: var(--sub-list-margin);
}

.last-section {
    margin-bottom: var(--last-section-margin);
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    z-index: 1;
    background-color: var(--color-footer-background);
}

footer.project-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    z-index: 1;
    background-color: black;
    color: var(--color-white) !important;
}

footer.project-footer div a {
    color: var(--color-white) !important;
}

#footer-inner {
    max-width: var(--max-width);
    height: var(--footer-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 var(--margin-width) 0 var(--margin-width);
    color: var(--color-white-text);
}

footer div {
    font-size: var(--font-size-small);
    font-weight: 500;
    font-size: 15px;
}

footer div:first-of-type {
    /*margin-left: var(--margin-width);*/
}

footer div:last-of-type {
    /*margin-right: var(--margin-width);*/
}

footer a {
    text-decoration: none;
    color: var(--color-white-text);
}

footer a:hover {
    text-decoration: none;
    color: var(--color-cta);
}

footer span {
    display: inline-block;
    margin: 0 7px 0 10px;
    color: var(--color-white-text);
}

#carousel {
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: var(--slide-aspect-ratio);
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
    background-color: var(--color-background);
    line-height: 0;
    cursor: pointer;
    overscroll-behavior-x: contain;
}

#carousel-slides {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
    overflow: hidden;
}

.slide {
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
    overflow: hidden;
    background-position: top center;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

        user-drag: none;
        -webkit-user-drag: none;
        pointer-events: none;
    overscroll-behavior-x: contain;
}

.slide h1 {
  color: white;
  font-size: 52px;
  margin: 5% 0 0 5%;
}

.current-slide {
    z-index: 5;
    opacity: 1;
}

.animation {
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .500s;
    animation-play-state: running;
}

/*
.prev-slide  {
    z-index: 4;
	opacity: 0;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}
*/


@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


#carousel-controls {
    display: flex;
    z-index: 10;
    justify-content: space-between;
    top: 0px;
    left: 0px;
    width: 100%;
    aspect-ratio: var(--slide-aspect-ratio);
    max-width: var(--max-width);
    /*max-height: calc(100vh - var(--header-height));*/
}

#carousel-title {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--carousel-title-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--carousel-spacing);
}

.carousel-title-left {
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-title-right {
    width: 15%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#carousel-title span {
    font-size: var(--font-size-small);
    color: white;
}

#carousel-controls,
#carousel-title {
    pointer-events: none;
}

#left-arrow, #right-arrow {
    display: flex;
    align-content: center;
    align-self: center;
    align-items: center;
    width: 160px;
    height: 100%;
    /*max-height: calc(100vh - var(--header-height));*/
}

#left-arrow-target, #right-arrow-target {
    pointer-events: auto;
}

@media (hover: none) {
    #left-arrow img, #right-arrow svg {
        display: none;
    }
}

#right-arrow {
    justify-content: flex-end;
}

#left-arrow {
    justify-content: flex-start;
}

#left-arrow svg, #right-arrow svg {
    cursor: pointer;
    margin-right: var(--carousel-spacing);
    display: var(--show-for-desktop);
}

#left-arrow svg {
    margin-left: var(--carousel-spacing);
}

@media (hover: none) {
    .carousel-arrow-container svg {
        visibility: visible;
    }
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(var(--grid-2-col), 1fr);
    gap: var(--grid-y-gap) var(--grid-x-gap);
    margin-top: var(--grid-2-col-top-margin) ;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(var(--grid-3-col), 1fr);
    gap: var(--grid-y-gap-work) var(--grid-x-gap);
    margin-top: var(--grid-y-gap);
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(var(--grid-4-col), 1fr);
    gap: var(--grid-y-gap) var(--grid-x-gap);
    margin-top: var(--grid-y-gap);
}


.tile {
    aspect-ratio: 3 / 2;
}

.tile-image-wrapper {
    position: relative;
    aspect-ratio: var(--tile-aspect-ratio);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.tile-link:hover .tile-image-wrapper::after {
    background-color: rgba(0, 0, 0, 0.4);
}


.tile-image-wrapper img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
}

.tile-image-wrapper.portrait {
    --photo-background: none;
}

.tile-image-wrapper.portrait::before {
    content: "";
    position: absolute;
    inset: -30px;

    background-image: var(--photo-background);
    background-size: cover;
    background-position: center;

    filter: blur(10px) brightness(0.65);
    transform: scale(1.1);

    z-index: 1;
}

.tile-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.15);
    transition: background-color .2s ease;

    z-index: 2;
    pointer-events: none;
}

.tile-image-wrapper.portrait img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.2);
}

.tile-link:hover .tile-image-wrapper::after {
    background-color: rgba(0, 0, 0, 0.4);
}



.tile-image-wrapper.vimeo {
    aspect-ratio: var(--tile-aspect-ratio) !important;
    background-color: black;
    overflow: hidden; /* hide any tiny letterboxing/rounding gaps from the iframe */
}

.tile-image-wrapper.vimeo iframe {
    position: absolute;
    top: -0.5%;
    left: -0.5%;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: contrast(1.05) brightness(1.1);*/
}

.tile h2 {
    font-size: var(--font-size-small);
    margin: 11px 0 0px 0;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--color-text);
}

span.gallery {
    font-size: var(--font-size-small);
}

.tile span {
    color: #7b7b7b;
    display: block;
    font-size: var(--font-size-tile);
    font-weight: 200;
    margin: 0;
    line-height: 24px;
}

.tile span.gallery {
   /* margin-top: 7px;*/
}

.tile h2 span {
    display: inline;
    text-transform: lowercase;
    font-weight: 500;
    color: var(--color-text);
}

.tile span.project-list-tag {
    display: inline-block;
    color: var(--color-nav-hover);
    font-size: var(--font-size-small);
    font-weight: 200;
    margin: 4px 0 0 0;
}

#project-wrapper {
    max-width: var(--max-width);
    margin: var(--project-wrapper-margin) var(--margin-width) var(--project-wrapper-margin) var(--margin-width);
}

.project-grid-1-col {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--grid-y-gap) var(--grid-x-gap);
    margin-bottom: var(--grid-y-gap-projcts);
}

.project-grid-2-col {
    display: grid;
    grid-template-columns: repeat(var(--grid-2-col), 1fr);
    gap: var(--grid-y-gap-projcts) var(--grid-x-gap);
    align-items: start;
    margin-bottom: var(--grid-y-gap-projcts);
}

.project-grid-2-col-next-projects {
    display: grid;
    grid-template-columns: repeat(var(--grid-2-col), 1fr);
    gap: var(--grid-y-gap-projcts-next-projects) var(--grid-x-gap);
    align-items: start;
    margin-bottom: var(--grid-y-gap-projcts);
}

.project-image-wrapper, .project-image-wrapper img {
    width: 100%;
    height: auto;
    /* Don't think this is needed: aspect-ratio: var(--tile-aspect-ratio); */
}

.project-image-wrapper.vimeo {
    background-color: black;
    position: relative;
    aspect-ratio: var(--tile-aspect-ratio) !important;
}

.project-image-wrapper.vimeo-2-col {
    background-color: black;
    position: relative;
    aspect-ratio: var(--tile-aspect-ratio) !important;
    overflow: hidden;
}

@media (max-width: 799px) {
    .project-image-wrapper.vimeo, .project-image-wrapper.vimeo-2-col {
        aspect-ratio: var(--tile-aspect-ratio) !important;
    }
}

.project-image-wrapper span {
    color: var(--color-white);
    font-size: var(--font-size-small);
    display: inline-block;
    margin: var(--next-projects-span-margin);
}

.hide-for-medium-down {
    display: var(--hide-for-medium-down);
}

.introduction {
    margin-bottom: var(--project-into-text);
}

h1.project-title {
    margin: var(--project-h1-margin);
}

.info-point.links:first-of-type {
    margin-top: var(--info-point-links-margin);
    width: 100%;
}

span.project-tag {
    color: var(--color-nav-hover);
    font-weight: 500;
}

.project-introduction {
    margin: var(--project-intro-margin);
}

.project-introduction p {
    font-size: var(--font-size-project-medium);
    line-height: var(--project-intro-line-height);
}

.project-content-text {
    aspect-ratio: auto;
}

.project-content-text p {
    font-size: var(--font-size-project-large);
    line-height: 30px;
}

.project-content-text p:first-of-type {
    margin-top: var(--project-content-text-margin);
}

.project-content-text p:last-of-type {
    margin-bottom: var(--project-content-text-margin);
}

.project-info-section p, .project-info-section span {
    font-size: var(--font-size-project-large);
}

#project-info-wrapper {
    margin: var(--project-info-wrapper-margins);
    border-top: 1px solid var(--color-hr);
}

.project-information {
    display: flex;
    flex-direction: var(--project-infomation-flex-direction);
    justify-content: space-between;
    gap: 0 20px;
    padding-bottom: var(--project-information-section-padding);
    border-bottom: 1px solid var(--color-hr);
}

.project-information:last-of-type {
    border: none;
}

.project-information .left {
  font-size: var(--font-size-small);
  flex: 1;
}

.project-information .right {
    flex: 1;
    max-width: var(--project-infomation-max-width);
}

.project-information .left h2, .project-information .right h2 {
    font-weight: 500;
    color: var(--color-text);
    font-size: var(--font-size-small);
    margin: var(--project-infomation-h2-margin);
    line-height: 23px;
}

.project-information .left h3, .project-information .right h3 {
  font-weight: 300;
  color: var(--color-nav-hover);
  font-size: var(--font-size-small);
  margin: 21px 0 0 0;
}

.project-information .left p, .project-information .right p {
    font-weight: 200;
    color: var(--color-text);
    font-size: var(--font-size-small);
    line-height: 23px;
}

.project-information .left span, .project-information .right span {
    font-weight: 200;
    color: var(--color-text);
    font-size: var(--font-size-small);
    line-height: 23px;
}

.project-information .left a, .project-information .right a {
    font-weight: 200;
    color: var(--color-text);
    font-size: var(--font-size-small);
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.project-information .left a:hover, .project-information .right a:hover {
    text-decoration: none;
    color: var(--color-nav-hover);
}

.project-information .left ul, .project-information .right ul {
    margin: 1px 0 0 0;
}

.project-information .left li, .project-information .right li {
    font-weight: 200;
    color: var(--color-text);
    font-size: var(--font-size-small);
    margin-bottom: -4px;
}

.project-sub-columns {
    display: flex;
    flex-direction: var(--project-infomation-flex-direction);
    justify-content: space-between;
    gap: 0 20px;
    margin-top: var(--project-sub-col-margin);
}

.project-sub-columns .left, .project-sub-columns .right {
    flex: 1;
}

#project-next-wrapper {
    box-sizing: border-box;
    width: 100%;
    display: flow-root; /* Fix to stop title margin extending over top of parent */
    background-color: var(--color-mid-dark-gray);
}

#project-next-wrapper-inner {
    box-sizing: border-box;
    max-width: 1600px;
    margin: auto;
    display: flow-root; /* Fix to stop title margin extending over top of parent */
    padding: var(--project-next-inner-padding);
}

h2.next-project-title {
    font-weight: 500;
    color: var(--color-white);
    font-size: var(--font-size-small);
    margin: 28px 0 56px 0;
}

div.right.single-photo {
    display: flex;
    justify-content: center;
    align-items: start;
}

img.single-photo {
    /*border: 15px solid white;*/
    max-width: calc(100% - 30px);
    max-height: 700px;
}
}

h2.photo-page {
    margin: 0 0 12px 0 !important;
    font-size: 18px;
}

.photo-meta {
    margin-top: 3rem;
    width: calc(80% + 40px);
}

.photo-meta table {
    width: 100%;
    border-collapse: collapse;
}

.photo-meta tr:nth-child(odd) {
    background-color: #f1f1f1;
}

.photo-meta tr:nth-child(even) {
    background-color: #fafafa;
}

.photo-meta tr {
    border-bottom: 1px solid var(--border-colour);
}

.photo-meta tr:last-child {
    border-bottom: none;
}

.photo-meta th,
.photo-meta td {
    padding: 10px;
    text-align: left;
}

.photo-meta th {
    width: 37%;
    font-weight: 500;
    color: var(--color-text);
    /*text-transform: uppercase;*/
    font-size: 14px;
}

.photo-meta td {
    font-weight: 200;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-family: monospace;
    color: #666666;
}

@media screen and (max-width: 800px) {
    .form-container {
        width: auto;
        margin: 30px 0 30px 0;
    }
    .photo-meta {
        margin-top: 30px;
        width: auto;
        max-width: none;
    }

    .slide h1 {
        font-size: 36px;
    }
}


.price-selector {
    width: 100%;
    max-width: 600px;
}

.price-selector__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-selector__header label {
    font-weight: 500;
}

.price-selector__input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.price-selector__input span {
    padding-left: 0.75rem;
}

.price-selector__input input {
    width: 5rem;
    padding: 0.6rem 0.75rem 0.6rem 0.25rem;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: right;
}

.price-selector__input input:focus {
    outline: none;
}

.price-selector__input:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.price-selector__slider {
    width: 100%;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-cta);
}

.price-selector__labels {
    position: relative;
    height: 1.5rem;
    margin-top: 0.4rem;
    font-size: 0.875rem;
}

.price-selector__labels span {
    position: absolute;
    top: 0;
    white-space: nowrap;
}

.price-selector__labels span:first-child {
    left: 0;
}

.price-selector__labels span:nth-child(2) {
    /*
     * £10 is the fourth of eight possible values.
     * Its position is 3 intervals through a 7-interval range.
     */
    left: 42.857%;
    transform: translateX(-50%);
}

.price-selector__labels span:last-child {
    right: 0;
}

.price-selector__help {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.75;
}

#price-span {
    color: var(--color-white-text);
    font-weight: bold;
}

.price-selector__slider::-webkit-slider-runnable-track {
    height: 15px;
    background: #d3d3d3;   /* Your grey track */
    border-radius: 999px;
}

.price-selector__slider::-moz-range-track {
    height: 15px;
    background: #d3d3d3;   /* Your grey track */
    border-radius: 999px;
}

.section-container {
    display: flex;
    min-height: 450px;
}

.text-to-left, .text-to-right {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 50%;
    padding: 0 5%;
}

.text-to-right-quote {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    width: 50%;
    padding: 0 3% 0 0;
    margin: 0 0 0 50px;
}

.text-to-left h2, .text-to-right h2, h2.cpd {
    font-size: 48px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    /*letter-spacing: 2px;*/
}

.image-left, .image-right {
    background-position: center center;
    background-size: cover;
    width: 50%;
    height: 450px;
}

@media only screen and (max-width: 800px) {
    .section-container {
        flex-direction: column;
        min-height: auto;
    }

    .reverse-for-small {
        flex-direction: column-reverse !important;
    }

    .text-to-left, .text-to-right, .image-left, .image-right {
        width: 100%;
    }

    .text-to-left, .text-to-right {
        margin: 40px 0 40px 0;
    }

    .image-left, .image-right {
        height: 450px;
    }
}

