/*
Theme Name: CO-REVO Revolution
Theme URI: https://co-revo.com
Author: CO-REVO合同会社
Author URI: https://co-revo.com
Description: CO-REVO合同会社の斬新なリニューアルテーマ。カオスとクリエイティビティが融合した前衛的デザイン。
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: co-revo
Tags: creative, bold, agency, modern
*/

/* ========================================
   CO-REVO REVOLUTION THEME
   カオス × クリエイティブ × 革命
   ======================================== */

:root {
  --black:       #0A0A0A;
  --deep-navy:   #0D0D1E;
  --pink:        #FF2D55;
  --cyan:        #00F5D4;
  --yellow:      #F5F500;
  --white:       #FAFAFA;
  --gray-dark:   #1A1A1A;
  --gray-mid:    #333333;
  --gray-light:  #888888;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  mix-blend-mode: difference;
}

/* ========================================
   NOISE OVERLAY
   ======================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.04;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.site-logo {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  z-index: 2;
}
.site-logo span {
  color: var(--pink);
  display: inline-block;
  animation: glitch-char 4s infinite;
}

@keyframes glitch-char {
  0%, 90%, 100% { transform: none; clip-path: none; }
  91% { transform: translate(-2px, 1px) skewX(-2deg); clip-path: polygon(0 0,100% 0,100% 45%,0 45%); }
  93% { transform: translate(2px, -1px) skewX(2deg); clip-path: polygon(0 55%,100% 55%,100% 100%,0 100%); }
  95% { transform: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 30px; height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-bounce);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

#site-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
#site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}
#site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--pink);
  transition: width 0.3s var(--ease-bounce);
}
#site-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--pink) !important;
  color: var(--black) !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--yellow) !important;
  transform: skewX(-3deg) scale(1.05) !important;
}
.nav-cta::after { display: none !important; }

/* Full-screen nav overlay for mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--pink); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-left {
  background: var(--deep-navy);
  position: absolute;
  left: 0; top: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
  z-index: 0;
}

.hero-bg-accent {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.3); opacity: 0.25; }
}

.hero-content {
  grid-column: 1 / 2;
  grid-row: 1;
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--cyan);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  position: relative;
}
.hero-title .line-1 { color: var(--white); display: block; }
.hero-title .line-2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  display: block;
  transform: translateX(20px);
}
.hero-title .line-3 {
  color: var(--yellow);
  display: block;
  transform: translateX(-10px);
  font-size: 0.6em;
  letter-spacing: 0.1em;
}

.hero-body {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 420px;
  margin-bottom: 48px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--pink);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  padding: 16px 48px;
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s var(--ease-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--yellow);
  transform: translateY(-4px) skewX(-2deg);
}
.btn-primary::after { display: none; }

.btn-outline {
  border: 1px solid var(--gray-mid);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-visual {
  grid-column: 2 / 3;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-floating-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-word {
  position: absolute;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  opacity: 0.08;
  animation: float-around var(--dur, 15s) ease-in-out infinite var(--delay, 0s);
}
.float-word:nth-child(1) { font-size: 80px; color: var(--pink); top: 10%; left: 5%; --dur: 12s; }
.float-word:nth-child(2) { font-size: 50px; color: var(--cyan); top: 40%; right: 10%; --dur: 18s; --delay: -3s; }
.float-word:nth-child(3) { font-size: 100px; color: var(--yellow); bottom: 15%; left: 20%; --dur: 14s; --delay: -7s; }

@keyframes float-around {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(2deg); }
  50% { transform: translate(-5px, 10px) rotate(-1deg); }
  75% { transform: translate(15px, 5px) rotate(3deg); }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-light);
  z-index: 3;
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--pink), transparent);
  animation: scroll-expand 2s ease-in-out infinite;
}
@keyframes scroll-expand {
  0%, 100% { width: 60px; }
  50% { width: 100px; }
}

/* ========================================
   MARQUEE TICKER
   ======================================== */
.ticker-wrap {
  background: var(--pink);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  z-index: 10;
}
.ticker-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--black);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ticker-item::before {
  content: '◆';
  font-size: 10px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.section-services {
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}
.section-title .accent { color: var(--pink); }
.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 80px;
}

.service-card {
  background: var(--gray-dark);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-bounce);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--deep-navy) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-8px); }
.service-card:hover::before { opacity: 0.08; }

.service-card-inner { position: relative; z-index: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--gray-mid);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--pink); }

.service-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-desc {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

.service-icon-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--pink), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-bounce);
}
.service-card:hover .service-icon-line { transform: scaleX(1); }

/* ========================================
   ABOUT SECTION — diagonal split
   ======================================== */
.section-about {
  position: relative;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.about-left {
  background: var(--deep-navy);
  padding: 120px 80px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  z-index: 1;
}

.about-right {
  background: var(--black);
  padding: 120px 60px 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.03em;
}
.stat-num span { font-size: 36px; color: var(--white); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-top: 8px;
}

.about-text {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
  margin-bottom: 24px;
}

/* ========================================
   WORKS / PORTFOLIO
   ======================================== */
.section-works {
  padding: 120px 80px;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 80px;
}

.work-card {
  background: var(--gray-dark);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.work-card:nth-child(1) { grid-column: 1 / 7; grid-row: 1; }
.work-card:nth-child(2) { grid-column: 7 / 10; grid-row: 1; }
.work-card:nth-child(3) { grid-column: 10 / 13; grid-row: 1; }
.work-card:nth-child(4) { grid-column: 1 / 5; grid-row: 2; }
.work-card:nth-child(5) { grid-column: 5 / 13; grid-row: 2; }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover .work-card-overlay { opacity: 1; }

.work-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-placeholder-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 40px);
  color: var(--gray-mid);
  letter-spacing: 0.1em;
}

