/* ============================================================
   TIFFANY YOUNGREN — SHARED STYLESHEET
   Used by: index.html, and all future pages
   ============================================================ */

/* ── FONT AWESOME RENDER FIX ── */
.fas, .far, .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    line-height: 1;
}
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    line-height: 1;
}

/* ── BRAND TOKENS ── */
:root {
    --navy:       #010e28;
    --navy-mid:   #021b45;
    --navy-light: #0f2d6b;
    --gold:       #D4AF37;
    --gold-light: #E8CC6E;
    --tan:        #C8B89A;
    --sand:       #E2D9CC;
    --cream:      #F5EDE0;
    --white:      #FFFFFF;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--navy);
    color: var(--white);
    font-family: 'EB Garamond', serif;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ── BACKGROUNDS ── */
.kintsugi-bg {
    background-color: var(--navy);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212,175,55,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(212,175,55,0.04) 0%, transparent 60%);
}
.kintsugi-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* ── NAV ── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s ease; padding: 1.5rem 0; }
header.scrolled { background: rgba(2,27,69,0.97); backdrop-filter: blur(12px); padding: 0.9rem 0; border-bottom: 1px solid rgba(212,175,55,0.2); box-shadow: 0 4px 40px rgba(0,0,0,0.4); }
nav { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-wordmark { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; color: var(--gold); letter-spacing: 0.12em; line-height: 1.2; display: none; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--sand); text-decoration: none; font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); padding: 0.6rem 1.5rem; font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; }
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; text-decoration: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu .mob-btn { color: var(--cream); text-decoration: none; font-family: 'Cinzel', serif; font-size: 1.5rem; letter-spacing: 0.1em; transition: color 0.3s; background: none; border: none; cursor: pointer; }
.mobile-menu a:hover, .mobile-menu .mob-btn:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: var(--gold); font-size: 2rem; cursor: pointer; }



/* ── HERO ── */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 0% 100%, rgba(15,45,107,0.7) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(212,175,55,0.08) 0%, transparent 50%),
        var(--navy);
}
.particle-field { position: absolute; inset: 0; overflow: hidden; }
.particle { position: absolute; background: var(--gold); border-radius: 50%; opacity: 0; animation: drift linear infinite; }
@keyframes drift {
    0%   { transform: translateY(100vh); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-10vh); opacity: 0; }
}
.hero-content { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 8rem 2rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hero-tagline { font-family: 'Cinzel', serif; font-size: clamp(0.65rem, 1.2vw, 0.85rem); letter-spacing: 0.3em; color: var(--tan); text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.hero-tagline::before { content: ''; display: block; width: 40px; height: 1px; background: var(--tan); }
.hero-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; }
.hero-h1 em { color: var(--gold); font-style: italic; }
.hero-motto { font-family: 'Cinzel', serif; font-size: clamp(0.7rem, 1.5vw, 1rem); letter-spacing: 0.25em; color: var(--gold-light); margin-bottom: 2rem; text-transform: uppercase; }
.hero-motto span { color: var(--tan); margin: 0 0.75em; }
.hero-body { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--sand); max-width: 520px; margin-bottom: 2.5rem; line-height: 1.8; }

/* Hero emblem */
.hero-emblem { display: flex; align-items: center; justify-content: center; }
.hero-emblem-ring {
    width: min(520px, 52vw);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(212,175,55,0.2), 0 0 0 18px rgba(212,175,55,0.04), 0 0 60px rgba(212,175,55,0.15);
}
.hero-emblem-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(212,175,55,0.25); pointer-events: none; z-index: 2; }
.hero-emblem-logo { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; animation: subtlePulse 5s ease-in-out infinite; }
@keyframes subtlePulse {
    0%, 100% { filter: drop-shadow(0 0 25px rgba(212,175,55,0.2)); }
    50%       { filter: drop-shadow(0 0 45px rgba(212,175,55,0.35)); }
}

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--gold); color: var(--navy); font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; padding: 1rem 2.5rem; border: none; cursor: pointer; transition: all 0.35s ease; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent); transition: left 0.5s ease; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: rgba(212,175,55,0.82); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,0.32); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.75rem; background: transparent; color: var(--cream); font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; padding: 1rem 2.5rem; border: 1.5px solid rgba(212,175,55,0.4); cursor: pointer; transition: all 0.35s ease; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--gold); color: var(--navy); font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 1rem 2.5rem; border: none; cursor: pointer; transition: all 0.35s; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.75rem; background: transparent; color: var(--cream); font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 1rem 2.5rem; border: 1.5px solid rgba(212,175,55,0.4); transition: all 0.35s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ── MARQUEE ── */
.cred-bar { background: var(--navy-mid); overflow: hidden; position: relative; border-top: 1px solid rgba(212,175,55,0.2); border-bottom: 1px solid rgba(212,175,55,0.2); padding: 1rem 0; }
.cred-bar::before, .cred-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.cred-bar::before { left: 0; background: linear-gradient(to right, var(--navy-mid), transparent); }
.cred-bar::after  { right: 0; background: linear-gradient(to left,  var(--navy-mid), transparent); }
.marquee-track { display: flex; gap: 4rem; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--tan); text-transform: uppercase; }
.marquee-item i { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION SHARED ── */
section { position: relative; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-label { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.35em; color: var(--tan); text-transform: uppercase; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--tan); }
.section-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.1; color: var(--gold); }
.section-h2 em { color: var(--gold-light); font-style: italic; }
.gold-rule { width: 60px; height: 2px; background: linear-gradient(to right, var(--gold), var(--tan)); margin: 1.5rem 0; }

