@charset "UTF-8";
/* Light Ink — light grey background, deep charcoal + terracotta accent */
/* Palette: bg #eeece8 | header #f8f6f2 | accent #c0522a | dark #1e1c19 */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;600&display=swap");
html,
body {
    width: 100%;
    height: 100%;
}

body {
    font: 16px "Jost";
    font-weight: 300;
    margin: 0;
    padding: 0;
    color: #222;
    background: url(../img/bg.jpg) repeat;
}

* {
    box-sizing: border-box;
}

.wrapper,
.header {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 0 25px;
    margin: auto;
    text-align: center;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-flow: row;
    align-items: center;
    min-height: 96px;
    background: #f8f6f2;
    border-bottom: 1px solid #dcdad4;
}

.header-logo {
    display: flex;
    flex-flow: column;
    font-size: 24px;
    line-height: 115%;
    font-weight: 400;
    color: #c0522a;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.header-logo > small {
    font-size: 15px;
    line-height: 115%;
    font-weight: 300;
    color: #888078;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-nav .nav-item {
    font-size: 14px;
    font-family: "Jost";
    font-weight: 300;
    color: #555048;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 100px;
    transition:
        color ease 0.2s,
        background ease 0.2s;
}
.header-nav .nav-item:hover {
    color: #c0522a;
}
.header-nav .nav-item.active {
    color: #fff;
    background: #c0522a;
}

.header-burger {
    display: none;
    flex-flow: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #888078;
    border-radius: 2px;
    transition:
        transform ease 0.25s,
        opacity ease 0.25s;
}
.header-burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header-burger.open span:nth-child(2) {
    opacity: 0;
}
.header-burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media only screen and (max-width: 700px) {
    .header {
        padding: 0;
    }
    .header .container {
        flex-flow: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 25px 20px;
        gap: 0;
    }
    .header-burger {
        display: flex;
    }
    .header-nav {
        display: none;
        flex-flow: column;
        align-items: stretch;
        width: 100%;
        padding: 36px 0 16px;
        gap: 2px;
    }
    .header-nav.open {
        display: flex;
    }
    .header-nav .nav-item {
        border-radius: 6px;
        padding: 10px 14px;
        text-align: left;
    }
}

.menu {
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin-bottom: 40px;
}
.menu button.option {
    display: flex;
    justify-content: center;
    align-items: center;
    font: 16px "Jost";
    width: 100px;
    height: 36px;
    border: 0;
    margin: 0 5px;
    color: #555048;
    border-radius: 100px;
    background: #dedad4;
    cursor: pointer;
    transition: all ease 0.3s;
}
.menu button.option.active {
    color: #fff;
    background: #c0522a;
    transition: all ease 0.3s;
}

.content {
    padding: 40px 0;
    padding-top: 136px;
    min-height: calc(100vh - 60px);
}

@media only screen and (max-width: 700px) {
    .content {
        padding-top: 136px;
    }
}

.section {
    display: none;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 12px;
}
.section.active {
    display: flex;
}
.section-title {
    display: flex;
    flex-flow: column;
    width: 100%;
    margin-top: 60px;
}
@media only screen and (max-width: 600px) {
    .section-title {
        margin-top: 30px;
    }
}
.section-title:first-of-type {
    margin-top: 0;
}
.section-title h2 {
    position: relative;
    margin: 0;
    font-size: 28px;
    font-weight: 200;
    color: #2a2822;
    text-align: center;
    width: 100%;
}
.section-title h2 > span {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    color: #c0522a;
    padding: 0 8px;
    background: url(../img/bg.jpg) repeat;
    line-height: 100%;
    z-index: 2;
}
.section-title h2:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(238, 236, 232, 1) 0%,
        rgba(208, 204, 196, 1) 25%,
        rgba(208, 204, 196, 1) 75%,
        rgba(238, 236, 232, 1) 100%
    );
    z-index: 1;
}
.section-title > em {
    font-size: 18px;
    font-weight: 200;
    font-style: normal;
    color: #706860;
}
.section-title > em:before,
.section-title > em:after {
    content: "★";
    color: #b07858;
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    transform: translateY(-2px);
    margin: 0 8px;
    opacity: 0.7;
}
.section-title > p {
    padding: 0 10px;
    color: #2a2822;
}

