﻿/* === Arnoux & Erhin Wedding Website — Shared Styles === */

/* ── Intro Overlay ─────────────────────────────────────────── */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #000;
    overflow: hidden;
}

.intro-heading {
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
}

.intro-line {
    display: block;
    overflow: hidden;
    font-size: clamp(3rem, 12vw, 14rem);
}

.intro-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(20px);
}

.intro-char.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.4s ease,
        opacity 1s ease;
}

/* ── RSVP Thank You Overlay ────────────────────────────────── */
#rsvp-thankyou {
    position: fixed;
    inset: 0;
    z-index: 8000;
    background: rgba(20, 10, 5, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
#rsvp-thankyou.show {
    opacity: 1;
    pointer-events: auto;
}
.rsvp-ty-card {
    background: #faf5ee;
    border-radius: 16px;
    padding: 52px 44px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
#rsvp-thankyou.show .rsvp-ty-card {
    transform: translateY(0) scale(1);
}
.rsvp-ty-icon { font-size: 2.8rem; margin-bottom: 16px; }
.rsvp-ty-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c1a0e;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.rsvp-ty-msg {
    font-size: 1.05rem;
    color: #6b5040;
    line-height: 1.7;
    margin-bottom: 28px;
}
.rsvp-ty-close {
    background: #2c1a0e;
    color: #f5ede4;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
}
.rsvp-ty-close:hover { opacity: 0.8; }

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

html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #faf8f5;
    background-image: url('images/page-bg.png');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-attachment: fixed;
    animation: bg-drift 30s ease-in-out infinite;
    color: #1a1a1a;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVIGATION ===== */
.site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-pill {
    display: flex;
    background-color: #1a1008;
    height: 52px;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    gap: 4px;
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px,
        rgba(200, 184, 154, 0.3) 5px 10px 20px;
}

.nav-btn {
    outline: 0 !important;
    border: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* ===== HERO ANIMATIONS ===== */
@keyframes scale-in {
    0%   { transform: scale(10, 10); opacity: 0; }
    100% { transform: scale(1, 1);  opacity: 1; }
}
@keyframes roll-out {
    0%   { width: 0; }
    100% { width: 100%; }
}
@keyframes ken-burns {
    0%   { transform: scale(1)    translate(0%, 0%); }
    50%  { transform: scale(1.12) translate(-2%, -2%); }
    100% { transform: scale(1)    translate(0%, 0%); }
}
@keyframes bg-drift {
    0%   { background-position: center 0px; }
    50%  { background-position: center 80px; }
    100% { background-position: center 0px; }
}

/* ===== HOMEPAGE HERO ===== */
.home-hero {
    position: relative;
    width: calc(100% - 40px);
    height: calc(100vh - 32px);
    min-height: 500px;
    margin: 20px auto 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    text-align: center;
}

.home-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.home-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: ken-burns 28s ease-in-out infinite; }

.home-hero-bar {
    width: 100%;
    height: 20vh;
    background: linear-gradient(161deg, #c8b89a 0%, #e8d9c0 40%, #c8b89a 100%);
    opacity: 0.22;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 44%;
    transform-origin: 100% 0%;
    animation: roll-out 1.4s ease-out both;
}

.home-hero-content { position: relative; z-index: 2; width: 100%; padding: 60px 40px; }

/* ── Hero Countdown ─────────────────────────────────────────── */
.hero-countdown {
    list-style: none;
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    padding: 20px 0 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    font-family: 'Inter', sans-serif;
}
.hero-countdown li {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: clamp(72px, 13vw, 130px);
    position: relative;
}
.hero-countdown li + li::before {
    content: ':';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255,255,255,0.5);
    font-size: clamp(22px, 4vw, 44px);
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
}
.cd-number {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    font-variant-numeric: tabular-nums;
}
.cd-label {
    font-size: clamp(9px, 1.1vw, 13px);
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 4px;
    font-weight: 600;
}

.home-hero-date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    animation: scale-in 1.3s ease-out both;
}

.home-hero-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(64px, 13vw, 140px);
    line-height: 1em;
    color: #fff;
    letter-spacing: -0.02em;
    animation: scale-in 1.3s ease-out both;
}

/* ===== WELCOME MESSAGE ===== */
.welcome-section {
    padding: 100px 32px 60px;
    text-align: center;
}

