@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap";

:root {
    --cream: #f0eadc;
    --paper: #e7decb;
    --forest: #21382d;
    --forest-dark: #172920;
    --moss: #66755d;
    --wood: #a56f45;
    --rust: #a44e31;
    --ink: #273129;
    --line: #27312938;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    font-family: DM Sans, sans-serif;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
}

/* Header Navigation */
.site-header {
    z-index: 20;
    width: 100%;
    color: var(--ink);
    border-bottom: 1px solid #f0eadc3d;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 26px 4vw;
    display: grid;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(240, 234, 220, 0.98);
    backdrop-filter: blur(10px);
}

.site-header nav {
    letter-spacing: .08em;
    gap: 34px;
    font-size: 12px;
    display: flex;
}

.site-header nav a {
    transition: opacity .2s;
    color: var(--ink);
}

.site-header nav a:hover {
    opacity: .65;
}

.monogram {
    letter-spacing: .08em;
    font-family: Italiana, serif;
    font-size: 24px;
    color: var(--ink);
}

.monogram span {
    color: #c98255;
    font-style: italic;
}

/* Hero Section */
.hero {
    background: var(--forest);
    height: min(900px, 100vh);
    min-height: 780px;
    color: var(--cream);
    place-items: center;
    display: grid;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero:before {
    content: "";
    background: radial-gradient(circle at 23% 32%, #ffffff14, #0000 26%), linear-gradient(120deg, #0000 47%, #08130e33);
    position: absolute;
    inset: 0;
}

.hero-grain {
    pointer-events: none;
    content: "";
    opacity: .14;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
    position: absolute;
    inset: 0;
}

.hero-copy {
    z-index: 4;
    align-self: center;
    width: min(94%, 1150px);
    animation: .9s ease-out both rise;
    position: relative;
    transform: translateY(-8%);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .28em;
    margin: 0 0 22px;
    font-size: 10px;
    font-weight: 600;
    color: var(--cream);
}

.eyebrow.dark {
    color: var(--rust);
}

.hero h1 {
    letter-spacing: -.05em;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-family: Italiana, serif;
    font-size: clamp(84px, 14vw, 192px);
    font-weight: 400;
    line-height: .85;
    display: flex;
}

.hero h1 span {
    display: inline-block;
}

.hero h1 i {
    color: #c98255;
    margin: 0 .08em;
    font-size: .45em;
    font-weight: 400;
    font-style: normal;
}

.hero-date {
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-top: 34px;
    font-size: 11px;
}

.round-link {
    border: 1px solid #f0eadc80;
    border-radius: 50%;
    place-items: center;
    width: 53px;
    height: 53px;
    transition: background .25s, color .25s;
    display: grid;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream);
}

.round-link:hover {
    background: var(--cream);
    color: var(--forest);
}

.round-link svg {
    width: 21px;
    height: 21px;
}

/* Mountain Scene */
.mountain-scene {
    z-index: 2;
    opacity: .82;
    width: min(900px, 70vw);
    position: absolute;
    bottom: -27px;
    right: -1%;
}

.mountain-scene svg {
    width: 100%;
    display: block;
}

.sun {
    fill: #c98255;
    opacity: .7;
}

.back-mountain {
    fill: #3b5347;
}

.front-mountain {
    fill: #2a4437;
}

.pines {
    fill: #172920;
}

.cabin > path {
    fill: #6f4933;
}

.cabin .door {
    fill: #2c2921;
}

.cabin .window {
    fill: #e6b56e;
}

.cabin .chimney {
    fill: #503428;
}

.cabin .smoke {
    fill: none;
    stroke: #f0eadc73;
    stroke-width: 8px;
    stroke-linecap: round;
}

.ground {
    fill: #172920;
}

.hero-note {
    z-index: 5;
    letter-spacing: .2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    margin: 0;
    font-size: 10px;
    position: absolute;
    bottom: 32px;
    right: 4vw;
}

.hero-seal {
    z-index: 5;
    width: clamp(84px, 10vw, 112px);
    height: auto;
    position: absolute;
    bottom: 34px;
    left: 4vw;
    transform: rotate(0deg);
    filter: drop-shadow(0 8px 14px #08130e45);
}

/* Countdown Section */
.countdown {
    background: var(--cream);
    padding: 100px 6vw;
    text-align: center;
}

.countdown h2 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--ink);
    margin-bottom: 60px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--paper);
    padding: 30px 40px;
    border-radius: 4px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--ink);
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--moss);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Location Section */
.location {
    padding: 100px 6vw;
    background-color: var(--cream);
}

