@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  --bg-global: #F1F5F9;
  --bg-card: #FFFFFF;
  --text-primary: #0C4A6E;
  --text-secondary: #38BDF8;
  --accent-main: #06B6D4;
  --accent-deep: #0891B2;
  --border-tech: #A5F3FC;
  --deco-cyan: #22D3EE;
  --deco-pale: #CFFAFE;
  --tech-bg-dark: #0C4A6E;
  --tech-bg-cyan: #06B6D4;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-code: 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-global);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
}

strong, p {
  color: inherit;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  color: var(--accent-main);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  font-size: 1rem;
  margin: 0 0 1rem 0;
}

.tech-caption {
  font-family: var(--font-code);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.bg-global {
  background: var(--bg-global);
  color: var(--text-primary);
}

.bg-card {
  background: var(--bg-card);
  color: var(--text-primary);
}

.bg-tech-dark {
  background: var(--tech-bg-dark);
  color: #FFFFFF;
}

.bg-tech-dark p, .bg-tech-dark h1, .bg-tech-dark h2, .bg-tech-dark h3, .bg-tech-dark h4 {
  color: #FFFFFF;
}

.bg-tech-cyan {
  background: var(--tech-bg-cyan);
  color: #FFFFFF;
}

.bg-tech-cyan p, .bg-tech-cyan h1, .bg-tech-cyan h2, .bg-tech-cyan h3 {
  color: #FFFFFF;
}

.wireframe-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease, z-index 0s;
  z-index: 1;
}

.wireframe-card h3, .wireframe-card p {
  color: var(--text-primary);
}

.wireframe-card:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: var(--accent-main);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.18);
  z-index: 20;
}

.wireframe-frame {
  position: relative;
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  background: var(--bg-card);
  color: var(--text-primary);
}

.wireframe-frame::before,
.wireframe-frame::after {
  content: '';
  position: absolute;
  background: var(--border-tech);
  z-index: 2;
}

.wireframe-frame::before {
  top: -1px;
  left: 12px;
  width: 24px;
  height: 1px;
}

.wireframe-frame::after {
  bottom: -1px;
  right: 12px;
  width: 24px;
  height: 1px;
}

.tech-button-primary {
  background: var(--accent-main);
  color: #FFFFFF;
  border: 1px solid var(--accent-main);
  border-radius: 2px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.tech-button-primary:hover {
  background: var(--accent-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.45);
}

.tech-button-secondary {
  background: transparent;
  color: var(--accent-main);
  border: 2px solid var(--accent-main);
  border-radius: 2px;
  padding: 12px 26px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}

.tech-button-secondary:hover {
  background: var(--accent-main);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.tech-button-cyan {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}

.tech-button-cyan:hover {
  background: var(--deco-pale);
  color: var(--text-primary);
  border-color: var(--accent-main);
}

.wire-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-tech);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.wire-logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.wire-logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-deep));
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.wire-logo-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.wire-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wire-logo-domain {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

.wire-logo-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.wire-nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.wire-nav-link:hover {
  background: var(--accent-main);
  color: #FFFFFF;
}

.wire-nav-cta {
  background: var(--accent-main);
  color: #FFFFFF !important;
  border-radius: 2px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.wire-nav-cta:hover {
  background: var(--accent-deep);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.wire-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.wire-burger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
  display: block;
}

.wire-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.wire-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.wire-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-global);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  background-image:
    linear-gradient(to right, rgba(165, 243, 252, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165, 243, 252, 0.4) 1px, transparent 1px);
  background-size: 20px 20px;
}

.mobile-drawer.is-open {
  transform: translateY(0);
}

.mobile-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-nav a {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-tech);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

