:root {
    --bg-color: #ffffff; /* The specific beige from the video */
    --text-color: #0d0d0d;
    --accent-color: #594A42;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    margin: 0;
    overflow-x: hidden; /* Hide scrollbar for horizontal animations */
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
}

/* Lenis Smooth Scroll Setup */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* Helper for Vertical Text (Japanese style) */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New Class for H1 Image Mask */
.text-image-mask {
    /* We use a nature/stone texture to match the Saisei vibe */
    background-image: url('website-20251202T201341Z-1-001/website/generated-image\ \(43\).png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* This clips the background to the letters */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Makes the text transparent so the image shows through */
    color: transparent; 
    
    /* Optional: Ensure it looks good on different screens */
    width: 100%;
}

/* --- FOOTER STYLES (White Theme Match) --- */
.footer { 
    background: #ffffff; 
    padding: 4rem 1.5rem; 
    border-top: 1px solid rgba(0,0,0,0.1); 
    color: #1a1a1a;
}
@media (min-width: 768px) { .footer { padding: 6rem 3rem; } }

.footer-content { max-width: 1280px; margin: 0 auto; }

.footer-top { 
    display: grid; 
    gap: 3rem; 
    margin-bottom: 4rem; 
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo { 
    font-family: 'Playfair Display', serif; /* Matches Homepage Font */
    font-size: 1.875rem; 
    color: #1a1a1a; 
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav span, .footer-contact span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #999;
    display: block;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
}

.footer-nav ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a, .footer-contact li {
    color: #666;
    transition: color 0.3s;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
}
.footer-nav a:hover { color: #000; }

.footer-bottom { 
    border-top: 1px solid rgba(0,0,0,0.1); 
    padding-top: 2rem; 
    display: flex; 
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between; 
    color: #999; 
    font-size: 0.8rem;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ============================
   FLOATING SOCIAL WIDGET (Horizontal Pill)
   ============================ */
.social-widget {
    position: fixed;
    bottom: 30px;           /* Anchored to bottom */
    left: 50%;              /* Centered horizontally */
    z-index: 1000;
    
    display: flex;
    flex-direction: row;    /* Always Horizontal */
    align-items: center;
    justify-content: center;
    gap: 25px;
    
    /* Visuals (Glass Pill) */
    background: rgba(20, 20, 20, 0.85); /* Dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Text Color */
    color: #fff;
    mix-blend-mode: normal; 

    /* HIDDEN STATE (Initial) */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(30px); /* Pushed down */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* VISIBLE STATE (Triggered by JS) */
.social-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Slide Up */
}

/* Links */
.social-link {
    display: flex; 
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: rgba(255,255,255,0.7); 
    transition: all 0.3s ease;
}

.social-link i, 
.social-link svg {
    font-size: 1.5rem; /* Icon size */
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Hide Decorative Elements (Lines/Labels don't fit horizontal mode) */
.social-line, 
.social-label {
    display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

