/* ============================================================
   MISOGI WORKS — NEW DESIGN SYSTEM
   Cinematic · Editorial · Premium
   Shared across all new_design pages.
   ============================================================ */

/* --- GOOGLE FONTS (load in each HTML head) --- */
/* Cormorant Garamond + Montserrat */

/* --- DESIGN TOKENS --- */
:root {
    --f-black:      #070707;
    --f-dark:       #111111;
    --f-charcoal:   #1a1a1a;
    --f-navy:       #1e3a4a;
    --f-orange:     #e9821e;
    --f-orange-dim: rgba(233,130,30,0.15);
    --f-cream:      #f4ede0;
    --f-off-white:  #faf9f5;
    --f-white:      #ffffff;
    --f-gray:       #888888;
    --f-gray-lt:    rgba(255,255,255,0.12);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', -apple-system, sans-serif;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--f-off-white); }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── NAV + SKIP-LINK OVERRIDES ──────────────────────────────── */
/* Hide the orange skip-link bar */
.skip-link { display: none !important; }

/* Dark cinematic nav for new design pages */
.nav {
    position: fixed;
    z-index: 1000;
    background-color: rgba(7, 7, 7, 0.55) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: none !important;
}
.nav.scrolled {
    background-color: rgba(7, 7, 7, 0.88) !important;
}

/* Fix logo image — must override global img { height: 100% } */
.logo img {
    width: auto !important;
    height: 40px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.sr {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.sr.is-visible { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.12s; }
.sr-d2 { transition-delay: 0.22s; }
.sr-d3 { transition-delay: 0.34s; }
.sr-d4 { transition-delay: 0.46s; }

/* ============================================================
   GRAIN OVERLAY (reusable)
   ============================================================ */
.f-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   HERO — FULL VIEWPORT
   ============================================================ */
.f-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    background: var(--f-black);
    overflow: hidden;
}

.f-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
    opacity: 0.45;
    transform: scale(1.08);
    animation: heroZoom 18s ease forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.f-hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(7,7,7,0.9) 0%, rgba(7,7,7,0.2) 50%, rgba(7,7,7,0.3) 100%),
        linear-gradient(to right, rgba(7,7,7,0.4) 0%, transparent 60%);
}

.f-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 8vw 3.5rem;
}

.f-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.f-hero-eyebrow-line {
    width: 36px;
    height: 1px;
    background: var(--f-orange);
}

.f-hero-eyebrow-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--f-orange);
}

.f-hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 0.88;
    color: var(--f-white);
    letter-spacing: -0.03em;
    margin: 0 0 0.15em;
    animation: heroFade 1.2s ease 0.2s both;
}

.f-hero-title em {
    font-style: italic;
    color: var(--f-cream);
}

.f-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 3.5rem;
    animation: heroFade 1.2s ease 0.4s both;
}

.f-hero-body {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    max-width: 580px;
    margin-bottom: 3rem;
    animation: heroFade 1.2s ease 0.5s both;
}

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

.f-hero-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 8vw;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(7,7,7,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-wrap: wrap;
}

/* Short hero variant (for inner pages) */
.f-hero-short {
    height: 70vh;
    min-height: 500px;
}

.f-hero-short .f-hero-content {
    justify-content: flex-end;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.f-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.f-btn-primary {
    background: var(--f-orange);
    color: var(--f-white);
}
.f-btn-primary:hover {
    background: var(--f-white);
    color: var(--f-black);
}

.f-btn-outline {
    background: transparent;
    color: var(--f-orange);
    border: 1.5px solid var(--f-orange);
}
.f-btn-outline:hover {
    background: var(--f-orange);
    color: var(--f-white);
}

.f-btn-outline-light {
    background: transparent;
    color: var(--f-white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.f-btn-outline-light:hover {
    border-color: var(--f-white);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.f-marquee {
    background: var(--f-orange);
    padding: 0.9rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.f-marquee-track {
    display: inline-flex;
    animation: marqueeScroll 35s linear infinite;
}

.f-marquee-item {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    padding-right: 3rem;
}

.f-marquee-dot {
    color: rgba(255,255,255,0.4);
    padding-right: 3rem;
}

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

/* ============================================================
   STATEMENT SECTION
   ============================================================ */
.f-statement {
    padding: clamp(6rem, 12vw, 13rem) 8vw;
    background: var(--f-off-white);
    text-align: center;
}

.f-statement-text {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.18;
    color: var(--f-black);
    max-width: 980px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.f-statement-text em {
    font-style: italic;
    color: var(--f-orange);
}

.f-statement-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--f-gray);
    margin-top: 2.5rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
}

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.f-section {
    padding: clamp(5rem, 9vw, 10rem) 8vw;
}

.f-section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.f-section-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--f-orange);
    letter-spacing: 0.08em;
}

.f-section-rule {
    width: 36px;
    height: 1px;
    background: var(--f-orange);
    flex-shrink: 0;
}

.f-section-name {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--f-gray);
}

.f-section-name.light { color: rgba(255,255,255,0.65); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.f-h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0;
}

.f-h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 2.5rem;
}

.f-h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 1.2rem;
}

.f-h2.dark  { color: var(--f-black); }
.f-h2.light { color: var(--f-white); }
.f-h2.cream { color: var(--f-cream); }
.f-h2 em, .f-h3 em { font-style: italic; }
.f-h3.dark  { color: var(--f-black); }
.f-h3.light { color: var(--f-white); }
.f-h3.cream { color: var(--f-cream); }

.f-body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255,255,255,0.82);
}

.f-body.dark { color: rgba(0,0,0,0.6); }

.f-lead {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
}

.f-lead.dark { color: rgba(0,0,0,0.65); }

.f-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--f-orange);
    margin-bottom: 1rem;
    display: block;
}

