/* ============================================
   CraftWeb — Awwwards-level Editorial Light
   ============================================ */

:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EFEB;
  --bg-dark: #0C0C0C;
  --accent: #C8590A;
  --accent-light: rgba(200,89,10,0.08);
  --text: #0C0C0C;
  --text-muted: #6B6B6B;
  --text-dim: #9A9A9A;
  --border: rgba(12,12,12,0.08);
  --border-strong: rgba(12,12,12,0.15);

  --text-display: clamp(48px, 7vw, 100px);
  --text-hero: clamp(40px, 6vw, 80px);
  --text-h2: clamp(32px, 4.5vw, 56px);
  --text-h3: clamp(20px, 2.5vw, 28px);
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --text-micro: 11px;

  --space-section: clamp(100px, 12vw, 160px);
  --space-group: clamp(48px, 6vw, 80px);
  --space-element: clamp(16px, 2vw, 24px);
  --radius: 12px;
  --radius-lg: 20px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; font-family: inherit; border: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 64px;
  height: 64px;
  background: #fff;
}
.cursor.view {
  width: 80px;
  height: 80px;
  background: var(--accent);
  mix-blend-mode: normal;
}
.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.view ~ .cursor-label { opacity: 1; }

/* ============================================
   SUBTLE NOISE
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-clip.visible { clip-path: inset(0 0 0 0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.visible .stagger-child:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.visible .stagger-child:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.visible .stagger-child:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.visible .stagger-child:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.visible .stagger-child:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.visible .stagger-child:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary span,
.btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(12,12,12,0.03);
}

/* ============================================
   LABEL / TAG
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.tag-line {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 80px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
}
.logo span { color: var(--accent); }

.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { width: 100%; }

.header-cta .btn-primary { padding: 10px 24px; font-size: 13px; }
.hamburger { display: none; background: none; border: none; padding: 8px; color: var(--text); }

/* Mobile Menu */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 100;
  backdrop-filter: blur(4px);
}
.overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 85%; max-width: 380px; height: 100vh;
  background: var(--bg); border-left: 1px solid var(--border);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 101; padding: 32px;
  display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.mobile-menu-close { background: none; border: none; padding: 8px; color: var(--text); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  display: block; padding: 16px 0; font-size: 24px; font-weight: 600; color: var(--text-muted);
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-menu nav a:hover { color: var(--text); }
.mobile-menu .btn-primary { margin-top: 32px; justify-content: center; }

/* ============================================
   HERO — Editorial
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero-image-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}
.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(250,250,248,0.3) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-tag { margin-bottom: 24px; }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: var(--text-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   LOGO BELT — Marquee
   ============================================ */
.logo-belt {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.logo-belt-track {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.logo-belt-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   WORKS — Horizontal Scroll
   ============================================ */
.works {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-group);
}
.works-header-text .tag { margin-bottom: 16px; }
.works-header-text h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.works-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.works-header-right p {
  font-size: var(--text-small);
  color: var(--text-muted);
}
.works-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * clamp(20px, 5vw, 80px));
  padding: 0 clamp(20px, 5vw, 80px);
}
.works-scroll-wrap::-webkit-scrollbar { display: none; }
.works-track {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
}
.work-card {
  flex: 0 0 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.work-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.work-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}
