@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --bg: #0d0d0d;
  --bg-deep: #121111;
  --panel: rgba(24, 24, 24, 0.82);
  --panel-soft: rgba(31, 31, 31, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --text: #faf9f8;
  --muted: #afafae;
  --soft: #8f8f8e;
  --accent: #330305;
  --accent-strong: #4a0609;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(74, 6, 9, 0.08), transparent 26%),
    var(--bg);
  line-height: 1.55;
}

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

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
}

.page-frame {
  padding-top: 52px;
}

.block {
  position: relative;
  padding: 56px 0;
}

.topbar {
  background: rgba(13, 13, 13, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.brand-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: #a8a4a3;
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav-center-list {
  gap: 12rem;
}

.nav-center-list .nav-link {
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-center-list .nav-link:hover {
  color: var(--text);
}

.nav-icon {
  position: absolute;
  left: 32px;
  display: flex;
  align-items: center;
}

.nav-icon img {
  height: 42px;
  width: auto;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-icon img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.nav-set {
  gap: 0.6rem;
}

.nav-link {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding-left: 1.1rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
}

.custom-toggler {
  border-color: rgba(255, 255, 255, 0.08);
}

.custom-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero-block {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(13, 13, 13, 0.65),
      rgba(13, 13, 13, 0.92)),
    url('../assets/images/BG.png') center / cover no-repeat;

}

.hero-panel,
.mind-panel,
.action-panel,
.system-tile {
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.35), rgba(18, 18, 18, 0.55));
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow);
}



.hero-panel {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 52px;
  border-radius: var(--radius-xl);
  text-align: center;
  backdrop-filter: blur(6px);
}