.work-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.work-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ========================================
   PROCESS SECTION — horizontal zigzag
   ======================================== */
.section-process {
  padding: 120px 80px;
  overflow: hidden;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 80px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--pink) 20%, var(--cyan) 80%, transparent);
  transform: translateX(-50%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0;
  padding: 40px 0;
}
.process-step:nth-child(even) .step-content { grid-column: 3; grid-row: 1; }
.process-step:nth-child(even) .step-num { grid-column: 2; grid-row: 1; }
.process-step:nth-child(even) .step-empty { grid-column: 1; grid-row: 1; }

.step-num {
  width: 64px; height: 64px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--pink);
  background: var(--black);
  position: relative;
  z-index: 2;
  justify-self: center;
  transition: all 0.3s;
}
.process-step:hover .step-num {
  background: var(--pink);
  color: var(--black);
  transform: scale(1.2);
}

.step-content {
  padding: 32px;
  border: 1px solid var(--gray-mid);
  transition: border-color 0.3s;
}
.process-step:hover .step-content { border-color: var(--pink); }

.step-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.section-news {
  padding: 120px 80px;
  background: var(--gray-dark);
}

.news-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
  transition: border-color 0.2s;
  cursor: pointer;
}
.news-item:hover { border-color: var(--pink); }

.news-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-light);
  letter-spacing: 0.1em;
}

.news-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  margin-right: 20px;
}

.news-title {
  font-size: 16px;
  color: var(--white);
  transition: color 0.2s;
}
.news-item:hover .news-title { color: var(--pink); }

.news-arrow {
  width: 32px; height: 32px;
  border: 1px solid var(--gray-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}
.news-item:hover .news-arrow {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--black);
  transform: rotate(45deg);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
  padding: 120px 80px;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-contact::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 280px);
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  margin-bottom: 32px;
  position: relative;
}

.contact-body {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 2;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--gray-dark);
  border: 1px solid var(--gray-mid);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--cyan); }
.form-field textarea { height: 140px; resize: vertical; }

/* ========================================
   FOOTER
   ======================================== */
#site-footer {
  background: var(--black);
  border-top: 1px solid var(--gray-dark);
  padding: 80px 80px 40px;
}

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

.footer-brand .site-logo {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}
.footer-tagline {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--gray-dark);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.1em;
}

.footer-socials {
  display: flex;
  gap: 20px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--gray-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-light);
  transition: all 0.2s;
}
.footer-socials a:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: rotate(15deg);
}

/* ========================================
   INNER PAGE LAYOUT
   ======================================== */
.page-header {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 80px 60px;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  bottom: -20px; right: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.page-content {
  padding: 80px;
  max-width: 900px;
}
.page-content p {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.05em;
  margin: 48px 0 20px;
  color: var(--white);
}
.page-content h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--pink);
  margin: 36px 0 16px;
}

/* ========================================
   BLOG / ARCHIVE
   ======================================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 80px;
}

.post-card {
  background: var(--gray-dark);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-bounce);
}
.post-card:hover { transform: translateY(-6px); }

.post-thumbnail {
  aspect-ratio: 16/9;
  background: var(--deep-navy);
  overflow: hidden;
  position: relative;
}
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-thumbnail-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gray-mid);
  letter-spacing: 0.2em;
}

.post-meta {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.1em;
}
.post-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 2px 10px;
}

.post-title {
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s;
}
.post-card:hover .post-title { color: var(--pink); }

.post-excerpt {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  flex: 1;
}

.post-card-line {
  height: 2px;
  background: linear-gradient(to right, var(--pink), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-bounce);
}
.post-card:hover .post-card-line { transform: scaleX(1); }

/* ========================================
   SINGLE POST
   ======================================== */
.single-header {
  padding: 140px 80px 80px;
  max-width: 900px;
}
.single-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-top: 24px;
}
.single-content {
  padding: 60px 80px;
  max-width: 900px;
}
.single-content p { font-size: 16px; line-height: 2; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.single-content h2 { font-family: var(--font-display); font-size: 32px; margin: 40px 0 16px; }

/* ========================================
   UTILITY
   ======================================== */
.text-pink { color: var(--pink); }
.text-cyan { color: var(--cyan); }
.text-yellow { color: var(--yellow); }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-bounce);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 40px 80px; grid-column: 1; }
  .hero-visual { display: none; }
  .hero-bg-left { width: 100%; clip-path: none; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .section-about { grid-template-columns: 1fr; }
  .about-left { clip-path: none; padding: 80px 40px; }
  .about-right { padding: 80px 40px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .archive-grid { grid-template-columns: 1fr 1fr; padding: 60px 40px; }
  .page-content { padding: 60px 40px; }
  .section-services, .section-works, .section-process, .section-news, .section-contact { padding: 80px 40px; }
  #site-footer { padding: 60px 40px 40px; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  #site-header { padding: 16px 24px; }
  #site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 100px 24px 80px; }
  .scroll-hint { left: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { grid-column: auto !important; grid-row: auto !important; }

  .process-steps::before { left: 32px; }
  .process-step { grid-template-columns: 64px 1fr; }
  .process-step:nth-child(even) .step-content { grid-column: 2; }
  .process-step:nth-child(even) .step-num { grid-column: 1; }
  .process-step:nth-child(even) .step-empty { display: none; }
  .step-empty { display: none; }

  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-arrow { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .archive-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .page-content { padding: 40px 24px; }
  .section-services, .section-works, .section-process, .section-news, .section-contact { padding: 60px 24px; }
  #site-footer { padding: 60px 24px 40px; }
  .single-header, .single-content { padding-left: 24px; padding-right: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