.section-title > p:last-of-type {
    margin: 10px auto;
}

p.stats {
    color: #888078;
}
@media only screen and (max-width: 600px) {
    .section-title {
        font-size: 16px;
    }
    .section-title h2 {
        font-size: 24px;
    }
}
.section .v-item {
    background: #e4e1db;
    position: relative;
    padding: 28.5% 0 0 0;
    width: calc(50% - 6px);
    overflow: hidden;
}
.section .v-item > iframe {
    position: absolute;
    top: 0;
    left: 0;
    margin: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
}
.video-loading,
.photo-loading {
    position: absolute;
    inset: 0;
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 28, 25, 0.32);
    transition:
        opacity ease 0.25s,
        visibility ease 0.25s;
    z-index: 2;
}
.video-loading::after,
.photo-loading::after {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(248, 246, 242, 0.35);
    border-top-color: #f8f6f2;
    animation: video-spin 0.75s linear infinite;
}
.v-item.video-ready .video-loading,
.photo-card.photo-ready .photo-loading {
    opacity: 0;
    visibility: hidden;
}
.photo-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
}
.section .v-item.--full {
    width: 100%;
    padding: 58.25% 0 0 0;
}
.section .v-item.--full > iframe {
    position: absolute;
    top: 0;
    left: 0;
    margin: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}
.section .v-item.--full .video-loading {
    margin: 20px;
}
@media only screen and (max-width: 600px) {
    .section .v-item {
        width: 100%;
        padding: 58.25% 0 0 0;
    }

    .section .v-item > iframe,
    .section .v-item.--full > iframe,
    .section .v-item .video-loading,
    .section .v-item.--full .video-loading {
        margin: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }
}

@keyframes video-spin {
    to {
        transform: rotate(360deg);
    }
}

.footer {
    background: #1e1c19;
    padding: 20px 0;
    text-align: center;
    color: #888078;
    font-size: 14px;
}

/* Home page */
.home-hero {
    display: flex;
    align-items: center;
}
.home-hero .container {
    text-align: center;
}
.home-intro h2 {
    font-size: 32px;
    font-weight: 200;
    color: #c0522a;
    margin: 0 0 12px;
}
.home-intro p {
    font-size: 18px;
    color: #907060;
    margin: 0 0 60px;
}
.home-grid {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    justify-content: center;
}
.home-card {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: calc(25% - 12px);
    min-width: 160px;
    padding: 40px 20px;
    border: 1px solid #ccc8c0;
    border-radius: 12px;
    text-decoration: none;
    background: #f8f6f2;
    transition:
        border-color ease 0.2s,
        background ease 0.2s,
        box-shadow ease 0.2s;
    gap: 8px;
}
.home-card:hover {
    border-color: #c0522a;
    box-shadow: 0 4px 16px rgba(192, 82, 42, 0.12);
}
.home-card-label {
    font-size: 20px;
    font-weight: 400;
    color: #222018;
}
.home-card-sub {
    font-size: 13px;
    color: #888078;
}

@media only screen and (max-width: 600px) {
    .home-intro h2 {
        font-size: 28px;
    }
}

/* Placeholder pages */
.page-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #888078;
    font-size: 22px;
    font-weight: 200;
}

/* Photos page */
.photos-shell .container {
    text-align: left;
}
.photo-page-intro {
    margin-bottom: 28px;
}
.photo-page-intro > p {
    max-width: 640px;
    padding: 0;
}
.photo-menu {
    margin-bottom: 24px;
}
.photo-menu button.option {
    width: auto;
    min-width: 86px;
    padding: 0 18px;
}
.photo-section {
    width: 100%;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}
