@font-face {
    font-family: "Baskervville";
    src: url("../fonts/Baskervville-Regular.otf") format("opentype"),
    url("../fonts/Baskervville-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Baskervville";
    src: url("../fonts/Baskervville-Italic.otf") format("opentype"),
    url("../fonts/Baskervville-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body {
    border: 1px solid var(--darkest)
}

:root {
    --main: #44374d;
    --darkest: #221b27;
    --accent: #937f9f;
    --light-lavender: #dbd6de;
    --pale-pink: #d3c9d9;
    --forest-dark: #252a22;
    --forest: #35402e;
    --moss: #6c8060;
    --sage: #bbc8b2;
    --mint: #d7ded4;

    --font-display: "Baskervville", Georgia, "Times New Roman", serif;
    --font-body: "Baskervville", Georgia, "Times New Roman", serif;

    --gutter: clamp(1.25rem, 4vw, 3rem);
    --max-width: 1180px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.text-sage {
    color: var(--sage);
}

.text-accent {
    color: var(--accent);
}

.text-pale-pink {
    color: var(--pale-pink);
}

.text-moss {
    color: var(--moss);
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--pale-pink);
    background: var(--main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.wrap {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---- Typography ---- */

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--pale-pink);
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: clamp(2.2rem, 5vw, 4rem);
    }

    h2 {
        font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    }

    h3 {
        font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    }

    .hero-inner h2 {
        margin-top: 0.75rem;
    }
}

.section-alt h1,
.section-alt h2,
.section-alt h3 {
    color: var(--main);
}

.section-alt p {
    color: var(--main);
}

p {
    max-width: 62ch;
}

.lede {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    color: var(--pale-pink);
}

.muted {
    color: var(--moss);
}

/* ---- Skip link (accessibility) ---- */

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--main);
    color: var(--mint);
    padding: 0.75rem 1.25rem;
    z-index: 100;
}

.skip-link:focus {
    left: var(--gutter);
    top: var(--gutter);
}

/* ---- Focus visibility ---- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--darkest);
    color: var(--pale-pink);
    border-bottom: 1px solid rgba(211, 201, 217, 0.15);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.1rem;
}

.wordmark {
    display: inline-flex;
}

.wordmark img {
    display: block;
    height: 120px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--pale-pink);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.4rem;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pale-pink);
    margin: 5px 0;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.98rem;
    color: var(--moss);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    width: 100%;
}

.main-nav a[aria-current="page"] {
    color: var(--sage);
    font-weight: 600;
}

@media (max-width: 700px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: var(--darkest);
        border-bottom: 1px solid rgba(211, 201, 217, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease);
    }

    .main-nav.is-open {
        max-height: 320px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem var(--gutter) 1.5rem;
    }

    .main-nav li {
        border-top: 1px solid rgba(211, 201, 217, 0.15);
    }

    .main-nav a {
        display: block;
        padding: 0.9rem 0;
    }

    .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ---- Home page logo (between header and hero) ---- */

.home-logo {
    display: flex;
    justify-content: center;
    padding-block: clamp(2rem, 5vw, 3rem) 0;
}

.home-logo img {
    width: clamp(220px, 34vw, 420px);
    height: auto;
    display: block;
}

/* ---- Hero ---- */

.hero {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(240px, 34%) 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
}

@media (max-width: 800px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
}

.hero-photo {
    aspect-ratio: 2.1 / 3.5;
    overflow: hidden;
    background: var(--main);
}

@media (max-width: 800px) {
    .hero-photo {
        max-width: 340px;
        margin-inline: auto;
        aspect-ratio: inherit;
    }
}

.hero-based-in {
    text-align: left;
    margin-top: auto;
    color: var(--sage);
}

@media (max-width: 800px) {
    .hero-based-in {
        margin-top: 1rem;
    }

    .hero-description {
        line-height: 1.5;
    }
}


.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo img::before, .hero-photo img::after {
    box-sizing: content-box;
    content: "hello!";
}

