@import url("fonts/fonts.css");

:root {
  --hamsa-violet: #b4b6d9;
  --paper: #f1e6d4;
  --paper-deep: #e7d1bd;
  --paper-white: #fdf8f0;
  --ink: #3e3d40;
  --ink-deep: #2d2c2b;
  --red: #f0a686;
  --red-dark: #cc725f;
  --mist: #afc5cf;
  --line: rgba(62, 61, 64, 0.24);
  --line-light: rgba(253, 248, 240, 0.36);
  --holographic: linear-gradient(118deg, #afc5cf 0%, #b4b6d9 28%, #f0d3bf 55%, #fdf8f0 76%, #f0a686 100%);
  --font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-large: clamp(28px, 3vw, 46px);
  --radius-card: 28px;
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(8.333vw - 1px),
    rgba(21, 21, 18, 0.035) calc(8.333vw - 1px),
    rgba(21, 21, 18, 0.035) 8.333vw
  );
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--ink-deep);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: rgba(253, 248, 240, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 178px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.eyebrow,
.plate-label,
.micro-label {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 1.6rem;
  height: 0.68rem;
  margin-right: 0.55rem;
  content: "";
  background: var(--red);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  border-bottom: 1px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  min-height: calc(100svh - var(--header-height));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) clamp(4rem, 7vw, 7rem);
  border-right: 1px solid var(--ink);
}

.hero h1,
.page-hero h1,
.display-heading {
  margin: 0;
  font-size: clamp(4rem, 8.2vw, 9.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.hero h1 span,
.display-heading span {
  display: block;
}

.hero h1 .accent,
.display-heading .accent {
  color: var(--red);
}

.hero-intro {
  max-width: 640px;
  margin: clamp(2.2rem, 4vw, 3.75rem) 0 0;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.35;
}

.hero-intro strong {
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 54px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button::after {
  content: "↗";
  font-size: 1rem;
}

.button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--paper-deep);
}

.hero-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-visual::before {
  position: absolute;
  inset: -8%;
  content: "";
  background: var(--red);
  opacity: 0.48;
  transform: rotate(0deg) scale(1.08);
  -webkit-mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
}

.hero-visual::after {
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 240, 227, 0.58);
  border-radius: 50%;
  content: "";
}

.hero-hand {
  position: absolute;
  top: 10%;
  right: -10%;
  z-index: 2;
  width: 112%;
  filter: contrast(1.08);
  transform: rotate(0deg);
}

.hero-sensor {
  position: absolute;
  bottom: -5%;
  left: 9%;
  z-index: 3;
  width: min(54%, 400px);
  filter: drop-shadow(0 6px 14px rgba(62, 61, 64, 0.18));
  transform: rotate(0deg);
}