.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-card-image img { transform: scale(1.05); }
.work-card-overlay {
  position: absolute; inset: 0;
  background: rgba(12,12,12,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; text-align: center;
  opacity: 0; transition: opacity 0.4s ease;
}
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card-overlay p { color: rgba(255,255,255,0.85); font-size: var(--text-small); line-height: 1.7; }

.work-card-body { padding: 24px; }
.work-type {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.work-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.work-date { font-size: var(--text-caption); color: var(--text-dim); }

/* ============================================
   ABOUT — Split
   ============================================ */
.about {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
  position: relative;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.about-stats-area .tag { margin-bottom: 16px; }
.about-stats-area h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  line-height: 1.15;
}
.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item { flex: 1; min-width: 140px; }
.stat-value {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.stat-accent { color: var(--accent); }
.stat-label {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-top: 4px;
}
.about-message {
  padding-top: 8px;
}
.about-message h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.about-message p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.ceo-name {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text);
  margin-top: 28px;
}
.ceo-title {
  font-size: var(--text-caption);
  color: var(--text-dim);
}

/* ============================================
   SERVICES
   ============================================ */
.service-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.section-head-center {
  text-align: center;
  margin-bottom: var(--space-group);
}
.section-head-center .tag { margin-bottom: 16px; }
.section-head-center h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-head-center p {
  font-size: var(--text-body);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-item {
  background: var(--bg-alt);
  padding: 48px 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-item:first-child { border-radius: var(--radius-lg) 0 0 0; }
.service-item:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
.service-item:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
.service-item:last-child { border-radius: 0 0 var(--radius-lg) 0; }
.service-item:hover { background: var(--bg); }
.service-item:hover::before { transform: scaleX(1); }
.service-num {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg-alt);
  margin-bottom: 20px;
  transition: color 0.4s;
  letter-spacing: -0.04em;
}
.service-item:hover .service-num { color: rgba(200,89,10,0.15); }
.service-item h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-item p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  color: #fff;
}
.process .section-head-center h2 { color: #fff; }
.process .section-head-center p { color: rgba(255,255,255,0.5); }
.process .tag { color: var(--accent); }
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.process-step:hover .process-step-num {
  border-color: var(--accent);
  background: var(--accent);
}
.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.process-step p {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.blog-card {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.blog-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.blog-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.blog-card:hover {
  background: var(--bg-alt);
  border-color: var(--border-strong);
}
.blog-tag {
  display: inline-block;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.blog-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}
.blog-date {
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-top: 16px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
  position: relative;
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}
.footer-column h4 {
  font-size: var(--text-caption);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-column a {
  display: block;
  font-size: var(--text-small);
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-column a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: var(--text-micro); color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: var(--text-micro); color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--text); color: var(--bg);
  border: none; opacity: 0; transform: translateY(20px);
  transition: all 0.3s ease; z-index: 99;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); }

/* ============================================
   PAGE HERO — Interior pages
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-alt);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-dim); }
.page-hero-content .tag { margin-bottom: 16px; }
.page-hero-content h1 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-hero-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after { width: 100%; }

/* ============================================
   WORKS LISTING PAGE
   ============================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-group);
}
.filter-btn {
  padding: 8px 20px;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}
.works-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.works-grid-page .work-card {
  flex: none;
}

/* ============================================
   WORKS DETAIL PAGE
   ============================================ */
.project-hero {
  padding: 120px 0 0;
  position: relative;
}
.project-hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 40px;
}
.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-meta {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 5vw, 80px);
  padding: var(--space-group) 0;
  border-bottom: 1px solid var(--border);
}
.meta-list { display: flex; flex-direction: column; gap: 20px; }
.meta-item-label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.meta-item-value { font-size: var(--text-body); font-weight: 500; }
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-tag {
  padding: 4px 12px;
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 100px;
}
.project-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.9;
}
.project-gallery {
  padding: var(--space-group) 0;
  display: grid;
  gap: 24px;
}
.project-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.project-gallery-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.challenge-section {
  padding: var(--space-group) 0;
  border-top: 1px solid var(--border);
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.challenge-item {
  padding: 40px 32px;
  background: var(--bg-alt);
}
.challenge-item:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.challenge-item:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.challenge-label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.challenge-item h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.challenge-item p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}
.testimonial {
  padding: var(--space-group) 0;
  text-align: center;
}
.testimonial blockquote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--text);
}
.testimonial cite {
  font-style: normal;
  font-size: var(--text-small);
  color: var(--text-dim);
}
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-group);
}
.project-nav a {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.project-nav a:hover { color: var(--text); }

/* ============================================
   SERVICES PAGE — Detail Sections
   ============================================ */
.service-detail {
  padding: var(--space-group) 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-text { order: 2; }
.service-detail:nth-child(even) .service-detail-image { order: 1; }
.service-detail-num {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg-alt);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.service-detail-text h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.service-detail-text p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.deliverables { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.deliverable-tag {
  padding: 6px 16px;
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 100px;
}
.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-detail-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-detail-image:hover img { transform: scale(1.04); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.vision-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.vision-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.vision-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.vision-text h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.vision-text p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.stats-section {
  padding: var(--space-group) 0;
  background: var(--bg-dark);
  color: #fff;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(48px, 6vw, 100px);
  text-align: center;
}
.stats-row .stat-value { color: #fff; }
.stats-row .stat-label { color: rgba(255,255,255,0.5); }
.stats-row .stat-accent { color: var(--accent); }
.team-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover { border-color: var(--border); background: var(--bg-alt); }
.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.team-card:hover .team-photo { border-color: var(--accent); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card-role {
  font-size: var(--text-micro);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.company-info {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.company-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: var(--text-body);
}
.company-table th {
  width: 200px;
  font-weight: 600;
  color: var(--text);
  vertical-align: top;
}
.company-table td { color: var(--text-muted); }
.timeline-section {
  padding: var(--space-group) 0 var(--space-section);
  background: var(--bg-alt);
}
.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border-strong);
  z-index: 1;
  transition: all 0.3s;
}
.timeline-item:hover::before { border-color: var(--accent); background: var(--accent); }
.timeline-year {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: var(--text-body);
  color: var(--text-muted);
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card-page {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg);
}
.blog-card-page:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.blog-card-body { padding: 24px; }
.blog-card-page .blog-tag { margin-bottom: 12px; }
.blog-card-page h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.blog-card-page p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}
.blog-card-page .blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.blog-meta .blog-date { margin-top: 0; }
.blog-read-time {
  font-size: var(--text-caption);
  color: var(--text-dim);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-group);
}
.page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.page-num:hover { border-color: var(--text); color: var(--text); }
.page-num.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-label .required {
  font-size: var(--text-micro);
  color: var(--accent);
  margin-left: 4px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--text-body);
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239A9A9A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-card {
  padding: 40px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  position: sticky;
  top: 120px;
}
.contact-info-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item-label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.info-item-value { font-size: var(--text-body); color: var(--text); }
.faq-section {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text);
  background: none;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-dim);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .works-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-card { flex: 0 0 320px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item,
  .service-item:first-child,
  .service-item:nth-child(2),
  .service-item:nth-child(3),
  .service-item:last-child { border-radius: var(--radius-lg); }
  .process-steps { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .process-steps::before { display: none; }
  .process-step { flex: 0 0 calc(33.333% - 16px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid-page { grid-template-columns: repeat(2, 1fr); }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-text { order: 1; }
  .service-detail:nth-child(even) .service-detail-image { order: 2; }
  .vision-inner { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-item,
  .challenge-item:first-child,
  .challenge-item:last-child { border-radius: var(--radius-lg); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  body::after { display: none; }
  .cursor, .cursor-label { display: none; }
  a, button { cursor: auto; }
  .desktop-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 80px; align-items: center; }
  .hero-image-bg { position: absolute; width: 100%; height: 100%; opacity: 0.15; }
  .hero-image-bg::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, var(--bg) 100%); }
  .hero-scroll-hint { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .stat-row { gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card,
  .blog-card:first-child,
  .blog-card:last-child { border-radius: var(--radius-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-step { flex: 0 0 calc(50% - 12px); }
  .work-card { flex: 0 0 85vw; }
  .works-grid-page { grid-template-columns: 1fr; }
  .blog-grid-page { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .project-gallery-2col { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline { width: 100%; justify-content: center; }
  .process-step { flex: 0 0 100%; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .project-meta-grid { grid-template-columns: repeat(2,1fr); }
  .project-gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================
   ADDITIONAL PAGE STYLES (HTML class mapping)
   ============================================ */

/* Services Page — section-based layout */
.service-detail-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-section:last-of-type { border-bottom: none; }
.service-detail-section.alt { background: var(--bg-alt); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-content h2 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.service-detail-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.service-detail-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* About Page — vision, stats, team */
.about-vision { padding: 100px 0; }
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.vision-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.vision-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.vision-content .section-heading {
  margin-bottom: 24px;
}
.vision-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.vision-author {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.vision-author strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.vision-author span {
  font-size: 13px;
  color: var(--text-muted);
}
.about-stats {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 24px 16px; }
.stat-number {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

/* Team */
.team-member {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-member:hover { border-color: var(--border); background: var(--bg-alt); }
.team-member .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.team-member:hover .team-photo { border-color: var(--accent); }
.team-member h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-role {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.team-member p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About office image */
.about-office-image {
  width: 100%;
  overflow: hidden;
}

/* Works Page — grid items */
.works-grid-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-grid-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.works-grid-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.works-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-grid-item:hover .works-grid-thumb img { transform: scale(1.05); }
.works-grid-info {
  padding: 24px;
}
.works-grid-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.works-grid-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.works-grid-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Works Detail — project hero overlay */
.project-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.project-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 0 40px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.project-meta-item {}
.project-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.project-meta-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 60px 0;
}
.project-gallery-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* Testimonial */
.project-testimonial {
  padding: 80px 0;
  background: var(--bg-alt);
}
.project-testimonial blockquote {
  text-align: center;
}
.project-testimonial blockquote p {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}
.project-testimonial cite {
  display: block;
  text-align: center;
  font-style: normal;
}
.project-testimonial cite strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.project-testimonial cite span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Project Navigation */
.project-nav-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.project-nav-item {
  text-decoration: none;
  color: inherit;
}
.project-nav-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.project-nav-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.project-nav-item:hover .project-nav-title { color: var(--accent); }
.project-nav-item.next { text-align: right; }
.project-nav-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.project-nav-all:hover { color: var(--text); }

/* Blog page cards */
.blog-card-thumb {
  height: 180px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.blog-card-meta time {
  font-size: 12px;
  color: var(--text-dim);
}
.blog-card-body h3 { margin-bottom: 8px; }
.blog-card-body h3 a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
}
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.page-link:hover { border-color: var(--border-strong); color: var(--text); }
.page-link.current {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.page-link.next { border: none; }

/* Responsive additions */
@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .vision-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .project-meta-grid { grid-template-columns: repeat(3, 1fr); }
  .project-gallery-grid { grid-template-columns: 1fr; }
  .project-nav-grid { flex-direction: column; gap: 24px; text-align: center; }
  .project-nav-item.next { text-align: center; }
  .project-hero { height: 320px; }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-meta-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .project-hero { height: 240px; }
  .process-grid { grid-template-columns: 1fr !important; }
}
