/* =============================================
   LAYOUT — Nav, Hero, Sections, Footer
   ============================================= */

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: var(--trans);
}

nav.scrolled {
    border-bottom-color: var(--stone);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: var(--black);
}

.nav-logo span {
    font-style: italic;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--black);
    padding: 0.7rem 1.6rem;
    transition: var(--trans);
}

.nav-cta:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hamburger button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--black);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-hamburger.active span {
    background: var(--white);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.nav-mobile-overlay a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-mobile-overlay a:hover {
    color: var(--gold);
}

/* HERO */
.hero {
    min-height: 85vh;
    max-height: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 5rem 6rem;
    position: relative;
}

.hero-text::before {
    content: 'ATELIER';
    position: absolute;
    top: 50%;
    left: 4rem;
    transform: translateY(-50%) rotate(-90deg) translateX(-50%);
    font-size: 0.55rem;
    letter-spacing: 0.5em;
    color: var(--mid);
    transform-origin: left center;
}

.hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title em {
    font-style: italic;
    display: block;
}

.hero-desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--dark);
    max-width: 340px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-image {
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-initials {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(184, 168, 138, 0.7) 25%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(184, 168, 138, 0.7) 75%,
        rgba(255, 255, 255, 0.9) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

.hero-initials span {
    font-weight: 600;
}

/* Vertical stripe on hero image */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.hero-image-label {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.hero-image-text {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 12vw, 14rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -0.02em;
    user-select: none;
    line-height: 1;
    text-align: center;
    animation: slowFloat 8s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--mid);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease 1.3s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--stone);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    animation: scrollDown 2s ease-in-out infinite;
}

/* Hero actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

/* MARQUEE */
.marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    padding: 1.2rem 0;
    background: var(--white);
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mid);
    padding: 0 3rem;
    white-space: nowrap;
}

.marquee-dot {
    font-size: 0.4rem;
    color: var(--gold);
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ABOUT */
.about {
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
    border-top: 1px solid var(--stone);
}

.about-image {
    aspect-ratio: 3/4;
    height: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 2px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Drop cap for first paragraph */
.about-content .section-body p:first-child::first-letter {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    color: var(--black);
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--stone);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
}

.stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 0.25rem;
}

/* PROCESS */
.process {
    background: var(--black);
    color: var(--white);
    padding: var(--space-xl);
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.process-header .section-label {
    color: var(--gold);
}

.process-header .section-title {
    color: var(--white);
    margin-bottom: 0;
}

.process-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
    line-height: 1.8;
    text-align: right;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.process-step {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 0.78rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.45);
}

/* SHOP */
.shop {
    padding: 5rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.shop-link {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    position: relative;
}

.shop-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transition: var(--trans);
}

.shop-link:hover::after {
    width: 0;
}

/* CONTACT */
.contact {
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-detail {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-label {
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 0.4rem;
}

.contact-item-value {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 300;
}

.contact-item-value a {
    color: var(--black);
    text-decoration: none;
}

/* FOOTER */
footer {
    background: var(--black);
    color: var(--white);
    padding: 5rem 8rem 3rem;
    border-top: 1px solid var(--gold);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand .nav-logo {
    color: var(--white);
    font-size: 1.8rem;
}

.footer-brand-desc {
    font-size: 0.78rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1.5rem;
    max-width: 240px;
}

.footer-col-title {
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}