.welcome-text {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.6;
    color: #2a2218;
    max-width: 680px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* ===== GALLERY SECTION ===== */
.gallery-section { padding: 20px 32px 80px; }

.gallery-heading {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: #2a2218;
    text-align: center;
    letter-spacing: 0.01em;
    margin-bottom: 48px;
}
.gallery-inner { max-width: 1312px; margin: 0 auto; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ===== INFO CARDS GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

/* Row 2: card 4 centred in middle column */
.info-grid .info-card:nth-child(4) { grid-column: auto; }

.info-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* Portrait image fills card */
.info-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: block;
}
.info-card-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.info-card:hover .info-card-image img { transform: scale(1.06); }

/* Frosted glass panel overlapping image from bottom */
.info-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 24px 24px;
    background: rgba(255, 252, 248, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.6);
    /* Slight upward overlap into image */
    border-radius: 0 0 24px 24px;
}

.info-card-title {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1008;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.info-card-date {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1a1008;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.info-card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #4a3f30;
    line-height: 1.7;
    margin-bottom: 10px;
}

.info-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.info-card-list li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #4a3f30;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.info-card-list li::before {
    content: '—';
    color: #c8b89a;
    flex-shrink: 0;
    font-weight: 500;
}

.info-time {
    font-weight: 700;
    color: #1a1008;
    min-width: 38px;
    display: inline-block;
}

.info-card-map { margin: 12px 0 10px; border-radius: 10px; overflow: hidden; }
.info-card-map iframe { display: block; border-radius: 10px; }

.info-card-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #8b6f47;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
.info-card-link:hover { color: #5c4830; }

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

/* ===== PROJECT CARD (dark) ===== */
.project-card {
    background: #0f0f0f;
    border-radius: 24px;
    text-decoration: none;
    display: block;
    transition: transform 0.25s ease;
    padding: 8px 8px 0 8px;
}
.project-card:hover { transform: translateY(-4px); }

.project-card-image {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 16px;
    overflow: hidden;
}
.project-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.project-card-info {
    padding: 12px 8px 14px;
    border-radius: 0 0 12px 12px;
}

.project-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.3;
}

.project-card-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    letter-spacing: -0.04em;
    margin-top: 4px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 32px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-heading {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: #1a1008;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #111;
    border: 2px solid #fefefe;
    box-shadow: 4px 4px #fefefe;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.1s, transform 0.1s;
}
.faq-item[open] {
    box-shadow: 2px 2px #fefefe;
    transform: translate(2px, 2px);
}

.faq-question {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fefefe;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #c8b89a;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #7e7e7e;
    line-height: 1.7;
    padding: 0 20px 18px;
    margin: 0;
}
.faq-answer strong { color: #fefefe; font-weight: 700; }

/* ===== HOMEPAGE FOOTER ===== */
.home-footer {
    position: relative;
    overflow: hidden;
    background: #030303;
    padding: 80px 32px 60px;
}
.home-footer-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.35; overflow: hidden; }
.home-footer-bg img { width: 100%; height: 100%; object-fit: cover; animation: ken-burns 36s ease-in-out infinite reverse; }
.home-footer-inner { position: relative; z-index: 1; max-width: 1312px; margin: 0 auto; }

/* Footer top row: RSVP + Map side by side */
.footer-top-row {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 60px;
}

