:root {
  --alabaster: #F8F7F5;
  --alabaster-deep: #EFECE6;
  --graphite: #2C2A28;
  --graphite-soft: #3F3C38;
  --cobalt: #1B3A6E;
  --cobalt-bright: #2A56A8;
  --terracotta: #C5624A;
  --terracotta-deep: #9F4A36;
  --brass: #B89968;
  --pearl: #FAF9F6;
  --emerald: #2E7A5F;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  background-color: var(--alabaster);
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 58, 110, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 58, 110, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: var(--graphite);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.font-display {
  font-family: 'Playfair Display', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: 900;
}

.font-mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 600;
}

.font-italic-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
}

.text-alabaster { color: var(--alabaster); }
.text-graphite { color: var(--graphite); }
.text-cobalt { color: var(--cobalt); }
.text-terracotta { color: var(--terracotta); }
.text-brass { color: var(--brass); }
.text-emerald { color: var(--emerald); }

.bg-alabaster { background-color: var(--alabaster) !important; }
.bg-graphite { background-color: var(--graphite) !important; }
.bg-cobalt { background-color: var(--cobalt) !important; }
.bg-terracotta { background-color: var(--terracotta) !important; }
.bg-pearl { background-color: var(--pearl) !important; }
.bg-alabaster-deep { background-color: var(--alabaster-deep) !important; }

.border-cobalt { border-color: var(--cobalt); }
.border-terracotta { border-color: var(--terracotta); }
.border-graphite { border-color: var(--graphite); }

strong, p, span, a, li, button {
  color: inherit;
}

.floating-pill {
  background: rgba(248, 247, 245, 0.84);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid var(--cobalt);
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(27, 58, 110, 0.12);
}

.diagonal-panel {
  background: rgba(248, 247, 245, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--cobalt);
  border-radius: 12px;
  position: relative;
  transition: all 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.diagonal-panel-cw {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.diagonal-panel-ccw {
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.diagonal-panel:hover {
  z-index: 10;
  border-width: 3px;
  border-color: var(--terracotta);
  box-shadow:
    0 10px 20px rgba(27, 58, 110, 0.12),
    0 28px 56px rgba(27, 58, 110, 0.08),
    0 64px 96px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.glass-card {
  background: rgba(248, 247, 245, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 58, 110, 0.35);
  border-radius: 16px;
  transition: all 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(27, 58, 110, 0.15);
}

.graphite-panel {
  background: var(--graphite);
  color: var(--alabaster);
  border-radius: 16px;
}

.graphite-panel h1,
.graphite-panel h2,
.graphite-panel h3,
.graphite-panel h4 {
  color: var(--alabaster);
}

.graphite-panel .text-graphite {
  color: var(--alabaster);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--terracotta);
  color: var(--alabaster);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1.5px solid var(--cobalt);
  border-radius: 24px;
  cursor: pointer;
  transition: all 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(197, 98, 74, 0.3);
}

.btn-cta:hover {
  background: var(--terracotta-deep);
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(197, 98, 74, 0.45);
  color: var(--alabaster);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(248, 247, 245, 0.6);
  color: var(--graphite);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border: 1.5px solid var(--cobalt);
  border-radius: 24px;
  cursor: pointer;
  transition: all 360ms ease;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--graphite);
  color: var(--alabaster);
  border-color: var(--graphite);
}

.btn-graphite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--graphite);
  color: var(--alabaster);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 32px;
  border: 1.5px solid var(--graphite);
  border-radius: 24px;
  cursor: pointer;
  transition: all 360ms ease;
  white-space: nowrap;
  min-height: 52px;
  text-decoration: none;
}

.btn-graphite:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--alabaster);
}

.tag-mono {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 58, 110, 0.08);
  border: 1px solid rgba(27, 58, 110, 0.4);
  color: var(--cobalt);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-terracotta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 98, 74, 0.12);
  border: 1px solid rgba(197, 98, 74, 0.5);
  color: var(--terracotta-deep);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.italic-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  transform: rotate(-4deg);
  display: inline-block;
}

.inverted-glyph {
  background: var(--cobalt);
  color: var(--alabaster);
  padding: 0 8px;
  border-radius: 4px;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cobalt);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

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

