/* ============================================
   mizutaku.work - Global Stylesheet
   Dynamic Typography Theme
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #111;
    background-color: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
}

/* ================================
   Side Navigation (Desktop)
   ================================ */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    z-index: 1000;
}

.side-nav-logo {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #111;
}

.side-nav-logo span {
    font-weight: 400;
    color: #aaa;
}

.side-nav-menu {
    margin-top: 2rem;
}

.side-nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.side-nav-link {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #aaa;
    padding: 0.35rem 0;
    transition: color 0.3s ease;
}

.side-nav-link:hover {
    color: #111;
    opacity: 1;
}

.side-nav-link.active {
    color: #111;
    font-weight: 700;
}

.side-nav-bottom p {
    font-size: 0.625rem;
    color: #ccc;
    letter-spacing: 0.04em;
}

/* Main Content offset for side nav */
.main-content {
    margin-left: 200px;
    padding-top: 0;
}

/* ================================
   Mobile Header
   ================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: transparent;
    padding: 0 1.25rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1100;
}

.mobile-header-logo {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.mobile-header-logo span {
    font-weight: 400;
    color: #aaa;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111;
}

/* ================================
   Hero - Dynamic Typography
   ================================ */
.hero {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    background: #fff;
    overflow: hidden;
}

/* --- Typography Layer --- */
.hero-typo {
    position: relative;
    z-index: 2;
    user-select: none;
}

.hero-typo-main {
    display: flex;
    line-height: 0.85;
}

.typo-char {
    display: inline-block;
    font-size: clamp(6rem, 13vw, 14rem);
    font-weight: 900;
    color: #111;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(60px) rotate(3deg);
    animation: typoReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.07s);
}

.hero-typo-sub {
    display: flex;
    align-items: baseline;
    margin-top: -0.5rem;
    margin-left: 0.5rem;
    line-height: 0.85;
}

.typo-dot {
    display: inline-block;
    font-size: clamp(5rem, 11vw, 12rem);
    font-weight: 900;
    color: #ccc;
    opacity: 0;
    transform: scale(0);
    animation: dotPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i) * 0.07s);
}

.typo-char-light {
    display: inline-block;
    font-size: clamp(5rem, 11vw, 12rem);
    font-weight: 200;
    color: #ccc;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateX(-20px);
    animation: typoSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.07s);
}

@keyframes typoReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes dotPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typoSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Profile Image --- */
.hero-profile {
    position: absolute;
    right: 4rem;
    bottom: 6rem;
    width: 220px;
    height: 280px;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    animation: profileFade 1s ease 1.2s forwards;
}

.hero-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(40%) contrast(1.1);
}

@keyframes profileFade {
    to { opacity: 1; }
}

/* --- Scroll Indicator --- */
.hero-scroll-wrap {
    position: absolute;
    bottom: 2.5rem;
    left: 4rem;
    z-index: 3;
    opacity: 0;
    animation: bottomFade 0.8s ease 1s forwards;
}

