/* ============================================
   VERTEX Partners Recruit - Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #f5f2ed;
    --color-bg-dark: #2c2c2b;
    --color-bg-cream: #eae6df;
    --color-text: #1a1a1a;
    --color-text-light: #f5f2ed;
    --color-text-muted: #6b6b6b;
    --color-accent: #8b7355;
    --color-accent-light: #b8a88a;
    --color-border: #d4cec4;
    --color-border-dark: #4a4a48;

    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
    --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --header-h: 80px;
    --container-w: 1200px;
    --section-pad: clamp(80px, 12vw, 160px);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto; /* GSAP handles smooth scrolling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html.is-loading {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    cursor: none;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

button {
    cursor: none;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(26, 26, 26, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s, opacity 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-ring {
    opacity: 1;
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
.cursor-hover .cursor-dot {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    mix-blend-mode: normal;
    opacity: 0.15;
}

.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--color-accent);
    opacity: 0.5;
}

/* --- Loading Screen --- */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-inner {
    text-align: center;
    color: var(--color-text-light);
}

.loading-logo {
    margin-bottom: 24px;
}

.loading-logo-svg {
    width: 60px;
    height: 60px;
    color: var(--color-accent-light);
    opacity: 0;
}

.logo-shape {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.logo-line {
    stroke-dasharray: 85;
    stroke-dashoffset: 85;
}

.loading-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 40px);
    letter-spacing: 0.3em;
    font-weight: 300;
    overflow: hidden;
}

.loading-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.loading-bar {
    width: 200px;
    height: 1px;
    background: rgba(245, 242, 237, 0.15);
    margin: 32px auto 16px;
    overflow: hidden;
}

.loading-bar-inner {
    height: 100%;
    width: 0%;
    background: var(--color-accent-light);
}

.loading-counter {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    padding: 0 clamp(20px, 3vw, 48px);
    display: flex;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
    background: rgba(245, 242, 237, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
}

.header-logo-svg {
    width: 36px;
    height: 36px;
    color: var(--color-text);
    transition: color 0.3s;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-company {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-entry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border: 1px solid var(--color-text);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.15em;
    transition: background 0.4s var(--ease-out-expo), color 0.4s;
    opacity: 0;
}

.header-entry-btn:hover {
    background: var(--color-text);
    color: var(--color-text-light);
}

.header-entry-btn .btn-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out-expo);
}

.header-entry-btn:hover .btn-arrow svg {
    transform: translateX(4px);
}

/* Hamburger */
.hamburger {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    transition: border-color 0.3s;
    opacity: 0;
}

.hamburger:hover {
    border-color: var(--color-text);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Side Navigation --- */
.side-nav {
    position: fixed;
    right: clamp(16px, 2.5vw, 40px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s;
}

.side-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.side-nav-link .nav-num {
    font-family: var(--font-display);
    font-size: 11px;
}

.side-nav-link .nav-label {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}

.side-nav-link:hover .nav-label,
.side-nav-link.is-active .nav-label {
    opacity: 1;
    transform: translateX(0);
}

.side-nav-link.is-active {
    color: var(--color-text);
}

.side-nav-progress {
    width: 2px;
    height: 120px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.side-nav-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: height 0.1s linear;
}

/* --- Fullscreen Menu --- */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.fullscreen-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.menu-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.menu-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.menu-shape-1 {
    width: 600px;
    height: 600px;
    border: 1px solid var(--color-accent-light);
    top: -200px;
    right: -100px;
}

.menu-shape-2 {
    width: 400px;
    height: 400px;
    border: 1px solid var(--color-accent-light);
    bottom: -100px;
    left: -100px;
}

.menu-inner {
    position: relative;
    width: 100%;
    padding: 0 clamp(40px, 8vw, 120px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.menu-list {
    list-style: none;
}

.menu-item {
    overflow: hidden;
}

.menu-link {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 12px 0;
    color: var(--color-text-light);
    transform: translateY(100%);
    opacity: 0;
    transition: color 0.3s;
}

.fullscreen-menu.is-open .menu-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-num {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-accent-light);
}

.menu-text {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.3;
    transition: transform 0.4s var(--ease-out-expo);
}

.menu-link:hover .menu-text {
    transform: translateX(20px);
}

.menu-info {
    color: var(--color-text-light);
    opacity: 0.5;
}

.menu-info-block {
    margin-bottom: 24px;
}

.menu-info-label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.menu-info-text {
    font-size: 13px;
    line-height: 1.7;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--color-bg-dark);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(139, 115, 85, 0.12) 0%, transparent 70%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

.hero-frame {
    position: absolute;
    inset: 16px;
    pointer-events: none;
    z-index: 2;
}

.hero-frame-line {
    position: absolute;
    background: rgba(245, 242, 237, 0.08);
}

.hero-frame-top,
.hero-frame-bottom {
    height: 1px;
    left: 0;
    right: 0;
    transform: scaleX(0);
}

.hero-frame-top { top: 0; transform-origin: left; }
.hero-frame-bottom { bottom: 0; transform-origin: right; }

.hero-frame-left,
.hero-frame-right {
    width: 1px;
    top: 0;
    bottom: 0;
    transform: scaleY(0);
}

.hero-frame-left { left: 0; transform-origin: top; }
.hero-frame-right { right: 0; transform-origin: bottom; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-light);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-word {
    display: inline-block;
    font-size: clamp(48px, 9vw, 130px);
    transform: translateY(110%);
    opacity: 0;
}

.script-letter {
    font-style: italic;
    font-weight: 300;
    font-size: 1.2em;
    display: inline-block;
    transform-origin: bottom left;
}

.hero-subtitle {
    margin-top: 24px;
    font-family: var(--font-serif);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    color: var(--color-accent-light);
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    overflow: hidden;
}

.hero-image--left {
    left: 4%;
    top: 50%;
    transform: translateY(-60%);
    width: clamp(120px, 15vw, 220px);
}

.hero-image--right {
    right: 4%;
    top: 50%;
    transform: translateY(-30%);
    width: clamp(120px, 15vw, 220px);
}

.hero-image-inner {
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
}

.hero-image-inner img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.6s;
    transform: scale(1.1);
}

.hero-image:hover .hero-image-inner img {
    filter: grayscale(0%) contrast(1);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    opacity: 0;
}

.hero-scroll-text {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.3em;
}

.hero-scroll-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.scroll-circle {
    animation: scrollRotate 4s linear infinite;
}

.scroll-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--color-accent-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollRotate {
    to { transform: rotate(360deg); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

/* --- Section Divider --- */
.section-divider {
    padding: 0;
    overflow: hidden;
}

.divider-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 20px 0;
}

.divider-lines span {
    display: block;
    height: 1px;
    background: var(--color-border);
    transform: scaleX(0);
    transform-origin: left;
}

/* --- Section Label --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px clamp(20px, 4vw, 60px);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.section-label--light {
    color: rgba(245, 242, 237, 0.5);
}

.label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
}

/* --- Section Common --- */
.section {
    position: relative;
    padding: var(--section-pad) 0;
}

.section-tag {
    font-family: var(--font-serif);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-accent);
}

.section-tag--light {
    color: var(--color-accent-light);
}

.section-tag--light::before {
    background: var(--color-accent-light);
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.text-line {
    display: block;
    overflow: hidden;
}

/* --- Philosophy Section --- */
.section--philosophy {
    background: var(--color-bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.philosophy-heading {
    grid-column: 1 / -1;
}

.philosophy-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.philosophy-body {
    padding-top: 20px;
}

.philosophy-body p {
    margin-bottom: 1.5em;
    line-height: 2;
    color: var(--color-text-muted);
}

.philosophy-image {
    position: relative;
}

.image-mask {
    overflow: hidden;
    position: relative;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.2s var(--ease-out-expo);
}

.image-mask:hover img {
    transform: scale(1);
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    padding: 40px 32px;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, background 0.4s;
}

.value-card:hover {
    border-color: var(--color-accent);
    background: rgba(139, 115, 85, 0.03);
}

.value-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--color-accent-light);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.value-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.value-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.6s var(--ease-out-expo);
}

.value-card:hover .value-line {
    width: 100%;
}

/* --- Message Section --- */
.section--message {
    position: relative;
    color: var(--color-text-light);
    overflow: hidden;
}

.message-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.message-bg-image {
    position: absolute;
    inset: -10%;
}

.message-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25);
}

.message-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 44, 43, 0.85) 0%, rgba(44, 44, 43, 0.6) 100%);
}

.message-content {
    position: relative;
    z-index: 1;
}

.message-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
}

.message-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: end;
}

.message-text p {
    margin-bottom: 1.5em;
    line-height: 2;
    opacity: 0.85;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 2px solid var(--color-accent-light);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s;
}

.author-image:hover img {
    filter: grayscale(0%);
}

.author-role {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--color-accent-light);
    margin-bottom: 4px;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
}

.author-name-en {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.15em;
    opacity: 0.5;
}

/* --- Marquee --- */
.marquee-section {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-track--fast {
    animation-duration: 15s;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-text);
    padding: 0 20px;
    opacity: 0.2;
}

.marquee-dot {
    font-size: clamp(24px, 4vw, 48px);
    padding: 0 20px;
    opacity: 0.1;
    color: var(--color-accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Footer Marquee --- */
.footer-marquee {
    overflow: hidden;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-dark);
}

.footer-marquee .marquee-track {
    animation: marquee 25s linear infinite;
}

.footer-marquee .marquee-text {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 0.3em;
    font-weight: 300;
    color: var(--color-text-muted);
    white-space: nowrap;
    padding: 0 16px;
}

/* --- Work Style Section --- */
.section--workstyle {
    background: var(--color-bg-cream);
}

.workstyle-heading {
    margin-bottom: 60px;
}

.workstyle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ws-card {
    background: var(--color-bg);
    overflow: hidden;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}

.ws-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.ws-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.ws-card-image .image-mask {
    height: 100%;
}

.ws-card-image .image-mask img {
    height: 100%;
}

.ws-card-num {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: white;
    opacity: 0.6;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ws-card-body {
    padding: 28px 24px;
}

.ws-card-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.ws-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.ws-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease-out-expo);
}

.ws-card-link:hover {
    gap: 12px;
}

/* --- People Section --- */
.section--people {
    background: var(--color-bg);
    overflow: hidden;
}

.people-heading {
    margin-bottom: 60px;
}

.people-slider {
    overflow: visible;
    margin: 0 -20px;
    padding: 0 20px;
}

.people-track {
    display: flex;
    gap: 32px;
    cursor: grab;
}

.people-track:active {
    cursor: grabbing;
}

.person-card {
    min-width: 280px;
    flex-shrink: 0;
}

.person-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.image-mask--portrait {
    aspect-ratio: 3/4;
}

.image-mask--portrait img {
    filter: grayscale(100%) contrast(1.05);
    transition: filter 0.8s, transform 1.2s var(--ease-out-expo);
}

.person-card:hover .image-mask--portrait img {
    filter: grayscale(0%);
    transform: scale(1);
}

.person-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 115, 85, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s;
}

.person-card:hover .person-overlay {
    background: rgba(139, 115, 85, 0.2);
}

.person-read {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: white;
    padding: 8px 24px;
    border: 1px solid rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.person-card:hover .person-read {
    opacity: 1;
    transform: translateY(0);
}

.person-tag {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.person-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.person-quote {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* --- Data Section --- */
.section--data {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section--data .section-tag {
    color: var(--color-accent-light);
}

.section--data .section-tag::before {
    background: var(--color-accent-light);
}

.section--data .label-dot {
    background: var(--color-accent-light);
}

.section--data .section-label {
    color: rgba(245, 242, 237, 0.4);
}

.data-heading {
    margin-bottom: 60px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
}

.data-item {
    padding: 32px 0;
    border-top: 1px solid var(--color-border-dark);
}

.data-number {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.counter {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 300;
    line-height: 1;
    color: var(--color-accent-light);
}

.data-unit {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-accent-light);
}

.data-label {
    font-size: 14px;
    color: rgba(245, 242, 237, 0.6);
    margin-bottom: 16px;
}

.data-bar {
    height: 2px;
    background: var(--color-border-dark);
    border-radius: 2px;
    overflow: hidden;
}

.data-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width 1.5s var(--ease-out-expo);
}

/* --- Recruit Section --- */
.section--recruit {
    background: var(--color-bg);
}

.recruit-heading {
    margin-bottom: 48px;
}

.recruit-list {
    display: flex;
    flex-direction: column;
}

.recruit-item {
    display: block;
    border-top: 1px solid var(--color-border);
    transition: background 0.4s;
}

.recruit-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.recruit-item:hover {
    background: rgba(139, 115, 85, 0.03);
}

.recruit-item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
}

.recruit-item-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.recruit-type {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    padding: 4px 16px;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    white-space: nowrap;
}

.recruit-position {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
}

.recruit-item-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.recruit-tag {
    font-size: 13px;
    color: var(--color-text-muted);
}

.recruit-arrow svg {
    transition: transform 0.4s var(--ease-out-expo);
    color: var(--color-accent);
}

.recruit-item:hover .recruit-arrow svg {
    transform: translate(4px, -4px);
}

/* --- Footer --- */
.footer-cta {
    background: var(--color-bg-dark);
    padding: var(--section-pad) 0;
    color: var(--color-text-light);
}

.cta-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.cta-heading {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-btn .btn-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    position: relative;
    z-index: 1;
}

.cta-btn--primary {
    background: var(--color-accent);
    color: white;
}

.cta-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent-light);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.cta-btn--primary:hover::before {
    transform: translateY(0);
}

.cta-btn--outline {
    border: 1px solid rgba(245, 242, 237, 0.3);
    color: var(--color-text-light);
}

.cta-btn--outline:hover {
    border-color: var(--color-accent-light);
    background: rgba(139, 115, 85, 0.1);
}

.cta-btn .btn-text {
    font-size: 14px;
    letter-spacing: 0.1em;
}

.cta-btn .btn-icon svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.cta-btn:hover .btn-icon svg {
    transform: translate(3px, -3px);
}

.footer-bottom {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-bottom: 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.15em;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 13px;
    color: rgba(245, 242, 237, 0.5);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-text-light);
}

.footer-copy {
    font-size: 11px;
    color: rgba(245, 242, 237, 0.3);
    letter-spacing: 0.05em;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-text);
    color: var(--color-text-light);
    border-color: var(--color-text);
}

/* --- Reveal Animations (base states) --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-split] {
    display: block;
    overflow: hidden;
}

/* --- Magnetic Button --- */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s var(--ease-out-expo);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .philosophy-values {
        grid-template-columns: 1fr;
    }

    .workstyle-cards {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .side-nav {
        display: none;
    }

    .message-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .header-entry-btn {
        display: none;
    }

    body {
        cursor: auto;
    }

    .cursor-dot, .cursor-ring {
        display: none;
    }

    .recruit-item-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn .btn-inner {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}
