@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;700&family=Shippori+Mincho:wght@400;500;700;800&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  --earthy-rice: #F6F1E8;
  --earthy-indigo: #2C2B28;
  --earthy-terracotta: #B37E56;
  --earthy-sage: #7A8B6E;
  --earthy-sand: #C4B595;
  --earthy-walnut: #5C4A3A;
  --earthy-limestone: #D9CDBF;
  --earthy-cream: rgba(246, 241, 232, 0.94);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--earthy-rice);
  color: var(--earthy-indigo);
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

strong, p { color: inherit; }

.font-display {
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.font-jp-display {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.font-jp-ui {
  font-family: 'Noto Serif JP', 'EB Garamond', serif;
}

.earthy-bg {
  position: relative;
  background: var(--earthy-rice);
  overflow: hidden;
}

.earthy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(179, 126, 86, 0.32) 0px, transparent 480px),
    radial-gradient(circle at 88% 32%, rgba(122, 139, 110, 0.30) 0px, transparent 520px),
    radial-gradient(circle at 22% 82%, rgba(196, 181, 149, 0.36) 0px, transparent 560px),
    radial-gradient(circle at 78% 88%, rgba(92, 74, 58, 0.22) 0px, transparent 480px),
    radial-gradient(circle at 50% 50%, rgba(217, 205, 191, 0.30) 0px, transparent 700px);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.earthy-bg > * {
  position: relative;
  z-index: 1;
}

.capsule-panel {
  background: rgba(255, 252, 244, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(44, 43, 40, 0.08);
  border-radius: 48px;
}

.capsule-card {
  background: #FBF7EE;
  border-radius: 40px;
  border: 1px solid rgba(92, 74, 58, 0.10);
  box-shadow: 8px 20px 0 0 rgba(110, 80, 60, 0.10), 0 32px 64px rgba(90, 70, 50, 0.05);
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 420ms cubic-bezier(0.34, 1.56, 0.64, 1), z-index 420ms;
  position: relative;
}

.capsule-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 12px 30px 0 0 rgba(148, 102, 68, 0.28), 0 40px 80px rgba(90, 70, 50, 0.08);
  z-index: 10;
}

.btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  background: var(--earthy-terracotta);
  color: #FBF7EE;
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(92, 74, 58, 0.15);
  box-shadow: 8px 16px 0 0 rgba(148, 102, 68, 0.22);
  transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 360ms, background 300ms;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-capsule:hover {
  transform: translateY(-3px) scale(1.03);
  background: #A06E48;
  box-shadow: 10px 22px 0 0 rgba(148, 102, 68, 0.32);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  background: rgba(255, 252, 244, 0.65);
  color: var(--earthy-indigo);
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1.5px solid var(--earthy-indigo);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 300ms, transform 300ms;
}

.btn-ghost:hover {
  background: var(--earthy-indigo);
  color: #FBF7EE;
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 112px;
  background: var(--earthy-cream);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(44, 43, 40, 0.12);
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--earthy-indigo);
}

.logo-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #FBF7EE;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(92, 74, 58, 0.20);
}

.logo-domain {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--earthy-indigo);
}

.logo-jp {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  opacity: 0.75;
  color: var(--earthy-indigo);
}

.logo-jp .accent { color: var(--earthy-terracotta); font-weight: 700; }

.nav-link {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--earthy-indigo);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 240ms;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--earthy-terracotta);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--earthy-terracotta);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--earthy-indigo);
  border-radius: 12px;
  cursor: pointer;
  color: var(--earthy-indigo);
}

.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--earthy-cream);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 43, 40, 0.12);
  padding: 24px;
  z-index: 55;
  display: none;
  border-radius: 0 0 36px 36px;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideDownSoft 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDownSoft {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu .nav-link {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(44, 43, 40, 0.08);
  font-size: 14px;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero-inner {
  max-width: 1080px;
  width: 100%;
  text-align: center;
  padding: 64px 32px;
}

.mono-marker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--earthy-walnut);
  text-transform: uppercase;
}

.divider-wave {
  width: 280px;
  height: 4px;
  margin: 28px auto;
  background: var(--earthy-terracotta);
  border-radius: 999px;
  position: relative;
}

.divider-wave::before, .divider-wave::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  height: 4px;
  background: var(--earthy-terracotta);
  border-radius: 999px;
  transform: translateY(-50%);
  opacity: 0.4;
}

