/* ============================================
   KAZUSA CHATANI PORTFOLIO - STYLES
   Dark, immersive, cinematic
   ============================================ */
/* ---------- CSS Variables ---------- */
:root {
--black: #000000;
--bg-dark: #050505;
--bg-card: #0a0a0a;
--bg-card-hover: #111111;
--accent: #00e5ff;
--accent-dim: rgba(0, 229, 255, 0.15);
--accent-glow: rgba(0, 229, 255, 0.4);
--white: #ffffff;
--gray-100: #f0f0f0;
--gray-300: #aaaaaa;
--gray-500: #666666;
--gray-700: #333333;
--gray-900: #111111;
--font-display: 'Cormorant Garamond', serif;
--font-heading: 'Syne', sans-serif;
--font-body: 'Noto Sans JP', sans-serif;
--nav-height: 70px;
--section-padding: 120px;
--container-width: 1200px;
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
/* ---------- Reset & Base ---------- */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: auto; /* GSAP handles smooth scroll */
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background: var(--black);
color: var(--white);
font-family: var(--font-body);
font-weight: 300;
line-height: 1.7;
overflow-x: hidden;
cursor: none;
}
@media (max-width: 768px) {
  body { cursor: auto; }
}
a {
color: inherit;
text-decoration: none;
cursor: none;
}
@media (max-width: 768px) {
  a { cursor: auto; }
}
img {
max-width: 100%;
display: block;
}
::selection {
background: var(--accent);
color: var(--black);
}
/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: var(--black);
}
::-webkit-scrollbar-thumb {
background: var(--accent);
border-radius: 2px;
}
/* ---------- Loading Screen ---------- */
#loader {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: var(--black);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
}
.loader-inner {
text-align: center;
}
.loader-line {
width: 60px;
height: 1px;
background: var(--accent);
margin: 0 auto 20px;
transform-origin: left;
animation: loaderLine 1.5s ease-in-out infinite;
}
@keyframes loaderLine {
0% { transform: scaleX(0); opacity: 0; }
50% { transform: scaleX(1); opacity: 1; }
100% { transform: scaleX(0); opacity: 0; transform-origin: right; }
}
.loader-text {
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 6px;
color: var(--gray-500);
}
/* ---------- Custom Cursor ---------- */
.cursor-outer,
.cursor-inner {
position: fixed;
pointer-events: none;
z-index: 9999;
border-radius: 50%;
mix-blend-mode: difference;
}
.cursor-outer {
width: 40px; height: 40px;
border: 1px solid var(--white);
transform: translate(-50%, -50%);
transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
}
.cursor-inner {
width: 6px; height: 6px;
background: var(--white);
transform: translate(-50%, -50%);
transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-hover .cursor-outer {
width: 60px; height: 60px;
border-color: var(--accent);
}
.cursor-hover .cursor-inner {
width: 10px; height: 10px;
background: var(--accent);
}
@media (max-width: 768px) {
  .cursor-outer, .cursor-inner { display: none !important; }
}
/* ---------- Particle Canvas ---------- */
#particleCanvas {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 0;
pointer-events: none;
}
/* ---------- Liquid Cursor Canvas ---------- */
#liquidCanvas {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 2;
pointer-events: none;
mix-blend-mode: screen;
}
@media (max-width: 768px) {
  #liquidCanvas { display: none; }
}
/* ---------- Floating Illustrations ---------- */
.floating-images {
position: absolute;
top: 0; left: 0;
width: 100%;
min-height: 100%;
z-index: 3;
pointer-events: none;
overflow: visible;
}
.float-img {
position: absolute;
top: 0;
left: 0;
opacity: 0;
will-change: transform, opacity;
filter: grayscale(100%) brightness(1.2);
user-select: none;
pointer-events: none;
}
/* ---------- Scroll Progress ---------- */
.scroll-progress {
position: fixed;
top: 0; left: 0;
height: 2px;
background: var(--accent);
z-index: 9998;
width: 0%;
box-shadow: 0 0 10px var(--accent-glow);
}
/* ---------- Navigation ---------- */
#mainNav {
position: fixed;
top: 0; left: 0;
width: 100%;
height: var(--nav-height);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
z-index: 1000;
transition: background 0.4s, backdrop-filter 0.4s;
}
#mainNav.scrolled {
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
.nav-logo-link {
font-family: var(--font-heading);
font-size: 13px;
font-weight: 500;
letter-spacing: 2px;
color: var(--white);
transition: color 0.3s;
}
.logo-accent {
color: var(--accent);
}
.nav-links {
display: flex;
gap: 32px;
}
.nav-link {
font-family: var(--font-heading);
font-size: 11px;
font-weight: 500;
letter-spacing: 3px;
color: var(--gray-500);
position: relative;
transition: color 0.3s;
padding: 4px 0;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0; left: 0;
width: 0%; height: 1px;
background: var(--accent);
transition: width 0.4s var(--ease-out-expo);
}
.nav-link:hover,
.nav-link.active {
color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}
@media (max-width: 768px) {
  #mainNav { padding: 0 20px; }
.nav-links { display: none; }
.nav-logo-link { font-size: 11px; }
}
/* ---------- Hamburger ---------- */
.hamburger {
display: none;
flex-direction: column;
gap: 6px;
background: none;
border: none;
cursor: pointer;
padding: 10px;
z-index: 1001;
}
.hamburger span {
display: block;
width: 24px; height: 1px;
background: var(--white);
transition: all 0.4s var(--ease-out-expo);
}
.hamburger.open span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
opacity: 0;
}
.hamburger.open span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
}
/* ---------- Mobile Menu ---------- */
.mobile-menu {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
z-index: 999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.5s var(--ease-out-expo);
}
.mobile-menu.open {
opacity: 1;
pointer-events: auto;
}
.mobile-menu-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
.mobile-link {
font-family: var(--font-heading);
font-size: 28px;
font-weight: 700;
letter-spacing: 4px;
color: var(--gray-500);
transition: color 0.3s, transform 0.3s;
transform: translateY(20px);
opacity: 0;
}
.mobile-menu.open .mobile-link {
transform: translateY(0);
opacity: 1;
}
.mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-link:hover,
.mobile-link.active {
color: var(--accent);
}
/* ---------- Sections (shared) ---------- */
.section {
position: relative;
min-height: 100vh;
z-index: 1;
padding: var(--section-padding) 40px;
}
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
}
.section-container {
max-width: var(--container-width);
margin: 0 auto;
}
.section-header {
margin-bottom: 80px;
position: relative;
}
@media (max-width: 768px) {
  .section-header { margin-bottom: 50px; }
}
.section-number {
font-family: var(--font-display);
font-size: 14px;
font-style: italic;
color: var(--accent);
letter-spacing: 2px;
display: block;
margin-bottom: 12px;
}
.section-title {
font-family: var(--font-heading);
font-size: clamp(36px, 6vw, 72px);
font-weight: 800;
letter-spacing: 6px;
line-height: 1.1;
overflow: hidden;
}
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: 2px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}
.section-line {
width: 60px; height: 1px;
background: var(--accent);
margin-top: 24px;
transform-origin: left;
}
/* ---------- HOME ---------- */
.section-home {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding-top: var(--nav-height);
}
.home-content {
text-align: center;
position: relative;
}
.home-title-block {
margin-bottom: 80px;
}
.home-title {
font-family: var(--font-display);
font-weight: 300;
font-size: clamp(48px, 10vw, 120px);
line-height: 1.05;
letter-spacing: 0.02em;
}
.title-line {
display: block;
overflow: hidden;
opacity: 0;
transform: translateY(100%);
}
.home-subtitle-divider {
width: 80px; height: 1px;
background: var(--accent);
margin: 24px auto;
opacity: 0;
transform: scaleX(0);
}
.home-subtitle {
font-family: var(--font-heading);
font-size: 14px;
letter-spacing: 12px;
color: var(--gray-500);
opacity: 0;
transform: translateY(20px);
}
.home-scroll-text {
max-width: 600px;
margin: 0 auto 60px;
}
.scroll-text-item {
margin-bottom: 40px;
opacity: 0;
transform: translateY(40px);
}
.jp-text {
font-family: var(--font-body);
font-size: 16px;
font-weight: 400;
color: var(--gray-100);
margin-bottom: 8px;
line-height: 1.8;
}
.en-text {
font-family: var(--font-display);
font-size: 15px;
font-style: italic;
color: var(--gray-500);
line-height: 1.6;
}
.scroll-indicator {
position: absolute;
bottom: -60px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
opacity: 0;
}
.scroll-indicator span {
font-family: var(--font-heading);
font-size: 10px;
letter-spacing: 4px;
color: var(--gray-500);
}
.scroll-line {
width: 1px; height: 50px;
background: linear-gradient(to bottom, var(--accent), transparent);
animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
50% { opacity: 1; transform: scaleY(1); }
}
/* ---------- ABOUT ---------- */
.section-about {
background: var(--bg-dark);
}
.about-content {
display: grid;
grid-template-columns: 1fr;
gap: 60px;
}
.about-text {
font-size: 18px;
line-height: 2;
color: var(--gray-300);
margin-bottom: 20px;
opacity: 0;
transform: translateY(30px);
}
.about-year {
font-family: var(--font-display);
font-size: 48px;
font-weight: 300;
color: var(--accent);
font-style: italic;
}
.about-highlight {
color: var(--white);
font-weight: 500;
position: relative;
}
.about-highlight::after {
content: '';
position: absolute;
bottom: -2px; left: 0;
width: 100%; height: 1px;
background: var(--accent);
opacity: 0.4;
}
.about-keywords {
display: flex;
flex-wrap: wrap;
gap: 12px;
opacity: 0;
transform: translateY(20px);
}
.keyword {
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 3px;
padding: 8px 20px;
border: 1px solid var(--gray-700);
color: var(--gray-500);
transition: all 0.3s;
}
.keyword:hover {
border-color: var(--accent);
color: var(--accent);
box-shadow: 0 0 20px var(--accent-dim);
}
@media (max-width: 768px) {
  .about-text { font-size: 15px; }
.about-year { font-size: 36px; }
}
/* ---------- ACTIVITIES ---------- */
.section-activities {
background: var(--black);
}
.activities-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 30px;
}
@media (max-width: 768px) {
  .activities-grid {
grid-template-columns: 1fr;
}
}
.activity-card {
background: var(--bg-card);
border: 1px solid var(--gray-700);
border-radius: 0;
overflow: hidden;
transition: all 0.5s var(--ease-out-expo);
opacity: 0;
transform: translateY(40px);
}
.activity-card:hover {
border-color: var(--accent);
transform: translateY(-4px);
box-shadow: 0 20px 60px rgba(0, 229, 255, 0.08);
}
.activity-card-image {
width: 100%;
height: 200px;
object-fit: cover;
filter: grayscale(30%);
transition: filter 0.5s;
}
.activity-card:hover .activity-card-image {
filter: grayscale(0%);
}
.activity-card-placeholder {
width: 100%;
height: 200px;
background: linear-gradient(135deg, var(--gray-900), var(--bg-card));
display: flex;
align-items: center;
justify-content: center;
}
.activity-card-placeholder span {
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 4px;
color: var(--gray-700);
}
.activity-card-body {
padding: 28px;
}
.activity-card-date {
font-family: var(--font-display);
font-size: 13px;
font-style: italic;
color: var(--accent);
margin-bottom: 12px;
}
.activity-card-title {
font-family: var(--font-heading);
font-size: 18px;
font-weight: 600;
letter-spacing: 1px;
margin-bottom: 12px;
line-height: 1.4;
}
.activity-card-desc {
font-size: 14px;
color: var(--gray-500);
line-height: 1.7;
}
.activity-card-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 16px;
}
.activity-tag {
font-family: var(--font-heading);
font-size: 9px;
letter-spacing: 2px;
padding: 4px 10px;
border: 1px solid var(--gray-700);
color: var(--gray-500);
}
/* ---------- POSTS & THOUGHTS ---------- */
.section-posts {
background: var(--bg-dark);
}
.posts-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
gap: 30px;
}
@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
}
.post-card {
background: var(--bg-card);
border: 1px solid var(--gray-700);
padding: 32px;
transition: all 0.5s var(--ease-out-expo);
opacity: 0;
transform: translateY(40px);
}
.post-card:hover {
border-color: var(--accent);
transform: translateY(-2px);
}
.post-card-type {
font-family: var(--font-heading);
font-size: 10px;
letter-spacing: 3px;
color: var(--accent);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 8px;
}
.post-card-type::before {
content: '';
width: 20px; height: 1px;
background: var(--accent);
}
.post-card-content {
font-size: 15px;
color: var(--gray-300);
line-height: 1.8;
margin-bottom: 16px;
}
.post-card-date {
font-family: var(--font-display);
font-size: 13px;
font-style: italic;
color: var(--gray-500);
}
.post-card-link {
display: inline-flex;
align-items: center;
gap: 8px;
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 2px;
color: var(--accent);
margin-top: 16px;
transition: gap 0.3s;
}
.post-card-link:hover {
gap: 14px;
}
/* Embedded tweet / note styling */
.post-embed {
border-left: 2px solid var(--accent);
padding-left: 20px;
margin-top: 16px;
}
/* ---------- ARTICLES ---------- */
.section-articles {
background: var(--black);
}
.articles-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.article-item {
display: grid;
grid-template-columns: 200px 1fr;
gap: 40px;
padding: 40px 0;
border-bottom: 1px solid var(--gray-700);
transition: all 0.5s var(--ease-out-expo);
opacity: 0;
transform: translateY(30px);
text-decoration: none;
}
.article-item:hover {
padding-left: 20px;
border-color: var(--accent);
}
.article-item-image {
width: 200px; height: 130px;
object-fit: cover;
filter: grayscale(50%);
transition: filter 0.5s;
}
.article-item:hover .article-item-image {
filter: grayscale(0%);
}
.article-item-placeholder {
width: 200px; height: 130px;
background: var(--bg-card);
display: flex;
align-items: center;
justify-content: center;
}
.article-item-placeholder span {
font-family: var(--font-heading);
font-size: 10px;
letter-spacing: 3px;
color: var(--gray-700);
}
.article-item-body {
display: flex;
flex-direction: column;
justify-content: center;
}
.article-item-source {
font-family: var(--font-heading);
font-size: 10px;
letter-spacing: 3px;
color: var(--accent);
margin-bottom: 8px;
}
.article-item-title {
font-family: var(--font-heading);
font-size: 20px;
font-weight: 600;
letter-spacing: 1px;
margin-bottom: 8px;
line-height: 1.4;
transition: color 0.3s;
}
.article-item:hover .article-item-title {
color: var(--accent);
}
.article-item-date {
font-family: var(--font-display);
font-size: 13px;
font-style: italic;
color: var(--gray-500);
}
.article-item-desc {
font-size: 14px;
color: var(--gray-500);
margin-top: 8px;
line-height: 1.6;
}
@media (max-width: 768px) {
  .article-item {
grid-template-columns: 1fr;
gap: 16px;
}
.article-item-image,
.article-item-placeholder {
width: 100%; height: 180px;
}
}
/* ---------- CONTACT ---------- */
.section-contact {
background: var(--bg-dark);
}
.contact-wrapper {
max-width: 700px;
}
.contact-intro {
font-size: 16px;
color: var(--gray-500);
margin-bottom: 50px;
opacity: 0;
transform: translateY(20px);
}
.contact-form {
display: flex;
flex-direction: column;
gap: 36px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
position: relative;
}
.form-group label {
display: block;
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 3px;
color: var(--gray-500);
margin-bottom: 12px;
}
.required {
color: var(--accent);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
background: transparent;
border: none;
border-bottom: 1px solid var(--gray-700);
padding: 12px 0;
font-family: var(--font-body);
font-size: 15px;
color: var(--white);
outline: none;
transition: border-color 0.3s;
cursor: none;
}
@media (max-width: 768px) {
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
cursor: auto;
}
}
.form-group input:focus,
.form-group textarea:focus {
border-color: var(--accent);
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.form-line {
position: absolute;
bottom: 0; left: 0;
width: 0%; height: 1px;
background: var(--accent);
transition: width 0.5s var(--ease-out-expo);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
width: 100%;
}
/* Checkboxes */
.checkbox-group {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-top: 4px;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
font-size: 14px;
color: var(--gray-300);
transition: color 0.3s;
}
@media (max-width: 768px) {
  .checkbox-label { cursor: auto; }
}
.checkbox-label input {
display: none;
}
.checkbox-custom {
width: 18px; height: 18px;
border: 1px solid var(--gray-700);
position: relative;
transition: all 0.3s;
flex-shrink: 0;
}
.checkbox-custom::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 8px; height: 8px;
background: var(--accent);
transform: translate(-50%, -50%) scale(0);
transition: transform 0.3s var(--ease-out-expo);
}
.checkbox-label input:checked + .checkbox-custom {
border-color: var(--accent);
}
.checkbox-label input:checked + .checkbox-custom::after {
transform: translate(-50%, -50%) scale(1);
}
.checkbox-label:hover {
color: var(--white);
}
/* Submit Button */
.submit-btn {
display: inline-flex;
align-items: center;
gap: 16px;
background: transparent;
border: 1px solid var(--white);
color: var(--white);
padding: 16px 40px;
font-family: var(--font-heading);
font-size: 12px;
letter-spacing: 4px;
cursor: none;
position: relative;
overflow: hidden;
transition: all 0.5s var(--ease-out-expo);
align-self: flex-start;
}
@media (max-width: 768px) {
  .submit-btn { cursor: auto; }
}
.submit-btn::before {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: var(--accent);
transition: left 0.5s var(--ease-out-expo);
z-index: 0;
}
.submit-btn:hover::before {
left: 0;
}
.submit-btn:hover {
color: var(--black);
border-color: var(--accent);
}
.btn-text, .btn-icon {
position: relative;
z-index: 1;
}
.btn-icon {
transition: transform 0.3s;
}
.submit-btn:hover .btn-icon {
transform: translateX(4px);
}
/* Form Success */
.form-success {
display: none;
padding: 30px;
border: 1px solid var(--accent);
text-align: center;
}
.form-success.show {
display: block;
}
.form-success p {
color: var(--accent);
font-size: 15px;
}
/* ---------- Footer ---------- */
.footer {
position: relative;
z-index: 1;
padding: 40px;
border-top: 1px solid var(--gray-700);
background: var(--black);
}
.footer-inner {
max-width: var(--container-width);
margin: 0 auto;
text-align: center;
}
.footer p {
font-family: var(--font-heading);
font-size: 11px;
letter-spacing: 3px;
color: var(--gray-500);
}
/* ---------- Activity card as link ---------- */
a.activity-card {
display: block;
text-decoration: none;
color: inherit;
}
/* ---------- Note embed iframe ---------- */
.note-embed-iframe {
border-radius: 0;
background: var(--bg-card);
}
/* ---------- Utility: Empty State ---------- */
.empty-state {
text-align: center;
padding: 80px 20px;
color: var(--gray-700);
}
.empty-state p {
font-family: var(--font-heading);
font-size: 12px;
letter-spacing: 3px;
}
