/*
Theme Name: Minimal Portfolio
*/


html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-light: #888888;
  --text-dim: #BBBBBB;
  --accent: #FFE500;
  --accent-coral: #FF6B4A;
  --accent-blue: #4A90D9;
  --accent-green: #6BCB77;
  --border: #E5E5E5;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #0D0D0D;
  color: var(--text);
  font-weight: 300;
  line-height: 1.8;
}

/* Tab Navigation */
.tab-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0D0D0D;
  padding: 16px 24px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #222;
}

/* Admin Bar Adjustments */
.admin-bar .tab-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .tab-nav {
    top: 46px;
  }
}

.tab-btn {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #252525;
  color: #CCC;
  font-family: 'Space Mono', monospace;
  text-decoration: none;
}

.tab-btn.active {
  background: var(--accent);
  color: #0D0D0D;
}

.tab-btn:hover:not(.active) {
  background: #2A2A2A;
  color: #FFF;
}

/* Content */
.content {
  margin-top: 70px;
  padding: 24px;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.mockup-label {
  font-size: 10px;
  color: #666;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-family: 'Space Mono', monospace;
}

.mockup-frame {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

/* ==================== */
/* WORKS SECTION */
/* ==================== */

/* Hero in Works */
.works-hero {
  min-height: 700px;
  position: relative;
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.hero-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Hand-drawn accent circle */
.hero-accent-circle {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 140px;
  height: 140px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-10deg);
  opacity: 0.9;
}

.hero-accent-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  transform: rotate(30deg);
}

.hero-nav {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.hero-nav a {
  font-size: 11px;
  color: #AAA;
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.hero-nav a:hover {
  color: var(--text);
}

.hero-main-text {
  position: relative;
  z-index: 10;
  margin-top: 100px;
  /* hero-navを消した分の余白を確保 */
}

.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  writing-mode: vertical-rl;
  position: absolute;
  left: -40px;
  top: 0;
  height: 200px;
}

.hero-title-jp {
  font-size: 52px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 24px;
  line-height: 2.2;
  max-width: 380px;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-scroll {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: var(--text-light);
}

.hero-right {
  background: linear-gradient(160deg, #F5F3EE 0%, #EBE8E2 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 40px;
}

.label-text {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

/* Common shape styles */
.shape {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  z-index: 10;
  --shape-scale: 1;
}

.shape:hover {
  transform: scale(1.12);
  opacity: 1 !important;
}

.circle {
  border-radius: 50%;
}

.triangle {
  width: 0;
  height: 0;
  background: transparent !important;
}

.triangle:hover {
  filter: brightness(1.1);
}

/* Animations */
@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(12px) rotate(-2deg);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(10px, -8px);
  }

  66% {
    transform: translate(-6px, 5px);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-10px, 10px) scale(1.03);
  }
}

@keyframes spinSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes breatheNoTranslate {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.25;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.35;
  }
}

@keyframes drift {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12px);
  }
}