.f-label.light { color: rgba(255,255,255,0.4); }

/* ============================================================
   EDITORIAL GRID (text left, number right)
   ============================================================ */
.f-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 2.4fr;
    gap: 6rem;
    align-items: start;
}

.f-editorial-num {
    font-family: var(--font-display);
    font-size: clamp(5rem, 9vw, 9rem);
    font-weight: 300;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
}

.f-editorial-num.dark { color: rgba(0,0,0,0.06); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.f-cta-banner {
    background: var(--f-orange);
    padding: clamp(5rem, 8vw, 9rem) 8vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.f-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.f-cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--f-white);
    letter-spacing: -0.02em;
    margin: 0 auto 1.5rem;
    max-width: 800px;
    position: relative;
}

.f-cta-banner-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 3rem;
    letter-spacing: 0.04em;
    position: relative;
}

.f-cta-banner .f-btn-primary {
    background: var(--f-white);
    color: var(--f-orange);
    position: relative;
}
.f-cta-banner .f-btn-primary:hover {
    background: var(--f-black);
    color: var(--f-white);
}

/* ============================================================
   PHOTO UTILITIES
   ============================================================ */
.f-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.f-aspect-16-9 { aspect-ratio: 16/9; }
.f-aspect-4-3  { aspect-ratio: 4/3; }
.f-aspect-3-4  { aspect-ratio: 3/4; }
.f-aspect-1-1  { aspect-ratio: 1; }
.f-aspect-5-3  { aspect-ratio: 5/3; }

/* ============================================================
   STATS ROW
   ============================================================ */
.f-stats {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.f-stat-item {}

.f-stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.2rem;
}

.f-stat-value {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.f-stat-label.dark { color: rgba(0,0,0,0.4); }
.f-stat-value.dark { color: var(--f-black); }

/* ============================================================
   DIVIDERS
   ============================================================ */
.f-rule {
    width: 48px;
    height: 1px;
    background: var(--f-orange);
    margin: 2.5rem 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.f-faq-list { max-width: 780px; }

.f-faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.f-faq-item.on-light { border-bottom-color: rgba(0,0,0,0.1); }

.f-faq-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 1.8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.f-faq-q {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--f-white);
}
.f-faq-q.dark { color: var(--f-black); }

.f-faq-icon {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s, transform 0.4s;
}
.f-faq-icon.dark { border-color: rgba(0,0,0,0.2); }

.f-faq-icon::before, .f-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--f-orange);
    top: 50%; left: 50%;
    transition: transform 0.4s, opacity 0.4s;
}
.f-faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%,-50%); }
.f-faq-icon::after  { width: 1.5px; height: 10px; transform: translate(-50%,-50%); }

.f-faq-item.is-open .f-faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.f-faq-item.is-open .f-faq-icon { border-color: var(--f-orange); }

.f-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}

.f-faq-item.is-open .f-faq-body { max-height: 600px; }

.f-faq-answer {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.55);
    padding-bottom: 2rem;
}
.f-faq-answer.dark { color: rgba(0,0,0,0.6); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.f-testimonial {
    padding: 3rem;
    border-left: 2px solid var(--f-orange);
}

.f-testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--f-cream);
    margin: 0 0 1.5rem;
}

.f-testimonial-author {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   INLINE JAVASCRIPT SHARED CODE (reminder — copy to each page)
   ============================================================
   Scroll reveal: IntersectionObserver on .sr → adds .is-visible
   FAQ accordion: .f-faq-item, .f-faq-trigger, .is-open
   ============================================================ */

/* ============================================================
   FOOTER OVERRIDES
   ============================================================ */
.footer {
    background: var(--f-black) !important;
    padding-left: 8vw !important;
    padding-right: 8vw !important;
    padding-top: clamp(4rem, 6vw, 6rem) !important;
    padding-bottom: clamp(2rem, 3vw, 3rem) !important;
}
.footer * { color: rgba(255,255,255,0.55) !important; }
.footer a { color: rgba(255,255,255,0.55) !important; }
.footer a:hover { color: var(--f-orange) !important; }
.footer .footer-brand p,
.footer .logo-text { color: var(--f-white) !important; }

/* Footer layout */
.footer .footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 4rem !important;
    flex-wrap: wrap !important;
    padding-bottom: clamp(3rem, 4vw, 4rem) !important;
}
.footer .footer-brand {
    max-width: 380px !important;
    flex: 1 1 280px !important;
}
.footer .footer-brand p {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
    color: rgba(255,255,255,0.4) !important;
    margin-top: 1rem !important;
}
.footer .footer-contact,
.footer .footer-social {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}
.footer .footer-contact h4,
.footer .footer-social h4 {
    font-family: var(--font-body, 'Montserrat', sans-serif) !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.28) !important;
    margin: 0 0 0.25rem !important;
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: 2rem !important;
    border-top-color: rgba(255,255,255,0.08) !important;
}
.footer .footer-bottom p {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.25) !important;
}

@media (max-width: 640px) {
    .footer { padding-left: 6vw !important; padding-right: 6vw !important; }
    .footer .footer-content { flex-direction: column !important; gap: 2.5rem !important; }
    .footer .footer-brand { max-width: 100% !important; }
}

/* ============================================================
   RESPONSIVE — GLOBAL BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
    .f-editorial-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

@media (max-width: 860px) {
    .f-editorial-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .f-editorial-num  { display: none; }
    .f-stats          { gap: 2.5rem; }
    .f-hero-bar       { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 640px) {
    .f-section { padding: 4rem 6vw; }
    .f-statement { padding: 5rem 6vw; }
    .f-hero-content { padding: 0 6vw 2.5rem; }
    .f-testimonial  { padding: 2rem; }
}