.mobile-drawer.is-open .mobile-drawer-nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(2) { transition-delay: 0.10s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(4) { transition-delay: 0.20s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(6) { transition-delay: 0.30s; }
.mobile-drawer.is-open .mobile-drawer-nav a:nth-child(7) { transition-delay: 0.35s; }

.mobile-drawer-nav a:hover {
  color: var(--accent-main);
}

.hero-wireframe {
  position: relative;
  min-height: auto;
  padding: 4rem 0 5rem 0;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(165, 243, 252, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165, 243, 252, 0.55) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.45) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-annotation {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  display: inline-block;
  border: 1px solid var(--border-tech);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  background: var(--bg-card);
}

.hero-h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-h1 span {
  display: block;
}

.hero-subline {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--accent-deep);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--border-tech);
  background: var(--bg-card);
  border-radius: 2px;
  padding: 1.5rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(165, 243, 252, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165, 243, 252, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-visual-content {
  position: relative;
  z-index: 2;
}

.hero-engine-svg {
  width: 100%;
  height: auto;
  max-height: 280px;
  display: block;
  margin: 0 auto;
}

.section-spacing {
  padding: 5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-eyebrow {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--accent-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--text-primary);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tech-divider {
  height: 1px;
  background: var(--border-tech);
  width: 100%;
  margin: 2rem 0;
  position: relative;
}

.tech-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 8px;
  height: 5px;
  background: var(--accent-main);
}

.stacking-card {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.stacking-card:nth-child(2) { transform: translateX(20px); }
.stacking-card:nth-child(3) { transform: translateX(40px); }
.stacking-card:nth-child(4) { transform: translateX(20px); }
.stacking-card:nth-child(5) { transform: translateX(40px); }
.stacking-card:nth-child(6) { transform: translateX(20px); }

.stacking-card:hover {
  transform: translateX(0) scale(1.04) translateY(-4px) !important;
  z-index: 30;
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-tech);
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--accent-deep);
}

.service-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-main);
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--accent-main);
}

.timeline-node {
  position: relative;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, z-index 0s;
}

.timeline-node:hover {
  transform: translateY(-4px);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 1.6rem;
  width: 16px;
  height: 16px;
  background: var(--accent-main);
  border: 3px solid var(--bg-global);
  border-radius: 2px;
  transform: rotate(45deg);
}

.timeline-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-main);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}

.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, z-index 0s;
  overflow: hidden;
}

.bento-cell:hover {
  transform: scale(1.04) translateY(-4px);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-medium { grid-column: span 2; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }
.bento-tall { grid-column: span 1; grid-row: span 2; }

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 74, 110, 0.05), rgba(12, 74, 110, 0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #FFFFFF;
}

.bento-overlay h3, .bento-overlay p {
  color: #FFFFFF;
}

.split-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-sticky-left {
  position: sticky;
  top: 100px;
}

.split-sticky-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border-tech);
  border-radius: 2px;
}

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  min-height: 380px;
}

.flex-grow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  transition: flex-grow 0.4s ease, transform 0.25s ease, border-color 0.25s ease, z-index 0s;
  cursor: pointer;
  overflow: hidden;
  flex-grow: 1;
}

.flex-grow-card:hover {
  transform: scale(1.06);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
  flex-grow: 2;
}

.flex-grow-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-main);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.team-row {
  display: flex;
  align-items: center;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-tech);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.team-row:hover {
  background: var(--deco-pale);
  color: var(--accent-deep);
  z-index: 20;
}

.team-tooltip {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--bg-card);
  border: 1px solid var(--accent-main);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 30;
  min-width: 280px;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
}

.team-row:hover .team-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.team-tooltip-img {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.team-tooltip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.team-tooltip-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.team-tooltip-role {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--accent-deep);
}

.coverflow {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-main) transparent;
}

.coverflow::-webkit-scrollbar {
  height: 6px;
}

.coverflow::-webkit-scrollbar-track {
  background: transparent;
}

.coverflow::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.5);
  border-radius: 3px;
}

.coverflow-card {
  flex: 0 0 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.75rem;
  scroll-snap-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, z-index 0s;
  display: flex;
  flex-direction: column;
}

.coverflow-card:hover {
  transform: scale(1.03);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
}

.coverflow-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.coverflow-stars {
  color: var(--accent-main);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.coverflow-author {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
  border-top: 1px solid var(--border-tech);
  padding-top: 0.75rem;
  margin-top: auto;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.75rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, z-index 0s;
}

.review-card:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
}