@keyframes bottomFade {
    to { opacity: 1; }
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ccc;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #ccc, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- Floating CTA --- */
.floating-cta {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.floating-cta:hover {
    transform: scale(1.08);
    background: #333;
    opacity: 1;
}

.floating-cta-label {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
}

.floating-cta-text {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* --- Buttons (shared) --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover {
    background: #333;
}

.btn .arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ================================
   Shared: Section Typography Background
   ================================ */
.section-typo-bg {
    position: absolute;
    top: -0.2em;
    left: -0.02em;
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: -0.04em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.section-typo-bg--light {
    color: rgba(255, 255, 255, 0.06);
}

/* ================================
   Glitch Heading
   ================================ */
.h-glitch {
    position: relative;
    font-family: 'Chivo Mono', 'Noto Sans JP', monospace;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: #111;
}

.h-glitch::before,
.h-glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.h-glitch::before {
    color: #0ff;
    animation: glitch-a 2.5s infinite;
}

.h-glitch::after {
    color: #f0f;
    animation: glitch-b 2.5s infinite 0.05s;
}

@keyframes glitch-a {
    0%, 90%, 100% { transform: translateX(0); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    92% { transform: translateX(-3px); clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
    94% { transform: translateX(3px); clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
    96% { transform: translateX(-2px); clip-path: polygon(0 5%, 100% 5%, 100% 15%, 0 15%); }
}

@keyframes glitch-b {
    0%, 90%, 100% { transform: translateX(0); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    91% { transform: translateX(4px); clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); }
    93% { transform: translateX(-4px); clip-path: polygon(0 75%, 100% 75%, 100% 90%, 0 90%); }
    95% { transform: translateX(2px); clip-path: polygon(0 0%, 100% 0%, 100% 10%, 0 10%); }
}

/* ================================
   Section Label (shared)
   ================================ */
.section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 1rem;
}

.section-label--light {
    color: rgba(255, 255, 255, 0.35);
}

/* ================================
   About Section
   ================================ */
.about {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    overflow: hidden;
}

.about-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.9;
    color: #111;
}

.about-rule {
    width: 40px;
    height: 2px;
    background: #111;
    margin: 1.25rem 0;
}

.about-body {
    font-size: 0.875rem;
    color: #555;
    line-height: 2.2;
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.skill-block {
    padding: 20px 0;
    border-top: 2px solid #111;
}

.skill-block:last-child {
    border-bottom: 2px solid #111;
}

.skill-block-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.skill-block-num {
    font-family: 'Chivo Mono', monospace;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: #111;
    letter-spacing: -0.04em;
}

.skill-block-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
}

.skill-block-rule {
    display: none;
}

.skill-block-sub {
    font-family: 'Chivo Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-top: 12px;
    margin-bottom: 6px;
}

.skill-block-sub:first-of-type {
    margin-top: 0;
}

.skill-block-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.skill-tag {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #555;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.2s;
}

.skill-tag:hover {
    color: #111;
}

.skill-tag:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #ccc;
    font-weight: 400;
}

/* ================================
   Pill Badge Tags (shared)
   ================================ */
.pill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    font-family: 'Syne', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: default;
    transition: transform 0.2s;
}

.pill:hover {
    transform: scale(1.06);
}

.pill .hash {
    color: #111;
    margin-right: 1px;
}

.pill-a {
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.pill-a .hash {
    color: #111;
}

.pill-b {
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.pill-b .hash {
    color: #111;
}

/* ================================
   Services Section
   ================================ */
.services {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    overflow: hidden;
}

.services-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 3.5rem;
}

.services-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 2px solid #111;
    padding: 28px 28px 24px;
    position: relative;
    cursor: default;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #111;
    transform: translate(5px, 5px);
    z-index: -1;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translate(-3px, -3px);
}

.service-card:hover::after {
    transform: translate(8px, 8px);
}

.service-card-num {
    font-family: 'Chivo Mono', monospace;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: #111;
    letter-spacing: -0.04em;
    margin-bottom: -4px;
}

.service-card-rule {
    width: 100%;
    height: 2px;
    background: #111;
    margin: 14px 0;
}

.service-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
}

.service-card-tag {
    display: inline-block;
    margin-top: 20px;
    background: #111;
    color: #fff;
    font-family: 'Chivo Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
}

/* ================================
   Works Section
   ================================ */
.works {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    overflow: hidden;
}

.works-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.works-header {
    margin-bottom: 3rem;
}

.works-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* --- Works Grid (Pattern A — Light / Newsprint) --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.work-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Meta row (type + year) */
.work-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.work-card-type-name {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
}

.work-card-type-year {
    font-size: 10px;
    color: #bbb;
    letter-spacing: 0.05em;
}

/* OGP image */
.work-card-ogp {
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 5 / 3;
    flex-shrink: 0;
}

.work-card-ogp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-ogp img {
    filter: brightness(0.95);
}

/* Body */
.work-card-body {
    padding: 20px 18px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex: 1;
}

.work-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.3;
}

.work-card-tagline {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 10px;
}

.work-card-scope {
    font-size: 12.5px;
    color: #555;
    font-weight: 500;
    line-height: 1.7;
}

/* Feature tags (uses pill-tags / pill styles) */
.work-card-tags {
    padding: 14px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* More link */
.section-more {
    text-align: right;
    margin-top: 3rem;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Chivo Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.more-link:hover {
    gap: 16px;
}

/* ================================
   Thanks Page
   ================================ */
.thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 4rem 2rem;
}

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

.thanks-lead {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin: 2rem 0 3rem;
}

.thanks-back {
    margin-top: 1rem;
}

/* ================================
   Flow Section
   ================================ */
.flow {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    color: #111;
    overflow: hidden;
}

.flow-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.flow-header {
    margin-bottom: 3.5rem;
}

.flow-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.flow-step {
    padding: 2rem 1.5rem;
    border: 1px solid #eee;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    border-color: #111;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.flow-step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f0f0f0;
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.flow-step:hover .flow-step-number {
    color: #111;
}

.flow-step h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.flow-step p {
    font-size: 0.8125rem;
    color: #777;
    line-height: 1.8;
}

/* ================================
   Contact CTA
   ================================ */
.contact {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    overflow: hidden;
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.contact-lead {
    font-size: 0.875rem;
    color: #777;
    line-height: 2;
    margin-top: 1rem;
}

.contact-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.02em;
}

.contact-form-label .required {
    color: #c00;
    margin-left: 2px;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #111;
    background: #fafafa;
    border: 1.5px solid #ddd;
    border-radius: 0;
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: #111;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #bbb;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
    cursor: pointer;
}


/* ================================
   Responsive
   ================================ */
@media (max-width: 960px) {
    .side-nav {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: 56px;
    }

    .hero {
        padding: 6rem 1.25rem 4rem;
        min-height: calc(100vh - 56px);
    }

    .typo-char {
        font-size: clamp(3.5rem, 11vw, 14rem);
    }

    .typo-dot,
    .typo-char-light {
        font-size: clamp(3rem, 9vw, 12rem);
    }

    .hero-profile {
        position: relative;
        right: auto;
        bottom: auto;
        width: 200px;
        height: 260px;
        margin-top: 2rem;
        align-self: flex-end;
    }

    .hero-vertical-label {
        display: none;
    }

    .hero-scroll-wrap {
        display: none;
    }

    .section-typo-bg {
        font-size: clamp(4rem, 15vw, 8rem);
        left: 0.5em;
    }

    .about {
        padding: 6rem 2rem;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services {
        padding: 6rem 2rem;
    }

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

    .works {
        padding: 6rem 2rem;
    }

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

    .flow {
        padding: 6rem 2rem;
    }

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

    .contact {
        padding: 6rem 2rem;
    }
}

@media (max-width: 600px) {
    .hero-profile {
        width: 160px;
        height: 220px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .contact p br {
        display: none;
    }

    .about,
    .services,
    .works,
    .flow,
    .contact {
        padding: 5rem 1.5rem;
    }

    .floating-cta {
        right: 1rem;
        bottom: 1rem;
        width: 70px;
        height: 70px;
    }
}

/* ================================
   Column List
   ================================ */
.column-list {
    position: relative;
    padding: 8rem 4rem;
    background: #fff;
    overflow: hidden;
}

.column-list-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.column-list-header {
    margin-bottom: 3.5rem;
}

.column-list-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.column-empty {
    font-size: 14px;
    color: #999;
}

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

.column-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: inherit;
    position: relative;
    transform: rotate(var(--rotate, -0.8deg));
    box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.column-card:nth-child(even) {
    --rotate: 0.6deg;
}

.column-card:nth-child(3n) {
    --rotate: -1.1deg;
}

.column-card:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 4px 12px 32px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* Tape decoration */
.column-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(1.5deg);
    width: 48px;
    height: 22px;
    background: rgba(255, 240, 180, 0.7);
    z-index: 2;
}

.column-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.column-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.column-card:hover .column-card-thumb img {
    transform: scale(1.05);
}

.column-card-thumb-empty {
    width: 100%;
    height: 100%;
    background: #eee;
}

.column-card-body {
    padding: 14px 16px 16px;
    border-top: 1px solid #f0f0f0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.column-card-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 9px;
    color: #bbb;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.column-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #111;
    line-height: 1.45;
    margin-bottom: 6px;
}

.column-card-desc {
    font-size: 11.5px;
    color: #888;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-card-date {
    margin-top: auto;
    padding-top: 10px;
    font-family: 'Chivo Mono', monospace;
    font-size: 9px;
    color: #ccc;
    letter-spacing: 0.05em;
}

/* ================================
   Column Detail
   ================================ */
.column-detail {
    padding: 4rem 2rem 6rem;
    background: #fff;
}

.column-detail-inner {
    max-width: 620px;
    margin: 0 auto;
}

/* Nav */
.column-detail-nav {
    margin-bottom: 1.5rem;
    text-align: right;
}

.column-back {
    font-family: 'Chivo Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.column-back:hover {
    color: #111;
    opacity: 1;
}

/* Hero */
.column-detail-hero {
    margin-bottom: 1.5rem;
}

.column-detail-hero img {
    width: 100%;
    display: block;
    border-radius: 2px;
}

/* Header */
.column-detail-header {
    margin-bottom: 2rem;
}

.column-detail-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #111;
    line-height: 1.6;
    margin-bottom: 10px;
}

.column-detail-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-detail-date {
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.04em;
}

.column-detail-sep {
    color: #ddd;
    font-size: 11px;
}

.column-detail-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.06em;
}

/* Body */
.column-detail-body {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    letter-spacing: 0.02em;
}

.column-detail-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #111;
}

.column-detail-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 2rem 0 0.5rem;
}

