/* ============================
   NAVIGATION
   ============================ */
.nf-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    padding: 0 var(--space-lg);
    background: var(--nf-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: transform 0.4s ease-out, box-shadow 0.3s ease;
}

.nf-nav--hidden {
    transform: translateY(-100%);
}

.nf-nav--scrolled {
    box-shadow: 0 1px 0 var(--nf-border);
}

.nf-nav__left,
.nf-nav__right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nf-nav__center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf-nav__logo {
    display: flex;
    align-items: center;
}

.nf-nav__logo svg {
    width: 30px;
    height: 30px;
}

.nf-nav__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.nf-nav__hamburger svg {
    width: 24px;
    height: 16px;
}

.nf-nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nf-nav__brand-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--nf-black);
}

.nf-nav__brand-text sup {
    font-size: 10px;
    vertical-align: super;
}

.nf-nav__search {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-circle);
    border: 1px solid var(--nf-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.nf-nav__search:hover {
    background: var(--nf-light-gray);
}

.nf-nav__search svg {
    width: 18px;
    height: 18px;
}

/* ============================
   MENU OVERLAY
   ============================ */
.nf-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nf-white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nf-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.nf-menu-overlay__inner {
    text-align: center;
    position: relative;
    width: 100%;
    padding: var(--space-sm);
}

.nf-menu-overlay__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nf-menu-overlay__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-menu-overlay__list li {
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nf-menu-overlay.is-active .nf-menu-overlay__list li {
    opacity: 1;
    transform: translateY(0);
}

.nf-menu-overlay.is-active .nf-menu-overlay__list li:nth-child(1) { transition-delay: 0.1s; }
.nf-menu-overlay.is-active .nf-menu-overlay__list li:nth-child(2) { transition-delay: 0.15s; }
.nf-menu-overlay.is-active .nf-menu-overlay__list li:nth-child(3) { transition-delay: 0.2s; }
.nf-menu-overlay.is-active .nf-menu-overlay__list li:nth-child(4) { transition-delay: 0.25s; }
.nf-menu-overlay.is-active .nf-menu-overlay__list li:nth-child(5) { transition-delay: 0.3s; }

.nf-menu-overlay__list a {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -2px;
    color: var(--nf-black);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nf-menu-overlay__list a:hover {
    color: var(--nf-orange);
}

/* ============================
   SEARCH OVERLAY
   ============================ */
.nf-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nf-white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nf-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.nf-search-overlay__inner {
    width: 100%;
    max-width: 600px;
    padding: var(--space-sm);
    position: relative;
}

.nf-search-overlay__close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nf-search-overlay .search-form {
    display: flex;
    gap: 12px;
}

.nf-search-overlay .search-field {
    flex: 1;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -1.7px;
    border: none;
    border-bottom: 2px solid var(--nf-black);
    padding: 12px 0;
    outline: none;
    background: transparent;
    color: var(--nf-black);
}

.nf-search-overlay .search-field::placeholder {
    color: var(--nf-border);
}

.nf-search-overlay .search-submit {
    display: none;
}

/* ============================
   HERO CAROUSEL
   ============================ */
.nf-hero {
    padding: var(--space-sm);
    background: var(--nf-light-gray);
    margin-top: 96px;
    overflow: hidden;
}

.nf-hero__carousel {
    display: flex;
    gap: 40px;
    animation: heroScroll 30s linear infinite;
    will-change: transform;
}

.nf-hero__carousel img {
    height: 400px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nf-hero__tagline {
    text-align: center;
    padding: 40px 0;
}

.nf-hero__tagline strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1.3px;
    color: var(--nf-black);
}

/* ============================
   PRODUCT GRID
   ============================ */
.nf-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.nf-product-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-decoration: none;
    color: inherit;
}

.nf-product-card__image {
    aspect-ratio: 1;
    background: var(--nf-light-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.nf-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-medium);
}

.nf-product-card:hover .nf-product-card__image img {
    transform: scale(1.05);
}

.nf-product-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--nf-light-gray);
}