@keyframes slide-right {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-float-in {
  animation: float-in 800ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.animate-slide-right {
  animation: slide-right 700ms ease-out both;
}

.hero-stage {
  min-height: auto;
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero-stage-tall {
  min-height: 100vh;
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.layer-stack {
  position: relative;
  perspective: 1400px;
}

.layer-panel {
  position: absolute;
  background: rgba(248, 247, 245, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 0.8px solid var(--cobalt);
  border-radius: 14px;
  box-shadow:
    0 10px 20px rgba(27, 58, 110, 0.08),
    0 28px 56px rgba(27, 58, 110, 0.05);
  transition: all 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layer-panel:hover {
  z-index: 10;
  border-color: var(--terracotta);
  border-width: 3px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 10px 20px rgba(197, 98, 74, 0.18),
    0 28px 56px rgba(27, 58, 110, 0.1),
    0 64px 96px rgba(0, 0, 0, 0.08);
}

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

.bento-cell-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-cell-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-cell-wide {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-cell-large,
  .bento-cell-small,
  .bento-cell-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.sticky-split {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: start;
}

.sticky-split .sticky-col {
  position: sticky;
  top: 120px;
}

@media (max-width: 1024px) {
  .sticky-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sticky-split .sticky-col {
    position: static;
  }
}

.h-scroll-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 24px;
  padding: 24px 0;
}

.h-scroll-track::-webkit-scrollbar {
  height: 8px;
}

.h-scroll-track::-webkit-scrollbar-track {
  background: var(--alabaster-deep);
  border-radius: 4px;
}

.h-scroll-track::-webkit-scrollbar-thumb {
  background: var(--cobalt);
  border-radius: 4px;
}

.h-card {
  flex: 0 0 78vw;
  max-width: 720px;
  scroll-snap-align: center;
}

@media (min-width: 1024px) {
  .h-card {
    flex: 0 0 60vw;
  }
}

.node-graph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
  position: relative;
}

.node-capsule {
  background: rgba(248, 247, 245, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid var(--cobalt);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.node-capsule:hover {
  transform: scale(1.05);
  border-color: var(--terracotta);
  box-shadow: 0 16px 36px rgba(27, 58, 110, 0.18);
}

@media (max-width: 768px) {
  .node-graph {
    grid-template-columns: 1fr;
  }
  .site-header {
    left: 12px;
    right: 12px;
  }
  .lacquer-wash::before {
    inset: -20px;
  }
}

.coverflow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  perspective: 1400px;
}

.cover-card {
  flex: 0 0 280px;
  transform: rotateY(16deg) scale(0.86);
  opacity: 0.42;
  filter: blur(4px);
  transition: all 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cover-card.active {
  flex: 0 0 360px;
  transform: rotateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 5;
}

.cover-card.prev {
  transform: rotateY(16deg) scale(0.86);
  opacity: 0.42;
  filter: blur(4px);
}

.cover-card.next {
  transform: rotateY(-16deg) scale(0.86);
  opacity: 0.42;
  filter: blur(4px);
}

@media (max-width: 768px) {
  .cover-card,
  .cover-card.active,
  .cover-card.prev,
  .cover-card.next {
    transform: none;
    opacity: 1;
    filter: none;
    flex: 0 0 88%;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--cobalt);
  border-bottom: 1px solid var(--cobalt);
  padding: 32px 0;
}

@media (max-width: 768px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.faq-item {
  border-left: 4px solid var(--cobalt);
  background: rgba(248, 247, 245, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.faq-item:hover,
.faq-item.open {
  border-left-color: var(--terracotta);
  border-left-width: 5px;
  box-shadow: 0 16px 36px rgba(27, 58, 110, 0.14);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms ease;
}

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

.faq-toggle {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 18px;
  color: var(--cobalt);
  transition: transform 380ms ease;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 24px;
}

.contact-grid .contact-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  background: rgba(248, 247, 245, 0.7);
  border: 1.5px solid var(--cobalt);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--graphite);
  transition: all 320ms ease;
}

.form-field:focus {
  outline: none;
  border-color: var(--terracotta);
  border-width: 2px;
  background: var(--alabaster);
  box-shadow: 0 8px 20px rgba(197, 98, 74, 0.18);
}

.form-field::placeholder {
  color: rgba(44, 42, 40, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

.form-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 8px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 5%;
  right: 5%;
  z-index: 100;
  transition: all 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header.scrolled {
  top: 10px;
}

.site-header.scrolled .header-inner {
  height: 58px;
}

.header-inner {
  height: 72px;
  transition: height 320ms ease;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  transition: all 280ms ease;
  position: relative;
}

.nav-pill::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: all 280ms ease;
  transform: translateX(-50%);
}

.nav-pill:hover {
  transform: translateY(-3px);
  color: var(--cobalt);
}

.nav-pill:hover::after {
  width: 70%;
}

.nav-pill.active {
  color: var(--cobalt);
}

.nav-pill.active::after {
  width: 70%;
}

.nav-divider {
  width: 4px;
  height: 4px;
  background: var(--cobalt);
  border-radius: 50%;
  opacity: 0.4;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--graphite);
}

.brand-icon {
  width: 44px;
  height: 48px;
  flex-shrink: 0;
  background: var(--alabaster);
  border: 2px solid var(--cobalt);
  border-radius: 50% / 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 58, 110, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-domain {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
}

.brand-jp {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--graphite-soft);
  margin-top: 2px;
}

.brand-micro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--graphite-soft);
  margin-top: 3px;
}

.site-header.scrolled .brand-jp,
.site-header.scrolled .brand-micro {
  opacity: 0;
  transform: translateY(-6px);
}

.site-header.scrolled .brand-domain {
  font-size: 17px;
}

.burger-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: var(--alabaster);
  border: 1.5px solid var(--cobalt);
  border-radius: 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--cobalt);
  border-radius: 1px;
  transition: all 280ms ease;
}

.burger-btn span:nth-child(1) { width: 24px; }
.burger-btn span:nth-child(2) { width: 16px; }
.burger-btn span:nth-child(3) { width: 10px; }

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 24px;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }
  .burger-btn {
    display: flex;
  }
  .site-header {
    left: 2%;
    right: 2%;
  }
  .header-inner {
    height: 56px;
  }
  .brand-domain {
    font-size: 14px;
  }
  .brand-icon {
    width: 32px;
    height: 36px;
  }
  .brand-jp,
  .brand-micro {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 247, 245, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 90px 24px 32px;
  transform: translateY(-100%);
  transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
}

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

.mobile-menu .nav-pill {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 14px 22px;
  background: rgba(248, 247, 245, 0.7);
  backdrop-filter: blur(28px);
  border: 1.5px solid var(--cobalt);
  border-radius: 20px;
  margin-bottom: 12px;
  color: var(--graphite);
  display: block;
  text-align: center;
}

.mobile-menu .nav-pill:hover {
  background: var(--terracotta);
  color: var(--alabaster);
  border-color: var(--terracotta);
}

.site-footer {
  background: var(--alabaster);
  border-top: 1px solid var(--cobalt);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: rgba(248, 247, 245, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid var(--cobalt);
  border-radius: 16px;
  padding: 24px;
  z-index: 1000;
  box-shadow: 0 16px 40px rgba(27, 58, 110, 0.18);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(248, 247, 245, 0.92) 0%, rgba(248, 247, 245, 0.6) 100%);
  pointer-events: none;
}

.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(27, 58, 110, 0.3);
  background: var(--alabaster-deep);
}

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

.img-frame-tall {
  aspect-ratio: 3 / 4;
}

.img-frame-wide {
  aspect-ratio: 16 / 10;
}

.img-frame-square {
  aspect-ratio: 1 / 1;
}

.duotone-cobalt img {
  filter: contrast(1.05) saturate(0.85);
}

.process-step {
  background: rgba(248, 247, 245, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--cobalt);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27, 58, 110, 0.15);
}

.testimonial-row {
  padding: 28px 0;
  border-bottom: 1px solid rgba(27, 58, 110, 0.2);
  cursor: pointer;
  transition: all 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-row:hover {
  transform: translateX(14px);
  border-bottom-color: var(--terracotta);
}

.testimonial-row:hover .testimonial-detail {
  max-height: 240px;
  opacity: 1;
  margin-top: 16px;
}

.testimonial-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 380ms ease, opacity 380ms ease, margin-top 380ms ease;
}

.article-card {
  background: rgba(248, 247, 245, 0.84);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(27, 58, 110, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 58, 110, 0.15);
  border-color: var(--terracotta);
}

.success-banner {
  background: rgba(46, 122, 95, 0.1);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  padding: 18px 22px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.price-tag {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--cobalt);
}

.price-suffix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--graphite-soft);
  margin-left: 6px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cobalt), transparent);
  opacity: 0.4;
}

.lacquer-wash {
  position: relative;
}

.lacquer-wash::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 153, 104, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(27, 58, 110, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.text-shadow-strong {
  text-shadow: 0 2px 12px rgba(248, 247, 245, 0.9), 0 4px 24px rgba(248, 247, 245, 0.6);
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  h1 { font-size: 48px !important; }
  h2 { font-size: 36px !important; }
  h3 { font-size: 24px !important; }
  .hero-stage-tall {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-stage {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .site-footer {
    padding-top: 60px;
  }
  .section-eyebrow {
    font-size: 10px;
  }
  .h-card {
    flex: 0 0 85vw;
    max-width: 340px;
  }
  .coverflow {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 16px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }
  .diagonal-panel {
    overflow: hidden;
  }
  .stat-row .font-display {
    font-size: 48px !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 20px !important; }
  .stat-row .font-display {
    font-size: 40px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  h1 { font-size: 72px !important; }
  h2 { font-size: 48px !important; }
}

.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease;
}

.read-more-content.open {
  max-height: 4000px;
}

.link-underline {
  position: relative;
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 600;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

::selection {
  background: var(--cobalt);
  color: var(--alabaster);
}

input[type="submit"], button[type="submit"] {
  cursor: pointer;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}