.column-detail-body p {
    margin-bottom: 1.25rem;
}

.column-detail-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
}

.column-detail-body a {
    color: #111;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.column-detail-body a:hover {
    border-color: #111;
    opacity: 1;
}

.column-detail-body ul,
.column-detail-body ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
}

.column-detail-body li {
    margin-bottom: 0.4rem;
    list-style: disc;
}

.column-detail-body blockquote {
    border-left: 3px solid #eee;
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    color: #666;
}

.column-detail-body pre {
    background: #f8f8f8;
    color: #333;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.25rem 0;
    font-family: 'Chivo Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid #eee;
}

.column-detail-body code {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.9em;
    background: #f5f5f5;
    padding: 2px 5px;
}

.column-detail-body pre code {
    background: none;
    padding: 0;
}

/* Footer */
.column-detail-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

@media (max-width: 960px) {
    .column-list {
        padding: 6rem 2rem;
    }

    .column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .column-detail {
        padding: 6rem 2rem;
    }
}

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

    .column-list,
    .column-detail {
        padding: 5rem 1.5rem;
    }

    .column-detail-title {
        font-size: 22px;
    }

    .column-detail-body {
        font-size: 14px;
    }
}

/* ================================
   Fade-in Animation
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ================================
   Works Detail Page
   ================================ */