.hero-inner {
    animation: rise 0.9s var(--ease) both;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*.hero h1 {*/
/*  max-width: 14ch;*/
/*}*/

.hero .lede {
    margin-top: 1rem;
    max-width: 40ch;
}

.hero-meta {
    margin-top: 2rem;
    font-size: 0.92rem;
    color: var(--moss);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    flex-direction: column;
}

/* ---- Sections ---- */

section {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-alt {
    background: var(--pale-pink);
}

.section-gallery {
    background: var(--darkest);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    flex-wrap: wrap;
}

.section-head .link-more {
    white-space: nowrap;
}

hr.rule {
    border: 0;
    border-top: 1px solid rgba(68, 55, 77, 0.15);
    margin-block: clamp(3rem, 7vw, 5rem);
}

/* ---- Buttons / Links ---- */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border: 1px solid currentColor;
    border-radius: 2px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
    background: var(--main);
    border-color: var(--main);
    color: var(--mint);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--main);
}

.btn-dark {
    background: var(--darkest);
    border-color: var(--darkest);
    color: var(--pale-pink);
    font-size: 1.25rem;
    padding: 0.55rem 1.50rem;
    letter-spacing: 0.05rem;
    font-weight: 200;
}

.btn-dark:hover {
    background: var(--light-lavender);
    border-color: var(--darkest);
    color: var(--darkest);
    cursor: pointer;
}

.btn-ghost {
    color: var(--main);
}

.btn-ghost:hover {
    background: var(--main);
    color: var(--mint);
}

.link-more {
    text-decoration: none;
    color: var(--pale-pink);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    font-size: 0.95rem;
}

.link-more:hover {
    color: var(--accent);
}

.section-alt .link-more {
    color: var(--main);
}

.section-alt .link-more:hover {
    color: var(--accent);
}

/* ---- Intro / two-column ---- */

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

@media (max-width: 800px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Featured / masonry gallery ---- */

.gallery-output {
    width: 100%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--main);
}

.gallery-item button.frame {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.045);
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* ---- Filter tabs ---- */

.filters {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(68, 55, 77, 0.15);
    padding-bottom: 1rem;
}

.filters button {
    background: none;
    border: 0;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--light-lavender);
    cursor: pointer;
    padding: 0.25rem 0;
    position: relative;
}

.filters button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1.05rem;
    width: 0;
    height: 2px;
    background: var(--light-lavender);
    transition: width 0.2s var(--ease);
}

.filters button:hover {
    color: var(--pale-pink);
}

.filters button[aria-pressed="true"] {
    color: var(--accent);
    font-weight: 600;
}

.filters button[aria-pressed="true"]::after {
    width: 100%;
}

/* ---- Lightbox ---- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(34, 27, 39, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: var(--gutter);
}

.lightbox.is-open {
    display: flex;
}

.lightbox figure {
    margin: 0;
    max-width: min(900px, 92vw);
}

.lightbox img {
    max-height: 78vh;
    width: auto;
    margin-inline: auto;
}

.lightbox figcaption {
    color: var(--mint);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    background: none;
    border: 1px solid rgba(226, 226, 226, 0.4);
    color: var(--mint);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}

.lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---- About page ---- */

.about-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--main);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    h4 {
        font-size: 1.125rem;
    }
}

.steps {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step .step-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--darkest);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
}

.step h3 {
    text-wrap: nowrap;
}

.step p {
    text-align: center;
}

.kit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kit-list li {
    padding-block: 0.85rem;
    border-top: 1px solid rgba(211, 201, 217, 0.2);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.kit-list li:last-child {
    border-bottom: 1px solid rgba(211, 201, 217, 0.2);
}

/* ---- CTA band ---- */

.cta-band {
    background: var(--main);
    color: var(--mint);
    text-align: left;
}

.cta-band h2 {
    color: var(--mint);
}

.cta-band .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}


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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
}

@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form button {
    margin-left: auto;
}

.field {
    margin-bottom: 1.5rem;
    width: 100%;
}

.field label {
    display: block;
    font-size: 1.5rem;
    color: var(--pale-pink);
}