.nf-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nf-product-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--nf-orange);
    transition: color var(--transition-fast);
}

.nf-product-card__collection {
    font-size: 14px;
    color: var(--nf-black);
}

.nf-product-card__price {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-black);
}

/* ============================
   COLLECTION BANNERS
   ============================ */
.nf-collections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
    padding: var(--space-xl);
}

.nf-collection-banner {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.nf-collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.nf-collection-banner:hover img {
    transform: scale(1.03);
}

/* ============================
   MARQUEE
   ============================ */
.nf-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 24px 0;
    border-top: 1px solid var(--nf-border);
    border-bottom: 1px solid var(--nf-border);
}

.nf-marquee__track {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}

.nf-marquee__item {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -1.7px;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--nf-black);
}

.nf-marquee__separator {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nf-marquee__separator svg {
    width: 24px;
    height: 24px;
    fill: var(--nf-orange);
}

/* ============================
   FEATURES GRID (Accordion)
   ============================ */
.nf-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--nf-border);
    border: 1px solid var(--nf-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.nf-feature-card {
    background: var(--nf-white);
    padding: 24px;
    cursor: pointer;
    transition: background var(--transition-fast);
    outline: none;
}

.nf-feature-card:hover {
    background: var(--nf-light-gray);
}

.nf-feature-card:focus-visible {
    box-shadow: inset 0 0 0 2px var(--nf-orange);
}

.nf-feature-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nf-feature-card__title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf-feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nf-feature-card__icon svg,
.nf-feature-card__icon img {
    width: 24px;
    height: 24px;
}

.nf-feature-card__icon svg {
    stroke: var(--nf-black);
}

.nf-feature-card__toggle {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: var(--nf-gray);
    transition: transform var(--transition-fast);
    user-select: none;
}

.nf-feature-card[aria-expanded="true"] .nf-feature-card__toggle {
    transform: rotate(45deg);
}

.nf-feature-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out, padding-top 300ms ease-in-out;
}

.nf-feature-card__body p {
    font-size: 14px;
    color: var(--nf-gray);
    line-height: 1.5;
    margin: 0;
}

.nf-feature-card[aria-expanded="true"] .nf-feature-card__body {
    max-height: 200px;
    padding-top: 16px;
}

/* ============================
   BLOG/EDITORIAL GRID
   ============================ */
.nf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.nf-blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nf-blog-card__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 16px;
}

.nf-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.nf-blog-card:hover .nf-blog-card__image img {
    transform: scale(1.05);
}

.nf-blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--nf-light-gray);
}

.nf-blog-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -1.1px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--nf-black);
}

.nf-blog-card__date {
    font-size: 14px;
    color: var(--nf-gray);
}

/* ============================
   FOOTER
   ============================ */
.nf-footer {
    padding: var(--space-2xl) 0 0;
    background: var(--nf-white);
}

.nf-footer__gallery {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 var(--space-sm);
    margin-bottom: var(--space-xl);
}

.nf-footer__gallery img {
    height: 300px;
    width: auto;
    object-fit: contain;
}

.nf-footer__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    border-top: 1px solid var(--nf-border);
}

.nf-footer__nav-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-footer__nav a,
.nf-footer__nav-list a {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -1.7px;
    color: var(--nf-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nf-footer__nav a:hover,
.nf-footer__nav-list a:hover {
    color: var(--nf-black);
}

.nf-footer__wordmark {
    padding: var(--space-sm);
    overflow: hidden;
}

.nf-footer__wordmark img {
    width: 100%;
    height: auto;
}

.nf-footer__wordmark-text {
    font-family: var(--font-display);
    font-size: clamp(60px, 15vw, 200px);
    font-weight: 700;
    letter-spacing: -5px;
    color: var(--nf-black);
    line-height: 0.9;
    text-transform: none;
    overflow: hidden;
}

.nf-footer__bottom {
    padding: 16px var(--space-sm);
    border-top: 1px solid var(--nf-border);
    font-size: 12px;
    color: var(--nf-gray);
}