.hero-blur {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-blur-left {
  top: 10%;
  left: -80px;
  background: #330305;
}

.hero-blur-right {
  right: -110px;
  bottom: 4%;
  background: #2b2b2a;
}

.micro-kicker {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel h1,
.section-head h2,
.mind-copy h2,
.action-panel h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-panel .logo {
  opacity: 0.7;
  height: auto;
  width: 260px;
  margin-bottom: 15px;
}

.hero-panel h1 {
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  max-width: 15ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext {
  margin: 22px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.action-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.micro-line {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.scroll-cue {
  display: inline-block;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.scroll-cue:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  max-width: 180px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.sub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 115px;
  max-width: 160px;
  min-height: 44px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}


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

.port-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  max-width: 220px;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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



.button-primary {
  background: #f2f2f1;
  color: #111;
  border: 1px solid #f2f2f1;
}

.button-primary:hover {
  background: #ffffff;
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.systems-block,
.mind-block,
.action-block {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.system-tile {
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.system-tag {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-tile h3 {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.system-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 24ch;
}

.system-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.system-title-row h3 {
  margin: 0;
  line-height: 1;
  transform: translateY(6px);
}

.system-logo-inline {
  height: 32px;
  width: 32px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(35%) brightness(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tile-link {
  margin-top: 24px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.tile-link:hover {
  color: #ffffff;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.mind-panel {
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 920px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.mind-copy {
  max-width: 640px;
}

.mind-copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.mind-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.action-panel {
  border-radius: var(--radius-xl);
  padding: 34px 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  backdrop-filter: blur(12px);
}

.action-panel h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.action-copy {
  max-width: 520px;
  flex: 1 1 0;
  min-width: 0;
}

.action-side {
  flex: 0 1 460px;
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
}

.action-query-shell {
  width: 100%;
}

.action-query-panel {
  border-radius: calc(var(--radius-xl) - 4px);
  padding: 26px 28px 24px;
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.82), rgba(16, 16, 16, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.action-query-panel.reveal-ready {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.action-query-head h3 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.action-query-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.action-query-form {
  margin-top: 18px;
}

.query-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field-group label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  padding: 0.95rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(175, 175, 174, 0.55);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.02);
}

.field-group input.is-invalid,
.field-group textarea.is-invalid {
  border-color: rgba(177, 83, 87, 0.8);
}

.field-group textarea {
  min-height: 140px;
  resize: vertical;
}

.query-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.query-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
}

.query-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.query-status.is-success {
  color: #c8d8c7;
}

.query-status.is-error {
  color: #d9a6a8;
}

.query-status.is-sending {
  color: var(--muted);
}

.query-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 18px 0 30px;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
}

.system-stack-showcase {
  margin-top: 32px;
}

.system-selector-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 10px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}

.system-selector-row::-webkit-scrollbar {
  display: none;
}

.system-selector-card {
  flex: 0 0 240px;
  min-width: 165px;
  max-width: 175px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.72), rgba(18, 18, 18, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;

  opacity: 0.6;
  min-height: 72px;
  transition: all 0.25s ease;
  scroll-snap-align: start;
}

.system-selector-card:hover,
.system-selector-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(202, 202, 202, 0.16);
}

.system-selector-card.is-active {
  border-color: rgba(54, 2, 2, 0.534);
  background: linear-gradient(180deg, rgba(88, 88, 88, 0.493), rgba(0, 0, 0, 0.94));

  opacity: 1;
  transform: translateY(-2px) scale(1.02);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

}


.system-selector-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 52px;
  opacity: 0.7;

  filter: grayscale(100%) brightness(0.9);
  transition: all 0.3s ease;
}

.system-selector-card[data-system-id="paeryllmate"] .system-selector-logo {
  filter: grayscale(80%) brightness(1);
  width: 45px;
  height: auto;
}

.system-selector-logo:hover {
  transform: rotate3d(1);
}

.system-selector-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.system-selector-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.system-selector-tag {
  color: var(--soft);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-showcase-panel {
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.88), rgba(18, 18, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.system-showcase-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.system-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.system-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-status-pill,
.system-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-branding {
  display: flex;
  align-items: center;
  gap: 20px;
}

.system-logo-large {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.65;
}

.system-brand-copy {
  min-width: 0;
}

.system-short-name {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.system-brand-copy h3 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.system-tagline {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.system-description {
  margin-top: 14px;
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.system-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.system-summary-actions .button {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 999px;
  min-width: 240px;

}

.system-gallery-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;

  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 70%);
  padding: 14px;
}

.system-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.system-gallery-kicker,
.system-gallery-hint,
.system-gallery-count {
  margin: 0;
}

.system-gallery-kicker {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-gallery-hint,
.system-gallery-count {
  color: var(--muted);
  font-size: 0.88rem;
}

.system-gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;

  touch-action: pan-y;
}

.system-gallery-track::-webkit-scrollbar {
  display: none;
}

.system-gallery-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.system-gallery-slide {
  flex: 0 0 420px;
  width: 420px;
  height: 280px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: 18px;
  overflow: hidden;

}

.system-gallery-media {
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  object-fit: cover;
  background: #090909;
}

.system-gallery-slide img.system-gallery-media {
  pointer-events: none;
}

.system-gallery-slide video.system-gallery-media {
  object-fit: cover;
}

.system-details {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);

  min-height: 420px;
}

.system-tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.system-tab {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0 20px 50px rgba(0, 0, 0, 0.5);

  opacity: 0.5;
}

.system-tab:hover,
.system-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
}

.system-tab.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.system-detail-panel {
  margin-top: 18px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;

  min-height: 260px;
}

.system-detail-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.system-detail-kicker {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.system-detail-copy h4 {
  margin: 0;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.system-detail-copy p,
.system-detail-list {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.system-detail-list {
  padding-left: 1.15rem;
}

.system-detail-list li+li {
  margin-top: 10px;
}

.system-group-label {
  flex: 0 0 auto;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 8px;
  display: flex;
  align-items: center;
  margin-left: 16px;
}

.system-group-label:first-child {
  margin-left: 0;
}

.system-group-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 8px;
}

#systemCta[href="#"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .system-showcase-top {
    grid-template-columns: 1fr;
  }

  .system-gallery-slide {
    flex-basis: min(100%, 640px);
    min-width: min(100%, 640px);
  }
}

@media (max-width: 768px) {
  .system-details {
    min-height: 520px;
  }

  .system-detail-panel {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .system-gallery-track {
    gap: 14px;
    padding-bottom: 6px;
  }

  .system-gallery-slide {
    flex: 0 0 84vw;
    width: 84vw;
    height: auto;
    aspect-ratio: 3 / 2;
    scroll-snap-align: center;
  }
}

@media (max-width: 768px) {
  .system-selector-card {
    flex-basis: 82vw;
    min-width: 82vw;
  }

  .system-showcase-panel {
    padding: 22px;
  }

  .system-branding {
    flex-direction: column;
    align-items: flex-start;
  }

  .system-gallery-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-gallery-slide {
    flex-basis: 100%;
    min-width: 100%;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
  }

  .system-tab-row {
    gap: 8px;
  }

  .system-tab {
    width: 100%;
    justify-content: center;
  }

  .system-detail-panel {
    padding: 22px;
  }
}

.portfolio-panel {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.88), rgba(18, 18, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  padding: 34px;
  padding-bottom: 42px;

  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.portfolio-link-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.portfolio-portrait-wrap {
  width: 100%;
}

.portfolio-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 60px;
  filter: grayscale(100%);
  opacity: 0.65;
  border: 1px solid rgba(255, 255, 255, 0.014);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.35);

}

.portfolio-copy {
  max-width: 760px;
}

.portfolio-kicker {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-copy h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.portfolio-text {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.portfolio-logos {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.portfolio-logos-rail {
  margin-top: 28px;
  margin-left: calc(260px + 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(90% - 260px - 28px);
}

.portfolio-logos-rail a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portfolio-logos-rail img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.95);
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.portfolio-logos-rail a:hover img {
  opacity: 0.78;
  filter: grayscale(100%) brightness(1.05);
  transform: translateY(-1px);
}

.action-query-shell {
  margin-top: 18px;
}

.action-query-shell[hidden] {
  display: none;
}

.action-query-panel {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.88), rgba(18, 18, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  padding: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.action-query-shell.is-visible .action-query-panel {
  opacity: 1;
  transform: translateY(0);
}

.action-query-head {
  margin-bottom: 20px;
}

.action-query-head h3 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.action-query-text {
  margin-top: 10px;
  color: var(--muted);
  max-width: 56ch;
}

.action-query-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.query-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.field-group textarea {
  resize: vertical;
  min-height: 140px;
}

.query-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.query-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
}

.query-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.88rem;
}

.query-honeypot {
  position: absolute;
  left: -9999px;
}

.action-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* � THIS is the trick */
  height: 100%;
}

.action-links {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-links {
  margin-top: 0;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
}

.action-links {
  width: 100%;
  margin-top: 0;
  align-items: center;
  justify-content: flex-start;
  align-self: auto;
}

.journey-grid {
  display: grid;
  gap: 18px;
}

.journey-card {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;

  padding: 26px 28px;
  border-radius: 22px;
  overflow: hidden;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.journey-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.08),
      transparent 42%);

  opacity: 0.75;
}

.journey-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.journey-marker {
  position: relative;
  z-index: 1;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);

  padding-top: 6px;
}

.journey-card>div:last-child {
  position: relative;
  z-index: 1;
}

.journey-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
}

.journey-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
}

.journey-card p:last-child {
  margin-bottom: 0;
}


.systems-reel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 32px;
  padding-top: 16px;
  padding-bottom: 10px;
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
}

.systems-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.systems-track.dragging {
  cursor: grabbing;
}

.system-card {
  flex: 0 0 calc((100vw - 120px) / 3.5);
  max-width: 340px;
  min-width: 300px;
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.88), rgba(18, 18, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.system-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.system-status {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-card .system-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-card h3 {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.system-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 25ch;
}

@media (max-width: 768px) {
  .journey-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .journey-marker {
    padding-top: 0;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .journey-card h3 {
    font-size: 1.15rem;
  }

  .journey-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .hero-panel {
    padding: 42px 18px;
    max-width: 92%;
    border-radius: 24px;
  }

  .hero-panel .logo {
    width: 180px;
  }

  .hero-subtext {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    max-width: none;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
  }

  .navbar-collapse {
    position: absolute;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    background: rgba(18, 18, 18, 0.96);
    border-radius: 18px;
    padding: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
  }

  .nav-center-list {
    gap: 1.2rem;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .action-query-panel {
    padding: 22px;
  }

  .query-grid {
    grid-template-columns: 1fr;
  }

  .query-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 960px) {
  .portfolio-logos-rail {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 28px;
  }

  .portfolio-logos-rail img {
    max-height: 34px;
  }
}

.logo-tile {
  min-height: 96px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.logo-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.logo-tile img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.05);
  opacity: 0.72;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.logo-tile:hover img {
  opacity: 0.9;
  filter: grayscale(100%) brightness(1.15);
}

@media (max-width: 960px) {
  .portfolio-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-portrait-wrap {
    max-width: 260px;
  }

  .portfolio-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .portfolio-panel {
    padding: 24px;
  }

  .portfolio-portrait-wrap {
    max-width: 220px;
  }

  .portfolio-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .portfolio-text {
    font-size: 0.96rem;
  }
}

@media (max-width: 1200px) {
  .system-card {
    flex: 0 0 calc((100vw - 100px) / 3.1);
  }
}

@media (max-width: 960px) {
  .systems-reel {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
  }

  .systems-track {
    transform: none !important;
    width: max-content;
  }

  .system-card {
    flex: 0 0 82vw;
    min-width: 82vw;
    scroll-snap-align: start;
  }
}

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

  .action-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-side {
    width: 100%;
    flex-basis: auto;
  }

  .action-links {
    justify-content: flex-start;
  }

  .query-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-frame {
    padding-top: 84px;
  }

  .block {
    padding: 40px 0;
  }

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

  .hero-panel {
    padding: 52px 24px;
  }

  .mind-panel,
  .action-panel,
  .action-query-panel {
    padding: 28px 22px;
  }

  .action-side {
    gap: 16px;
  }

  .nav-link {
    padding-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(var(--shell), calc(100% - 22px));
  }

  .hero-panel h1 {
    font-size: clamp(2.5rem, 14vw, 3.5rem);
  }

  .hero-actions,
  .action-links {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .query-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .systems-reel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 6px 6px 0;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
  }

  .systems-reel::-webkit-scrollbar {
    display: none;
  }

  .systems-track {
    display: flex;
    gap: 14px;
    width: max-content;
    transform: none !important;
    will-change: auto;
  }

  .system-card {
    flex: 0 0 68vw;
    min-width: 68vw;
    max-width: 260px;
    scroll-snap-align: start;
    padding: 20px;
  }

  .system-card h3 {
    font-size: 1.3rem;
  }

  .system-card p {
    font-size: 0.88rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .portfolio-logos-rail {
    justify-content: space-between;
    gap: 16px;
  }

  .portfolio-logos-rail img {
    max-height: 42px;
    opacity: 0.75;
  }

  .portfolio-logos-rail a {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .action-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .sub-button {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
  }
}

.action-query-shell {
  transition: all 0.4s ease;
}

.action-query-panel {
  opacity: 0;
  transform: translateY(20px);
}

.action-query-shell.is-visible .action-query-panel {
  opacity: 1;
  transform: translateY(0);
}

.nav-icon {
  position: static !important;
  left: auto !important;
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-home:hover .nav-icon,
.nav-home:focus-visible .nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 768px) {

  .button,
  .sub-button,
  .port-button {
    min-width: 160px;
    max-width: 240px;
    width: auto;

    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;

    border-radius: 999px;
  }

  .hero-actions,
  .query-actions,
  .action-links {
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .button-primary {
    background: #f2f2f1;
    font-weight: 600;
  }

  .button-secondary {
    background: rgba(255, 255, 255, 0.03);
  }
}

/* About Page */

.about-definition-wrap {
      max-width: 980px;
      margin: 0 auto;
      padding: 72px 16px 56px;
    }

    .about-intro-note {
      margin: 0 0 22px 0;
      padding: 14px 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.03);
      border-radius: 14px;
      color: #b8b8b8;
      font-size: 0.92rem;
      line-height: 1.65;
    }

    .about-definition-wrap h1 {
      margin: 0 0 14px 0;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 0.98;
      color: #faf9f8;
    }

    .about-definition-wrap h2 {
      margin: 30px 0 10px 0;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.12rem;
      font-weight: 700;
      color: #d5d5d5;
      letter-spacing: -0.02em;
    }

    .about-definition-wrap p,
    .about-definition-wrap li {
      color: #b8b8b8;
      line-height: 1.8;
      font-size: 0.98rem;
    }

    .about-definition-wrap ul {
      margin: 10px 0 0 0;
      padding-left: 18px;
    }

    .about-definition-wrap li+li {
      margin-top: 10px;
    }

    .about-status-note {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px dashed rgba(255, 255, 255, 0.12);
      font-size: 0.92rem;
      color: #9f9f9f;
    }

    .about-definition-wrap a {
      color: inherit;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (max-width: 768px) {
      .about-definition-wrap {
        padding: 56px 14px 44px;
      }

      .about-definition-wrap p,
      .about-definition-wrap li {
        font-size: 0.95rem;
      }
    } 
/* Mind Page */

.mind-page .topbar {
      display: flex;
      align-items: center;
      min-height: 60px;
    }

    .mind-page .topbar .shell {
      width: 100%;
      max-width: none;
      margin: 0 auto;
    }

    .mind-page .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: center !important;
      min-height: 60px;
      width: 100%;
      padding-inline: 0;
    }

    .mind-page .nav-home {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      margin: 0 auto;
      color: inherit;
      text-decoration: none;
    }

    .mind-page .nav-icon {
      position: static !important;
      left: auto !important;
      width: 24px;
      height: 24px;
      display: inline-block;
      flex: 0 0 auto;
      opacity: 0.45;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mind-page .nav-home:hover .nav-icon,
    .mind-page .nav-home:focus-visible .nav-icon {
      opacity: 1;
      transform: translateY(-1px);
    }

    .mind-page .page-frame {
      padding-top: 52px;
    }

    .mind-hero {
      min-height: calc(92vh - 52px);
      background:
        linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.94)),
        radial-gradient(circle at top left, rgba(74, 6, 9, 0.16), transparent 28%),
        var(--bg);
    }

    .mind-hero .hero-panel {
      max-width: 1120px;
      text-align: left;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
      gap: 34px;
      align-items: center;
    }

    .mind-hero-copy h1,
    .mind-section h2,
    .journey-card h3,
    .identity-card h3,
    .philosophy-panel h3,
    .education-placeholder h3 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      letter-spacing: -0.04em;
    }

    .mind-hero-copy h1 {
      margin: 0;
      font-size: clamp(1.2rem, 4vw, 3.8rem);
      line-height: 0.98;
      max-width: 14ch;
    }

    .mind-hero-copy .hero-subtext {
      margin-left: 0;
      max-width: 620px;
    }

    .mind-hero-support {
      margin: 18px 0 0;
      color: var(--soft);
      max-width: 620px;
      font-size: 0.98rem;
    }

    .mind-section {
      padding: 56px 0;
    }

    .mind-section-header {
      max-width: 820px;
      margin-bottom: 30px;
    }

    .mind-section-header h2 {
      margin: 0;
      font-size: clamp(2.1rem, 4.2vw, 3.4rem);
      line-height: 1.02;
    }

    .mind-section-header p {
      margin: 14px 0 0;
      color: var(--muted);
      font-size: 1.02rem;
      max-width: 720px;
    }

    .positioning-panel,
    .journey-card,
    .education-placeholder,
    .identity-card,
    .philosophy-panel,
    .cta-panel {
      background: linear-gradient(180deg, rgba(28, 28, 28, 0.35), rgba(18, 18, 18, 0.58));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 28px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }

    .positioning-panel {
      padding: 34px;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
      gap: 28px;
      align-items: start;
    }

    .positioning-panel p {
      margin: 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .journey-grid {
      display: grid;
      gap: 18px;
    }

    .journey-card {
      padding: 28px;
      display: grid;
      grid-template-columns: 130px minmax(0, 1fr);
      gap: 22px;
      align-items: start;
    }

    .journey-marker {
      color: var(--soft);
      font-size: 0.82rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 700;
      padding-top: 6px;
    }

    .journey-card h3 {
      margin: 0 0 10px;
      font-size: 1.5rem;
    }

    .journey-card p {
      margin: 0;
      color: var(--muted);
    }

    .journey-card p+p {
      margin-top: 10px;
    }

    .education-placeholder {
      padding: 30px 32px;
      max-width: 760px;
    }

    .education-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      padding: 0.5rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--soft);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .education-placeholder h3 {
      margin: 0 0 10px;
      font-size: 1.5rem;
    }

    .education-placeholder p {
      margin: 0;
      color: var(--muted);
      max-width: 58ch;
    }

    .identity-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .identity-card {
      padding: 28px;
      min-height: 100%;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .identity-label {
      display: inline-block;
      margin-bottom: 16px;
      color: var(--soft);
      font-size: 0.74rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .identity-card h3 {
      margin: 0 0 12px;
      font-size: 1.45rem;
    }

    .identity-card p {
      margin: 0;
      color: var(--muted);
    }

    .philosophy-panel {
      padding: 34px;
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 28px;
      align-items: start;
    }

    .philosophy-panel h3 {
      margin: 0;
      font-size: 1.8rem;
      line-height: 1.05;
    }

    .philosophy-points {
      display: grid;
      gap: 14px;
    }

    .philosophy-point {
      padding: 16px 18px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      color: var(--muted);
    }

    .cta-panel {
      padding: 34px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .cta-panel h2 {
      margin: 0;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      letter-spacing: -0.04em;
    }

    .cta-panel p {
      margin: 10px 0 0;
      color: var(--muted);
      max-width: 56ch;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .page-footer {
      padding: 22px 0 34px;
    }

    .page-footer .footer-inner {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 18px;
    }

    /* HERO PORTRAIT CARD */
    .mind-portrait-card {
      display: flex;
      flex-direction: column;
      gap: 18px;
      padding: 18px;
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(10px);
      max-width: 380px;
      width: 100%;
    }

    .mind-portrait {
      width: 100%;
      border-radius: 24px;
      overflow: hidden;
      background: #0a0a0a;
      box-shadow: var(--shadow);
    }

    .mind-portrait img {
      display: block;
      width: 100%;
      height: auto;
      opacity: 0.78;
      object-fit: cover;
      filter: grayscale(100%) contrast(1.05);
    }

    .positioning-aside {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }

    .positioning-pill {
      width: 100%;
      padding: 14px 18px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.07);
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.95rem;
      font-weight: 500;
      line-height: 1.5;
      text-align: left;
      transition: all 0.25s ease;
    }

    .positioning-pill:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.92);
      transform: translateY(-1px);
    }

    .philosophy-section {
      padding-top: 90px;
      padding-bottom: 90px;
    }

    .philosophy-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 48px;
      align-items: center;
    }

    .philosophy-lead {
      position: sticky;
      top: 110px;
    }

    .philosophy-statement {
      margin: 0;
      max-width: 12ch;
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
      font-weight: 600;
      color: var(--text);
    }

    .philosophy-list {
      max-width: 860px;
      display: flex;
      margin: 40px auto 0;
      flex-direction: column;
      justify-content: center;
      gap: 0;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .philosophy-item {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 18px;
      padding: 22px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .philosophy-number {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.35);
      padding-top: 4px;
    }

    .philosophy-item p {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.8;
      max-width: 62ch;
    }

    .identity-link {
      display: block;
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    .identity-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .mobile-inline-portrait {
      display: none;
    }

    /* TABLET */
    @media (max-width: 960px) {

      .mind-hero .hero-panel,
      .positioning-panel,
      .philosophy-panel,
      .philosophy-layout {
        grid-template-columns: 1fr;
      }

      .cta-panel {
        flex-direction: column;
        align-items: flex-start;
      }

      .mind-portrait {
        margin: 0;
      }

      .philosophy-lead {
        position: static;
      }

      .philosophy-section {
        padding-top: 64px;
        padding-bottom: 64px;
      }

      .philosophy-layout {
        gap: 28px;
      }

      .philosophy-statement {
        max-width: 100%;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
      }

      .philosophy-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 18px 0;
      }

      .philosophy-item p {
        font-size: 0.96rem;
        line-height: 1.7;
      }

      .cta-actions .button {
        font-size: 0.9rem;
        padding: 0.72rem 1rem;
      }
    }

    /* MOBILE */
    @media (max-width: 768px) {
      .mind-hero {
        min-height: auto;
      }

      .mind-hero .hero-panel {
        gap: 20px;
      }

      .mind-hero-copy h1 {
        font-size: clamp(2.25rem, 9vw, 3.2rem);
        line-height: 0.94;
        max-width: 10ch;
      }

      .hero-actions {
        gap: 10px;
      }

      .hero-actions .port-button {
        font-size: 0.84rem;
        padding: 0.68rem 0.95rem;
        border-radius: 14px;
      }

      .desktop-portrait {
        display: none;
      }

      .mobile-inline-portrait {
        display: block;
        max-width: 240px;
        padding: 12px;
      }

      .mobile-inline-portrait .mind-portrait {
        width: 100%;
        height: 100%;
        min-height: 188px;
        border-radius: 18px;
      }

      .mobile-inline-portrait .mind-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.84;
      }

      .mobile-inline-portrait .positioning-aside {
        display: none;



      }

      .mobile-inline-portrait .positioning-pill {
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 0.74rem;
        line-height: 1.3;
        min-height: 0;
      }

      .journey-card {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .mind-section {
        padding: 44px 0;
      }

      .mind-section-header h2 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
      }

      /* PERSONAL SECTION: HORIZONTAL SCROLL */
      .identity-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
      }

      .identity-grid::-webkit-scrollbar {
        display: none;
      }

      .identity-card {
        scroll-snap-align: start;
        padding: 18px 16px;
        border-radius: 20px;
        min-height: 100%;
      }

      .identity-label {
        margin-bottom: 10px;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
      }

      .identity-card h3 {
        margin: 0 0 8px;
        font-size: 1.08rem;
        line-height: 1.15;
      }

      .identity-card p {
        font-size: 0.92rem;
        line-height: 1.55;
      }

      .philosophy-section {
        padding-top: 48px;
        padding-bottom: 48px;
      }

      .philosophy-layout {
        gap: 20px;
      }

      .philosophy-list {
        margin-top: 20px;
      }

      .philosophy-item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
        padding: 14px 0;
      }

      .philosophy-number {
        font-size: 0.66rem;
        padding-top: 3px;
      }

      .philosophy-item p {
        font-size: 0.88rem;
        line-height: 1.55;
      }

      .cta-panel {
        padding: 24px 20px;
        border-radius: 22px;
        gap: 18px;
      }

      .cta-panel h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
      }

      .cta-actions {
        gap: 10px;
      }

      .cta-actions .button {
        font-size: 0.84rem;
        padding: 0.68rem 0.95rem;
        border-radius: 14px;
        width: auto;
      }
    }

    /* SMALL MOBILE */
    @media (max-width: 480px) {

      .mind-hero .hero-panel,
      .positioning-panel,
      .journey-card,
      .education-placeholder,
      .philosophy-panel,
      .cta-panel {
        padding: 22px 18px;
        border-radius: 20px;
      }

      .mind-hero-copy h1 {
        font-size: clamp(2.15rem, 10vw, 2.9rem);
        max-width: 10ch;
      }

      .hero-actions .port-button,
      .cta-actions .button {
        font-size: 0.8rem;
        padding: 0.62rem 0.88rem;
      }

      .mobile-inline-portrait {
        grid-template-columns: 108px minmax(0, 1fr);
        max-width: 100%;
        padding: 10px;
        gap: 10px;
      }

      .mobile-inline-portrait .mind-portrait {
        min-height: 176px;
      }

      .mobile-inline-portrait .positioning-pill {
        font-size: 0.7rem;
        padding: 9px 10px;
      }

      .identity-grid {
        grid-auto-columns: 88%;
        gap: 10px;
      }

      .identity-card {
        padding: 16px 14px;
      }

      .identity-card h3 {
        font-size: 1rem;
      }

      .identity-card p {
        font-size: 0.88rem;
        line-height: 1.5;
      }

      .philosophy-section {
        padding-top: 40px;
        padding-bottom: 40px;
      }

      .philosophy-item p {
        font-size: 0.84rem;
        line-height: 1.5;
      }
    } 
/* Photography Page */

.photo-page .topbar {
      display: flex;
      align-items: center;
      min-height: 60px;
    }

    .photo-page .topbar .shell {
      width: 100%;
      max-width: none;
      margin: 0 auto;
    }

    .photo-page .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: center !important;
      min-height: 60px;
      width: 100%;
      padding-inline: 0;
    }

    .photo-page .nav-home {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      margin: 0 auto;
      color: inherit;
      text-decoration: none;
    }

    .photo-page .nav-icon {
      position: static !important;
      left: auto !important;
      width: 24px;
      height: 24px;
      display: inline-block;
      flex: 0 0 auto;
      opacity: 0.45;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .photo-page .nav-home:hover .nav-icon,
    .photo-page .nav-home:focus-visible .nav-icon {
      opacity: 1;
      transform: translateY(-1px);
    }

    .photo-page .page-frame {
      padding-top: 52px;
    }

    .photo-hero {
      padding: 110px 0 72px;
      background: radial-gradient(circle at top left, rgba(74, 6, 9, 0.12), transparent 25%), radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 18%), #0a0a0a;
    }

    .photo-hero-wrap {
      max-width: 860px;
    }

    .photo-hero h1,
    .gallery-heading h2,
    .viewer-panel figcaption {
      margin: 0;
      font-family: 'Plus Jakarta Sans', sans-serif;
      letter-spacing: -0.05em;
      line-height: 0.98;
    }

    .photo-hero h1 {
      font-size: clamp(3rem, 8vw, 5.8rem);
    }

    .photo-hero p {
      margin: 18px 0 0;
      max-width: 620px;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .featured-strip {
      padding: 0 0 72px;
    }

    .featured-strip-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.65fr);
      gap: 18px;
      align-items: stretch;
      opacity: 1;
      transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .featured-strip-layout.is-fading {
      opacity: 0.2;
    }

    .featured-main,
    .featured-thumb {
      position: relative;
      width: 100%;
      border: 0;
      padding: 0;
      overflow: hidden;
      border-radius: 28px;
      background: #121212;
      cursor: pointer;
      box-shadow: var(--shadow);
    }

    .featured-main {
      min-height: 50vh;
    }

    .featured-side-stack {
      display: grid;
      gap: 18px;
      grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .featured-thumb {
      min-height: 24vh;
    }

    .featured-main img,
    .featured-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: grayscale(22%) brightness(0.74);
      transition: filter 0.45s ease, transform 0.45s ease;
    }

    .featured-main::after,
    .featured-thumb::after,
    .photo-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.3));
      transition: opacity 0.35s ease;
    }

    .featured-main:hover img,
    .featured-main:focus-visible img,
    .featured-thumb:hover img,
    .featured-thumb:focus-visible img,
    .photo-item:hover img,
    .photo-item:focus-visible img {
      filter: grayscale(0%) brightness(0.98);
      transform: scale(1.04);
    }

    .featured-label {
      position: absolute;
      left: 22px;
      bottom: 22px;
      z-index: 2;
      color: #f0efed;
      font-size: 0.76rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .gallery-block {
      padding: 0 0 64px;
    }

    .gallery-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
      gap: 24px;
      align-items: end;
      margin-bottom: 24px;
    }

    .gallery-heading h2 {
      font-size: clamp(1.8rem, 4vw, 2.9rem);
    }

    .gallery-heading p {
      margin: 0;
      color: var(--soft);
      font-size: 0.94rem;
    }

    .photo-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .photo-item {
      position: relative;
      overflow: hidden;
      display: block;
      width: 100%;
      border: 0;
      padding: 0;
      border-radius: 22px;
      background: transparent;
      cursor: pointer;
    }

    .photo-item img {
      width: 100%;
      height: 100%;
      min-height: 320px;
      object-fit: cover;
      display: block;
      filter: grayscale(32%) brightness(0.72);
      transform: scale(1);
      transition: transform 0.45s ease, filter 0.45s ease;
    }

    .photo-caption {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: end;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.35s ease, transform 0.35s ease;
      pointer-events: none;
    }

    .photo-caption span,
    .photo-caption small {
      color: #f1f0ee;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.68rem;
    }

    .photo-caption small {
      color: rgba(241, 240, 238, 0.7);
      letter-spacing: 0.08em;
    }

    .featured-main:hover::after,
    .featured-main:focus-visible::after,
    .featured-thumb:hover::after,
    .featured-thumb:focus-visible::after,
    .photo-item:hover::after,
    .photo-item:focus-visible::after {
      opacity: 0.35;
    }

    .photo-item:hover .photo-caption,
    .photo-item:focus-visible .photo-caption {
      opacity: 1;
      transform: translateY(0);
    }

    .photo-divider {
      height: 1px;
      margin: 0 0 56px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    }

    .viewer {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 28px;
      z-index: 1200;
    }

    .viewer.is-open {
      display: flex;
    }

    .viewer-backdrop {
      position: absolute;
      inset: 0;
      border: 0;
      background: rgba(5, 5, 5, 0.76);
      backdrop-filter: blur(16px);
      cursor: pointer;
    }

    .viewer-panel {
      position: relative;
      z-index: 2;
      width: min(100%, 1100px);
      padding: 18px;
      border-radius: 28px;
      background: rgba(15, 15, 15, 0.86);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
    }

    .viewer-frame {
      margin: 0;
      display: grid;
      gap: 14px;
    }

    .viewer-image-wrap {
      border-radius: 20px;
      overflow: hidden;
      background: #0f0f0f;
    }

    .viewer-image {
      width: 100%;
      max-height: 76vh;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }

    .viewer-panel figcaption {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: flex-start;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.45;
    }

    .viewer-title {
      color: #f1f0ee;
      font-size: 0.74rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      display: block;
      margin-bottom: 6px;
    }

    .viewer-controls {
      position: absolute;
      top: 18px;
      right: 18px;
      display: flex;
      gap: 10px;
      z-index: 3;
    }

    .viewer-control {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.03);
      color: #f1f0ee;
      cursor: pointer;
      transition: background-color 0.25s ease, border-color 0.25s ease;
    }

    .viewer-control:hover,
    .viewer-control:focus-visible {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.18);
    }

    .page-footer {
      padding: 24px 0 36px;
    }

    .page-footer .footer-inner {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 18px;
    }

    .featured-main,
    .featured-thumb {
      opacity: 0;
      transform: translateY(6px);
      will-change: opacity, transform;
    }

    .featured-main.show,
    .featured-thumb.show {
      opacity: 1;
      transform: translateY(0);
      transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (max-width: 991px) {

      .featured-strip-layout,
      .gallery-heading {
        grid-template-columns: 1fr;
      }

      .featured-main {
        min-height: 42vh;
      }

      .featured-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
      }

      .featured-thumb {
        min-height: 20vh;
      }

      .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 767px) {
      .photo-hero {
        padding: 92px 0 56px;
      }

      .featured-strip {
        padding: 0 0 56px;
      }

      .featured-strip-layout {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .featured-main {
        min-height: 30vh;
        border-radius: 24px;
      }

      .featured-side-stack {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .featured-thumb {
        min-height: 18vh;
        border-radius: 20px;
      }

      .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .photo-item {
        border-radius: 18px;
      }

      .photo-item img {
        min-height: 160px;
      }

      .photo-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
      }

      .photo-caption span,
      .photo-caption small {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
      }

      .featured-label {
        left: 18px;
        bottom: 18px;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
      }
    }