@keyframes driftVertical {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

/* TRIPLE CORE 1 - Enhanced */
.tc1 .bg-circle-lg {
  width: 400px;
  height: 400px;
  border: 1px solid var(--text);
  opacity: 0.04;
  bottom: -150px;
  left: -150px;
  pointer-events: none;
  animation: breathe 15s ease-in-out infinite;
}

.tc1 .bg-sq-lg {
  width: 380px;
  height: 380px;
  border: 1px solid var(--text);
  opacity: 0.03;
  top: -120px;
  right: -120px;
  transform: rotate(-15deg);
  pointer-events: none;
  animation: spinSlow 50s linear infinite reverse;
}

.tc1 .line-v {
  position: absolute;
  width: 1px;
  background: var(--text);
  opacity: 0.08;
  pointer-events: none;
}

.tc1 .line-h {
  position: absolute;
  height: 1px;
  background: var(--text);
  opacity: 0.08;
  pointer-events: none;
}

.tc1 .line-1 {
  height: 100%;
  top: 0;
  left: 20%;
  animation: driftVertical 12s ease-in-out infinite;
}

.tc1 .line-2 {
  width: 100%;
  left: 0;
  bottom: 25%;
  animation: drift 10s ease-in-out infinite;
}

.tc1 .core-1 {
  width: 180px;
  height: 180px;
  border: 1.2px solid var(--accent);
  opacity: 0.55;
  top: 30%;
  left: 35%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: breathe 7s ease-in-out infinite;
}

.tc1 .core-1-inner {
  width: 70px;
  height: 70px;
  background: var(--accent);
  opacity: 0.3;
  top: 30%;
  left: 35%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: pulse 4s ease-in-out infinite;
  z-index: 15;
}

.tc1 .core-2 {
  width: 180px;
  height: 180px;
  border: 1.2px solid var(--text);
  opacity: 0.25;
  top: 45%;
  right: calc(15% + 90px);
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: breathe 8s ease-in-out infinite 0.5s;
}

.tc1 .core-2-inner {
  width: 60px;
  height: 60px;
  background: var(--coral);
  opacity: 0.25;
  top: 45%;
  right: calc(15% + 90px);
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: pulse 5s ease-in-out infinite 0.5s;
  z-index: 15;
}

.tc1 .core-3 {
  width: 160px;
  height: 160px;
  border: 1.2px solid var(--coral);
  opacity: 0.35;
  bottom: calc(15% + 80px);
  left: 25%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: breathe 9s ease-in-out infinite 1s;
}

.tc1 .core-3-inner {
  width: 50px;
  height: 50px;
  background: var(--text);
  opacity: 0.15;
  bottom: calc(15% + 25px);
  left: 25%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: pulse 6s ease-in-out infinite 1s;
  z-index: 15;
}

.tc1 .sq-1 {
  width: 70px;
  height: 70px;
  border: 1.5px solid var(--text);
  opacity: 0.2;
  top: 54%;
  left: 78%;
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--shape-scale));
  animation: spinSlow 40s linear infinite;
}

.tc1 .tri-1 {
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 43px solid var(--text);
  opacity: 0.18;
  top: 8%;
  right: 20%;
  transform: scale(var(--shape-scale));
  animation: float1 8s ease-in-out infinite;
}

.tc1 .tri-2 {
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 35px solid var(--accent);
  opacity: 0.3;
  bottom: 8%;
  right: 25%;
  transform: scale(var(--shape-scale));
  animation: float2 7s ease-in-out infinite;
}

.tc1 .dot-1 {
  width: 14px;
  height: 14px;
  background: var(--accent);
  opacity: 0.5;
  top: 55%;
  left: 12%;
  transform: scale(var(--shape-scale));
  animation: float3 5s ease-in-out infinite;
}

.tc1 .dot-2 {
  width: 10px;
  height: 10px;
  background: var(--text);
  opacity: 0.25;
  top: 15%;
  left: 50%;
  transform: scale(var(--shape-scale));
  animation: float4 6s ease-in-out infinite;
}

.tc1 .label-text {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-light);
  opacity: 0.5;
}

/* Works Content */
.works-content {
  padding: 80px 60px;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E0E0E0;
}

.works-title-area {
  display: flex;
  flex-direction: column;
}

.works-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-light);
}

.works-title-jp {
  font-size: 11px;
  color: #BBB;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.works-filters {
  display: flex;
  gap: 24px;
}

