@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora.ttf") format("truetype");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1eb;
  --paper: #fffaf0;
  --paper-soft: rgba(255, 250, 240, 0.72);
  --ink: #171512;
  --muted: #5f5850;
  --soft: #e4dbcd;
  --blue: #d9eef8;
  --blue-strong: #a8d7ea;
  --pink: #f7dce7;
  --pink-strong: #efb8cc;
  --lilac: #e8e0f6;
  --line: rgba(23, 21, 18, 0.12);
  --accent: #8d6ad0;
  --accent-dark: #594582;
  --green: #234d43;
  --green-soft: #dce8e1;
  --shadow: 0 28px 90px rgba(50, 48, 76, 0.14);
  --display: "Sora", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --nav: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

.theme-dark {
  --bg: #080b12;
  --paper: #121823;
  --paper-soft: rgba(18, 24, 35, 0.76);
  --ink: #f7f1e8;
  --muted: #b9c0cc;
  --soft: #263143;
  --blue: #112f45;
  --blue-strong: #2c789c;
  --pink: #402439;
  --pink-strong: #b76886;
  --lilac: #2b2443;
  --line: rgba(247, 241, 232, 0.14);
  --accent: #b993e8;
  --accent-dark: #dbc4ff;
  --green: #91e4cd;
  --green-soft: #143029;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 238, 248, 0.85), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgba(247, 220, 231, 0.92), transparent 24rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, #f0e6ee 100%);
}