.field input,
.field textarea {
    width: inherit;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--moss);
    border-radius: 10px;
    background: var(--mint);
    color: var(--main);
}

input::placeholder, textarea::placeholder {
    color: var(--darkest);
    font-size: 1.15rem;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    color: var(--pale-pink);
    margin-top: 1rem;
}

.section-gallery .form-note {
    color: var(--forest);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info dt {
    font-family: var(--font-display);
    color: var(--accent);
    margin-top: 1.75rem;
}

.contact-info dt:first-child {
    margin-top: 0;
}

.contact-info dd {
    font-size: 1.5rem;
    color: var(--sage);
}

.contact-info dt {
    color: var(--light-lavender);
    font-size: 1.5rem;
}

.contact-info a {
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
}

@media (max-width: 768px) {
    .contact-info dd {
        font-size: 1.15rem;
        margin: 0;
    }

    .contact-info dt {
        font-size: 1.25rem;
    }
}

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

.site-footer {
    background: var(--darkest);
    color: var(--pale-pink);
    padding-block: 2.5rem;
    padding-bottom: 0;
    font-size: 0.9rem;
}

.site-footer .wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.site-footer a {
    text-decoration: none;
    color: var(--pale-pink);
}

.site-footer a:hover {
    color: var(--accent);
}

.site-footer {
    flex-shrink: 0;
}

.site-footer p {
    margin: 2.5rem auto 0.75rem 5%;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social .social-icon {
    display: inline-flex;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.footer-social .social-icon div img {
    display: block;
    width: 26px;
    height: 26px;
}

.footer-social .social-icon:hover,
.footer-social .social-icon:focus-visible {
    transform: scale(1.12);
    opacity: 0.85;
}

/* ---- Page hero (non-home pages) ---- */

.page-head {
    background: var(--main);
    color: var(--pale-pink);
    padding-block: clamp(3rem, 7vw, 5rem);
}

.page-head h1 {
    color: var(--pale-pink);
}

.page-head .lede {
    color: var(--pale-pink);
}

.center {
    text-align: center;
}

.activities-wrapper {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-content: center;
    gap: 3rem;
}

.activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.activity img {
    max-height: 300px;
}

.activity a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.5rem 0.75rem;
    line-height: 1;
    background-color: var(--forest-dark);
    color: var(--sage);
    width: 75%;
    text-align: center;
    border: 1px solid var(--forest-dark);
    border-radius: 0.25rem;
    text-decoration: none;
}

.activity a:hover {
    background-color: var(--sage);
    color: var(--forest-dark);
}

@media screen and (min-width: 769px) {
    .activity a {
        width: 60%;
        font-size: 1.35rem;
    }
}

@media screen and (max-width: 768px) {
    .activities-wrapper {
        flex-wrap: wrap;
    }

    .activities-wrapper .activity {
        flex-basis: 100%;
    }

    .activity a {
        max-width: 40%;
    }
}

.get-in-touch-wrapper {
    display: flex;
    flex-direction: column;
}

.get-in-touch-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.5rem;
    text-decoration: none;
    color: var(--main);
    background-color: var(--pale-pink);
    border: 1px solid var(--main);
    border-radius: 0.25rem;
    text-wrap: nowrap;
    font-size: 1.5rem;
}

.get-in-touch-wrapper {
    margin-left: 10%;
    margin-right: 10%;
}

.get-in-touch-wrapper h3 {
    text-align: center;
}


.get-in-touch-wrapper a {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

/* Pricing */

.pricing section {
    padding-block: 2rem;
}

.section-alt .price-wrapper {
    color: var(--darkest);
}

.price-wrapper {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: start;
    align-content: start;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .price-wrapper {
        grid-template-columns: 1fr;
    }
}

.price-wrapper li {
    font-size: 1.25rem;
}

.price-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-details {
    text-wrap: wrap;
}

.price-details h3 {
    margin-bottom: 1rem;
}

.price-details ul,
ul.price-details {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .price-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}