.divider-wave::before { left: -56px; }
.divider-wave::after { right: -56px; }

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 252, 244, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--earthy-walnut);
  border: 1px solid rgba(92, 74, 58, 0.18);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--earthy-terracotta);
  border-radius: 50%;
  animation: livePulse 1800ms infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(179, 126, 86, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(179, 126, 86, 0); }
}

.editorial-columns {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.editorial-pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--earthy-walnut);
  padding: 24px 0;
}

.tech-inset {
  padding: 18px 22px;
  background: var(--earthy-sage);
  color: #FBF7EE;
  border-radius: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.tech-inset .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  display: block;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.service-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(122, 139, 110, 0.18);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--earthy-walnut);
  align-self: flex-start;
}

.service-card .photo-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(92, 74, 58, 0.10);
}

.service-card .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--earthy-terracotta) transparent;
}

.workflow-rail::-webkit-scrollbar { height: 8px; }
.workflow-rail::-webkit-scrollbar-thumb { background: var(--earthy-terracotta); border-radius: 999px; }

.workflow-step {
  flex: 0 0 360px;
  scroll-snap-align: start;
  padding: 28px;
  background: #FBF7EE;
  border-radius: 36px;
  border: 1px solid rgba(92, 74, 58, 0.10);
  position: relative;
}

.workflow-step .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--earthy-terracotta);
  line-height: 1;
}

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

.advantage-card {
  padding: 28px;
  background: #FBF7EE;
  border-radius: 36px;
  border: 1px solid rgba(92, 74, 58, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 360ms;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 26px 0 0 rgba(148, 102, 68, 0.24);
}

.advantage-card.tall { min-height: 320px; }
.advantage-card.med { min-height: 260px; }
.advantage-card.short { min-height: 200px; }

.advantage-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--earthy-terracotta);
  line-height: 1;
}

.project-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 28px;
  background: #FBF7EE;
  border-radius: 44px;
  border: 1px solid rgba(92, 74, 58, 0.10);
  align-items: center;
}

.project-card .photo {
  aspect-ratio: 4/3;
  border-radius: 32px;
  overflow: hidden;
}

.project-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.project-card:nth-child(even) .photo { order: 2; }

.team-canvas {
  position: relative;
  min-height: 580px;
  padding: 24px;
}

.team-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  background: #FBF7EE;
  border-radius: 32px;
  border: 1px solid rgba(92, 74, 58, 0.10);
  box-shadow: 8px 20px 0 0 rgba(110, 80, 60, 0.10);
  cursor: grab;
  transition: transform 280ms, box-shadow 280ms, z-index 280ms;
  user-select: none;
}

.team-card:active { cursor: grabbing; }

.team-card:hover {
  z-index: 30;
  transform: scale(1.05);
  box-shadow: 12px 28px 0 0 rgba(148, 102, 68, 0.30);
  border-color: var(--earthy-terracotta);
}

.team-card .photo {
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-item {
  background: #FBF7EE;
  border: 1px solid rgba(92, 74, 58, 0.10);
  border-radius: 28px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 280ms;
}

.faq-item:hover {
  box-shadow: 6px 14px 0 0 rgba(148, 102, 68, 0.16);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--earthy-indigo);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(179, 126, 86, 0.18);
  color: var(--earthy-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 320ms, background 280ms;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--earthy-terracotta);
  color: #FBF7EE;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--earthy-walnut);
  font-size: 16px;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 480px;
}

