@import url('https://fonts.googleapis.com/css2?family=Caesar+Dressing&family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&display=swap');

@font-face {
    font-family: "Tritopani";
    src: url("./assets/Tritopani.otf") format("opentype");
    font-display: swap;
}

:root {
    --base-100: #361D2E;
    --base-200: #a374ff;
    /* --base-300: #DEDBD2; */
    --base-300: #e6e0d3;
    --base-400: #bda763;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Cormorant Infant", serif;
    overflow-x: hidden;
    /* font-family: "Caesar Dressing", system-ui; */
    /* background-color: #DEDBD2; */
    background: linear-gradient(135deg, #140e1a 0%, #281d36 60%, #1c142a 100%);
}

img, video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1{
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.35;
}

h3,h6{
    font-weight: 450;
    line-height: 1.35;
    letter-spacing: -2%;
}

h3{
    font-size: clamp(1.5rem, 3vw, 3rem);
}

h6{
    font-size: clamp(1rem,1.25vw,1.5rem);
}

p{
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    font-family: "Caesar Dressing", system-ui;
}

.nav_logo,
.menu_logo{
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 9rem;
}

.nav_toggle{
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--base-100);
    cursor: pointer;
    z-index: 100;
    padding: 0.5rem;
}

.nav_logo,
.nav_toggle {
    padding: 0.5rem;
    pointer-events: all;
}

.nav_toggle_close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--base-300);
    opacity: 0;
}

.nav_menu{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    color: var(--base-300);
    pointer-events: none;
    z-index: 10;
}

.nav_menu .is-open{
    pointer-events: all;
}

.menu-bg-svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.menu_logo{
    opacity: 0;
    padding: 0.5rem;
}

.menu-col{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.menu-col a{
    text-decoration: none;
    color: var(--base-300);
    font-size: clamp(2.5rem,5vw,5rem);
    line-height: 1.35;
    display: block;
    width: max-content;
    overflow: visible;
}

.menu-col p{
    color: var(--base-200);
    margin-bottom: 1rem;
}


.nav_menu a .char,
.menu-col h3,
.menu-col h6,
.menu-col p{
    will-change: transform, opacity;
}

.hero{
    position: relative;
    width: 100%;
    min-height: 100svh; 
    overflow: hidden;   
    background-color: var(--base-300);
}

.hero-media{
    padding: 6rem 2.5rem 0 2.5rem;
    z-index: 1;
    display: grid;
    grid-template-rows: 50% 50%;
    
}

.hero-img{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50svh;
    left: 0;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cfilter id='torn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.01 0.05' numOctaves='4' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-100' y='60' width='1200' height='1100' fill='%23fff' filter='url(%23torn)'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cfilter id='torn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.01 0.05' numOctaves='4' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-100' y='60' width='1200' height='1100' fill='%23fff' filter='url(%23torn)'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    /* border-radius: 4rem; */
}

.hero-img img, .hero-img video{
    /* border-radius: 2rem; */
}

.hero-header{
    position: absolute;
    width: 100%;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.hero-header p {
    width: 75%;
}

/* .hero-canvas{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
} */

.hero-desc{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 75%;
    margin: 4rem auto;
}

.hero-content{
    position: relative;
    color: var(--base-100);
    width: 100%;
   
    text-align: center;
    margin-top: 1rem;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 500ms ease-in-out;
}

.hero-content.is-fading{
    opacity: 0;
}

.testimonial-caption{
    width: auto;
    color: var(--base-100);
    opacity: 0.6;
    text-align: center;
    font-size: 1rem;
}

@media (prefers-reduced-motion: reduce){
    .hero-content{ transition: none; }
}

.hero-content p{
    width: 60%;
    text-align: left;
    font-size: 1.25rem;
}

.hero-content h1{
    text-align: center;
    font-size: 1.25rem;
    margin-top: 1rem;
    color: var(--base-100);
    font-weight: 800;
    opacity: 0.8;
}

.hero-counter h1{
    font-size: 5rem;
    z-index: 3;
    font-weight: 100;
    color: var(--base-100);
    opacity: .5;
    font-family: "Caesar Dressing", system-ui;;
}

.client-title h1{
    font-family: "Caesar Dressing", system-ui;
    text-align: center;
    color: var(--base-100);
    opacity: .5;
}

.hero-filler{
    margin-top: 2rem;
    width: 32rem;
}


.hero-revealer, .hero-images{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    z-index: 0;
}

.hero-images{
    z-index: 2 !important;
}

.hero-stack-img, .hero-outro-content{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%,-50%) scale(0);
    will-change: transform;
}

.hero-outro-content{
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--base-100); 
    background-color: var(--base-100);
}