.location h2 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--ink);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.location-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.location-image {
    flex: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.location-info {
    flex: 1;
}

.location-info h3 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--ink);
    margin-bottom: 15px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.location-info p {
    font-size: 1rem;
    color: var(--moss);
    line-height: 1.8;
}

/* Schedule Section */
.schedule {
    padding: 100px 6vw;
    background-color: var(--paper);
}

.schedule h2 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--ink);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.schedule-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    gap: 40px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.timeline-time {
    font-weight: 600;
    color: var(--rust);
    font-size: 1rem;
    min-width: 80px;
}

.timeline-content h3 {
    color: var(--ink);
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    font-family: Italiana, serif;
}

.timeline-content p {
    color: #646a63;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gifts Section */
.gifts {
    padding: 100px 6vw;
    background-color: var(--cream);
}

.gifts h2 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--ink);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.gifts-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.gift-card {
    background-color: var(--paper);
    padding: 50px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gift-card h3 {
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 20px;
    font-weight: 600;
}

.gift-card p {
    font-size: 1rem;
    color: var(--moss);
    margin-bottom: 15px;
    line-height: 1.8;
}

.gift-info {
    font-weight: 600;
    color: var(--rust);
    font-size: 1rem;
    margin-top: 25px;
}

/* Travel Section */
.travel {
    padding: 100px 6vw;
    background-color: var(--paper);
}

.travel h2 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--ink);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    font-family: Italiana, serif;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.travel-card {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.travel-card h3 {
    color: var(--ink);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.travel-card p {
    color: var(--moss);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.travel-card strong {
    color: var(--ink);
}

.travel-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.travel-card li {
    padding: 5px 0;
    color: var(--moss);
    font-size: 0.95rem;
}

.travel-card li::before {
    content: '→ ';
    color: var(--rust);
    font-weight: 600;
    margin-right: 8px;
}

/* Footer */
footer {
    background: var(--forest-dark);
    min-height: 280px;
    color: var(--cream);
    grid-template-columns: 1fr auto auto 1fr;
    place-items: center;
    gap: 30px;
    padding: 60px 6vw;
    display: grid;
}

footer .footer-seal {
    width: 78px;
    height: 78px;
    transform: rotate(0deg);
}

footer p {
    font-family: Italiana, serif;
    font-size: clamp(26px, 4vw, 50px);
    margin: 0;
}

footer > span {
    letter-spacing: .2em;
    justify-self: end;
    font-size: 10px;
}

.footer-mark {
    justify-self: start;
    letter-spacing: .08em;
    font-family: Italiana, serif;
    font-size: 24px;
    color: var(--cream);
}

.footer-mark span {
    color: #c98255;
    font-style: italic;
}

/* Animations */
@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(-8%);
    }
}

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

/* Responsive Design */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr 1fr;
    }

    .site-header nav {
        display: none;
    }

    .hero {
        height: 100svh;
        min-height: 690px;
    }

    .hero-copy {
        transform: translateY(-20%);
        width: 90%;
    }

    .hero h1 {
        flex-direction: column;
        align-items: flex-start;
        width: min-content;
        margin-left: 8vw;
    }

    .hero h1 i {
        margin-left: 1.2em;
        line-height: .8;
    }

    .hero-date,
    .hero-copy > .eyebrow {
        margin-left: 8vw;
    }

    .round-link {
        left: 8vw;
        transform: translateX(0);
    }

    .mountain-scene {
        width: 115vw;
        right: -24vw;
    }

    .location-content {
        flex-direction: column;
        gap: 30px;
    }

    .location-image {
        height: 300px;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 20px 6vw;
    }

    .hero {
        padding: 0;
    }

    .hero h1 {
        font-size: 23vw;
    }

    .hero-date {
        font-size: 9px;
    }

    .hero-note {
        display: none;
    }

    .countdown,
    .location,
    .schedule,
    .gifts,
    .travel,
    footer {
        padding: 70px 6vw;
    }

    .schedule-row {
        grid-template-columns: 52px 1fr;
        gap: 14px;
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }

    footer {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    footer > span,
    .footer-mark,
    footer .footer-seal {
        justify-self: center;
    }

    footer p {
        margin: 0;
    }
}