.theme-dark {
  background:
    radial-gradient(circle at 12% 8%, rgba(44, 120, 156, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(141, 106, 208, 0.18), transparent 26rem),
    linear-gradient(180deg, #06080d 0%, var(--bg) 46%, #111729 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.84);
  backdrop-filter: blur(18px);
}

.theme-dark .site-header {
  background: rgba(8, 11, 18, 0.84);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
  align-self: center;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: clamp(9.8rem, 15vw, 12.25rem);
  line-height: 1.04;
  transform: translateY(3px);
}

.brand-copy strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-copy span {
  display: block;
  width: 100%;
  max-width: none;
  color: rgba(75, 72, 84, 0.56);
  font-size: clamp(0.604rem, 0.817vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-dark .brand-copy span {
  color: rgba(247, 241, 232, 0.58);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  color: var(--muted);
  font-family: var(--nav);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.018em;
}

.site-nav a {
  transition: color 160ms ease;
}

.theme-link {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

button.theme-link {
  cursor: pointer;
  font: inherit;
}

.theme-dark .theme-link {
  background: rgba(247, 241, 232, 0.08);
  box-shadow: inset 0 1px 0 rgba(247, 241, 232, 0.1);
}

.theme-link:hover {
  transform: translateY(-1px);
  background: var(--paper);
}

.theme-dark .theme-link:hover {
  background: rgba(247, 241, 232, 0.16);
}

.theme-link svg {
  grid-area: 1 / 1;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.theme-icon-sun {
  opacity: 0;
  transform: scale(0.82) rotate(-24deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-dark .theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.theme-dark .theme-icon-moon {
  opacity: 0;
  transform: scale(0.82) rotate(24deg);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.95fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.96) 0%, rgba(251, 247, 239, 0.9) 42%, rgba(251, 247, 239, 0.42) 72%, rgba(217, 238, 248, 0.22) 100%),
    linear-gradient(180deg, rgba(247, 220, 231, 0.18), rgba(217, 238, 248, 0.22)),
    url("assets/photos/hero-main.jpg") center / cover no-repeat;
}

.theme-dark .hero::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.88) 45%, rgba(6, 8, 13, 0.5) 72%, rgba(17, 47, 69, 0.32) 100%),
    linear-gradient(180deg, rgba(64, 36, 57, 0.24), rgba(17, 47, 69, 0.26)),
    url("assets/photos/hero-main.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(228, 219, 205, 0.46));
}

.theme-dark .hero::after {
  background: linear-gradient(180deg, transparent, rgba(8, 11, 18, 0.82));
}

.hero-content {
  position: relative;
  width: min(100%, 58rem);
  animation: rise 680ms ease-out both;
}

.hero-visual {
  position: relative;
  width: min(100%, 34rem);
  justify-self: center;
  pointer-events: none;
  opacity: 1;
  animation: float-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo-stage {
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-brand-lockup {
  display: grid;
  justify-items: center;
  width: min(100%, clamp(16rem, 31vw, 30rem));
  opacity: 0.92;
  filter: drop-shadow(0 28px 58px rgba(28, 26, 31, 0.16));
}

.theme-dark .hero-brand-lockup {
  opacity: 0.96;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.58));
}

.hero-brand-lockup img {
  width: min(72%, 18rem);
}

.theme-dark .hero-brand-lockup img {
  filter:
    saturate(0.92)
    brightness(0.96)
    contrast(1.03)
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 42px rgba(255, 255, 255, 0.08));
}

.hero-brand-lockup strong {
  margin-top: 0.8rem;
  color: #2d3558;
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.6vw, 4.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  white-space: nowrap;
}

.theme-dark .hero-brand-lockup strong {
  color: #f7f1e8;
  text-shadow: 0 0 34px rgba(185, 147, 232, 0.2);
}

.method-rail span,
.scenario-card span,
.usecase-list span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(72%, 18rem);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 48px rgba(50, 48, 76, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.hero-caption span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-caption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.1;
}

.hero-logo {
  position: absolute;
  right: -1.6rem;
  bottom: -1.6rem;
  width: 8rem;
  border-radius: 50%;
  opacity: 0.2;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
}

h1 {
  max-width: 15.5ch;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

.lead {
  max-width: 45rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.section-intro,
.scenario-card p,
.method-rail p,
.boundary-grid li,
.split-copy p,
.contact-block p,
.detail-grid p,
.usecase-list p,
.intro-grid p,
.location-layout p,
.service-limit p,
.safety-list p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 34px rgba(255, 255, 255, 0.56),
    0 20px 48px rgba(255, 255, 255, 0.2);
}

.theme-dark .button-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 0 42px rgba(255, 255, 255, 0.42),
    0 22px 58px rgba(255, 255, 255, 0.16);
}

.button-primary {
  color: #fff8ed;
  background: #1c1a1f;
}

.theme-dark .button-primary {
  color: #080b12;
  background: #f7f1e8;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 250, 240, 0.68);
}

.theme-dark .button-secondary {
  color: var(--ink);
  background: rgba(18, 24, 35, 0.72);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 48rem;
  margin-top: 2rem;
}

.trust-strip span {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.58);
  font-size: 0.95rem;
}

.theme-dark .trust-strip span {
  background: rgba(18, 24, 35, 0.68);
}

.section {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1rem, 4vw, 3rem);
}

.opening,
.method-section,
.boundaries,
.direct-client,
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.opening {
  --section-image: url("assets/photos/found-material.jpg");
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(217, 238, 248, 0.34) 45%, rgba(255, 250, 240, 0));
}

.theme-dark .opening {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0), rgba(17, 47, 69, 0.36) 45%, rgba(8, 11, 18, 0));
}

.opening::before,
.method-section::before,
.direct-client::before {
  position: absolute;
  inset: 2rem clamp(1rem, 4vw, 3rem) auto auto;
  z-index: 0;
  width: min(24vw, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: rgba(247, 220, 231, 0.45);
  filter: blur(40px);
  pointer-events: none;
}

.theme-dark .opening::before,
.theme-dark .method-section::before,
.theme-dark .direct-client::before {
  background: rgba(141, 106, 208, 0.22);
}

.opening > *,
.method-section > *,
.boundaries > *,
.direct-client > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.opening::after,
.method-section::after,
.boundaries::after,
.direct-client::after,
.contact::after {
  position: absolute;
  inset: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 4rem) auto;
  z-index: 0;
  width: min(42vw, 38rem);
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 241, 235, 0.98), rgba(244, 241, 235, 0.42) 45%, rgba(244, 241, 235, 0.1)),
    var(--section-image) center / cover no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.58;
  filter: saturate(0.96);
  transform: scale(1);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.78) 72%, rgba(0, 0, 0, 0.26) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.78) 72%, rgba(0, 0, 0, 0.26) 88%, transparent 100%);
  pointer-events: none;
}