/* ── ABOUT ── */
#about { padding: 7rem 0 5rem; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.55; color: var(--cream); margin-bottom: 2rem; padding-left: 2rem; border-left: 2px solid var(--gold); }
.about-body { font-size: 1.08rem; color: var(--sand); line-height: 1.9; margin-bottom: 1.5rem; }
.kintsugi-card { background: rgba(15,45,107,0.4); border: 1px solid rgba(212,175,55,0.15); padding: 2rem 2.5rem; position: relative; overflow: hidden; }
.kintsugi-card::before { content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }
.kintsugi-card::after  { content: ''; position: absolute; bottom: 0; right: 0; width: 40%; height: 1px; background: linear-gradient(to left,  var(--tan),  transparent); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 0; border: 1px solid rgba(212,175,55,0.1); border-top: none; }
.pillar { padding: 1.6rem 1.4rem; background: rgba(2,27,69,0.5); border-right: 1px solid rgba(212,175,55,0.08); border-top: 1px solid rgba(212,175,55,0.08); transition: background 0.3s; }
.pillar:nth-child(even) { border-right: none; }
.pillar:hover { background: rgba(15,45,107,0.65); }
.pillar-icon { width: 34px; height: 34px; border: 1px solid rgba(212,175,55,0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 0.7rem; color: var(--gold); font-size: 0.85rem; }
.pillar h4 { font-family: 'Cinzel', serif; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 0.35rem; text-transform: uppercase; }
.pillar p { font-size: 0.88rem; color: var(--sand); line-height: 1.6; }

/* ── SERVICES ── */
#services { padding: 5rem 0 8rem; background: #021b45; overflow: hidden; }
.services-header { text-align: center; margin-bottom: 5rem; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.service-card { padding: 3rem 2rem; border-right: 1px solid rgba(212,175,55,0.12); border-top: 1px solid rgba(212,175,55,0.12); position: relative; overflow: hidden; transition: background 0.4s; }
.service-card:last-child { border-right: none; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: rgba(212,175,55,0.06); transition: height 0.4s ease; }
.service-card:hover::before { height: 100%; }
.service-num { display: none; }
.service-card-rule { width: 32px; height: 1.5px; background: linear-gradient(to right, var(--gold), rgba(212,175,55,0.2)); margin-bottom: 1.25rem; transition: width 0.4s ease; }
.service-card:hover .service-card-rule { width: 56px; }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--cream); margin-bottom: 1rem; line-height: 1.2; }
.service-card p { font-size: 0.95rem; color: var(--sand); line-height: 1.8; opacity: 0.85; }

/* ── MANIFESTO ── */
#manifesto { padding: 8rem 0; background: var(--navy); text-align: center; position: relative; overflow: hidden; }
#manifesto .section-inner { position: relative; z-index: 1; }
.manifesto-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 600; color: var(--white); line-height: 1.25; max-width: 900px; margin: 0 auto 3rem; }
.manifesto-headline em { color: var(--gold); font-style: italic; }
.motto-stamp { display: inline-flex; border: 1px solid rgba(212,175,55,0.3); overflow: hidden; margin-bottom: 3rem; }
.motto-word { font-family: 'Cinzel', serif; font-size: clamp(0.65rem, 1.5vw, 0.9rem); letter-spacing: 0.2em; padding: 0.8rem 1.8rem; border-right: 1px solid rgba(212,175,55,0.3); color: var(--gold); text-transform: uppercase; }
.motto-word:last-child { border-right: none; }

/* ── TESTIMONIALS ── */
#testimonials { padding: 8rem 0; background: #010e28; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; }
.testimonial { padding: 2.5rem; border: 1px solid rgba(212,175,55,0.1); background: rgba(2,27,69,0.6); position: relative; transition: border-color 0.3s, transform 0.3s; }
.testimonial:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-4px); }
.testimonial::before { content: '\201C'; position: absolute; top: -0.5rem; left: 1.5rem; font-family: 'Cormorant Garamond', serif; font-size: 5rem; color: rgba(212,175,55,0.15); line-height: 1; }
.testimonial blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; color: var(--cream); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial cite { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--tan); text-transform: uppercase; font-style: normal; }
.testimonial-bar { width: 30px; height: 2px; background: var(--gold); margin-bottom: 1rem; }

/* ── CTA ── */
#cta { padding: 8rem 0; background: var(--navy-mid); text-align: center; position: relative; overflow: hidden; }
#cta .section-inner { position: relative; z-index: 1; }
.cta-label { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.35em; color: var(--tan); text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.cta-label::before, .cta-label::after { content: ''; display: block; width: 30px; height: 1px; background: var(--tan); }
.cta-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; color: var(--white); line-height: 1.2; max-width: 800px; margin: 0 auto 1.5rem; }
.cta-sub { font-size: 1.1rem; color: var(--sand); max-width: 520px; margin: 0 auto 3rem; line-height: 1.8; }
.cta-btn-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #010f2b; border-top: 1px solid rgba(212,175,55,0.2); padding: 4rem 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.footer-logo img { height: 56px; }
.footer-motto { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--tan); text-transform: uppercase; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(212,175,55,0.2); display: flex; align-items: center; justify-content: center; color: var(--tan); font-size: 1rem; text-decoration: none; transition: all 0.3s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-copy { font-size: 0.85rem; color: rgba(212,201,188,0.4); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-emblem { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card:nth-child(2) { border-right: none; }
    .service-card:nth-child(3) { border-top: 1px solid rgba(212,175,55,0.12); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-content { padding-top: 6rem; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
}
