/*
 * Cameron Krone. The look is the 2018-2025 site's, measured from the live pages on 2026-10-22;
 * sizes and spacing match those pages at 1440px and 390px wide.
 */

/* Fonts ------------------------------------------------------------------------------------ */

@font-face {
    font-family: "SweetSans";
    src: url("../fonts/SweetSansPro-Medium.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ScotchModern";
    src: url("../fonts/ScotchModernDisplay.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LeJeune";
    src: url("../fonts/LeJeunePoster-Light.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Base ------------------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: #000;
    font: 300 14px/23px "SweetSans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
}

h1 {
    font: 300 120px/100px "LeJeune", serif;
    text-transform: uppercase;
}

h2 {
    font: 500 24px/1.2 "LeJeune", serif;
    color: #393939;
}

h3 {
    font: 300 21px/27px "ScotchModern", serif;
}

h4 {
    font: 400 10px/11px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h5 {
    font-size: 19px;
    font-weight: 500;
    color: #393939;
}

h6 {
    font: 500 15px/1.4 "SweetSans", sans-serif;
}

p {
    font-family: "ScotchModern", serif;
}

a {
    color: #000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

ul {
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

/* Selected text is soft grey on every page, never the computer's accent colour. */
::selection {
    background: #e0e0e0;
    color: #000;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Short pages (404, search, a short policy) keep the footer at the foot of the window. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.site-content {
    position: relative;
    flex-grow: 1;
}

/* Header ----------------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
}

.header-bar {
    position: relative;
    height: 41px;
    border-bottom: 1px solid #000;
    background: rgba(255, 255, 255, 0);
    transition: background-color 0.2s ease;
}

.scrolled .header-bar,
.page-template-work-template .header-bar {
    background: #fff;
}

.main-menu {
    float: left;
    padding-left: 26px;
}

.main-menu ul {
    display: flex;
}

.main-menu a {
    display: block;
    padding: 0 24px;
    font: 400 10px/40px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
    text-decoration: underline;
}

.logo {
    position: absolute;
    top: 2px;
    right: 38px;
    width: 230px;
    height: 40px;
    background: url("../img/logo.svg") no-repeat top left / contain;
}

.home .logo {
    opacity: 0;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1000px) {
    .site-header {
        position: relative;
    }

    .header-bar {
        height: auto;
        padding-top: 70px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 0;
        left: 20px;
        z-index: 2;
        height: 70px;
        width: 19px;
        color: #5d5d5d;
    }

    .menu-toggle svg {
        display: block;
        width: 13px;
        height: 11px;
    }

    .logo,
    .home .logo {
        top: 15px;
        right: auto;
        left: 50%;
        height: 39px;
        margin-left: -115px;
        opacity: 1;
    }

    .main-menu {
        display: none;
        float: none;
        padding: 0 0 10px;
        background: #fff;
    }

    .menu-open .main-menu {
        display: block;
    }

    .main-menu ul {
        display: block;
    }

    .main-menu li {
        padding-left: 20px;
    }

    .main-menu a {
        display: block;
        padding: 9px 0;
        line-height: 17px;
    }
}

/* Footer ----------------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    z-index: 100;
    display: flex;
    padding: 20px 45px;
    border-top: 1px solid #000;
    background: #fff;
    font: 300 9px/9px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Two columns, flush left and flush right (Cam, 2026-10-22: "clean right and left alignment"). */
.footer-col-1 {
    max-width: 380px;
}

.footer-col-2 {
    margin-left: auto;
    text-align: right;
}

.footer-col p {
    font-family: inherit;
}

.footer-col .copyright,
.footer-col .footer-email {
    margin-bottom: 12.5px;
}

.footer-col-2 p:not(.footer-email) {
    margin-bottom: 5px;
}

@media (max-width: 1000px) {
    .site-footer {
        display: block;
        padding: 15px;
    }

    .footer-col-1 {
        margin-bottom: 25px;
    }

    .footer-col-2 {
        text-align: left;
    }
}

.back-to-top {
    position: fixed;
    right: 33px;
    bottom: 50px;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.show-top-link .back-to-top {
    opacity: 1;
    visibility: visible;
}

/* Page builder rows (project pages, About) -------------------------------------------------- */

.full-width {
    width: 100%;
    overflow-x: clip;
}

@media (min-width: 1001px) {
    .full-width,
    .page-column {
        padding-top: var(--top-pad, 0);
    }
}

.vc_row {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
}

.vc_row::after,
.full_section_inner::after {
    content: "";
    display: table;
    clear: both;
}

.full_section_inner {
    position: relative;
    z-index: 20;
}

.vc_column_container {
    float: left;
    width: 100%;
    min-height: 1px;
}

.vc_column-inner {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.vc_column-inner::after {
    content: "";
    display: table;
    clear: both;
}

@media (min-width: 768px) {
    .vc_col-sm-1 { width: 8.33333333%; }
    .vc_col-sm-2 { width: 16.66666667%; }
    .vc_col-sm-3 { width: 25%; }
    .vc_col-sm-4 { width: 33.33333333%; }
    .vc_col-sm-5 { width: 41.66666667%; }
    .vc_col-sm-6 { width: 50%; }
    .vc_col-sm-7 { width: 58.33333333%; }
    .vc_col-sm-8 { width: 66.66666667%; }
    .vc_col-sm-9 { width: 75%; }
    .vc_col-sm-10 { width: 83.33333333%; }
    .vc_col-sm-11 { width: 91.66666667%; }
    .vc_col-sm-12 { width: 100%; }
}

.vc_col-xs-6 {
    float: left;
    width: 50%;
}

@media (max-width: 767px) {
    .vc_hidden-xs { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .vc_hidden-sm { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .vc_hidden-md { display: none !important; }
}

@media (min-width: 1200px) {
    .vc_hidden-lg { display: none !important; }
}

.wpb_single_image.vc_align_left {
    text-align: left;
}

.wpb_single_image.vc_align_center {
    text-align: center;
}

.wpb_single_image.vc_align_right {
    text-align: right;
}

.vc_single_image-wrapper {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.vc_single_image-img {
    vertical-align: top;
}

.portfolio_img {
    z-index: 2000;
}

.wpb_text_column a {
    color: #000;
}

.wpb_text_column img {
    max-width: 100%;
}

.wpb_text_column img.aligncenter {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .vc_row.wpb_row {
        padding: 0 !important;
    }

    body:not(.page-about) .vc_row.wpb_row:last-of-type {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .vc_row.wpb_row .vc_column_container {
        padding-bottom: 20px !important;
    }

    .vc_row.wpb_row .vc_column_container > .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .full-width .vc_column_container > .vc_column-inner {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }

    .wpb_single_image.wpb_content_element {
        padding: 0 !important;
    }
}

@media (max-width: 600px) {
    .wpb_single_image img {
        width: 100%;
    }
}

/* Project title, fixed over the pictures --------------------------------------------------- */

.page-title {
    position: fixed;
    top: 340px;
    left: 50%;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 60px);
    height: 330px;
    text-align: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.page-title h1 {
    font-size: 120px;
    line-height: 100px;
}

@media (max-width: 1000px) {
    .page-title {
        position: absolute;
        top: 185px;
        height: 68px;
    }

    .page-title h1 {
        font-size: 48px;
        line-height: 1;
        text-transform: capitalize;
    }
}

/* About and Contact: centred in the window ------------------------------------------------- */

.page-about .site-content,
.page-contact .site-content {
    min-height: 100vh;
    min-height: calc(100dvh - var(--sg-consent-h, 0px));
}

@media (min-width: 769px) {
    .page-about .site-content,
    .page-contact .site-content {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-about .site-content > .full-width {
        flex: 1;
    }
}

/* Home ------------------------------------------------------------------------------------- */

.home-container {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    height: 100vh;
    /* Ends at the cookie banner's top while it shows, full height once it's gone. */
    height: calc(100dvh - var(--sg-consent-h, 0px));
}

.home-container .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 40px;
    padding: 72px 36px;
}

.home-container .clients p {
    font-family: inherit;
}

.home-container .clients h3 {
    max-width: 66%;
}

.home-container .info h1 {
    font-size: 9vw;
    line-height: 0.85;
}

.home-slider {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.home-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-slider .slide.is-active {
    opacity: 1;
    z-index: 1;
}

.home-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 1000px) {
    .home-container {
        grid-template-columns: 100%;
    }

    .home-container .info {
        display: none;
    }
}

@media (max-width: 530px) {
    .home-container {
        height: auto;
    }

    .home-slider {
        height: 0;
        padding-bottom: 133.333%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slider .slide {
        transition: none;
    }
}

/* Work ------------------------------------------------------------------------------------- */

.work-container {
    width: calc(100% - 65px);
    margin: 0 auto;
}

#clients-wrapper {
    padding: 100px 0 65px;
    font: 300 75px/1.3 "LeJeune", serif;
}

.one-client {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    padding-right: 10px;
}

.one-client a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.one-client::after {
    content: "|";
    position: absolute;
    top: 0;
    right: -20px;
}

.one-client:last-of-type::after,
.one-client.last-of-row::after {
    content: none;
}

#clients-wrapper.hovered,
#clients-wrapper.hovered a {
    color: #999;
}

#clients-wrapper.hovered .one-client:hover,
#clients-wrapper.hovered .one-client:hover a {
    color: #000;
}

.one-client-hover {
    display: none;
}

@media (min-width: 1024px) {
    .one-client-hover {
        display: block;
        position: absolute;
        bottom: 30%;
        left: 50%;
        z-index: 4;
        width: 350px;
        opacity: 0;
        transform: translate(-50%, 0);
        transition: opacity 0.35s;
        pointer-events: none;
    }

    .one-client-hover.portrait {
        aspect-ratio: 3 / 4;
        overflow: hidden;
    }

    .one-client-hover.landscape {
        width: 430px;
    }

    .one-client-hover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .one-client-hover.portrait img {
        aspect-ratio: 3 / 4;
    }

    /* Inline, as before: the line's descender space below lifts the picture to the same spot. */
    .one-client-hover.landscape img {
        display: inline;
        aspect-ratio: 4 / 3;
    }

    .one-client:hover .one-client-hover {
        opacity: 1;
        z-index: 2;
    }

    .one-client.top-client .one-client-hover {
        top: 30%;
        bottom: auto;
    }

    .one-client.top-client:first-of-type .one-client-hover {
        transform: none;
    }
}

@media (min-width: 1001px) and (max-width: 1024px) {
    #clients-wrapper {
        font-size: 60px;
    }
}

@media (max-width: 1000px) {
    .work-container {
        width: auto;
        margin: 0 20px;
    }

    #clients-wrapper {
        padding: 50px 0;
        font-size: 35px;
    }

    .one-client {
        padding-right: 0;
    }
}

/* Journal ---------------------------------------------------------------------------------- */

.journal-container {
    width: calc(100% - 60px);
    margin: 0 auto;
    padding-top: 100px;
}

.journal-heading {
    padding-bottom: 45px;
    text-align: center;
}

.journal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 20px;
}

.journal-item {
    flex: 0 0 24%;
    width: 24%;
    margin-bottom: 30px;
}

.journal-image {
    display: block;
}

.journal-image img {
    display: block;
    box-sizing: content-box;
    width: 100%;
    border: 1px solid #999;
}

.journal-item h3 {
    margin-top: 18px;
    font: 300 36px/1.2857 "ScotchModern", serif;
}

.journal-item h3 a {
    text-decoration: none;
}

.journal-more {
    padding: 10px 0 20px;
    text-align: center;
    font: 400 10px/24px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    .journal-container {
        padding-top: 25px;
    }

    .journal-item {
        flex-basis: 32%;
        width: 32%;
    }
}

@media (max-width: 900px) {
    .journal-container {
        width: 700px;
    }
}

@media (max-width: 768px) {
    .journal-heading {
        padding: 1px 0 26px;
    }

    .journal-grid {
        margin: 0;
    }
}

@media (max-width: 720px) {
    .journal-container {
        width: 480px;
    }

    .journal-item {
        flex-basis: 49%;
        width: 49%;
    }
}

@media (max-width: 600px) {
    .journal-container {
        width: auto;
        margin: 0 20px;
    }

    .journal-item {
        flex-basis: 100%;
        width: 100%;
    }
}

/* Centred column: journal entries and plain pages ------------------------------------------ */

.page-column {
    width: 1100px;
    margin: 0 auto;
}

.journal-entry {
    padding: 80px 0 23px;
}

.post-image img {
    display: block;
    width: 100%;
}

.post-content {
    padding-top: 21px;
}

.post-content h2 {
    margin: 23px 0 35px;
    font: 300 48px/1.2 "ScotchModern", serif;
    color: #000;
    text-transform: capitalize;
}

.postid-22862 .post-content h2 {
    margin-bottom: 0;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 25px 0 15px;
}

.post-content .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.post-content .wp-caption {
    display: inline-block;
    width: 100% !important;
    max-width: 100%;
}

.post-content .wp-caption-text,
.post-content figcaption {
    display: none;
}

.post-content .wp-block-gallery.has-nested-images {
    gap: 25px !important;
    margin-bottom: 14px;
}

@media (max-width: 1200px) {
    .page-column {
        width: 950px;
    }
}

@media (max-width: 1000px) {
    .page-column {
        width: 768px;
    }

    .journal-entry {
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-column {
        width: 600px;
    }

    .post-content img {
        width: 100%;
        margin-bottom: 20px;
    }

    .post-content .wp-block-gallery.has-nested-images figure.wp-block-image {
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    .page-column {
        width: auto;
        margin: 0 20px;
    }
}

@media (max-width: 578px) {
    .post-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .post-content h2 {
        padding-top: 6px;
        font-size: 24px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .post-content {
        padding-top: 1px;
    }

    .post-content h2 {
        margin-bottom: 25px;
    }
}

/* Contact ---------------------------------------------------------------------------------- */

.contact-container {
    padding: 150px 20px;
    text-align: center;
}

.contact-item + .contact-item {
    margin-top: 30px;
}

.contact-item dt {
    font: 400 10px/11px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item dd {
    margin-top: 4px;
    font: 300 14px/23px "ScotchModern", serif;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 80px 20px;
    }
}

/* Privacy policy: section titles in a left rail, text on the right, hairlines between ------- */

.privacy-policy {
    padding: 100px 0 100px;
}

.privacy-head {
    padding-bottom: 50px;
}

.privacy-head h1 {
    font-size: 48px;
    line-height: 1;
    text-transform: capitalize;
}

.privacy-updated {
    margin-top: 20px;
    font: 400 10px/11px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.privacy-section {
    display: grid;
    grid-template-columns: 33.333% 66.667%;
    padding: 30px 0;
    border-top: 1px solid #000;
}

.privacy-section:last-child {
    border-bottom: 1px solid #000;
}

.privacy-section h2 {
    padding-right: 30px;
    font: 400 10px/23px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

.privacy-text p {
    font: 300 14px/23px "ScotchModern", serif;
}

.privacy-text p + p {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 50px 0;
    }

    .privacy-head {
        padding-bottom: 30px;
    }

    .privacy-section {
        display: block;
        padding: 20px 0;
    }

    .privacy-section h2 {
        margin-bottom: 10px;
        padding: 0;
    }
}

/* Search results and other plain lists ----------------------------------------------------- */

.archive-list {
    padding: 100px 0 50px;
}

@media (max-width: 1000px) {
    .archive-list {
        padding: 30px 0;
    }
}

/* Not found: the project title's size and the menu's labels, centred in the window -------- */

.error404 .site-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found {
    padding: 120px 20px 100px;
    text-align: center;
}

.not-found h1 {
    font-size: 120px;
    line-height: 100px;
}

.not-found p {
    margin-top: 30px;
    font: 300 14px/23px "ScotchModern", serif;
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 48px;
    margin-top: 40px;
}

.not-found-links a {
    font: 400 10px/11px "SweetSans", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    .not-found {
        padding: 80px 20px;
    }

    .not-found h1 {
        font-size: 48px;
        line-height: 1;
    }
}

/* Cookie banner: text and buttons on the footer's margins (45px, 15px on phones). */
:root {
    --sg-consent-gutter: 45px;
}

@media (max-width: 1000px) {
    :root {
        --sg-consent-gutter: 15px;
    }
}