/* ===== RSVP CARD — Uiverse dark form style ===== */
/* ===== RSVP CARD (elegant layered style) ===== */
.rsvp-card {
    position: relative;
    background: #e8ddd0;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
    flex: 1 1 auto;
    min-width: 0;
    z-index: 1;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
    overflow: hidden;
}
.rsvp-card::after {
    content: "";
    position: absolute;
    left: 32px;
    top: 32px;
    right: 32px;
    bottom: 32px;
    background: #fff;
    z-index: 1;
}
.rsvp-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('images/page-bg.png') center center no-repeat;
    background-size: cover;
    opacity: 0.45;
    z-index: 3;
    pointer-events: none;
}
.rsvp-inner-container {
    position: relative;
    z-index: 4;
    padding: 64px 56px;
}
.rsvp-heading {
    font-size: 34px;
    font-weight: 600;
    color: #2a1f14;
    margin: 16px 0 6px;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
.rsvp-subheading {
    font-size: 16px;
    font-weight: 400;
    color: #7a6552;
    margin: 0 0 24px;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
.rsvp-card form {
    display: flex;
    flex-direction: column;
}
.rsvp-field {
    border: 0;
    padding: 0;
    margin-bottom: 18px;
}
.rsvp-field > label:first-child {
    display: block;
    font-size: 18px;
    color: #2a1f14;
    margin-bottom: 2px;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
.rsvp-field input,
.rsvp-field select {
    border: 0;
    border-bottom: 2px solid rgba(42,31,20,0.45);
    width: 100%;
    line-height: 32px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #2a1f14;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
    transition: border-color 0.2s;
}
.rsvp-field input:focus,
.rsvp-field select:focus {
    border-bottom-color: #a07850;
}
.rsvp-field-half {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-bottom: 18px;
}
.rsvp-field-half > label {
    display: inline-block !important;
    white-space: nowrap;
    margin-right: 14px;
    margin-bottom: 0 !important;
    font-size: 18px;
    color: #2a1f14;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
.rsvp-field-half select {
    width: 70px;
    cursor: pointer;
}
.rsvp-field-full .rsvp-diet {
    width: 75%;
}
.rsvp-field-check {
    margin-bottom: 10px;
}
#rsvp-second-guest {
    display: none;
}
/* Custom radio styled as checkbox */
.rsvp-container {
    display: block;
    position: relative;
    padding-left: 36px;
    cursor: pointer;
    font-size: 18px;
    color: #2a1f14;
    user-select: none;
    line-height: 30px;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
}
.rsvp-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.rsvp-checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 26px;
    width: 26px;
    background-color: transparent;
    border: 2px solid rgba(42,31,20,0.45);
}
.rsvp-container:hover input ~ .rsvp-checkmark {
    background-color: #e8ddd0;
}
.rsvp-checkmark::after {
    content: "";
    position: absolute;
    display: none;
}
.rsvp-container input:checked ~ .rsvp-checkmark::after {
    display: block;
}
.rsvp-container .rsvp-checkmark::after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid rgba(42,31,20,0.7);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.rsvp-card button[type="submit"] {
    align-self: flex-end;
    background: transparent;
    border: none;
    padding: 6px 0;
    color: rgba(42,31,20,0.7);
    font-size: 20px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', 'Instrument Serif', serif;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    margin-top: 10px;
}
.rsvp-card button[type="submit"]:hover {
    color: #2a1f14;
}

/* Map panel in footer */
.footer-map {
    padding: 28px 26px;
    background: #111;
    border-radius: 5px;
    border: 2px solid #fefefe;
    box-shadow: 4px 4px #fefefe;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}
.footer-map-title {
    color: #fefefe;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}
.footer-map-address {
    font-size: 13px;
    color: #7e7e7e;
    line-height: 1.6;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-map-embed {
    flex: 1;
    min-height: 240px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid #fefefe;
    box-shadow: 4px 4px #fefefe;
}
.footer-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
}
.footer-map-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #c8b89a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
    align-self: flex-start;
}
.footer-map-link:hover { color: #fefefe; }

@media (max-width: 809px) {
    .footer-top-row { flex-direction: column; }
    .rsvp-card { width: 100%; }
    .rsvp-inner-container { padding: 48px 32px 40px; }
    .rsvp-card::after { left: 16px; top: 16px; right: 16px; bottom: 16px; }
}

.footer-contact-block {
    max-width: 480px;
    margin: 0 auto 48px;
    background: #111;
    border: 2px solid #fefefe;
    box-shadow: 4px 4px #fefefe;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.1s, transform 0.1s;
}
.footer-contact-block[open] {
    box-shadow: 2px 2px #fefefe;
    transform: translate(2px, 2px);
}
.footer-contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fefefe;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    transition: color 0.2s;
}
.footer-contact-label::-webkit-details-marker { display: none; }
.footer-contact-label::before {
    content: '✉';
    font-size: 16px;
    color: #c8b89a;
    flex-shrink: 0;
}
.footer-contact-label .label-hint {
    font-size: 12px;
    font-weight: 500;
    color: #7e7e7e;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-left: auto;
    margin-right: 8px;
}
.footer-contact-label::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #c8b89a;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.footer-contact-block[open] .footer-contact-label::after {
    transform: rotate(45deg);
}
.footer-contact-label:hover { color: #c8b89a; }
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 20px 18px;
}
.footer-contact-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #7e7e7e;
    letter-spacing: -0.01em;
    line-height: 1.5;
    transition: color 0.2s ease;
    text-decoration: none;
}
.footer-contact-links a:hover { color: #fefefe; }

.footer-quote {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    letter-spacing: -0.04em;
    line-height: 1.4;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.footer-watermark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 9vw, 175px);
    color: rgba(255,255,255,0.18);
    letter-spacing: -0.04em;
    line-height: 1em;
    text-align: center;
    pointer-events: none;
    user-select: none;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

/* ===== TAPE BANNER ===== */
.tape-link { display: block; text-decoration: none; cursor: pointer; }
.tape-wrapper {
    position: relative;
    width: 120%;
    left: -10%;
    background: #ccff00;
    transform: rotate(-2deg);
    padding: 10px 0;
    margin-top: 40px;
    border-top: 3px solid rgba(0,0,0,0.25);
    border-bottom: 3px solid rgba(0,0,0,0.25);
    overflow: hidden;
}
.tape-track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.tape-text {
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #000;
    padding-right: 50px;
}
@media (max-width: 809px) {
    .tape-wrapper { padding: 5px 0; }
    .tape-text { font-size: 0.95rem; padding-right: 32px; }
}

/* ===== PROJECT DETAIL: HERO ===== */
.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}
.project-hero-bg { position: absolute; inset: 0; z-index: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.project-hero-nav { position: absolute; top: 32px; left: 32px; z-index: 2; }

.back-link {
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
.back-link:hover { color: #fff; }

.project-hero-content { position: relative; z-index: 1; width: 100%; padding: 60px 40px; }

.project-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.project-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(56px, 11vw, 120px);
    line-height: 1em;
    color: #fff;
    letter-spacing: -0.04em;
}

.project-hero-date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    letter-spacing: -0.04em;
    margin-top: 10px;
}

/* ===== PROJECT DETAIL: DETAILS SECTION ===== */
.project-details {
    position: relative;
    background: transparent;
    padding: 80px 32px;
    overflow: hidden;
}
.project-details-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; }
.project-details-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-details-inner { position: relative; z-index: 1; max-width: 1312px; margin: 0 auto; }

.detail-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.detail-card {
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 16px;
    padding: 24px;
}

.detail-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #667085;
    letter-spacing: -0.02em;
    line-height: 1.6;
    margin-bottom: 8px;
}
.detail-card p:last-child { margin-bottom: 0; }