.review-list {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.review-row {
  padding: 18px 4px;
  border-bottom: 1px solid rgba(92, 74, 58, 0.12);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: padding 240ms, color 240ms;
}

.review-row:hover {
  padding-left: 14px;
  color: var(--earthy-terracotta);
}

.review-photo {
  aspect-ratio: 4/3;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 16px;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-display {
  display: none;
}

.review-display.active {
  display: block;
  animation: fadeUp 420ms ease;
}

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

.contact-card {
  padding: 40px;
  background: #FBF7EE;
  border-radius: 48px;
  border: 1px solid rgba(92, 74, 58, 0.10);
}

.contact-map {
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(179, 126, 86, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(122, 139, 110, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, #E8DCC4 0%, #D9CDBF 100%);
  border-radius: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 74, 58, 0.14);
}

.contact-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0%, transparent 24%, rgba(92, 74, 58, 0.10) 24%, rgba(92, 74, 58, 0.10) 25%, transparent 25%),
    linear-gradient(90deg, transparent 0%, transparent 24%, rgba(92, 74, 58, 0.10) 24%, rgba(92, 74, 58, 0.10) 25%, transparent 25%);
  background-size: 80px 80px;
  opacity: 0.45;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--earthy-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FBF7EE;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(148, 102, 68, 0.40);
  animation: pinFloat 4s ease-in-out infinite;
}

@keyframes pinFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -56%); }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--earthy-walnut);
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  background: #FBF7EE;
  border: 1.5px solid rgba(92, 74, 58, 0.18);
  border-radius: 16px;
  color: var(--earthy-indigo);
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
  font-size: 15px;
  transition: border-color 240ms, box-shadow 240ms;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--earthy-terracotta);
  box-shadow: 0 0 0 4px rgba(179, 126, 86, 0.18);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(92, 74, 58, 0.45);
  font-style: italic;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  max-width: 380px;
  padding: 22px 24px;
  background: #FBF7EE;
  border: 1px solid rgba(92, 74, 58, 0.18);
  border-radius: 32px;
  box-shadow: 0 24px 48px rgba(90, 70, 50, 0.18);
  z-index: 90;
}

.cookie-banner h4 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--earthy-indigo);
}

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--earthy-walnut);
  line-height: 1.55;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--earthy-indigo);
  background: transparent;
  color: var(--earthy-indigo);
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 240ms, color 240ms;
}

.cookie-buttons button.primary {
  background: var(--earthy-terracotta);
  border-color: var(--earthy-terracotta);
  color: #FBF7EE;
}

.cookie-buttons button:hover {
  background: var(--earthy-indigo);
  color: #FBF7EE;
  border-color: var(--earthy-indigo);
}

.cookie-buttons button.primary:hover {
  background: #A06E48;
  border-color: #A06E48;
}

.site-footer {
  background: var(--earthy-walnut);
  color: #F6F1E8;
  padding: 72px 24px 32px;
  margin-top: 80px;
}

.site-footer h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  color: var(--earthy-sand);
}

.site-footer a {
  color: #F6F1E8;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 240ms, color 240ms;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--earthy-terracotta);
}

.site-footer .copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 232, 0.16);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.fade-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 720ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up-d1 { animation-delay: 120ms; }
.fade-up-d2 { animation-delay: 240ms; }
.fade-up-d3 { animation-delay: 360ms; }
.fade-up-d4 { animation-delay: 480ms; }
.fade-up-d5 { animation-delay: 600ms; }

.success-message {
  padding: 24px;
  background: rgba(122, 139, 110, 0.18);
  border: 1px solid var(--earthy-sage);
  border-radius: 24px;
  color: var(--earthy-indigo);
  display: none;
}

.success-message.visible {
  display: block;
  animation: fadeUp 480ms ease;
}

.thanks-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
  font-size: 36px;
  margin: 32px 0 14px;
  color: var(--earthy-indigo);
}

.legal-content p, .legal-content li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--earthy-walnut);
  margin: 0 0 12px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--earthy-terracotta);
  text-transform: uppercase;
  margin-bottom: 18px;
}

@media (max-width: 1024px) {
  .editorial-columns { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-masonry { grid-template-columns: repeat(2, 1fr); }
  .review-list { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card:nth-child(even) { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .photo { order: 0; }
}

@media (max-width: 768px) {
  .site-header { height: 68px; }
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .logo-icon { width: 48px; height: 48px; }
  .logo-domain { font-size: 16px; line-height: 4px; }
  .logo-jp { font-size: 9px; }
  .hero-section { min-height: auto; padding: 48px 16px; }
  .hero-inner { padding: 36px 18px; }
  .hero-inner h1 { font-size: 44px !important; line-height: 1.1 !important; }
.hero-section h2, .hero-inner h2 { font-size: 36px !important; line-height: 1.15 !important; }

@media (max-width: 768px) {
  .capsule-panel { overflow: hidden; }
  .service-card, .advantage-card { overflow: hidden; }
}
  .divider-wave { width: 180px; }
  .divider-wave::before, .divider-wave::after { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .advantage-masonry { grid-template-columns: 1fr; }
  .workflow-step { flex: 0 0 280px; }
  .team-canvas { min-height: auto; display: flex; flex-direction: column; gap: 18px; }
  .team-card { position: relative; width: 100%; top: 0 !important; left: 0 !important; }
  .contact-card { padding: 28px 22px; }
  .site-footer { padding: 48px 20px 24px; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .legal-content h2 { font-size: 28px; }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}