.works-detail {
    padding: 4rem 2rem 6rem;
    background: #fff;
}

.works-detail-inner {
    max-width: 720px;
    margin: 0 auto;
}

.works-detail-nav,
.works-detail-footer {
    text-align: right;
    margin-bottom: 2rem;
}

.works-detail-footer {
    margin-bottom: 0;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.works-back {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.works-back:hover {
    color: #111;
}

.works-detail-hero {
    margin-bottom: 2.5rem;
}

.works-detail-hero img {
    width: 100%;
    display: block;
    border: 1px solid #eee;
}

.works-detail-header {
    margin-bottom: 3rem;
}

.works-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.works-detail-type {
    font-family: 'Chivo Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
}

.works-detail-year {
    font-family: 'Chivo Mono', monospace;
    font-size: 10px;
    color: #ccc;
    letter-spacing: 0.06em;
}

.works-detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #111;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.works-detail-tagline {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 1.25rem;
}

.works-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.works-detail-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.works-detail-section-title {
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.works-detail-section p {
    font-size: 0.875rem;
    color: #444;
    line-height: 2;
}

.works-detail-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.works-detail-list li {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.8;
    padding-left: 1.25rem;
    position: relative;
}

.works-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 1.5px;
    background: #999;
}

.works-voice-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.works-voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.works-voice-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.works-voice-meta {
    margin-bottom: 8px;
}

.works-voice-date {
    font-family: 'Chivo Mono', monospace;
    font-size: 10px;
    color: #999;
    letter-spacing: 0.04em;
}

.works-voice-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    display: block;
}

.works-voice-excerpt {
    font-size: 12.5px;
    color: #666;
    line-height: 1.7;
    margin-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.works-voice-arrow {
    font-size: 1.25rem;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s;
}

.works-voice-card:hover .works-voice-arrow {
    color: #111;
}

@media (max-width: 960px) {
    .works-detail {
        padding: 3rem 1.5rem 4rem;
    }

    .works-detail-title {
        font-size: 1.375rem;
    }
}