.hero-note {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  width: 150px;
  padding-top: 0.65rem;
  border-top: 1px solid var(--paper);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-stamp {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 124px;
  aspect-ratio: 1;
  border: 1px solid var(--paper);
  border-radius: 50%;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(0deg);
}

.trust-ribbon {
  border-bottom: 1px solid var(--ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(4, 1fr);
  min-height: 144px;
}

.trust-intro,
.trust-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
}

.trust-grid > :last-child {
  border-right: 0;
}

.trust-intro {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item {
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.trust-item img {
  max-width: 160px;
  max-height: 58px;
  filter: grayscale(1) brightness(0.3) contrast(1.35);
}

.trust-item span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5rem, 10vw, 10rem);
  border-bottom: 1px solid var(--ink);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.section-index {
  align-self: start;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.02;
}

.section-heading {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.section-lede {
  max-width: 740px;
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.45;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.step {
  min-height: 340px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.step-number {
  display: block;
  color: var(--red);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.step h3 {
  margin: 5rem 0 1rem;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.step p {
  max-width: 32ch;
  margin: 0;
}

.ink-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.ink-section::before {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 58%;
  height: 124%;
  content: "";
  background: var(--red);
  opacity: 0.14;
  transform: rotate(0deg) scale(1.08);
  -webkit-mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  pointer-events: none;
}

.ink-section::after {
  position: absolute;
  top: -12vw;
  right: -10vw;
  width: 38vw;
  min-width: 360px;
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  content: "";
}

.ink-section > .container {
  position: relative;
  z-index: 1;
}

.ink-section .eyebrow::before {
  background: var(--ink);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
}

.manifesto-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper);
  font-size: 1.12rem;
}

.manifesto-copy strong {
  color: #fff;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.use-case {
  min-height: 260px;
  padding: 2rem;
  background: var(--paper);
}

.use-case .micro-label {
  color: var(--red);
}

.use-case h3 {
  margin: 4rem 0 0.75rem;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.use-case p {
  margin: 0;
}

.red-cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.red-cta::before {
  position: absolute;
  right: -5vw;
  bottom: -18vw;
  width: 48vw;
  min-width: 480px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  content: "";
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.cta-title {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.red-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.red-cta .button:hover {
  background: var(--ink);
  color: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 590px;
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.33fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 1020px;
  font-size: clamp(4rem, 9vw, 9.5rem);
}

.page-hero-copy {
  max-width: 460px;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font-size: 1.12rem;
}

.page-hero-number {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  color: var(--red);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.page-hero.ink-hero {
  background: var(--ink);
  color: #fff;
}

.page-hero.ink-hero .eyebrow::before {
  background: var(--red);
}

.page-hero.ink-hero .page-hero-copy {
  border-color: #fff;
}

.page-hero.ink-hero .page-hero-number {
  color: var(--paper);
}

.architecture-list {
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
}

.architecture-layer {
  display: grid;
  grid-template-columns: 0.18fr 0.36fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--ink);
}

.layer-number {
  color: var(--red);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.architecture-layer h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.01em;
  line-height: 1;
}

.architecture-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.architecture-copy p {
  max-width: 58ch;
  margin: 0;
  font-size: 1.07rem;
}

.graphic-section {
  background: var(--paper-deep);
}

.security-graphic {
  margin: clamp(3rem, 6vw, 6rem) 0 0;
}

.security-graphic-viewport {
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper);
  scrollbar-color: var(--red) var(--paper);
}

.security-graphic img {
  width: 100%;
  max-width: 1600px;
  min-width: 0;
  height: auto;
  margin-inline: auto;
}

.security-graphic figcaption {
  max-width: 920px;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: uppercase;
}

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

.detail-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.mode-card {
  min-height: 470px;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--paper);
}

.mode-card:last-child {
  background: var(--ink);
  color: #fff;
}

.mode-card h3 {
  max-width: 480px;
  margin: 5rem 0 1rem;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.mode-card p {
  max-width: 48ch;
  font-size: 1.05rem;
}

.security-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.principle {
  min-height: 330px;
  padding: clamp(1.7rem, 4vw, 3.5rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.principle .micro-label {
  color: var(--red);
}

.principle h3,
.principle h3 {
  max-width: 500px;
  margin: 4rem 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.cannot-do {
  background: var(--red);
  color: #fff;
}

.cannot-list {
  margin: 4rem 0 0;
  padding: 0;
  border-top: 1px solid #fff;
  list-style: none;
}

.cannot-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: clamp(1.35rem, 2.7vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cannot-list li::before {
  content: "×";
  font-family: var(--font-sans);
}

.regulation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.regulation {
  min-height: 290px;
  padding: 2rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.regulation h3 {
  margin: 4rem 0 1rem;
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.small-print {
  max-width: 850px;
  margin: 1.5rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.55;
}

.comparison-wrap {
  margin-top: 4rem;
  overflow-x: auto;
  border: 1px solid var(--ink);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
}

.comparison-table tr > :last-child {
  border-right: 0;
}

.comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.comparison-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.comparison-table thead th:last-child {
  background: var(--red);
  color: #fff;
}

.comparison-table tbody th {
  width: 28%;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table tbody td:last-child {
  background: rgba(240, 166, 134, 0.16);
  font-weight: 700;
}

.verdict {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.verdict-graphic {
  display: grid;
  place-items: center;
  min-height: 480px;
  background: var(--ink);
  color: #fff;
}

.verdict-graphic span {
  display: block;
  max-width: 6ch;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
  transform: rotate(0deg);
}

.verdict-copy h3 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.verdict-copy p {
  max-width: 650px;
  margin: 2rem 0 0;
  font-size: 1.2rem;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.origin-grid h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.origin-copy {
  max-width: 620px;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font-size: 1.14rem;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.founder-card {
  background: var(--paper);
}

.founder-image {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--paper-deep);
}

.founder-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(150deg, transparent 58%, rgba(204, 114, 95, 0.32));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.founder-card:first-child .founder-image img {
  object-position: center 32%;
}

.founder-card:last-child .founder-image img {
  object-position: center 35%;
}

.founder-body {
  min-height: 310px;
  padding: clamp(1.7rem, 4vw, 3rem);
}

.founder-role {
  color: var(--red);
}

.founder-body h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.founder-body p {
  max-width: 52ch;
}

.proof-photo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid var(--ink);
}

.proof-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.proof-photo-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 6rem);
  background: var(--ink);
  color: #fff;
}

.proof-photo-copy h2 {
  margin: 7rem 0 1rem;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.contact-copy h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.contact-copy > p {
  max-width: 520px;
  margin: 2rem 0 0;
  font-size: 1.2rem;
}

.direct-contacts {
  margin: 4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.direct-contacts li {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink);
}

.direct-contacts span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-contacts a {
  font-weight: 700;
}

.contact-form {
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 3px var(--ink);
}

.form-note {
  margin: 1rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
}

.form-status {
  min-height: 1.5em;
  margin-top: 1rem;
  font-weight: 700;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.footer-statement {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
  align-content: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #fff;
  border-color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner > .nav-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

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

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

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

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-intro {
    grid-column: 1 / -1;
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .page-hero-grid,
  .manifesto-grid,
  .origin-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero-copy {
    max-width: 680px;
  }

  .proof-photo {
    grid-template-columns: 1fr;
  }

  .proof-photo img {
    min-height: 460px;
    max-height: 620px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  body::before {
    display: none;
  }

  .brand {
    width: 150px;
  }

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

  .hero-copy {
    min-height: 630px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero-visual {
    min-height: 620px;
  }

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

  .trust-item {
    min-height: 120px;
    border-bottom: 1px solid var(--ink);
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(5) {
    border-right: 0;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps,
  .use-cases,
  .regulation-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 280px;
  }

  .step h3 {
    margin-top: 3rem;
  }

  .cta-grid,
  .architecture-layer,
  .architecture-copy,
  .verdict,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .architecture-layer {
    gap: 1.2rem;
  }

  .security-graphic-viewport {
    overflow-x: auto;
  }

  .security-graphic img {
    width: 980px;
    max-width: none;
    min-width: 980px;
  }

  .security-graphic-viewport::after {
    display: block;
    position: sticky;
    left: 0;
    width: max-content;
    padding: 0.65rem 0.8rem;
    background: var(--ink);
    color: var(--paper);
    content: "Swipe to inspect the full diagram →";
  font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mode-grid,
  .security-principles,
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .founder-image {
    height: 440px;
  }

  .proof-photo-copy h2 {
    margin-top: 3rem;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .page-hero h1,
  .contact-copy h1 {
    font-size: clamp(3.4rem, 17vw, 5.5rem);
  }

  .hero-copy {
    min-height: 580px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-hand {
    top: 13%;
    right: -18%;
    width: 135%;
  }

  .hero-sensor {
    width: 56%;
  }

  .hero-stamp {
    width: 96px;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.56rem;
  }

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

  .trust-item,
  .trust-item:nth-child(3) {
    border-right: 0;
  }

  .page-hero-number {
    opacity: 0.22;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .direct-contacts li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Trust hero alignment and contrast */
.trust-page .page-hero-grid {
  align-items: center;
}

.trust-page .page-hero-grid > div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.trust-page .page-hero-grid .eyebrow {
  justify-content: center;
}

.trust-page .page-hero h1 {
  margin-inline: auto;
  text-align: center;
}

.trust-page .page-hero.ink-hero .page-hero-number {
  top: 2rem;
  right: auto;
  left: 2rem;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(247, 244, 236, 0.72);
  border-radius: 16px;
  background: var(--paper-white);
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.trust-page .page-hero-copy {
  max-width: 31rem;
  padding: 1.5rem;
  border: 1px solid rgba(247, 244, 236, 0.72);
  border-radius: 18px;
  background: rgba(62, 61, 64, 0.92);
  color: var(--paper-white);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  font-weight: 600;
}

@media (max-width: 820px) {
  .trust-page .page-hero-number {
    top: 1.25rem;
    left: 1.25rem;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .trust-page .page-hero-grid {
    gap: 2rem;
  }

  .trust-page .page-hero-copy {
    justify-self: center;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Brand system 2026 — supplied HamsaID identity guide
   -------------------------------------------------------------------------- */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

body::before {
  background-image: none;
}

::selection {
  background: var(--red);
  color: var(--ink);
}

.site-header {
  height: var(--header-height);
  border-bottom: 0;
  background: rgba(253, 248, 240, 0.94);
  box-shadow: 0 1px 0 rgba(62, 61, 64, 0.18);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--holographic);
  opacity: 0.78;
}

.brand {
  width: 216px;
  height: 88px;
}

.brand img {
  width: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(62, 61, 64, 0.08));
}

.site-nav a {
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.site-nav a::after {
  height: 5px;
  bottom: 0.05rem;
  border-radius: 999px;
  background: var(--holographic);
}

.nav-cta,
.button {
  border-color: var(--ink);
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper-white);
  box-shadow: 0 0 0 rgba(62, 61, 64, 0);
}

.nav-cta {
  background: var(--holographic);
  color: var(--ink);
}

.nav-cta:hover,
.button:hover {
  background: var(--red);
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(62, 61, 64, 0.16);
}

.menu-toggle {
  border-radius: 14px;
  background: var(--paper-white);
}

.eyebrow,
.plate-label,
.micro-label,
.section-index,
.detail-list li,
.security-graphic figcaption,
.small-print,
.field label,
.form-note,
.footer-bottom {
  font-family: var(--font-sans);
  font-weight: 700;
}

.eyebrow::before {
  width: 1.8rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--holographic);
  transform: rotate(0deg);
}

.hero h1,
.page-hero h1,
.display-heading,
.section-heading,
.manifesto-quote,
.cta-title,
.footer-statement,
.contact-copy h1,
.verdict-copy h3,
.origin-grid h2,
.proof-photo-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  padding: 1rem;
  border-bottom: 0;
}

.hero-grid {
  gap: 1rem;
  min-height: calc(100svh - var(--header-height) - 2rem);
}

.hero-copy,
.hero-visual {
  border-radius: var(--radius-large);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border-right: 0;
  background: var(--ink);
  color: var(--paper-white);
}

.hero-copy::after {
  position: absolute;
  right: -19%;
  bottom: -18%;
  width: 72%;
  height: 72%;
  content: "";
  background: var(--red);
  opacity: 0.16;
  transform: rotate(0deg);
  -webkit-mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3.5rem, 5.8vw, 6.4rem);
  line-height: 1.02;
}

.page-hero h1 {
  font-size: clamp(3.6rem, 6.4vw, 7rem);
}

.hero h1 .accent,
.display-heading .accent,
.page-hero .accent {
  color: var(--red);
}

.hero-intro {
  color: var(--paper-white);
}

.hero-copy .button {
  border-color: var(--paper-white);
  background: var(--paper-white);
  color: var(--ink);
}

.hero-copy .button.secondary {
  border-color: rgba(247, 244, 236, 0.68);
  background: rgba(247, 244, 236, 0.08);
  color: var(--paper-white);
}

.hero-copy .button:hover,
.hero-copy .button.secondary:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--ink);
}

.hero-visual {
  min-height: 720px;
  background: var(--paper-deep);
}

.hero-visual::before {
  inset: -10%;
  background: var(--ink);
  opacity: 0.15;
  transform: rotate(0deg) scale(1.14);
}

.ink-section::after {
  display: none;
}

.hero-visual::after {
  position: absolute;
  right: auto;
  bottom: -13%;
  left: -11%;
  z-index: 1;
  display: block;
  width: 62%;
  aspect-ratio: 1.32;
  border: 1px solid rgba(247, 244, 236, 0.82);
  border-radius: 44% 56% 62% 38% / 58% 42% 58% 42%;
  content: "";
  background:
    repeating-radial-gradient(
      ellipse at 36% 58%,
      transparent 0 12px,
      rgba(62, 61, 64, 0.17) 13px 15px,
      transparent 16px 25px
    ),
    linear-gradient(
      118deg,
      rgba(175, 197, 207, 0.96) 0%,
      rgba(180, 182, 217, 0.94) 28%,
      rgba(240, 211, 191, 0.94) 55%,
      rgba(253, 248, 240, 0.96) 76%,
      rgba(240, 166, 134, 0.94) 100%
    );
  box-shadow:
    0 22px 48px rgba(62, 61, 64, 0.2),
    inset 0 0 0 12px rgba(247, 244, 236, 0.1);
  opacity: 0.92;
  transform: rotate(0deg);
}

.hero-hand {
  top: 2%;
  right: 5%;
  width: min(69%, 570px);
  filter: drop-shadow(0 6px 14px rgba(62, 61, 64, 0.18));
  transform: rotate(0deg);
}

.hero-sensor {
  bottom: -4%;
  left: 4%;
  width: min(45%, 350px);
  filter: drop-shadow(0 6px 14px rgba(62, 61, 64, 0.18));
  transform: rotate(0deg);
}

.hero-note {
  color: var(--ink);
  border-color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
}

.hero-stamp {
  right: 1.5rem;
  bottom: 1.5rem;
  width: 150px;
  aspect-ratio: auto;
  padding: 1.1rem;
  border-color: var(--ink);
  border-radius: 22px;
  background: rgba(253, 248, 240, 0.82);
  color: var(--ink);
  font-family: var(--font-sans);
  transform: rotate(0deg);
}

.trust-ribbon {
  padding: 0 1rem 1rem;
  border-bottom: 0;
}

.trust-grid {
  gap: 0.75rem;
}

.trust-intro,
.trust-item {
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-white);
}

.trust-intro {
  background: var(--ink);
  color: var(--paper-white);
}

.trust-item:nth-child(even) {
  background: var(--paper-deep);
}

.trust-item img {
  filter: none;
  opacity: 0.9;
}

.section {
  border-bottom: 0;
}

.section-index strong,
.step-number,
.layer-number {
  color: var(--red);
}

.section-heading {
  line-height: 1;
}

.steps,
.use-cases,
.mode-grid,
.security-principles,
.regulation-grid,
.founders-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.step,
.use-case,
.mode-card,
.principle,
.regulation,
.founder-card {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper-white);
}

.step:nth-child(2),
.use-case:nth-child(3n + 2),
.principle:nth-child(3),
.regulation:nth-child(2) {
  background: var(--paper-deep);
}

.step:nth-child(3),
.use-case:nth-child(3n),
.principle:nth-child(4) {
  background: var(--ink);
  color: var(--paper-white);
}

.ink-section {
  width: calc(100% - 2rem);
  margin-inline: 1rem;
  border-radius: var(--radius-large);
  background: var(--ink);
}

.ink-section::before {
  width: 70%;
  background: var(--red);
  opacity: 0.2;
}

.ink-section .eyebrow::before {
  background: var(--holographic);
}

.manifesto-quote {
  color: var(--paper-white);
  line-height: 1;
}

.red-cta {
  width: calc(100% - 2rem);
  margin: 1rem;
  border-radius: var(--radius-large);
  background: var(--red);
  color: var(--ink);
}

.red-cta::before {
  right: -8%;
  bottom: -42%;
  width: 58%;
  min-width: 520px;
  height: 140%;
  border: 0;
  border-radius: 0;
  background: var(--paper-white);
  opacity: 0.22;
  transform: rotate(0deg);
  -webkit-mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
}

.red-cta .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-white);
}

.page-hero {
  width: calc(100% - 2rem);
  min-height: 560px;
  margin: 1rem;
  padding-inline: 0;
  border: 0;
  border-radius: var(--radius-large);
  background: var(--paper-deep);
}

.page-hero::before {
  position: absolute;
  inset: -12% -8% -18% 48%;
  content: "";
  background: var(--ink);
  opacity: 0.1;
  transform: rotate(0deg);
  -webkit-mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
  mask: url("assets/hamsaid-identity-field-mask.svg") center / cover no-repeat;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero.ink-hero {
  background: var(--ink);
  color: var(--paper-white);
}

.page-hero.ink-hero::before {
  background: var(--red);
  opacity: 0.22;
}

.page-hero-number {
  color: var(--red);
  font-family: var(--font-display);
}

.page-hero-copy,
.origin-copy,
.manifesto-copy {
  border-color: currentColor;
}

.architecture-list {
  border-top: 0;
}

.architecture-layer {
  margin-bottom: 1rem;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper-white);
}

.architecture-layer:nth-child(even) {
  background: var(--paper-deep);
}

.graphic-section {
  background: var(--paper-deep);
}

.security-graphic-viewport,
.comparison-wrap,
.contact-form,
.proof-photo,
.verdict-graphic {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
}

.security-graphic-viewport {
  background: var(--paper-white);
}

.mode-card:last-child,
.proof-photo-copy,
.verdict-graphic {
  background: var(--ink);
  color: var(--paper-white);
}

.cannot-do {
  width: calc(100% - 2rem);
  margin-inline: 1rem;
  border-radius: var(--radius-large);
  background: var(--ink);
  color: var(--paper-white);
}

.comparison-table thead th {
  background: var(--ink);
  color: var(--paper-white);
}

.comparison-table thead th:last-child {
  background: var(--red);
  color: var(--ink);
}

.comparison-table tbody td:last-child {
  background: rgba(240, 166, 134, 0.14);
}

.founder-image {
  background: var(--paper-deep);
}

.founder-image::after {
  background: linear-gradient(145deg, transparent 52%, rgba(240, 166, 134, 0.38), rgba(180, 182, 217, 0.42));
}

.founder-image img {
  filter: grayscale(0.72) contrast(1.03) saturate(0.82);
}

.founder-role {
  color: var(--red-dark);
}

.founder-body h3,
.mode-card h3,
.principle h3,
.principle h3,
.regulation h3,
.use-case h3,
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proof-photo {
  background: var(--ink);
}

.contact-form {
  background: var(--paper-deep);
}

.field input,
.field textarea,
.field select {
  border-radius: 14px;
  background: var(--paper-white);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 4px rgba(240, 166, 134, 0.48);
}

.direct-contacts,
.direct-contacts li {
  border-color: var(--line);
}

.site-footer {
  margin-top: 1rem;
  background: var(--ink);
  color: var(--paper-white);
}

.footer-statement {
  line-height: 1.02;
}

.footer-nav a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Holographic image library — supplied brand assets
   -------------------------------------------------------------------------- */

.home-page .hero-visual {
  background-color: var(--paper-white);
  background-image: url("assets/art-statement-hamsa.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.home-page .hero-visual::before {
  content: none;
}

.home-page .hero-visual::after {
  content: none;
}

.how-page {
  --page-hologram: url("assets/brand-outline-field.png");
}

.trust-page {
  --page-hologram: url("assets/brand-hand-field.png");
}

.why-page {
  --page-hologram: url("assets/art-outline-hamsa.png");
}

.company-page {
  --page-hologram: url("assets/brand-emblem-field.png");
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image: var(--page-hologram);
  background-position: center;
  background-size: cover;
  opacity: 0.46;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 72%);
}

.trust-page .page-hero::after {
  opacity: 0.66;
}

.page-hero > * {
  z-index: 2;
}

.ink-section::before {
  background: url("assets/brand-topography.png") center / cover no-repeat;
  opacity: 0.38;
  transform: rotate(0deg) scale(1.08);
  -webkit-mask: none;
  mask: none;
}

.red-cta::before {
  background: url("assets/art-tiled-hamsa.png") center / cover no-repeat;
  opacity: 0.42;
  transform: rotate(0deg) scale(1.08);
  -webkit-mask: none;
  mask: none;
}

.verdict-graphic {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(62, 61, 64, 0.16), rgba(62, 61, 64, 0.16)),
    url("assets/brand-topography.png");
  background-position: center;
  background-size: cover;
}

.proof-photo-copy {
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(62, 61, 64, 0.94), rgba(62, 61, 64, 0.56)),
    url("assets/art-statement-hamsa.png");
  background-position: center;
  background-size: cover;
}

.contact-holo {
  min-height: 170px;
  margin-top: 2rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background:
    linear-gradient(rgba(253, 248, 240, 0.06), rgba(253, 248, 240, 0.06)),
    url("assets/art-dunes.png") center / cover no-repeat;
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.architecture-layer {
  position: relative;
  overflow: hidden;
}

.architecture-layer::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18px;
  content: "";
  background: url("assets/brand-topography.png") center / cover no-repeat;
}

.architecture-layer:nth-child(even)::after {
  background-image: url("assets/art-outline-hamsa.png");
}

.site-footer {
  position: relative;
  padding-top: 10px;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10px;
  content: "";
  background: url("assets/art-outline-hamsa.png") center 72% / cover no-repeat;
}

/* HamsaID CTA system: navy instrument panel with a contained holographic field. */
.red-cta {
  isolation: isolate;
  border: 2px solid #f0a686;
  background: #3e3d40;
  color: var(--paper-white);
}

.red-cta::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 0;
  width: 40%;
  min-width: 340px;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: url("assets/art-tiled-hamsa.png") center / cover no-repeat;
  opacity: 1;
  transform: none;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-mask: none;
  mask: none;
}

.red-cta::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 10px;
  content: "";
  background: url("assets/art-outline-hamsa.png") center 70% / cover no-repeat;
}

.red-cta .cta-grid {
  z-index: 1;
}

.red-cta .cta-title {
  max-width: 14ch;
  color: var(--paper-white);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.red-cta .button {
  border: 2px solid var(--paper-white);
  background: var(--paper-white);
  color: #3e3d40;
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.red-cta .button:hover {
  border-color: var(--paper-white);
  background: #b4b6d9;
  color: #3e3d40;
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

@media (max-width: 1120px) {
  .site-nav {
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .page-hero-grid {
    align-content: end;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 86px;
    --radius-card: 24px;
  }

  .brand {
    width: 168px;
    height: 72px;
  }

  .brand img {
    max-height: 72px;
  }

  .hero,
  .page-hero,
  .red-cta,
  .cannot-do,
  .ink-section {
    margin-inline: 0.75rem;
    width: calc(100% - 1.5rem);
  }

  .red-cta {
    background: #3e3d40;
  }

  .red-cta::before {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    height: 30%;
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  }

  .red-cta .button {
    justify-self: start;
    margin-bottom: 3.5rem;
  }

  .hero {
    padding: 0.75rem;
  }

  .hero-copy {
    min-height: 650px;
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 650px;
  }

  .hero-hand {
    top: 1%;
    right: 7%;
    width: min(68%, 500px);
  }

  .hero-visual::after {
    bottom: -8%;
    left: -8%;
    width: 68%;
  }

  .page-hero::after {
    opacity: 0.34;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, #000 72%);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, #000 72%);
  }

  .trust-page .page-hero::after {
    opacity: 0.5;
  }

  .contact-holo {
    min-height: 140px;
  }

  .architecture-layer::after {
    width: 12px;
  }

  .trust-ribbon {
    padding-inline: 0.75rem;
  }

  .architecture-layer {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 80px;
  }

  .brand {
    width: 145px;
    height: 66px;
  }

  .brand img {
    max-height: 66px;
  }

  .hero-copy {
    min-height: 590px;
    padding: 3.5rem 1.4rem;
  }

  .hero h1,
  .page-hero h1,
  .contact-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-hand {
    top: 1%;
    right: -1%;
    width: 74%;
  }

  .hero-sensor {
    width: 46%;
  }

  .hero-visual::after {
    bottom: -2%;
    left: -14%;
    width: 76%;
    opacity: 0.88;
  }

  .contact-holo {
    min-height: 120px;
    box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  }

  .hero-stamp {
    right: 1rem;
    bottom: 1rem;
    width: 124px;
    padding: 0.85rem;
  }

  .page-hero {
    min-height: 520px;
  }

  .page-hero::before {
    inset-inline-start: 20%;
  }

  .step,
  .use-case,
  .mode-card,
  .principle,
  .regulation,
  .founder-card,
  .architecture-layer {
    border-radius: 22px;
  }
}

/* Why HamsaID — high-contrast hero and contained verdict */
.why-page .page-hero-grid {
  align-items: center;
}

.why-page .page-hero-grid > div {
  display: grid;
  width: min(100%, 58rem);
  padding: clamp(2rem, 4vw, 4rem);
  justify-items: center;
  border: 1px solid rgba(247, 244, 236, 0.72);
  border-radius: 24px;
  background: rgba(62, 61, 64, 0.94);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  color: var(--paper-white);
  text-align: center;
}

.why-page .page-hero-grid .eyebrow {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: var(--paper-white);
  text-align: center;
}

.why-page .page-hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  color: var(--paper-white);
  font-size: clamp(3.2rem, 7vw, 7rem);
  text-align: center;
}

.why-page .page-hero .accent {
  color: #f0a686;
}

.why-page .page-hero .page-hero-number {
  top: 2rem;
  right: auto;
  left: 2rem;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(62, 61, 64, 0.28);
  border-radius: 16px;
  background: var(--paper-white);
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.why-page .verdict {
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
}

.why-page .verdict-graphic {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.why-page .verdict-graphic span {
  width: 100%;
  max-width: none;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-align: center;
  transform: none;
}

.why-page .verdict-copy {
  display: flex;
  min-width: 0;
  padding: clamp(2rem, 4vw, 4rem);
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(247, 244, 236, 0.68);
  border-radius: var(--radius-card);
  background: rgba(62, 61, 64, 0.96);
  color: var(--paper-white);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.why-page .verdict-copy h3 {
  max-width: 11ch;
  color: var(--paper-white);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1.02;
}

.why-page .verdict-copy p {
  color: var(--paper-white);
}

@media (max-width: 820px) {
  .why-page .page-hero .page-hero-number {
    top: 1.25rem;
    left: 1.25rem;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .why-page .page-hero-grid > div {
    padding: 2.5rem 1.5rem;
  }

  .why-page .page-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.6rem);
  }

  .why-page .verdict-graphic {
    min-height: 340px;
  }
}

/* --------------------------------------------------------------------------
   Brand identity v3 — ivory, ink, coral, mist and lavender
   -------------------------------------------------------------------------- */

.site-header {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: 0 1px 0 rgba(62, 61, 64, 0.16);
}

.site-header::after {
  background: linear-gradient(90deg, #afc5cf, #b4b6d9 34%, #f0d3bf 66%, #f0a686);
}

.brand {
  display: inline-flex;
  width: auto;
  height: 82px;
  gap: 0.28rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-word {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
}

.brand .brand-mark {
  width: 62px;
  height: 62px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
}

.nav-cta {
  background: var(--red);
  color: var(--ink);
}

.nav-cta:hover,
.button:hover {
  background: var(--hamsa-violet);
  color: var(--ink);
}

.hero-copy,
.ink-section,
.site-footer {
  background-color: var(--ink);
}

.home-page .hero-visual {
  background-color: var(--paper-white);
  background-position: 57% center;
}

.page-hero {
  background-color: var(--paper-white);
}

.page-hero .page-hero-number,
.page-hero.ink-hero .page-hero-number {
  top: 2rem;
  right: auto;
  left: 2rem;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(62, 61, 64, 0.24);
  border-radius: 16px;
  background: var(--paper-white);
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.page-hero-copy {
  padding: 1.4rem;
  border: 1px solid rgba(62, 61, 64, 0.3);
  border-radius: 18px;
  background: rgba(253, 248, 240, 0.92);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  font-weight: 600;
}

.page-hero.ink-hero .page-hero-copy {
  border-color: rgba(253, 248, 240, 0.7);
  background: rgba(62, 61, 64, 0.9);
  color: var(--paper-white);
}

.step:nth-child(2),
.use-case:nth-child(3n + 2),
.principle:nth-child(3),
.regulation:nth-child(2),
.contact-form {
  background: var(--paper-deep);
}

.trust-item:nth-child(even) {
  background: var(--hamsa-violet);
}

.cannot-do,
.red-cta {
  background-color: var(--ink);
}

.comparison-table thead th:last-child {
  background: var(--red);
  color: var(--ink);
}

.comparison-table tbody td:last-child {
  background: rgba(240, 166, 134, 0.16);
}

.founder-role,
.micro-label,
.section-index strong,
.step-number,
.layer-number {
  color: var(--red-dark);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 4px rgba(240, 166, 134, 0.4);
}

@media (max-width: 820px) {
  .brand {
    width: auto;
    height: 68px;
    gap: 0.2rem;
  }

  .brand-word {
    font-size: 1rem;
  }

  .brand .brand-mark {
    width: 50px;
    height: 50px;
    max-height: none;
  }

  .page-hero .page-hero-number,
  .page-hero.ink-hero .page-hero-number {
    top: 1.25rem;
    left: 1.25rem;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 14px;
    font-size: 1.25rem;
  }
}

@media (max-width: 560px) {
  .brand-word {
    font-size: 0.88rem;
  }

  .brand .brand-mark {
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   Editorial layout — artwork-led, warm and deliberately asymmetric
   -------------------------------------------------------------------------- */

body {
  background: var(--paper-white);
}

.section {
  border-bottom: 0;
}

/* Homepage: copy floats over one continuous artwork field. */
.home-page .hero {
  min-height: calc(100svh - var(--header-height));
  padding: clamp(0.75rem, 1.6vw, 1.5rem);
  overflow: visible;
}

.home-page .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(650px, calc(100svh - var(--header-height) - 3rem));
  min-height: 0;
  gap: 0;
}

.home-page .hero-visual {
  grid-row: 1;
  grid-column: 4 / -1;
  min-height: 650px;
  border: 1px solid rgba(62, 61, 64, 0.32);
  border-radius: clamp(34px, 5vw, 72px);
  background-position: 60% center;
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.home-page .hero-copy {
  grid-row: 1;
  grid-column: 1 / 8;
  z-index: 3;
  align-self: center;
  min-height: 0;
  margin: 3rem 0 3rem clamp(0rem, 2vw, 2rem);
  padding: clamp(2.5rem, 5vw, 5.5rem);
  border: 1px solid var(--ink);
  border-radius: clamp(30px, 4vw, 54px);
  background: rgba(253, 248, 240, 0.97);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.home-page .hero-copy::after {
  content: none;
}

.home-page .hero h1 {
  font-size: clamp(3.8rem, 6.5vw, 7.5rem);
}

.home-page .hero-intro {
  color: var(--ink);
}

.home-page .hero-copy .button {
  border-color: var(--ink);
  background: var(--red);
  color: var(--ink);
}

.home-page .hero-copy .button.secondary {
  background: var(--paper-white);
  color: var(--ink);
}

.home-page .hero-copy .button:hover,
.home-page .hero-copy .button.secondary:hover {
  border-color: var(--ink);
  background: var(--hamsa-violet);
  color: var(--ink);
}

/* Proof points overlap the hero like movable catalogue labels. */
.trust-ribbon {
  position: relative;
  z-index: 5;
  margin: -3.4rem clamp(1.25rem, 4vw, 4rem) 0;
  border: 0;
}

.trust-grid {
  gap: 0.75rem;
  min-height: 0;
}

.trust-intro,
.trust-item,
.trust-item:nth-child(even) {
  min-height: 108px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: rgba(253, 248, 240, 0.96);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.trust-intro {
  background: var(--red);
  color: var(--ink);
}

.trust-item:nth-child(3) {
  background: var(--hamsa-violet);
}

.trust-item:nth-child(4) {
  background: var(--paper-deep);
}

/* Numbered sections become editorial anchors rather than plain columns. */
.section-grid {
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
}

.section-index {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  min-height: 190px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background-color: rgba(253, 248, 240, 0.9);
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
}

.steps {
  grid-template-columns: 1.15fr 0.9fr 1fr;
}

.step:nth-child(2) {
  /* No vertical stagger: the dropped middle card read as a misalignment
     and pushed its own overflow onto the note below the grid. */
  align-self: stretch;
}

.step:nth-child(3) {
  background-color: var(--paper-white);
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
  color: var(--ink);
}

/* The artwork is the section background; the content sits on warm instruments. */
.ink-section {
  width: calc(100% - 2rem);
  margin-inline: 1rem;
  border: 1px solid rgba(62, 61, 64, 0.28);
  border-radius: var(--radius-large);
  background-color: var(--paper-deep);
  background-image: url("assets/art-tiled-hamsa.png");
  background-position: center;
  background-size: 620px auto;
  color: var(--ink);
}

.ink-section::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, rgba(253, 248, 240, 0.9), rgba(241, 230, 212, 0.44));
  opacity: 1;
  transform: none;
}

.ink-section::after {
  content: none;
}

.ink-section > .container {
  padding-block: clamp(3rem, 7vw, 7rem);
}

.ink-section .eyebrow,
.ink-section .section-heading,
.ink-section .section-lede {
  color: var(--ink);
}

.ink-section .eyebrow::before {
  background: var(--holographic);
}

.ink-section .manifesto-grid {
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: stretch;
}

.ink-section .manifesto-quote,
.ink-section .manifesto-copy {
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  color: var(--ink);
}

.ink-section .manifesto-quote {
  padding: clamp(2rem, 5vw, 5rem);
  background: rgba(253, 248, 240, 0.95);
}

.ink-section .manifesto-copy {
  max-width: none;
  padding: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--ink);
  background: rgba(240, 166, 134, 0.92);
}

.ink-section .manifesto-copy strong {
  color: var(--ink);
}

.ink-section .manifesto-copy .button {
  background: var(--paper-white);
  color: var(--ink);
}

.company-page .ink-section > .container,
.how-page .ink-section > .container.section-grid {
  margin-block: clamp(1rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: rgba(253, 248, 240, 0.92);
}

/* An irregular use-case mosaic replaces the standard card matrix. */
.use-cases {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  border: 0;
  background: transparent;
}

.use-case {
  grid-column: span 4;
  min-height: 280px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
}

.use-case:nth-child(1),
.use-case:nth-child(4) {
  grid-column: span 7;
}

.use-case:nth-child(2),
.use-case:nth-child(3),
.use-case:nth-child(5),
.use-case:nth-child(6) {
  grid-column: span 5;
}

.use-case:nth-child(2),
.use-case:nth-child(5) {
  background: var(--hamsa-violet);
}

.use-case:nth-child(3),
.use-case:nth-child(6) {
  background-color: var(--paper-white);
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
  color: var(--ink);
}

/* Page heroes use full artwork with floating copy panels. */
.page-hero,
.page-hero.ink-hero {
  display: grid;
  min-height: 640px;
  align-items: end;
  background: var(--paper-deep);
  color: var(--ink);
}

.page-hero::before,
.page-hero.ink-hero::before {
  content: none;
}

.page-hero::after,
.trust-page .page-hero::after {
  opacity: 0.82;
  -webkit-mask-image: none;
  mask-image: none;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
}

.page-hero-grid > div,
.trust-page .page-hero-grid > div,
.why-page .page-hero-grid > div {
  display: grid;
  width: min(100%, 58rem);
  padding: clamp(2rem, 4vw, 4rem);
  justify-items: start;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: rgba(253, 248, 240, 0.95);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  color: var(--ink);
  text-align: left;
}

.trust-page .page-hero-grid > div,
.why-page .page-hero-grid > div {
  justify-items: center;
  text-align: center;
}

.page-hero h1,
.trust-page .page-hero h1,
.why-page .page-hero h1 {
  color: var(--ink);
}

.page-hero-copy,
.page-hero.ink-hero .page-hero-copy,
.trust-page .page-hero-copy,
.why-page .page-hero-copy {
  border-color: var(--ink);
  background: rgba(241, 230, 212, 0.95);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

.page-hero .page-hero-number,
.page-hero.ink-hero .page-hero-number,
.trust-page .page-hero.ink-hero .page-hero-number,
.why-page .page-hero .page-hero-number {
  background: var(--red);
  color: var(--ink);
}

/* Secondary layouts also lose the dark default and gain varied rhythm. */
.architecture-layer:nth-child(odd) {
  margin-right: clamp(0rem, 5vw, 5rem);
}

.architecture-layer:nth-child(even) {
  margin-left: clamp(0rem, 5vw, 5rem);
}

.mode-card:last-child,
.principle:nth-child(4),
.proof-photo-copy,
.why-page .verdict-copy {
  background: var(--hamsa-violet);
  color: var(--ink);
}

.principle:nth-child(4) h3,
.principle:nth-child(4) h3,
.proof-photo-copy h2,
.why-page .verdict-copy h3,
.why-page .verdict-copy p {
  color: var(--ink);
}

.proof-photo-copy {
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
}

.founder-card:nth-child(2) {
  transform: translateY(2.5rem);
}

.cannot-do {
  background-color: var(--red);
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
  color: var(--ink);
}

.cannot-list {
  border-color: var(--ink);
}

/* Calls to action are coral catalogue plates, not dark software banners. */
.red-cta {
  border-color: var(--ink);
  background: var(--red);
  color: var(--ink);
}

.red-cta::before {
  width: 48%;
  background: url("assets/art-tiled-hamsa.png") center / cover no-repeat;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.red-cta::after {
  background: url("assets/art-outline-hamsa.png") center 72% / cover no-repeat;
}

.red-cta .cta-title {
  color: var(--ink);
}

.red-cta .button {
  border-color: var(--ink);
  background: var(--paper-white);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
}

/* Footer becomes a soft patterned close rather than a black wall. */
.site-footer {
  background-color: var(--hamsa-violet);
  background-image: url("assets/art-tiled-hamsa.png");
  background-position: center;
  background-size: 720px auto;
  background-blend-mode: soft-light;
  color: var(--ink);
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-nav a,
.footer-bottom {
  border-color: rgba(62, 61, 64, 0.32);
}

.footer-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Internal brand reference pages follow the same warm direction. */
.brand-guide-hero,
.guide-field-section {
  background: var(--paper-deep);
  color: var(--ink);
}

.logo-stage-dark {
  background: var(--hamsa-violet);
  color: var(--ink);
}

.logo-stage-dark .guide-lockup {
  color: var(--ink);
}

@media (max-width: 960px) {
  .home-page .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .home-page .hero-visual {
    min-height: 560px;
  }

  .home-page .hero-copy {
    width: calc(100% - 2rem);
    margin: -5rem 1rem 1rem;
  }

  .trust-ribbon {
    margin-top: 1rem;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .page-hero-copy {
    justify-self: end;
    width: min(100%, 34rem);
  }

  .use-case,
  .use-case:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .section-index {
    position: static;
    min-height: 0;
  }

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

  .step:nth-child(2) {
    transform: none;
  }

  .ink-section .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .architecture-layer:nth-child(odd),
  .architecture-layer:nth-child(even) {
    margin-inline: 0;
  }

  .founder-card:nth-child(2) {
    transform: none;
  }

  .red-cta::before {
    width: 100%;
    height: 34%;
    opacity: 0.68;
    clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 640px) {
  .home-page .hero-visual {
    min-height: 430px;
    background-position: 67% center;
  }

  .home-page .hero-copy {
    width: calc(100% - 1rem);
    margin: -3.25rem 0.5rem 0;
    padding: 2.25rem 1.35rem;
    box-shadow: 0 6px 18px rgba(62, 61, 64, 0.10);
  }

  .home-page .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  .trust-ribbon {
    margin-inline: 0.75rem;
  }

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

  .use-cases {
    grid-template-columns: 1fr;
  }

  .use-case,
  .use-case:nth-child(n) {
    grid-column: 1;
  }

  .page-hero-grid > div,
  .trust-page .page-hero-grid > div,
  .why-page .page-hero-grid > div {
    padding: 2rem 1.25rem;
  }

  .ink-section {
    width: calc(100% - 1rem);
    margin-inline: 0.5rem;
  }

  .ink-section > .container {
    padding: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Colour rhythm normalisation (final pass)
   One coherent system so colour reads as intentional, not random:
   - Sequence cards (steps, use-cases, principles, regulations) alternate
     warm white / sand.
   - Paired cards (mode cards, founders) stay symmetric.
   - Lavender leaves the solid fills; it stays in artwork and the soft
     offset shadows only.
   - Coral stays reserved for deliberate accents (number badges, CTAs,
     the "cannot do" panel, trust lead-in, comparison header).
   -------------------------------------------------------------------------- */
.step,
.use-case,
.mode-card,
.principle,
.regulation,
.founder-card {
  background-color: var(--paper-white);
  background-image: none;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.step:nth-child(even),
.use-case:nth-child(even),
.principle:nth-child(even),
.regulation:nth-child(even) {
  background-color: var(--paper-deep);
}

/* Kill leftover per-card pattern overlays inside sequence groups */
.step:nth-child(3),
.use-case:nth-child(3),
.use-case:nth-child(6) {
  background-image: none;
}

/* Paired groups: symmetric warm white */
.mode-card,
.mode-card:last-child,
.founder-card {
  background-color: var(--paper-white);
}

/* Singular feature panels: warm sand instead of scattered lavender */
.why-page .verdict-copy,
.proof-photo-copy {
  background-color: var(--paper-deep);
  color: var(--ink);
}
.why-page .verdict-copy h3,
.why-page .verdict-copy p,
.proof-photo-copy h2 {
  color: var(--ink);
}

/* Trust ribbon: coral lead-in, uniform warm-white logo tiles */
.trust-item,
.trust-item:nth-child(3),
.trust-item:nth-child(4),
.trust-item:nth-child(even) {
  background-color: var(--paper-white);
}
.trust-intro {
  background-color: var(--red);
  color: var(--ink);
}

/* Lock odd-position cards to warm white so the alternation is exact */
.step:nth-child(odd),
.use-case:nth-child(odd),
.principle:nth-child(odd),
.regulation:nth-child(odd) {
  background-color: var(--paper-white);
}

/* ============================================================
   Home hero v2 — editorial column-grid field (warm palette)
   Inspired by a visible-grid / floating-CTA structure.
   ============================================================ */
.site-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background:
    radial-gradient(120% 90% at 82% 10%, rgba(240, 166, 134, 0.42), transparent 58%),
    radial-gradient(110% 90% at 6% 98%, rgba(180, 182, 217, 0.30), transparent 55%),
    var(--paper);
}

/* Visible vertical column grid (full-bleed) */
.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(62, 61, 64, 0.13) calc(25% - 1px),
    rgba(62, 61, 64, 0.13) 25%
  );
}

.site-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-height: calc(100svh - var(--header-height));
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
}

.site-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 7vw, 6rem);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 0;
}

.site-hero-title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.4vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.site-hero-title span {
  display: block;
}

.site-hero-title .accent {
  color: var(--red);
}

.site-hero-lead {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.site-hero-hand {
  justify-self: end;
  align-self: center;
  width: auto;
  height: auto;
  max-height: min(58vh, 540px);
  max-width: 100%;
  object-fit: contain;
}

.site-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-hero-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.site-hero-link:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
}

.site-hero-pass {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-hero-pass:hover {
  background: var(--red);
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-hero-stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-hero-hand {
    order: -1;
    justify-self: center;
    height: min(40vh, 320px);
  }
  .site-hero-title {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
    max-width: 100%;
  }
  .site-hero-foot {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .site-hero-pass {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Brand system v2.0 alignment
   - Display weight 700 (site uses IBM Plex Sans, not the guide's Manrope)
   - Mist Blue (#afc5cf) as quiet atmosphere accent
   - One deliberate dark Night-Ink field band on the home manifesto
   ============================================================ */
.site-hero-title,
.hero h1,
.page-hero h1,
.display-heading,
.section-heading,
.cta-title,
.manifesto-quote {
  font-weight: 700;
}

/* Mist Blue atmosphere in the home hero field */
.site-hero {
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(240, 166, 134, 0.42), transparent 56%),
    radial-gradient(92% 82% at 12% 18%, rgba(175, 197, 207, 0.36), transparent 55%),
    radial-gradient(110% 90% at 4% 100%, rgba(180, 182, 217, 0.24), transparent 55%),
    var(--paper);
}

/* Deliberate dark Night-Ink band: home "designed out" manifesto */
.home-page .ink-section {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(62, 61, 64, 0.80), rgba(62, 61, 64, 0.80)),
    url("assets/brand-topography.png");
  background-position: center;
  background-size: cover;
  border-color: var(--ink);
  color: var(--paper);
}

/* Keep the inner manifesto panels light and legible on the dark band,
   and give the quote a mist-blue edge for atmosphere */
.home-page .ink-section .manifesto-quote {
  box-shadow: 0 6px 18px rgba(62, 61, 64, 0.35);
  border-color: var(--mist);
}

/* Accessibility: clear keyboard focus indicator for interactive elements
   (:where keeps specificity low so component styles are untouched) */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}
.red-cta :where(a, button):focus-visible,
.ink-section :where(a, button):focus-visible,
.site-hero-pass:focus-visible {
  outline-color: var(--paper-white);
}

/* Security diagrams: open editorial fields rather than presentation slides. */
.security-graphic {
  margin-top: clamp(2.25rem, 5vw, 4.5rem);
}

.security-graphic-viewport {
  border: 0;
  border-radius: clamp(28px, 4vw, 54px);
  background: transparent;
}

.security-graphic img {
  border-radius: inherit;
}

.security-graphic figcaption {
  width: fit-content;
  max-width: 78ch;
  margin: 1rem 0 0 clamp(0rem, 3vw, 2.5rem);
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--red);
  background: rgba(253, 248, 240, 0.72);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .security-graphic-viewport {
    border: 1px solid rgba(62, 61, 64, 0.18);
    background: rgba(253, 248, 240, 0.36);
  }
}

/* Honeypot: off-screen for sighted users, skipped by assistive tech and tab. */
.field-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The company proof image is a cut-out product shot, not a photograph.
   Stage it on warm sand with the house pattern rather than cropping it,
   and let the shadow follow the terminal's silhouette. */
.proof-photo-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  /* Cool violet against the warm copy panel, so the two halves read as a
     diptych rather than one flat field. It also picks up the screen. */
  background-color: var(--hamsa-violet);
  background-image: url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
}

.proof-photo-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(45, 44, 43, 0.34));
}

@media (max-width: 1120px) {
  .proof-photo-media {
    min-height: 460px;
  }
  .proof-photo-media img {
    max-height: 480px;
  }
}

/* Company proof panel: the ink background was showing through the
   container's side padding as a heavy black frame. Let the two panels
   run edge to edge instead, and calm the pattern behind the copy so the
   text sits on a near-solid field. */
.proof-photo {
  padding-inline: 0;
  background: transparent;
  border: 0;
}

.proof-photo-copy {
  background-color: var(--paper-deep);
  background-image:
    linear-gradient(rgba(231, 209, 189, 0.82), rgba(231, 209, 189, 0.82)),
    url("assets/art-outline-hamsa.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
  padding: clamp(2rem, 4vw, 3.5rem);
  justify-content: center;
}

/* ---------------------------------------------------------------
   Display type was sized off the viewport, not off its container, so
   at wide widths long words broke out of their cards ("deployment.",
   "STORED."). Caps lowered and a break-word guard added.
   --------------------------------------------------------------- */
.mode-card h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.9rem);
}

.why-page .verdict-graphic span {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
}

.manifesto-quote {
  font-size: clamp(2.4rem, 4.4vw, 5rem);
}

.mode-card h3,
.use-case h3,
.step h3,
.principle h3,
.regulation h3,
.manifesto-quote,
.cta-title,
.section-heading,
.verdict-graphic span {
  overflow-wrap: break-word;
}

/* The CTA's pattern panel replaced the coral instead of sitting on it,
   so the colour stopped at the diagonal instead of reaching the border. */
.red-cta::before {
  background-color: var(--red);
  background-image: url("assets/art-tiled-hamsa.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: soft-light;
}