.photo-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 0;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #d9d4ce;
    cursor: pointer;
}
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform ease 0.3s,
        opacity ease 0.25s;
}
.photo-card:hover img {
    transform: scale(1.03);
}
.photo-card .photo-loading {
    margin: 0;
    background: rgba(30, 28, 25, 0.2);
}
.photo-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 13, 11, 0.9);
    z-index: 2000;
    padding: 32px 80px;
}
.photo-lightbox[hidden] {
    display: none;
}
.photo-lightbox-dialog {
    width: min(92vw, 1200px);
}
.photo-lightbox-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(76vh, 840px);
}
.photo-lightbox-image {
    border-radius: 8px;
    max-width: 100%;
    max-height: 82vh;
    display: block;
    opacity: 0;
    transition: opacity ease 0.25s;
}
.photo-lightbox-image.is-ready {
    opacity: 1;
}
.photo-lightbox-media .photo-loading {
    margin: 0;
    background: transparent;
}
.photo-lightbox-meta {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.photo-lightbox-counter {
    color: #f8f6f2;
    font-size: 15px;
    letter-spacing: 0.04em;
}
.photo-lightbox-close,
.photo-lightbox-nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #f8f6f2;
    cursor: pointer;
    transition:
        background ease 0.2s,
        color ease 0.2s;
}
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
    color: #fff;
}
.photo-lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 34px;
    line-height: 1;
}
.photo-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    line-height: 1;
}
.photo-lightbox-prev {
    left: -60px;
}
.photo-lightbox-next {
    right: -60px;
}
body.lightbox-open {
    overflow: hidden;
}
@media only screen and (max-width: 900px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .photo-lightbox {
        padding: 24px 18px 80px;
    }
    .photo-lightbox-dialog {
        width: 100%;
    }
    .photo-lightbox-nav {
        top: auto;
        bottom: -47px;
        transform: none;
    }
    .photo-lightbox-prev {
        left: calc(50% - 74px);
    }
    .photo-lightbox-next {
        right: calc(50% - 74px);
    }
}
@media only screen and (max-width: 600px) {
    .photo-grid {
        gap: 12px;
    }
    .photo-menu {
        flex-wrap: wrap;
        gap: 8px;
    }
    .photo-menu button.option {
        margin: 0;
    }
    .photo-lightbox-close {
        top: 12px;
        right: 12px;
    }
    .photo-lightbox-media {
        min-height: 64vh;
    }
}

/* Confirmation page */
.confirmation-wrap {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}
.confirmation-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #c0522a;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.confirmation-heading {
    font-size: 48px;
    font-weight: 200;
    color: #2a2822;
    margin: 0 0 20px;
}
.confirmation-message {
    font-size: 18px;
    color: #3a3830;
    line-height: 170%;
    max-width: 520px;
    margin: 0 0 12px;
}
.confirmation-sub {
    font-size: 15px;
    color: #888078;
    margin: 0 0 40px;
}
.confirmation-back {
    font-size: 14px;
    color: #888078;
    text-decoration: none;
    border-bottom: 1px solid #ccc8c0;
    padding-bottom: 2px;
    transition:
        color ease 0.2s,
        border-color ease 0.2s;
}
.confirmation-back:hover {
    color: #c0522a;
    border-color: #c0522a;
}

/* Book page */
.book-layout {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    gap: 60px;
    padding: 40px 0;
    text-align: left;
}
.book-cover {
    flex-shrink: 0;
    width: 280px;
}
.book-cover img {
    width: 100%;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(30, 28, 25, 0.25);
}
.book-ships {
    margin: 20px 0 0;
    font-size: 15px;
    text-align: center;
    color: #888078;
    font-style: italic;
}
.book-title {
    font-size: 42px;
    font-weight: 200;
    color: #c0522a;
    margin: 0 0 24px;
    line-height: 110%;
}
.book-summary p {
    font-size: 17px;
    line-height: 175%;
    color: #3a3830;
    margin: 0 0 20px;
}
.book-preorder {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 32px;
    background: #1e1c19;
    color: #f8f6f2;
    font-size: 15px;
    font-family: "Jost";
    font-weight: 400;
    text-decoration: none;
    border-radius: 100px;
    transition: background ease 0.2s;
}
.book-preorder:hover {
    background: #c0522a;
}
.book-authors-note {
    margin: 28px 0 24px;
    padding: 16px 20px;
    border-left: 3px solid #c0522a;
    background: #f0ede8;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    line-height: 170%;
    color: #555048;
    font-style: italic;
}
.book-authors-note strong {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #2a2822;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
@media only screen and (max-width: 700px) {
    .book-layout {
        flex-flow: column;
        gap: 32px;
    }
    .book-cover {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .book-title {
        font-size: 32px;
    }
    .book-preorder {
        display: block;
        text-align: center;
    }
}
