/* ==========================================================================
   High-End Branding Foundations, Design Tokens & Core Baseline Resets
   ========================================================================== */

:root {
    /* Exact Requested Branding Tokens Palette Configuration */
    --bg-color: #0A0A0C;         /* Ultra-deep obsidian night */
    --text-color: #F4F4F6;       /* Ice-white high contrast */
    --text-muted: #8E8E93;       /* Muted silver for subtitles */
    --accent-color: #FF5E00;     /* Electric Solar Orange */
    --card-bg: #141417;          /* Metallic charcoal bento fill */
    --border-color: #222226;     /* Low-impact frame cuts */
    
    /* Interactive Secondary Glow Vectors */
    --accent-orange-glow: rgba(255, 94, 0, 0.45);
    --accent-orange-subtle: rgba(255, 94, 0, 0.05);
    --border-premium-hover: rgba(255, 94, 0, 0.35);
    
    /* Global Premium Typography Specifications */
    --font-heading: 'Noto Serif JP', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Precision Animation Curves */
    --premium-bezier: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.6s var(--premium-bezier);
}

/* Structural Reset Matrix Layer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
}

/* Global Link Resets (Removes Blue Links Completely) */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    background-color: transparent;
}

a:visited, a:active, a:focus {
    color: inherit;
    text-decoration: none;
}

/* Custom Minimalist Track Scrollbar Element */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #1c1c22;
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* High-End Geometric Structural Frame Widths */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

.medium-width-container {
    max-width: 960px;
    margin: 0 auto;
}

.global-padding {
    padding: 10rem 0;
}

.alt-bg, .alternate-bg {
    background-color: #050507;
}

.text-center {
    text-align: center;
}

/* Clean Editorial Typography Hierarchies */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.15;
    font-weight: 700;
}

p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-color);
    font-weight: 400;
}

/* Premium Eyebrow Micro Typography Label Blocks */
.section-micro-label {
    display: inline-block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.section-micro-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.section-display-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 3.5rem;
}

/* Premium Interactive Button Architecture Parameters */
.btn-premium-filled, .btn-premium-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.4rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
    transition: var(--transition-smooth);
    overflow: hidden; /* FIX: Restores overflow masking parameters on hover states */
    z-index: 1;
    cursor: pointer;
}

.btn-premium-filled {
    background-color: var(--accent-color);
    color: #ffffff !important;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

.btn-premium-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 94, 0, 0.4);
    background-color: #ff7315;
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
}

.btn-premium-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium-outline:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 94, 0, 0.15), inset 0 0 12px rgba(255, 94, 0, 0.05);
}

.btn-premium-outline:hover::before {
    left: 100%;
}

/* Fixed Scroll Progress Top Line Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 2100;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), #ff843a);
    box-shadow: 0 0 12px var(--accent-color);
}

/* Fluid Viewport On-Entrance Interactive Reveal Parameters */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--premium-bezier), transform 1.2s var(--premium-bezier);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }