/* =============================================================
   FUTURE EXPERIENCE — style.css
   Concept: Feel The Future
   Design: Editorial magazine, bold whitespace, giant typography
============================================================= */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --bg:           #FAFAF8;
    --bg-alt:       #F2F0EC;
    --bg-dark:      #1A1A18;
    --text:         #202020;
    --accent:       #B7A189;
    --accent-dim:   rgba(183, 161, 137, 0.25);
    --gray:         #6E6E6E;
    --gray-light:   #ABABAB;
    --border:       #E5E2DD;
    --white:        #FFFFFF;

    --font-display: 'DM Serif Display', 'Noto Serif JP', Georgia, serif;
    --font-sans:    'Inter', 'Noto Sans JP', sans-serif;

    --max-w:        1400px;
    --pad-x:        80px;
    --section-y:    160px;

    --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }

/* ── Section Meta ────────────────────────────────────────────── */
.section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
.section-num {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--accent);
}
.section-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--gray-light);
    text-transform: uppercase;
}
.section-num--light { color: rgba(183, 161, 137, 0.8); }
.section-label--light { color: rgba(255, 255, 255, 0.45); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
}
.section-title em { font-style: italic; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--text);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    font-weight: 500;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
    margin-top: 48px;
    text-transform: uppercase;
}
.btn-outline:hover {
    background: var(--text);
    color: var(--white);
}

.btn-text {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-text:hover {
    color: var(--text);
    border-color: var(--text);
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.03em;
    transition: color 0.5s var(--ease);
}
.logo-name {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.5s var(--ease);
}
.site-header.scrolled .logo-mark { color: var(--text); }
.site-header.scrolled .logo-name { color: var(--gray-light); }

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
.site-nav a {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s var(--ease);
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--ease-out);
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { width: 100%; }
.site-header.scrolled .site-nav a { color: var(--gray); }
.site-header.scrolled .site-nav a:hover { color: var(--text); }

.nav-cta {
    padding: 9px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease) !important;
}
.nav-cta:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
}
.nav-cta::after { display: none !important; }
.site-header.scrolled .nav-cta { border-color: var(--border); }
.site-header.scrolled .nav-cta:hover {
    background: var(--text) !important;
    color: var(--white) !important;
    border-color: var(--text) !important;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    z-index: 110;
}
.menu-toggle span {
    display: block;
    width: 26px; height: 1px;
    background: var(--white);
    transition: background 0.5s var(--ease), transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.site-header.scrolled .menu-toggle span { background: var(--text); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg-img,
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-bg-video { z-index: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom,
            rgba(20, 20, 18, 0.3) 0%,
            rgba(20, 20, 18, 0.0) 40%,
            rgba(20, 20, 18, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 var(--pad-x) clamp(80px, 12vh, 140px);
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.hero-num {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-weight: 400;
}
.hero-label-text {
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 11vw, 12rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -0.02em;
}
.hero-title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 44px;
    right: var(--pad-x);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.45));
    animation: scrollPulse 2.2s ease-in-out infinite;
}
.scroll-hint span {
    font-size: 0.52rem;
    letter-spacing: 0.45em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(0.75); transform-origin: top; }
    50%       { opacity: 1;    transform: scaleY(1);    transform-origin: top; }
}

/* ── Vision ──────────────────────────────────────────────────── */
.vision-intro {
    margin-bottom: 80px;
}
.vision-statement {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 900px;
}
.vision-statement em { font-style: italic; color: var(--accent); }

.vision-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 520px;
}
.vision-image {
    overflow: hidden;
    background: var(--bg-alt);
}
.vision-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
}
.vision-image:hover img { transform: scale(1.04); }

.vision-text {
    padding: 80px var(--pad-x);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.vision-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 2.1;
}
.vision-values {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.vision-value { }
.value-label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.vision-value p {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 300;
}

/* ── Experience ──────────────────────────────────────────────── */
.exp-section-meta {
    padding-top: var(--section-y);
    padding-bottom: 48px;
}

/* Full-width block */
.exp-block--full {
    position: relative;
    height: 78vh;
    min-height: 480px;
    overflow: hidden;
}
.exp-block--full .exp-image {
    position: absolute;
    inset: 0;
}
.exp-block--full .exp-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}
.exp-block--full:hover .exp-image img { transform: scale(1.04); }

.exp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(20,20,18,0) 30%,
        rgba(20,20,18,0.6) 100%);
}
.exp-overlay--heavy {
    background: rgba(20, 20, 18, 0.55);
}

/* Bottom-left text overlay */
.exp-text--bl {
    position: absolute;
    bottom: 0; left: 0;
    z-index: 2;
    padding: 0 var(--pad-x) 64px;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
}
/* Centered text overlay */
.exp-text--center {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--pad-x);
}

.exp-num {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 16px;
}
.exp-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.exp-heading em { font-style: italic; }
.exp-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.03em;
    max-width: 380px;
}
.exp-text--center .exp-desc { max-width: 440px; }

/* Split block */
.exp-block--split {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 60vh;
}
.exp-text--inline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px var(--pad-x);
    background: var(--bg-alt);
}
.exp-text--inline .exp-num { color: var(--accent); }
.exp-text--inline .exp-heading { color: var(--text); }
.exp-text--inline .exp-desc {
    color: var(--gray);
    max-width: 340px;
}
.exp-block--split .exp-image {
    overflow: hidden;
    background: var(--bg-alt);
}
.exp-block--split .exp-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
}
.exp-block--split:hover .exp-image img { transform: scale(1.04); }

/* ── Product ─────────────────────────────────────────────────── */
.product { }
.product-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.product-bg {
    position: absolute;
    inset: 0;
}
.product-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 18, 0.72);
}

.product-inner {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 120px;
}
.product-header {
    margin-bottom: 72px;
}
.product-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.01em;
}
.product-title em { font-style: italic; color: var(--accent); }

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

/* Glassmorphism card */
.glass {
    background: rgba(250, 250, 248, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.product-card {
    padding: 48px 40px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover {
    background: rgba(250, 250, 248, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}
.product-tag {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 5px 12px;
    border: 1px solid rgba(183, 161, 137, 0.4);
}
.product-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.product-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 2;
    margin-bottom: 36px;
}
.product-link {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid rgba(183, 161, 137, 0.4);
    padding-bottom: 3px;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product-link:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── People ──────────────────────────────────────────────────── */
.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 72px;
}
.person-item { }
.person-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-alt);
    margin-bottom: 24px;
}
.person-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.person-item:hover .person-image img { transform: scale(1.04); }
.person-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.01em;
    margin-bottom: 6px;
}
.person-role {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.person-quote {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
    font-family: var(--font-display);
}

/* ── Stories ─────────────────────────────────────────────────── */
.stories-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 64px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.stories-loading {
    grid-column: span 3;
    text-align: center;
    color: var(--gray-light);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    padding: 60px;
}

.story-item {
    display: block;
    cursor: pointer;
}
.story-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--border);
    margin-bottom: 28px;
}
.story-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.story-item:hover .story-image img { transform: scale(1.05); }
.story-category {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.story-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    transition: color 0.3s var(--ease);
}
.story-item:hover .story-title { color: var(--accent); }
.story-excerpt {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 20px;
}
.story-date {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--gray-light);
    font-weight: 400;
}

/* ── Join Us ─────────────────────────────────────────────────── */
.join {
    background: var(--bg-alt);
    padding: var(--section-y) 0;
}
.join-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}
.join-left .section-meta { margin-bottom: 36px; }
.join-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}
.join-title em { font-style: italic; color: var(--accent); }
.join-desc {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 2;
    max-width: 400px;
}

.join-right {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.position-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.position-item:first-child { border-top: 1px solid var(--border); }

.position-dept {
    grid-column: 1;
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.position-title {
    grid-column: 1;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
}
.position-type {
    grid-column: 1;
    grid-row: 3;
    font-size: 0.68rem;
    color: var(--gray-light);
    margin-top: 6px;
    letter-spacing: 0.08em;
}
.position-link {
    grid-column: 2;
    grid-row: 1 / 4;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--gray-light);
    font-weight: 400;
    align-self: center;
    transition: color 0.3s var(--ease);
    white-space: nowrap;
}
.position-link:hover { color: var(--accent); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-lead {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 2;
    margin-top: 20px;
    max-width: 600px;
}
.contact-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    align-items: start;
    margin-top: 80px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-label {
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
}
.info-val {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.9;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-group label {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
}
.req { color: var(--accent); }
.form-group input,
.form-group textarea,
.form-group select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s var(--ease);
    width: 100%;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ABABAB' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-light); font-weight: 300; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--accent); }

.form-status {
    font-size: 0.82rem;
    min-height: 0;
    letter-spacing: 0.04em;
    transition: opacity 0.4s;
}
.form-status.error {
    display: block;
    padding: 14px 20px;
    background: rgba(176,85,85,0.06);
    border: 1px solid rgba(176,85,85,0.25);
    border-radius: 6px;
    color: #b05555;
    line-height: 1.8;
}

/* ── 送信成功パネル ──────────────────────────────── */
.form-success {
    display: none;
    padding: 48px 40px;
    background: #fff;
    border: 1px solid rgba(90,140,110,0.25);
    border-radius: 12px;
    text-align: center;
    animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.form-success.is-visible { display: block; }

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

.form-success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(45,159,93,0.1);
    border: 1px solid rgba(45,159,93,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.4rem;
}
.form-success-title {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.form-success-body {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 2;
}

.btn-submit {
    align-self: flex-start;
    padding: 16px 56px;
    background: var(--text);
    color: var(--white);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    font-weight: 500;
    font-family: var(--font-sans);
    text-transform: uppercase;
    transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-submit:hover { background: var(--accent); }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    padding: 80px 0 48px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 40px;
}
.footer-brand { }
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.logo-mark--footer {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.03em;
}
.footer-brand-name {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    text-transform: uppercase;
}
.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.04em;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.footer-nav a {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: rgba(255, 255, 255, 0.75); }
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.footer-social a {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s var(--ease);
}
.footer-social a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.2);
}
.footer-policy {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-policy a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s var(--ease);
}
.footer-policy a:hover { color: rgba(255, 255, 255, 0.5); }
.footer-policy span { color: rgba(255, 255, 255, 0.12); }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
}
.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-header {
    position: absolute;
    top: 28px; left: var(--pad-x);
}
.mobile-menu-header .logo-mark {
    color: var(--white);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mobile-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
    transition: color 0.3s var(--ease);
}
.mobile-link:hover { color: var(--white); }

/* ── Reveal Animations ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
    :root {
        --pad-x:     60px;
        --section-y: 120px;
    }
    .vision-body { grid-template-columns: 1fr 1fr; }
    .people-grid { grid-template-columns: repeat(2, 1fr); }
    .product-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .product-cards > .product-card:last-child { grid-column: 1; }
    .join-inner { gap: 80px; }
}

@media (max-width: 960px) {
    :root {
        --pad-x:     40px;
        --section-y: 96px;
    }

    .site-nav { display: none; }
    .menu-toggle { display: flex; }

    .hero-title { font-size: clamp(3.5rem, 12vw, 6rem); }

    .vision-body { grid-template-columns: 1fr; }
    .vision-image { aspect-ratio: 16 / 9; }
    .vision-text { padding: 60px var(--pad-x); }

    .exp-block--full { height: 60vh; }
    .exp-block--split { grid-template-columns: 1fr; }
    .exp-text--inline { padding: 60px var(--pad-x); }
    .exp-block--split .exp-image { aspect-ratio: 16 / 9; }

    .product-cards { grid-template-columns: 1fr; }
    .product-cards > .product-card:last-child { grid-column: auto; }

    .stories-grid { grid-template-columns: repeat(2, 1fr); }
    .stories-loading { grid-column: span 2; }

    .join-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    .join-title { font-size: clamp(3rem, 10vw, 5rem); }

    .contact-body { grid-template-columns: 1fr; gap: 60px; }
    .contact-info { flex-direction: row; flex-wrap: wrap; gap: 24px; }
    .info-item { min-width: 140px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-social {
        flex-direction: row;
        align-items: flex-start;
    }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 640px) {
    :root { --pad-x: 24px; --section-y: 80px; }

    .hero-title { font-size: 3rem; }

    .vision-statement { font-size: 2rem; }

    .exp-block--full { height: 70vw; min-height: 320px; }
    .exp-heading { font-size: 2.4rem; }

    .people-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    .stories-grid { grid-template-columns: 1fr; }
    .stories-loading { grid-column: span 1; }
    .stories-header { flex-direction: column; align-items: flex-start; gap: 16px; }

    .form-row { grid-template-columns: 1fr; gap: 24px; }
    .btn-submit { width: 100%; justify-content: center; }

    .footer-nav { gap: 10px; }
}