.hero-revealer{
    background-color: var(--base-100);
    clip-path: polygon(49.5% 50%, 50.5% 50%, 50.5% 50%,49.5% 50%);
}

.hero-stack-img{
    clip-path: polygon(50% 50%,50% 50%, 50% 50%, 50% 50%);
    will-change: clip-path;
}

.hero-second{
    position: relative;
    width: 100%;
    
    /* background: radial-gradient(circle, #361D2E 0%, #1D0F18 60%, #0F080D 100%); */
    /* display: grid;
    grid-template-rows: 70% 30%; */
}

.hero-second-img{
    position: relative;


    /* opacity: 0.5; */

}

.hero-welcome-content{
    width: 70%;
    padding-left: 1rem;
}

.hero-welcome-content h3{
    font-size: 8rem;
    font-family: "Caesar Dressing", system-ui;
    color: #1c242b;
}

.about-section{
    /* background: #1c242b; */
    /* background: linear-gradient(135deg, #1a0e16 0%, #361D2E 60%, #2a1420 100%); */
    /* background: linear-gradient(135deg, #140e1a 0%, #281d36 60%, #1c142a 100%); */
    
    /* background: url("assets/back.png"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100svh;
    padding: 3rem;
    position: relative;
}

.about-section h4{
    color: var(--base-300);
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 3.5rem;
}

.frame-corner{
    position: absolute;
    width: 3rem;
    height: 3rem;
    pointer-events: none;
}

.frame-corner-tl{
    top: 16rem;
    left: 16rem;
    border-top: 2px solid var(--base-400);
    border-left: 2px solid var(--base-400);
}

.frame-corner-tr{
    top: 16rem;
    right: 16rem;
    border-top: 2px solid var(--base-400);
    border-right: 2px solid var(--base-400);
}

.frame-corner-bl{
    bottom: 16rem;
    left: 16rem;
    border-bottom: 2px solid var(--base-400);
    border-left: 2px solid var(--base-400);
}

.frame-corner-br{
    bottom: 16rem;
    right: 16rem;
    border-bottom: 2px solid var(--base-400);
    border-right: 2px solid var(--base-400);
}

/* REC indicator */
.frame-rec{
    position: absolute;
    top: 18rem;
    right: 19rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e63946;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    font-weight: bolder;
}

.frame-rec-dot{
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #e63946;
    animation: rec-blink 1.4s infinite ease-in-out;
}

@keyframes rec-blink{
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.exp{
    padding: 8rem 2rem;
    display: grid;
    gap: 4rem;
    /* flex-direction: column; */
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background: linear-gradient(45deg, #140e1a 0%, #281d36 60%, #1c142a 100%); */
    /* font-family: "Caesar Dressing", system-ui; */
    text-transform: uppercase;
    width: 100%;
    min-height: 100svh;
}

.stamp-wrap {
    position: relative;
    width: min(400px, 100%);
    aspect-ratio: 4 / 5;
    justify-self: center;
}

.stamp {
    --border: 22px;
    --hole: 6px;
    --pitch: 20px;

    --cut: transparent var(--hole), #000 calc(var(--hole) + 0.5px);
    --stamp-mask:
        radial-gradient(circle at 50% 0,    var(--cut)),
        radial-gradient(circle at 50% 100%, var(--cut)),
        radial-gradient(circle at 0 50%,    var(--cut)),
        radial-gradient(circle at 100% 50%, var(--cut));

    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: var(--border);
    background: var(--base-300);
    box-sizing: border-box;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));

    -webkit-mask-image: var(--stamp-mask);
            mask-image: var(--stamp-mask);

    -webkit-mask-size: var(--pitch) 100%, var(--pitch) 100%, 100% var(--pitch), 100% var(--pitch);
            mask-size: var(--pitch) 100%, var(--pitch) 100%, 100% var(--pitch), 100% var(--pitch);

    -webkit-mask-repeat: round;
            mask-repeat: round;

    -webkit-mask-position: 0 0;
            mask-position: 0 0;

    -webkit-mask-composite: source-in;
            mask-composite: intersect;
}

.stamp-back {
    z-index: 0;
    transform: translate(-14px, 12px) rotate(-7deg);
    filter: brightness(0.48) saturate(0.8) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.42));
}