.works-filter {
  font-size: 11px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.work-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.works-filter.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.works-filter:hover {
  color: var(--text);
}

/* 3-Column Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.work-card {
  cursor: pointer;
}

.work-thumb {
  aspect-ratio: 4/3;
  background: #E8E8E8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card:hover .work-thumb {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.work-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-thumb-mockup {
  width: 75%;
  height: 60%;
  background: #FFF;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.work-thumb-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  background: #FF6B4A;
  border-radius: 50%;
}

.work-thumb-mockup::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 18px;
  width: 6px;
  height: 6px;
  background: #FFE500;
  border-radius: 50%;
}

/* Color variations for thumbnails */
.work-thumb.blue {
  background: linear-gradient(135deg, #4A90D9 0%, #357ABD 100%);
}

.work-thumb.coral {
  background: linear-gradient(135deg, #FF8A6B 0%, #FF6B4A 100%);
}

.work-thumb.green {
  background: linear-gradient(135deg, #6BCB77 0%, #4CAF50 100%);
}

.work-thumb.yellow {
  background: linear-gradient(135deg, #FFE066 0%, #FFD700 100%);
}

.work-thumb.purple {
  background: linear-gradient(135deg, #B39DDB 0%, #9575CD 100%);
}

.work-thumb.gray {
  background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
}

.work-thumb.dark {
  background: linear-gradient(135deg, #333 0%, #1A1A1A 100%);
}

.work-thumb.mint {
  background: linear-gradient(135deg, #B2DFDB 0%, #80CBC4 100%);
}

.work-thumb.pink {
  background: linear-gradient(135deg, #F8BBD9 0%, #F48FB1 100%);
}

.work-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.work-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

.work-category {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.work-year {
  font-size: 10px;
  color: #BBB;
  font-family: 'Space Mono', monospace;
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */

.about-mockup {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 600px;
}

.about-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 32px;
}

.about-name {
  font-size: 32px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.about-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 40px;
}

.about-role {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.about-bio {
  font-size: 14px;
  color: #666;
  line-height: 2.2;
  max-width: 400px;
}

.about-divider {
  width: 40px;
  height: 1px;
  background: #DDD;
  margin: 40px 0;
}

.about-skills-label {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-skill {
  font-size: 11px;
  color: #666;
  background: #F0F0F0;
  padding: 6px 14px;
  border-radius: 20px;
}

.about-right {
  background: #F0EDE8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-placeholder {
  width: 200px;
  height: 260px;
  background: #E0DDD8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #BBB;
  font-size: 11px;
}

.about-accent {
  position: absolute;
  top: 60px;
  right: 60px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */

.contact-mockup {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px;
  position: relative;
}

.contact-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-title {
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #DDD;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

/* プレースホルダーを薄くして、情報の引き立て役に徹させる */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #BBB;
  font-weight: 300;
  opacity: 1;
  /* ブラウザによる自動の透明度調整をリセット */
}

.submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 60px;
  font-size: 11px;
  letter-spacing: 0.3em;
  /* もっと広くして、より洗練された印象に */
  font-weight: 500;
  /* 少し細くして上品に */
  padding: 0;
  color: var(--text);
  font-family: 'Space Mono', monospace;
  /* ←これを忘れずに！ */
  text-transform: uppercase;
}

.btn-line {
  width: 40px;
  height: 1px;
  background: var(--text);
  transition: width 0.3s;
}

.submit-btn:hover .btn-line {
  width: 60px;
}

.contact-social {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

.contact-social a {
  font-size: 11px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.contact-social a:hover {
  color: var(--text);
}

.contact-accent-1 {
  position: absolute;
  top: 40px;
  left: 60px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.contact-accent-2 {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ABOUT Section - OE-01 Design Enhanced */
.about-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: rgba(0, 0, 0, 0.01);
}

.oe1 .bg-sq-lg {
  width: 350px;
  height: 350px;
  border: 1px solid var(--text);
  opacity: 0.03;
  top: -100px;
  right: -100px;
  transform: rotate(15deg);
  pointer-events: none;
  animation: spinSlow 60s linear infinite;
}

.oe1 .line-v {
  position: absolute;
  width: 1px;
  background: var(--text);
  opacity: 0.06;
  pointer-events: none;
}

.oe1 .line-h {
  position: absolute;
  height: 1px;
  background: var(--text);
  opacity: 0.06;
  pointer-events: none;
}

.oe1 .line-a {
  height: 100%;
  top: 0;
  left: 15%;
  animation: driftVertical 15s ease-in-out infinite;
}

.oe1 .line-b {
  width: 100%;
  left: 0;
  bottom: 20%;
  animation: drift 12s ease-in-out infinite;
}

.oe1 .line-c {
  height: 60%;
  bottom: 0;
  right: 25%;
  animation: driftVertical 18s ease-in-out infinite reverse;
}

.oe1 .circle-outer {
  width: 250px;
  height: 250px;
  border: 1.2px solid var(--text);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: breathe 9s ease-in-out infinite;
}

.oe1 .circle-mid {
  width: 170px;
  height: 170px;
  border: 1.2px solid var(--accent);
  opacity: 0.5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: breathe 7s ease-in-out infinite 0.3s;
  z-index: 12;
}

.oe1 .circle-inner {
  width: 100px;
  height: 100px;
  background: var(--accent);
  opacity: 0.28;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--shape-scale));
  animation: pulse 5s ease-in-out infinite;
  z-index: 15;
}

.oe1 .sq-1 {
  width: 140px;
  height: 140px;
  border: 1px solid var(--text);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--shape-scale));
  animation: spinSlow 40s linear infinite;
}

.oe1 .sq-2 {
  width: 200px;
  height: 200px;
  border: 1px solid var(--text);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--shape-scale));
  animation: spinSlow 55s linear infinite reverse;
}

.oe1 .sq-sm-1 {
  width: 50px;
  height: 50px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  top: 25%;
  left: 30%;
  transform: rotate(20deg);
  animation: float1 7s ease-in-out infinite;
}

.oe1 .sq-sm-2 {
  width: 40px;
  height: 40px;
  border: 1px solid var(--coral);
  opacity: 0.3;
  bottom: 25%;
  right: 28%;
  transform: rotate(-15deg);
  animation: float2 8s ease-in-out infinite;
}

.oe1 .tri-1 {
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid var(--text);
  opacity: 0.15;
  top: 10%;
  left: 12%;
  transform: rotate(-20deg);
  animation: float3 8s ease-in-out infinite;
}

.oe1 .tri-2 {
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 48px solid var(--coral);
  opacity: 0.22;
  bottom: 12%;
  right: 15%;
  transform: rotate(25deg);
  animation: float4 9s ease-in-out infinite;
}

.oe1 .tri-3 {
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid var(--accent);
  opacity: 0.35;
  top: 20%;
  right: 10%;
  transform: rotate(35deg);
  animation: float1 7s ease-in-out infinite;
}

.oe1 .tri-sm-1 {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 26px solid var(--text);
  opacity: 0.18;
  top: 35%;
  right: 22%;
  transform: rotate(-30deg);
  animation: float2 6s ease-in-out infinite;
}

.oe1 .tri-sm-2 {
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 21px solid var(--accent);
  opacity: 0.3;
  bottom: 32%;
  left: 18%;
  transform: rotate(40deg);
  animation: float3 5s ease-in-out infinite;
}

.oe1 .dot-1 {
  width: 14px;
  height: 14px;
  background: var(--text);
  opacity: 0.25;
  top: 28%;
  left: 10%;
  animation: float4 6s ease-in-out infinite;
}

.oe1 .dot-2 {
  width: 12px;
  height: 12px;
  background: var(--accent);
  opacity: 0.5;
  bottom: 20%;
  left: 25%;
  animation: float1 5s ease-in-out infinite;
}

.oe1 .dot-3 {
  width: 16px;
  height: 16px;
  background: var(--coral);
  opacity: 0.3;
  top: 60%;
  right: 12%;
  animation: float2 7s ease-in-out infinite;
}

.oe1 .label-text {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--text-light);
  opacity: 0.5;
  pointer-events: none;
  z-index: 5;
}

/* ==================== */
/* STYLE GUIDE SECTION */
/* ==================== */

.style-mockup {
  padding: 60px;
}

.style-section {
  margin-bottom: 80px;
}

.style-section:last-child {
  margin-bottom: 0;
}

.style-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Colors */
.color-swatches {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.color-swatch {
  flex: 1;
}

.color-box {
  height: 100px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.color-box span {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
}

.color-name {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 2px;
}

.color-role {
  font-size: 10px;
  color: var(--text-light);
}

/* Typography */
.type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.type-card {
  padding: 32px;
  border-radius: 8px;
}

.type-card.light {
  background: #FFF;
  border: 1px solid #E8E8E8;
}

.type-card.dark {
  background: #1A1A1A;
  color: #FFF;
}

.type-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.type-card.dark .type-label {
  color: #888;
}

.type-sample-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.3;
}

.type-sample-body {
  font-size: 14px;
  line-height: 1.8;
}

/* Design Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-card {
  padding: 32px;
  background: #FFF;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
}

.principle-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
}

.principle-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.principle-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner,
  .about-mockup {
    grid-template-columns: 1fr;
  }

  .type-row,
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-content,
  .about-left,
  .contact-mockup,
  .style-mockup {
    padding: 40px 32px;
  }

  .hero-title-jp {
    font-size: 36px;
  }

  .contact-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .tab-nav {
    padding: 12px 16px;
    gap: 4px;
    overflow-x: auto;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .hero-left,
  .hero-right {
    padding: 40px 24px;
  }

  .contact-social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .color-swatches {
    flex-direction: column;
  }
}

/* ==================== */
/* SITE FOOTER */
/* ==================== */

.site-footer {
  background: #0D0D0D;
  border-top: 1px solid #222;
  padding: 0 24px 24px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Navigation */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid #222;
}

.footer-nav-link {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #AAA;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #FFF;
}

.footer-nav-link:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.footer-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #AAA;
}

.footer-copyright {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #888;
}

/* ==================== */
/* RESPONSIVE (FOOTER) */
/* ==================== */

@media (max-width: 768px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 32px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-nav-link {
    font-size: 10px;
  }
}