.detail-card a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.detail-card a:hover { color: #333; }

/* ===== CONTACT PAGE ===== */
.contact-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}
.contact-hero-bg { position: absolute; inset: 0; z-index: 0; }
.contact-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.contact-hero-content { position: relative; z-index: 1; width: 100%; padding: 60px 40px; }

.contact-hero-year {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.contact-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(72px, 14vw, 160px);
    line-height: 1em;
    color: #fff;
    letter-spacing: -0.04em;
}

.contact-section { background: transparent; padding: 80px 32px; }
.contact-inner { max-width: 600px; margin: 0 auto; }

.fancy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.6em 2em;
    border: 2px solid #AFCBFF;
    border-radius: 999px;
    color: #AFCBFF;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color 300ms, transform 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.4);
    text-decoration: none;
    white-space: nowrap;
}
.fancy-btn:hover { color: #0f172a; transform: translateX(-50%) translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-cards { grid-template-columns: repeat(2, 1fr); }
    .detail-cards .detail-card:nth-child(3):last-child { grid-column: span 2; }
}

@media (max-width: 809px) {
    .site-nav { top: 12px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-section, .project-details, .contact-section { padding: 48px 20px; }
    .home-hero-content, .project-hero-content, .contact-hero-content { padding: 40px 24px; }
    .home-hero-bg img { object-position: 60% center; }
    .home-hero-bar { height: 14vh; top: 46%; }
    .home-hero { width: calc(100% - 24px); height: calc(100vh - 24px); margin: 12px auto 0; border-radius: 14px; }
    .project-hero-nav { top: 20px; left: 20px; }
    .detail-cards { grid-template-columns: 1fr; }
    .detail-cards .detail-card:nth-child(3):last-child { grid-column: span 1; }
    .home-footer { padding: 60px 20px 40px; }
    .footer-watermark { font-size: clamp(28px, 10vw, 80px); }
}