.stamp-front {
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 18px;
    background: #f2eee4;
    transform: rotate(1.5deg);
    /* The top card is a clean polaroid; the perforated card behind it
       keeps the layered stack-of-stamps treatment. */
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.stamp-signature{
    display: flex;
    width: 100%;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.75rem 0 0.15rem;
    color: #25291c;
    text-align: center;
    pointer-events: none;
}

.stamp-role{
    font-family: "Caesar Dressing", system-ui;
    color: #86734b;
    font-size: clamp(0.8rem, 1.1vw, 1rem);
    letter-spacing: 0.16rem;
    line-height: 1.1;
    text-transform: none;
}

.stamp-name{
    font-family: "Tritopani", serif;
    font-size: clamp(1.8rem, 3.1vw, 2.4rem);
    line-height: 1.1;
    text-transform: capitalize;
}

.stamp img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stamp-front > img {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    object-position: center 35%;
}
.about{
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.about h1{
    
    color: var(--base-300);
    font-size: 8rem;
    text-align: center;
    font-family: "Tritopani", serif;
    font-weight: 400;
    /* opacity: 0.7; */
}

.about p{
    color: var(--base-400);
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
    max-width: 400px;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.about-line{
    display: block;
    overflow: hidden;
    will-change: transform, opacity;
    text-align: justify;
    text-align-last: justify;
}

.about-line:last-child{
    text-align-last: left;
}

@media (prefers-reduced-motion: reduce){
    .about-line{
        transform: none !important;
        opacity: 1 !important;
    }
}

.exp-media h3{
    color: var(--base-300);
    font-size: 8rem;
    text-align: justify;
    font-weight: bolder;
}

.exp-container{
    width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.chat-item{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-container p{
    color: var(--base-300);
    text-align: left;
    /* font-size: 1.25rem; */
}

.chat-question, .chat-answer{
    max-width: 75%;
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    border-bottom: 3px solid var(--base-400);
}

.chat-question{
    align-self: flex-start;
    /* background-color: var(--base-100); */
}

.chat-answer{
    align-self: flex-end;
    /* background-color: var(--base-100); */
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.chat-row{
    display: flex;
    align-items: flex-start;
}

.chat-question-slot{
    justify-content: flex-start;
}

.chat-answer-slot{
    justify-content: flex-end;
}

.chat-row .chat-message{
    align-self: flex-start;
}

.chat-message{
    position: relative;
    overflow: hidden;
}

.chat-content{
    width: max-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-content p{
    opacity: 0;
}

.typing-indicator{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    pointer-events: none;
}

.typing-indicator span{
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    /* background-color: var(--base-300); */
    animation: typing-pulse 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2){
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3){
    animation-delay: 0.4s;
}

@keyframes typing-pulse{
    0%,
    100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-0.25rem);
    }
}

.deck {
    position: sticky;
    width: 100%;
    min-height: 100svh;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.deck-inner{
    position: relative;
    width: 100%;
    height: 100svh;
    display: flex;
    flex-direction: column;
    transform-origin: 50% 100%;
    will-change: transform;
    text-align: center;
}

#deck-footer{
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    /* background: #222819; */
    color: #d9c176;
}

.deck-photo{
    position: absolute;
    z-index: 1;
    width: clamp(130px, 20vw, 300px);
    height: clamp(190px, 62vh, 390px);
    object-fit: cover;
    /* filter: saturate(0.78) brightness(0.82); */
}

.deck-photo-left{
    left: 0;
    bottom: 12%;
}

.deck-photo-right{
    right: 0;
    top: 10%;
}

.deck-message{
    position: relative;
    z-index: 1;
    width: min(46vw, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.deck-message h2{
    color: #e4cb78;
    font-size: clamp(2.25rem, 4.2vw, 4.25rem);
    line-height: 1;
    font-weight: 500;
    font-family: "Tritopani", serif;
    text-transform: Capitalize;
}

.deck-script{
    margin-top: 0.45rem;
    color: #d9c176;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
}

.deck-divider{
    width: 1px;
    height: clamp(2rem, 5vw, 4rem);
    margin: clamp(1.5rem, 3vw, 2.75rem) 0 1.25rem;
    background: rgba(217, 193, 118, 0.55);
}

.deck-copy{
    max-width: 390px;
    color: rgba(235, 222, 177, 0.9);
    font-size: clamp(0.58rem, 0.75vw, 0.72rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-transform: uppercase;
}

@media (max-width: 700px){
    .deck-message{
        width: min(68vw, 420px);
    }

    .deck-photo{
        width: clamp(90px, 24vw, 150px);
        height: clamp(140px, 28vh, 220px);
    }

    .deck-photo-left{
        bottom: 8%;
    }

    .deck-photo-right{
        top: 8%;
    }

    .deck-copy{
        font-size: 0.58rem;
        letter-spacing: 0.07em;
    }
}

#hero-secondary{
    background-color: var(--base-300);
    display: grid;
    grid-template-rows: 70% 30%;
    text-align: left;
}

.deck-inner::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #120d17 0%, #20172b 60%, #100b17 100%);
    opacity: var(--after-opacity,0);
    will-change: opacity;
    pointer-events: none;
    z-index: 2;
}

.deck-footer{
    width: 100%;
    min-height: 100svh;
    /* background: linear-gradient(45deg, #140e1a 0%, #281d36 60%, #1c142a 100%); */
}

.stories{
    background-color: var(--base-300);
    width: 100%;
    min-height: 100svh;
}

.horizontal-section{
    position: relative;
}

.horizontal-container{
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    overflow: hidden;


}

.progress-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 10px;
    transform: scaleX(0%);
    transform-origin: center left;
    background-color: #bca56b;
    will-change: transform;
    z-index: 2;
}

.progress-counter{
    position: fixed;
    bottom: 1em;
    right: 2.5em;
    color: #e4cb78;
    z-index: 3;
    font-family: "Cormorant Infant", serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.scroller{
    position: relative;
    width: max-content;
    height: 100svh;
    display: flex;
    will-change: transform;
    transform: translateX(0);
}

.scroller section {
    position: relative;
    height: 100svh;
    flex: 0 0 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stories{
    overflow: hidden;
    padding: clamp(2rem, 6vw, 6rem);
    color: var(--base-100);
}

.stories figure{
    position: relative;
    margin: 0;
    overflow: hidden;
}

.stories figure img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories figcaption{
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    color: #fffaf0;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: left;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
    text-transform: uppercase;
}

.portfolio-kicker{
    color: var(--base-400);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.portfolio-kicker span{
    padding: 0 0.35rem;
    color: var(--base-200);
}

.portfolio-index{
    position: absolute;
    right: clamp(1.25rem, 4vw, 4rem);
    bottom: 1.5rem;
    color: currentColor;
    font-family: "Cormorant Infant", serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    opacity: 0.7;
}

.stories-cover{
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    gap: clamp(2rem, 7vw, 8rem);
    background: #e6e0d3;
}

.stories-cover-copy{
    width: min(100%, 560px);
    justify-self: end;
}

.stories-cover h1,
.couple-story h2,
.stories-contact h2{
    margin: 1.25rem 0;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(4rem, 8.5vw, 9rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.055em;
    text-align: left;
    text-transform: uppercase;
}

.stories-cover h1 em,
.couple-story h2 em,
.stories-contact h2 em{
    color: #947d4c;
    font-weight: 400;
    text-transform: none;
}

.portfolio-intro,
.couple-story-copy > p:not(.portfolio-kicker):not(.story-meta),
.stories-contact-copy > p:not(.portfolio-kicker){
    max-width: 29rem;
    color: rgba(54, 29, 46, 0.76);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    line-height: 1.9;
}

.portfolio-scroll-hint{
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: clamp(2rem, 5vh, 4rem);
    color: var(--base-100);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
}

.portfolio-scroll-hint span{
    color: #947d4c;
    font-size: 1.25rem;
}

.stories-cover-photo{
    position: relative;
    width: min(100%, 580px);
    height: min(76vh, 780px);
    align-self: center;
    justify-self: start;
}

.stories-cover-inset{
    position: absolute !important;
    left: -13%;
    bottom: 9%;
    width: 34%;
    height: 34%;
    border: 8px solid #e6e0d3;
    box-shadow: 0 12px 28px rgba(28, 21, 17, 0.22);
}

.couple-story{
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 7rem);
    background: #321d2c;
    color: var(--base-300);
}

.couple-story-gallery{
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(80px, 0.75fr) minmax(80px, 0.75fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(0.45rem, 1.1vw, 1rem);
    width: 100%;
    height: min(76vh, 760px);
}

.couple-shot{
    min-width: 0;
    min-height: 0;
}

.couple-shot img{
    transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.couple-shot:hover img{
    transform: scale(1.035);
}

.couple-shot-main{
    grid-column: 1;
    grid-row: 1 / 3;
}

.couple-story--three .couple-shot:last-child,
.couple-story--four .couple-shot:last-child{
    grid-column: 2 / 4;
}

.couple-story-copy{
    width: min(100%, 450px);
}

.couple-story h2{
    color: var(--base-300);
    font-size: clamp(3.5rem, 6.3vw, 6.7rem);
}

.couple-story h2 em{
    color: #d2bd82;
}

.couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
    color: rgba(222, 219, 210, 0.78);
}

.story-rule{
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: 2rem 0 1rem;
    background: #bda763;
}

.story-meta{
    color: #d2bd82;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
}

.couple-story-light{
    background: #e6e0d3;
    color: var(--base-100);
}

.couple-story-light h2{
    color: var(--base-100);
}

.couple-story-light h2 em{
    color: #947d4c;
}

.couple-story-light .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
    color: rgba(54, 29, 46, 0.76);
}

.couple-story-light .story-meta{
    color: #947d4c;
}

.stories-contact{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    background: var(--base-100);
    color: var(--base-300);
}

.stories-contact-copy{
    width: min(100%, 760px);
}

.stories-contact-copy .portfolio-kicker{
    color: #d9c176;
}

.stories-contact h2{
    color: #f4eee1;
    font-size: clamp(4rem, 7.3vw, 7.8rem);
}

.stories-contact h2 em{
    color: #e1ca88;
}

.stories-contact-copy > p:not(.portfolio-kicker){
    margin: 1.5rem 0 2rem;
    color: rgba(244, 238, 225, 0.86);
}

.portfolio-form{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.portfolio-field{
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.65rem;
    color: #e1ca88;
    font-size: 0.62rem;
    letter-spacing: 0.17em;
    text-align: left;
    text-transform: uppercase;
}

.portfolio-field input{
    width: 100%;
    padding: 0.7rem 0 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(225, 202, 136, 0.48);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #f4eee1;
    font: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: none;
    transition: border-color 180ms ease;
}

.portfolio-field input::placeholder{
    color: rgba(244, 238, 225, 0.45);
}

.portfolio-field input:focus{
    border-color: #e1ca88;
}

.portfolio-contact{
    display: inline-flex;
    min-width: 175px;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.4rem;
    border: 1px solid rgba(225, 202, 136, 0.75);
    color: #f4eee1;
    font-size: 0.68rem;
    letter-spacing: 0.17em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 220ms ease, background-color 220ms ease;
}

.portfolio-contact:hover{
    background: #e1ca88;
    color: #20251b;
}

.portfolio-form .portfolio-contact{
    justify-self: start;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}

.stories-footer{
    display: flex;
    align-items: center;
    background: #271824;
    color: var(--base-300);
}

.portfolio-footer{
    display: grid;
    width: 100%;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    column-gap: clamp(2rem, 6vw, 7rem);
    row-gap: 3rem;
    align-items: start;
}

.footer-brand > p:last-child{
    margin-top: 1.25rem;
    color: #e1ca88;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(2.4rem, 4.3vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 0.95;
}

.footer-contact,
.footer-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-contact .portfolio-kicker,
.footer-links .portfolio-kicker{
    margin-bottom: 0.4rem;
}

.footer-contact a,
.footer-links a{
    color: rgba(222, 219, 210, 0.82);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-contact a:hover,
.footer-links a:hover{
    color: #e1ca88;
}

.footer-copyright{
    grid-column: 1 / -1;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(222, 219, 210, 0.2);
    color: rgba(222, 219, 210, 0.55);
    font-size: 0.52rem;
    letter-spacing: 0.13em;
}

@media (max-width: 760px){
    .stories{
        padding: 4rem 1.5rem;
    }

    .stories-cover{
        grid-template-columns: minmax(0, 0.9fr) minmax(130px, 0.8fr);
        gap: 1.25rem;
    }

    .stories-cover h1{
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .stories-cover-photo{
        height: 62vh;
    }

    .stories-cover-inset{
        left: -8%;
        width: 42%;
        height: 30%;
        border-width: 5px;
    }

    .portfolio-kicker{
        font-size: 0.52rem;
        letter-spacing: 0.12em;
    }

    .portfolio-intro,
    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta),
    .stories-contact-copy > p:not(.portfolio-kicker){
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .couple-story{
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        align-content: center;
        gap: 1.1rem;
    }

    .couple-story-gallery{
        height: 43vh;
        grid-template-columns: minmax(0, 1.2fr) minmax(60px, 0.8fr) minmax(60px, 0.8fr);
        gap: 0.4rem;
    }

    .couple-story h2{
        margin: 0.6rem 0;
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .couple-story-copy{
        align-self: start;
    }

    .story-rule{
        margin: 0.75rem 0 0.5rem;
    }

    .story-meta{
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }

    .stories-contact{
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1fr;
    }

    .stories-contact h2{
        margin: 0.75rem 0;
        font-size: clamp(3.2rem, 11vw, 5rem);
    }

    .stories-contact-copy > p:not(.portfolio-kicker){
        margin: 0.8rem 0 1rem;
    }

    .portfolio-form{
        grid-template-columns: minmax(0, 1fr);
        gap: 1.1rem;
        margin-top: 1.75rem;
    }

    .portfolio-contact{
        min-width: 150px;
        padding: 0.75rem 1rem;
    }

    .portfolio-footer{
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
        row-gap: 1.75rem;
    }

    .footer-brand > p:last-child{
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .footer-contact a,
    .footer-links a{
        font-size: 0.55rem;
        letter-spacing: 0.04em;
    }

    .footer-links{
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce){
    .portfolio-contact{
        transition: none;
    }
}

@media (max-width: 1000px){
    .nav_menu {
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 6.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
    }

    .menu-col-links{
        flex: 1.5;
    }

    .menu-col a{
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.15;
    }

    .menu-col-info h3{
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(1.1rem, 2.3vw, 1.6rem);
    }

    .hero-media{
        padding-right: clamp(1.25rem, 4vw, 2.5rem);
        padding-left: clamp(1.25rem, 4vw, 2.5rem);
    }

    .hero-desc{
        width: min(100%, 54rem);
        margin-top: 3rem;
    }

    .hero-content h1{
        font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    }

    .about{
        padding: 5rem clamp(1.5rem, 7vw, 5rem);
    }

    .about h1{
        font-size: clamp(5rem, 12vw, 7.5rem);
    }

    .about p{
        width: min(100%, 40rem);
        font-size: clamp(1rem, 2vw, 1.2rem);
        line-height: 1.6;
    }

    .exp{
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(2rem, 5vw, 4rem);
        padding: 6rem clamp(1.5rem, 5vw, 4rem);
    }

    .exp-container{
        width: 100%;
        max-width: 500px;
    }

    .hero-welcome-content{
        width: min(100%, 58rem);
        padding: 0 clamp(1.5rem, 5vw, 3rem);
    }

    .hero-welcome-content h3{
        font-size: clamp(4rem, 8vw, 6rem);
    }

    #hero-secondary{
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .deck-message{
        width: min(56vw, 520px);
    }
}

@media (max-width: 760px){
    .nav_logo,
    .menu_logo{
        top: 1rem;
        left: 1rem;
        width: 4.5rem;
    }

    .nav_toggle{
        top: 1rem;
        right: 1rem;
    }

    .nav_menu{
        gap: 1rem;
        padding: 5rem 1.5rem 1.5rem;
    }

    .menu-col-links{
        flex: 0 1 auto;
    }

    .menu-col a{
        font-size: clamp(1.8rem, 7vw, 3rem);
        line-height: 1.08;
    }

    .menu-col-info{
        flex: 0 1 auto;
        gap: 0.15rem;
    }

    .menu-col-info p{
        margin-bottom: 0.35rem;
    }

    .menu-col-info h3{
        font-size: clamp(0.95rem, 4vw, 1.35rem);
    }

    .menu-col-info h6{
        font-size: 0.85rem;
    }

    .hero-media{
        height: 100svh;
        min-height: 100svh;
        padding: 5.5rem 1.25rem 0;
        grid-template-rows: auto 1fr;
    }

    .hero-desc{
        width: 100%;
        margin: 1.5rem auto 0;
    }

    .hero-img{
        height: 48svh;
    }

    .client-title h1{
        font-size: clamp(2rem, 8vw, 3.25rem);
    }

    .testimonial-caption{
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .hero-content h1{
        margin-top: 0.5rem;
        font-size: clamp(1rem, 4vw, 1.35rem);
        line-height: 1.35;
    }

    .about{
        min-height: 90svh;
        padding: 4rem 1.5rem;
    }

    .about h1{
        font-size: clamp(4rem, 16vw, 6rem);
        line-height: 1;
    }

    .about p{
        width: 100%;
        max-width: 38rem;
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.55;
    }

    .exp{
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
        padding: 5rem 1.25rem;
    }

    .stamp-wrap{
        width: min(340px, 78vw);
    }

    .exp-container{
        width: min(100%, 34rem);
        gap: 1.75rem;
    }

    .chat-item{
        gap: 0.8rem;
    }

    .chat-question,
    .chat-answer{
        max-width: 88%;
        padding: 1rem 1.2rem;
    }

    .chat-answer{
        gap: 1.5rem;
    }

    .exp-container p{
        font-size: clamp(0.62rem, 2.4vw, 0.75rem);
        letter-spacing: 0.12em;
        line-height: 1.5;
    }

    .hero-welcome-content{
        width: 100%;
        padding: 0 1.5rem 1.5rem;
    }

    .hero-welcome-content h3{
        font-size: clamp(2.8rem, 11vw, 5rem);
        line-height: 0.95;
    }

    .hero-welcome-content p{
        max-width: 40rem;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
        line-height: 1.65;
    }

    #hero-secondary{
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .deck-message{
        width: min(68vw, 420px);
    }

    .deck-divider{
        margin: 1.25rem 0 0.85rem;
    }

    .deck-copy{
        max-width: 30rem;
        font-size: 0.58rem;
        letter-spacing: 0.07em;
    }

    .progress-bar{
        height: 6px;
    }

    .progress-counter{
        right: 1rem;
        bottom: 0.75rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 560px){
    .nav_menu{
        padding: 4.5rem 1.1rem 1.1rem;
    }

    .menu-col-links a{
        font-size: clamp(1.65rem, 8vw, 2.5rem);
    }

    .menu-col-info p{
        font-size: 0.58rem;
        letter-spacing: 0.14em;
    }

    .menu-col-info h3{
        font-size: clamp(0.8rem, 4vw, 1.1rem);
    }

    .menu-col-info h6{
        font-size: 0.75rem;
    }

    .stories{
        padding: 3.25rem 1.2rem 1.75rem;
    }

    .stories-cover{
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        gap: 0.8rem;
    }

    .stories-cover-copy{
        width: 100%;
        justify-self: start;
    }

    .stories-cover h1{
        margin: 0.7rem 0;
        font-size: clamp(2.8rem, 12vw, 4.2rem);
        line-height: 0.8;
    }

    .portfolio-intro{
        max-width: 26rem;
        font-size: 0.58rem;
        line-height: 1.55;
    }

    .portfolio-scroll-hint{
        margin-top: 0.8rem;
        font-size: 0.52rem;
    }

    .stories-cover-photo{
        width: 82%;
        height: clamp(150px, 35svh, 280px);
        justify-self: end;
    }

    .stories-cover-inset{
        left: -9%;
        bottom: 7%;
        width: 38%;
        height: 30%;
        border-width: 4px;
    }

    .couple-story{
        gap: 0.75rem;
    }

    .couple-story-gallery{
        height: clamp(150px, 34svh, 250px);
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
        gap: 0.3rem;
    }

    .couple-story h2{
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
        font-size: 0.58rem;
        line-height: 1.55;
    }

    .stories-contact h2{
        font-size: clamp(2.8rem, 11vw, 4.2rem);
    }

    .portfolio-form{
        gap: 0.8rem;
        margin-top: 1.25rem;
    }

    .portfolio-field{
        gap: 0.35rem;
        font-size: 0.55rem;
    }

    .portfolio-field input{
        padding: 0.55rem 0 0.65rem;
        font-size: 0.72rem;
    }

    .portfolio-contact{
        min-width: 135px;
        padding: 0.7rem 0.9rem;
        font-size: 0.58rem;
    }

    .portfolio-footer{
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.25rem;
    }

    .footer-links{
        grid-column: auto;
    }

    .footer-brand > p:last-child{
        margin-top: 0.6rem;
        font-size: clamp(1.8rem, 8vw, 2.7rem);
    }

    .footer-contact,
    .footer-links{
        gap: 0.55rem;
    }

    .footer-copyright{
        padding-top: 0.8rem;
        font-size: 0.48rem;
        line-height: 1.5;
    }
}

@media (max-width: 380px){
    .stories{
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .stories-cover-photo{
        width: 78%;
    }

    .couple-story h2{
        font-size: 2.15rem;
    }

    .couple-story-gallery{
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
    }

    .portfolio-index{
        right: 0.9rem;
        bottom: 0.6rem;
        font-size: 0.65rem;
    }

    .progress-counter{
        right: 0.6rem;
        bottom: 0.4rem;
    }
}

@media (max-height: 500px) and (orientation: landscape){
    .hero-media{
        min-height: 100svh;
        padding-top: 4rem;
        grid-template-rows: auto 1fr;
    }

    .hero-desc{
        margin-top: 0.5rem;
    }

    .hero-img{
        height: 48svh;
    }

    .about{
        min-height: 100svh;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about h1{
        font-size: 4.5rem;
    }

    .about p{
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .exp{
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .stamp-wrap{
        width: min(260px, 44vw);
    }

    .exp-container{
        gap: 1rem;
    }

    .stories{
        padding-top: 3rem;
        padding-bottom: 1rem;
    }

    .stories-cover-photo{
        height: 66svh;
    }

    .couple-story-gallery{
        height: 72svh;
    }

    .couple-story h2,
    .stories-contact h2{
        font-size: clamp(2.3rem, 6vw, 3.5rem);
    }

    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta),
    .stories-contact-copy > p:not(.portfolio-kicker){
        font-size: 0.55rem;
        line-height: 1.45;
    }

    .portfolio-form{
        gap: 0.6rem 1rem;
        margin-top: 0.75rem;
    }

    .portfolio-field{
        gap: 0.2rem;
    }

    .portfolio-field input{
        padding: 0.35rem 0 0.45rem;
    }

    .portfolio-footer{
        row-gap: 1rem;
    }
}

/* Stack the title and collage on small screens; retain the desktop layout. */
@media (max-width: 760px){
    .couple-story{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.65rem;
        padding: 3rem 1.5rem 1.75rem;
    }

    .couple-story-copy{
        order: 0;
        flex: 0 0 auto;
        width: 100%;
    }

    .couple-story-gallery{
        order: 1;
        flex: 0 0 auto;
        height: clamp(160px, 40svh, 300px);
    }

    .couple-story h2{
        margin: 0.25rem 0 0.45rem;
        font-size: clamp(2.5rem, 7vw, 4rem);
        line-height: 0.88;
    }

    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
        max-width: 48rem;
        line-height: 1.55;
    }

    .couple-story .story-rule{
        margin: 0.75rem 0 0.45rem;
    }
}

@media (max-width: 560px){
    .couple-story{
        gap: 0.5rem;
        padding: 3.1rem 1.2rem 1.65rem;
    }

    .couple-story-gallery{
        height: clamp(145px, 34svh, 225px);
    }

    .couple-story h2{
        margin: 0.2rem 0 0.35rem;
        font-size: clamp(2.2rem, 8vw, 3.15rem);
    }

    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
        font-size: 0.56rem;
        line-height: 1.45;
    }

    .couple-story .story-rule{
        margin: 0.45rem 0 0.3rem;
    }
}

@media (max-width: 760px) and (max-height: 500px) and (orientation: landscape){
    .couple-story{
        gap: 0.45rem;
        padding-block: 2.7rem 0.75rem;
    }

    .couple-story-gallery{
        height: 61svh;
    }

    .couple-story h2{
        font-size: clamp(2.1rem, 5.5vw, 3.5rem);
    }

    .couple-story-copy > p:not(.portfolio-kicker):not(.story-meta){
        font-size: 0.55rem;
        line-height: 1.35;
    }
}