.review-img {
  width: 56px;
  height: 56px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid var(--border-tech);
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--accent-main);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.review-author {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.accordion-item-tech {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  white-space: normal;
}

.accordion-trigger:hover {
  background: var(--deco-pale);
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-main);
  font-weight: 700;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item-tech.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item-tech.is-open .accordion-content {
  max-height: 600px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-tech);
  padding-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-label-tech {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input-tech {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-tech);
  border-radius: 0;
  padding: 0.6rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input-tech:focus {
  border-color: var(--accent-main);
  border-bottom-width: 2px;
}

.form-input-tech::placeholder {
  color: rgba(12, 74, 110, 0.4);
  font-family: var(--font-code);
  font-size: 0.85rem;
}

textarea.form-input-tech {
  min-height: 110px;
  resize: vertical;
  border: 1px solid var(--border-tech);
  padding: 0.75rem;
  border-radius: 2px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--deco-pale);
  color: var(--accent-main);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  display: block;
}

.contact-info-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9000;
  background: var(--bg-card);
  border: 1px solid var(--accent-main);
  border-radius: 2px;
  padding: 1.25rem;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(12, 74, 110, 0.18);
  color: var(--text-primary);
}

.cookie-banner h4 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-buttons button {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  min-height: 38px;
  border: none;
}

.cookie-accept {
  background: var(--accent-main);
  color: #FFFFFF;
}

.cookie-accept:hover {
  background: var(--accent-deep);
}

.cookie-decline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-tech) !important;
}

.cookie-decline:hover {
  background: var(--deco-pale);
}

.cookie-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.cookie-links a {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--accent-deep);
  text-decoration: underline;
}

footer.site-footer {
  background: var(--tech-bg-dark);
  color: #FFFFFF;
  border-radius: 8px 8px 0 0;
  padding: 4rem 0 1.5rem 0;
  margin-top: 5rem;
}

footer.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deco-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

footer.site-footer p,
footer.site-footer li,
footer.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

footer.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.site-footer a:hover {
  color: var(--deco-cyan);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-logo-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent-main);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.spotlight-cursor {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  opacity: 0;
}

.spotlight-cursor.is-active {
  opacity: 1;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.thank-you-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}

.thank-you-mark {
  width: 80px;
  height: 80px;
  background: var(--accent-main);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 2px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, z-index 0s;
  z-index: 1;
  position: relative;
}

.blog-card:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: var(--accent-main);
  border-width: 2px;
  z-index: 20;
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: block;
}

.blog-card-meta {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

.blog-card-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-primary);
}

.legal-prose h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--accent-main);
  padding-left: 0.75rem;
}

.legal-prose h3 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-deep);
}

.legal-prose p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-prose ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-prose li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-main);
}

@media (max-width: 991px) {
  .wire-burger {
    display: flex;
  }

  .desktop-nav {
    display: none !important;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .bento-large { grid-column: span 2; grid-row: span 2; }
  .bento-medium, .bento-wide { grid-column: span 2; grid-row: span 1; }
  .bento-small, .bento-tall { grid-column: span 1; grid-row: span 1; }

  .split-sticky {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-sticky-left {
    position: static;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flex-grow-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-tooltip {
    display: none;
  }

  .team-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .team-row::after {
    content: 'タップで詳細を見る';
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--accent-deep);
    width: 100%;
    margin-top: 0.25rem;
  }
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-large, .bento-medium, .bento-wide, .bento-small, .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
  }

  .stacking-card {
    transform: none !important;
  }

  .stacking-card:hover {
    transform: scale(1.02) !important;
  }

  .section-spacing {
    padding: 3.5rem 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .tech-button-primary,
  .hero-cta-group .tech-button-secondary {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .wire-logo-name {
    font-size: 0.8rem;
  }

  .wire-logo-domain {
    font-size: 0.62rem;
  }

  .wire-logo-mark {
    width: 38px;
    height: 38px;
  }

  .wire-logo-mark svg {
    width: 22px;
    height: 22px;
  }
}

.text-tech-mono {
  font-family: var(--font-mono);
}

.text-tech-code {
  font-family: var(--font-code);
}

.text-accent {
  color: var(--accent-main);
}

.text-deep {
  color: var(--accent-deep);
}

.text-muted-tech {
  color: rgba(12, 74, 110, 0.7);
}

.divider-tech {
  height: 1px;
  background: var(--border-tech);
  margin: 1.5rem 0;
  border: none;
}

.label-tag {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--accent-deep);
  border: 1px solid var(--border-tech);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  background: var(--bg-card);
  letter-spacing: 0.06em;
}

.dot-marker {
  width: 6px;
  height: 6px;
  background: var(--accent-main);
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}