.theme-dark .opening::after,
.theme-dark .method-section::after,
.theme-dark .boundaries::after,
.theme-dark .direct-client::after,
.theme-dark .contact::after {
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.82), rgba(8, 11, 18, 0.38) 48%, rgba(8, 11, 18, 0.22)),
    var(--section-image) center / cover no-repeat;
  border: 0;
  box-shadow: none;
  opacity: 0.42;
  filter: saturate(0.86) brightness(0.88);
  transform: scale(1.01);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.24) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.24) 88%, transparent 100%);
}

.section-heading {
  max-width: 70rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-intro {
  max-width: 56rem;
  margin: -2rem 0 3rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-flow: dense;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  background: transparent;
  border: 0;
}

.scenario-card {
  min-height: 18rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 20px 46px rgba(50, 48, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.theme-dark .scenario-card {
  border-color: rgba(247, 241, 232, 0.12);
  background: rgba(18, 24, 35, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(247, 241, 232, 0.08);
}

.scenario-card:hover {
  background: #fffaf0;
  transform: translateY(-5px) rotate(-0.35deg);
  box-shadow: 0 28px 62px rgba(50, 48, 76, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.theme-dark .scenario-card:hover {
  background: rgba(24, 32, 46, 0.92);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(247, 241, 232, 0.12);
}

.scenario-card:nth-child(1),
.scenario-card:nth-child(6) {
  grid-column: span 2;
}

.tone-blue {
  background: linear-gradient(145deg, rgba(217, 238, 248, 0.9), rgba(255, 250, 240, 0.72));
}

.theme-dark .tone-blue {
  background: linear-gradient(145deg, rgba(17, 47, 69, 0.95), rgba(18, 24, 35, 0.82));
}

.tone-pink {
  background: linear-gradient(145deg, rgba(247, 220, 231, 0.92), rgba(255, 250, 240, 0.72));
}

.theme-dark .tone-pink {
  background: linear-gradient(145deg, rgba(64, 36, 57, 0.95), rgba(18, 24, 35, 0.82));
}

.tone-lilac {
  background: linear-gradient(145deg, rgba(232, 224, 246, 0.82), rgba(255, 250, 240, 0.72));
}

.theme-dark .tone-lilac {
  background: linear-gradient(145deg, rgba(43, 36, 67, 0.96), rgba(18, 24, 35, 0.82));
}

.tone-cream {
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.9), rgba(217, 238, 248, 0.42));
}

.theme-dark .tone-cream {
  background: linear-gradient(145deg, rgba(39, 49, 67, 0.96), rgba(17, 47, 69, 0.62));
}

.scenario-card h3 {
  max-width: 13ch;
}

.scenario-card p {
  max-width: 26rem;
  margin: 1rem 0 0;
}

.method-section {
  --section-image: url("assets/photos/method-desk.jpg");
  background:
    linear-gradient(180deg, rgba(247, 220, 231, 0.28), rgba(217, 238, 248, 0.36) 58%, rgba(255, 250, 240, 0));
}

.theme-dark .method-section {
  background:
    linear-gradient(180deg, rgba(64, 36, 57, 0.28), rgba(17, 47, 69, 0.34) 58%, rgba(8, 11, 18, 0));
}

.method-section::before {
  inset: auto auto 4rem clamp(1rem, 4vw, 3rem);
  background: rgba(217, 238, 248, 0.62);
}

.theme-dark .method-section::before {
  background: rgba(44, 120, 156, 0.28);
}

.method-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  border: 0;
  background: transparent;
}

.method-rail article {
  min-height: 19rem;
  padding: 1.5rem;
  border: 0;
  outline: 0;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.method-rail article:hover {
  box-shadow:
    0 0 34px rgba(255, 255, 255, 0.5),
    0 22px 54px rgba(255, 255, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

.theme-dark .method-rail article {
  background: rgba(18, 24, 35, 0.74);
  box-shadow: inset 0 1px 0 rgba(247, 241, 232, 0.08);
}

.theme-dark .method-rail article:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 42px rgba(255, 255, 255, 0.42),
    0 24px 64px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.method-rail h3 {
  font-size: 1.35rem;
}

.safety-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff8ed;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(247, 220, 231, 0.28), transparent 18rem),
    linear-gradient(135deg, #1b1a20, #24354a 54%, #594582);
  box-shadow: var(--shadow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.safety-panel:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 42px rgba(255, 255, 255, 0.26),
    0 32px 82px rgba(50, 48, 76, 0.2);
}

.theme-dark .safety-panel {
  background:
    radial-gradient(circle at 90% 10%, rgba(185, 147, 232, 0.22), transparent 18rem),
    linear-gradient(135deg, #111827, #162d42 54%, #34245a);
}

.theme-dark .safety-panel:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 46px rgba(255, 255, 255, 0.2),
    0 34px 86px rgba(0, 0, 0, 0.48);
}

.safety-panel .eyebrow,
.safety-panel h2 {
  color: #fff8ed;
}

.safety-list {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.safety-list p {
  margin: 0;
  color: rgba(255, 248, 237, 0.78);
}

.boundary-grid,
.split-copy,
.intro-grid,
.location-layout,
.contact-cardless {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.boundaries {
  --section-image: url("assets/photos/boundaries.jpg");
}

.boundary-grid > div,
.contact-block,
.detail-grid article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.boundary-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.boundary-grid li {
  margin-bottom: 0.7rem;
}

.direct-client {
  --section-image: url("assets/photos/consultation.jpg");
  background:
    linear-gradient(90deg, rgba(247, 220, 231, 0.35), rgba(217, 238, 248, 0.55));
}

.theme-dark .direct-client {
  background:
    linear-gradient(90deg, rgba(64, 36, 57, 0.32), rgba(17, 47, 69, 0.5));
}

.direct-client::before {
  inset: 8rem auto auto 6vw;
  background: rgba(247, 220, 231, 0.56);
}

.contact-block {
  max-width: 62rem;
}

.contact {
  --section-image: url("assets/photos/private-step.jpg");
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  min-height: 68svh;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(217, 238, 248, 0.5)),
    radial-gradient(circle at 85% 24%, rgba(247, 220, 231, 0.68), transparent 25%);
}

.theme-dark .page-hero {
  background:
    linear-gradient(135deg, rgba(18, 24, 35, 0.94), rgba(17, 47, 69, 0.5)),
    radial-gradient(circle at 85% 24%, rgba(141, 106, 208, 0.32), transparent 25%);
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(100%, 58rem);
}

.page-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(66vw, 58rem);
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.42;
  filter: blur(8px) saturate(0.92);
  transform: scale(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 16%, #000 48%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 16%, #000 48%, transparent 100%);
}

.theme-dark .page-hero-photo {
  opacity: 0.34;
  filter: blur(9px) saturate(0.82) brightness(0.78);
}

.page-hero-logo {
  width: min(100%, 10rem);
  justify-self: end;
  border-radius: 50%;
  opacity: 0.88;
}

.detail-page,
.process-note {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.detail-page::after,
.process-note::after {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 0;
  width: min(44vw, 34rem);
  height: min(56%, 28rem);
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 241, 235, 0.96), rgba(244, 241, 235, 0.32)),
    var(--section-image, none) center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.theme-dark .detail-page::after,
.theme-dark .process-note::after {
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.98), rgba(8, 11, 18, 0.38)),
    var(--section-image, none) center / cover no-repeat;
  opacity: 0.18;
}

.detail-page > *,
.process-note > * {
  position: relative;
  z-index: 1;
}

.page-hardware {
  --section-image: url("assets/photos/hardware-wallet.jpg");
}

.page-seed {
  --section-image: url("assets/photos/seed-ledger.jpg");
}

.page-exchange {
  --section-image: url("assets/photos/exchange-docs.jpg");
}

.page-discovery {
  --section-image: url("assets/photos/asset-discovery.jpg");
}

.page-transfer {
  --section-image: url("assets/photos/safe-transfer.jpg");
}

.page-review {
  --section-image: url("assets/photos/treatability.jpg");
}

.page-supported {
  --section-image: url("assets/photos/supported-cases.jpg");
}

.page-limits {
  --section-image: url("assets/photos/boundaries.jpg");
}

.page-privacy {
  --section-image: url("assets/photos/private-step.jpg");
}

.page-cookies {
  --section-image: url("assets/photos/method-desk.jpg");
}

.page-not-found {
  --section-image: url("assets/photos/boundaries.jpg");
}

.page-hardware .page-hero-photo,
.page-seed .page-hero-photo,
.page-exchange .page-hero-photo,
.page-discovery .page-hero-photo,
.page-transfer .page-hero-photo,
.page-review .page-hero-photo,
.page-supported .page-hero-photo,
.page-limits .page-hero-photo,
.page-legal .page-hero-photo {
  opacity: 0.44;
}

.page-hardware .page-hero,
.page-seed .page-hero,
.page-exchange .page-hero,
.page-discovery .page-hero,
.page-transfer .page-hero,
.page-review .page-hero,
.page-supported .page-hero,
.page-limits .page-hero,
.page-legal .page-hero {
  min-height: 64svh;
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.page-hardware .page-hero + .section,
.page-seed .page-hero + .section,
.page-exchange .page-hero + .section,
.page-discovery .page-hero + .section,
.page-transfer .page-hero + .section,
.page-review .page-hero + .section,
.page-supported .page-hero + .section,
.page-limits .page-hero + .section,
.page-legal .page-hero + .section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.page-hardware .detail-grid,
.page-seed .detail-grid,
.page-exchange .detail-grid,
.page-discovery .detail-grid,
.page-transfer .detail-grid,
.page-review .detail-grid,
.page-supported .usecase-list,
.page-limits .usecase-list {
  align-items: stretch;
}

.page-hardware .detail-grid article,
.page-seed .detail-grid article,
.page-exchange .detail-grid article,
.page-discovery .detail-grid article,
.page-transfer .detail-grid article,
.page-review .detail-grid article,
.page-supported .usecase-list article,
.page-limits .usecase-list article {
  min-height: 13.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 42px rgba(50, 48, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.theme-dark.page-hardware .detail-grid article,
.theme-dark.page-seed .detail-grid article,
.theme-dark.page-exchange .detail-grid article,
.theme-dark.page-discovery .detail-grid article,
.theme-dark.page-transfer .detail-grid article,
.theme-dark.page-review .detail-grid article,
.theme-dark.page-supported .usecase-list article,
.theme-dark.page-limits .usecase-list article {
  border-color: rgba(247, 241, 232, 0.1);
  background: rgba(18, 24, 35, 0.72);
  box-shadow: inset 0 1px 0 rgba(247, 241, 232, 0.08);
}

.page-supported .process-note,
.page-limits .process-note {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
}

.page-supported .intro-grid,
.page-limits .service-limit {
  max-width: 68rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--nav);
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-toc a {
  width: fit-content;
  color: var(--ink);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.legal-toc a:hover {
  color: var(--accent-dark);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-card {
  padding: clamp(1.25rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 42px rgba(50, 48, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-dark .legal-card {
  border-color: rgba(247, 241, 232, 0.1);
  background: rgba(18, 24, 35, 0.72);
  box-shadow: inset 0 1px 0 rgba(247, 241, 232, 0.08);
}

.legal-card:hover {
  background: #fffaf0;
  transform: translateY(-5px) rotate(-0.25deg);
  box-shadow: 0 28px 62px rgba(50, 48, 76, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.theme-dark .legal-card:hover {
  background: rgba(24, 32, 46, 0.92);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(247, 241, 232, 0.12);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.not-found-hero h1 {
  max-width: 12ch;
}

.detail-grid,
.usecase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.detail-grid article,
.usecase-list article,
.usecase-card {
  min-height: 12rem;
  padding: clamp(1.25rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 42px rgba(50, 48, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-dark .detail-grid article,
.theme-dark .usecase-list article,
.theme-dark .usecase-card {
  border-color: rgba(247, 241, 232, 0.1);
  background: rgba(18, 24, 35, 0.72);
  box-shadow: inset 0 1px 0 rgba(247, 241, 232, 0.08);
}

.detail-grid article:hover,
.usecase-list article:hover,
.usecase-card:hover {
  background: #fffaf0;
  transform: translateY(-5px) rotate(-0.25deg);
  box-shadow: 0 28px 62px rgba(50, 48, 76, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.theme-dark .detail-grid article:hover,
.theme-dark .usecase-list article:hover,
.theme-dark .usecase-card:hover {
  background: rgba(24, 32, 46, 0.92);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(247, 241, 232, 0.12);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--nav);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.012em;
  background: rgba(244, 241, 235, 0.72);
  backdrop-filter: blur(16px);
}

.theme-dark .site-footer {
  background: rgba(8, 11, 18, 0.72);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-legal a {
  color: var(--ink);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.footer-legal a:hover {
  color: var(--accent-dark);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.56);
  transition: background-color 160ms ease, transform 160ms ease;
}

.theme-dark .footer-social a {
  background: rgba(247, 241, 232, 0.08);
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--paper);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.timeline,
.cases-list,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.timeline article,
.cases-list article,
.principles-grid > div,
.service-limit {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.text-link {
  color: var(--accent-dark);
  border-bottom: 1px solid rgba(95, 59, 30, 0.28);
  font-weight: 750;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(1deg) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero-visual {
    width: min(100%, 26rem);
  }

  .scenario-grid,
  .method-rail,
  .timeline,
  .cases-list,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-card:nth-child(1),
  .scenario-card:nth-child(6) {
    grid-column: span 1;
  }

  .method-rail article {
    min-height: 15rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: block;
    width: min(100%, 24rem);
    min-width: 0;
    justify-self: start;
    opacity: 1;
  }

  .hero-caption {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  h2 {
    max-width: 13ch;
  }

  .scenario-grid,
  .method-rail,
  .boundary-grid,
  .split-copy,
  .safety-panel,
  .legal-layout,
  .detail-grid,
  .usecase-list,
  .intro-grid,
  .location-layout,
  .contact-cardless,
  .timeline,
  .cases-list,
  .principles-grid,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero-logo {
    justify-self: start;
    width: 7rem;
  }

  .page-hero-photo {
    justify-self: start;
    width: min(100%, 28rem);
    aspect-ratio: 16 / 10;
  }

  .detail-page::after,
  .process-note::after {
    width: 100%;
    height: 18rem;
    opacity: 0.12;
  }

  .opening::after,
  .method-section::after,
  .boundaries::after,
  .direct-client::after,
  .contact::after {
    inset: auto 0 0;
    width: 100%;
    height: 20rem;
    border-radius: 0;
    opacity: 0.2;
  }

  .theme-dark .opening::after,
  .theme-dark .method-section::after,
  .theme-dark .boundaries::after,
  .theme-dark .direct-client::after,
  .theme-dark .contact::after {
    opacity: 0.18;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-toc {
    position: static;
  }
}
