/* FLOW STRIP — symmetric cards, unique icons */

.flow-strip-outer {
  position: relative;
  padding: 64px 24px 72px;
  background: linear-gradient(180deg, #eef1ea 0%, #f4f3ed 50%, #eef1ea 100%);
  overflow: hidden;
}

.flow-strip--atelier {
  position: relative;
  margin: 0 auto;
  max-width: var(--onx-max-width);
  padding: 0 8px;
}

.flow-strip__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.flow-strip__brain {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(860px, 95%);
  height: 360px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}

.flow-strip__brain svg { width: 100%; height: 100%; }

.flow-strip--atelier .flow-strip__wrap {
  position: relative;
  z-index: 1;
}

.flow-strip--atelier .flow-strip__eyebrow {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #6a7560;
  margin-bottom: 18px;
}

.flow-strip--atelier .flow-strip__heading {
  text-align: center;
  font-family: var(--onx-font-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 600;
  margin: 0 auto 56px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #2a3228;
}

.flow-strip--atelier .flow-strip__heading em {
  color: #268571;
  font-style: italic;
}

.flow-strip__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
}

/* ── Symmetric cards ── */
.flow-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 352px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(42, 58, 32, 0.1);
}

.flow-card__surface {
  position: relative;
  height: 100%;
  min-height: 400px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-card--light .flow-card__surface {
  background-color: #f8f7f3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23f8f7f3'/%3E%3Cpath d='M0,60 Q30,40 60,55 T120,48' fill='none' stroke='%23c8c6be' stroke-width='0.6' opacity='0.45'/%3E%3Cpath d='M10,0 Q40,25 25,60 T5,120' fill='none' stroke='%23b8b6ae' stroke-width='0.7' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.flow-card--dark {
  box-shadow:
    0 24px 64px rgba(16, 24, 14, 0.3),
    0 0 36px rgba(77, 173, 184, 0.1);
  z-index: 1;
}

.flow-card--dark .flow-card__surface {
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(86, 110, 88, 0.2) 0%, transparent 55%),
    linear-gradient(168deg, #2e3a2c 0%, #1a2218 50%, #121812 100%);
}

.flow-card__num {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--onx-font-serif);
  font-size: 13px;
  font-weight: 600;
  color: rgba(58, 68, 53, 0.38);
  letter-spacing: 0.08em;
}

.flow-card--dark .flow-card__num {
  color: rgba(207, 237, 175, 0.6);
}

/* ── Icon slot — fixed size for symmetry ── */
.flow-icon {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 6px auto 22px;
  flex-shrink: 0;
}

/* 01 — Sphere + radar rings (body sensing) */
.flow-icon--sphere .flow-icon__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(138, 176, 104, 0.5);
}

.flow-icon--sphere .flow-icon__ring--outer { width: 100px; height: 100px; }
.flow-icon--sphere .flow-icon__ring--inner {
  width: 72px;
  height: 72px;
  border-color: rgba(77, 173, 184, 0.4);
}

.flow-icon--sphere .flow-icon__sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #d4f8b4 0%, #6ab850 42%, #2d6820 100%);
  box-shadow:
    inset 0 3px 7px rgba(255, 255, 255, 0.5),
    0 8px 22px rgba(42, 90, 30, 0.35);
}

.flow-icon--sphere .flow-icon__dot {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #cfedaf, #73a563);
  box-shadow: 0 0 10px rgba(207, 237, 175, 0.7);
}

/* 02 — Prism on pedestal (decode / core) */
.flow-icon--prism .flow-icon__pedestal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 28%, #3a4a35, #0e140e);
  box-shadow:
    inset 0 4px 12px rgba(0, 0, 0, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

.flow-icon--prism .flow-icon__prism {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 50px;
  height: 50px;
  border: 2.5px solid rgba(155, 196, 122, 0.65);
  background: linear-gradient(145deg, #1e2820, #0a100a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.flow-icon--prism .flow-icon__prism-face {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 35% 28%, #b8f8e0 0%, #4dadb8 45%, #266799 100%);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.55),
    0 0 18px rgba(77, 173, 184, 0.55);
}

/* 03 — Stacked reading layers (SIGNAL · BODY · MORNING) */
.flow-icon--layers {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon--layers .flow-icon__layer {
  position: absolute;
  width: 58px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid rgba(138, 176, 104, 0.45);
  box-shadow: 0 6px 16px rgba(42, 58, 32, 0.1);
}

.flow-icon--layers .flow-icon__layer--back {
  transform: translate(-14px, 12px) rotate(-10deg);
  background: linear-gradient(145deg, rgba(184, 232, 160, 0.35), rgba(77, 173, 184, 0.2));
  z-index: 1;
}

.flow-icon--layers .flow-icon__layer--mid {
  transform: translate(0, 2px) rotate(0deg);
  background: linear-gradient(145deg, rgba(200, 240, 180, 0.5), rgba(77, 173, 184, 0.3));
  z-index: 2;
}

.flow-icon--layers .flow-icon__layer--front {
  transform: translate(14px, -10px) rotate(8deg);
  background: linear-gradient(145deg, #f0faf0, #d8ece8);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.flow-icon__layer-line {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #73a563, #4dadb8);
  opacity: 0.75;
}

.flow-icon__layer-line--short { width: 60%; }

/* ── Typography ── */
.flow-card__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5a6450;
  margin-bottom: 10px;
}

.flow-card--dark .flow-card__label {
  color: rgba(207, 237, 175, 0.8);
}

.flow-card__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  color: #2a3228;
  margin-bottom: 12px;
  line-height: 1.14;
}

.flow-card--dark .flow-card__title {
  color: #f0f5ea;
}

.flow-card__title--caps {
  font-family: var(--onx-font-sans);
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.flow-card__text {
  font-size: 13px;
  line-height: 1.68;
  color: #4a5445;
  margin-bottom: 0;
  max-width: 28ch;
  flex: 1;
  font-weight: 500;
}

.flow-card--dark .flow-card__text {
  color: rgba(220, 228, 215, 0.85);
}

/* ── Footer slot — equal height at bottom ── */
.flow-card__foot {
  margin-top: auto;
  padding-top: 22px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
}

.flow-card__btn-marble {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  border: 1.5px solid rgba(138, 176, 104, 0.45);
  background: #f8f7f3;
  box-shadow: 0 4px 14px rgba(42, 58, 32, 0.08);
  transition: transform 0.2s;
}

.flow-card__btn-marble:hover { transform: translateY(-2px); }

.flow-card__btn-marble span:first-child {
  padding: 12px 20px 12px 22px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2a3228;
  display: flex;
  align-items: center;
}

.flow-card__btn-knob {
  width: 38px;
  min-height: 38px;
  border-radius: 0 50px 50px 0;
  background: radial-gradient(circle at 35% 28%, #c0eca0, #5a9048);
  border-left: 1px solid rgba(138, 176, 104, 0.35);
  flex-shrink: 0;
}

.flow-card__btn-dark {
  display: inline-block;
  padding: 12px 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f0f5ea;
  background: rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(207, 237, 175, 0.4);
  border-radius: 50px;
  transition: transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.flow-card__btn-dark:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 237, 175, 0.6);
}

.flow-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.flow-card__tags span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  border-radius: 4px;
  color: #144a38;
  background: rgba(184, 232, 160, 0.5);
  border: 1px solid rgba(138, 176, 104, 0.4);
}

/* Connectors removed — cards use gap spacing */
.flow-connector--ornate { display: none; }

@media (max-width: 960px) {
  .flow-strip__track {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .flow-card {
    flex: none;
    max-width: 420px;
    width: 100%;
  }
  .flow-card__surface { min-height: 380px; }
  .flow-connector--ornate {
    transform: rotate(90deg);
    width: 44px;
    margin: 4px 0;
  }
}

@media (max-width: 640px) {
  .flow-strip-outer { padding: 48px 16px 56px; }
  .flow-icon { width: 100px; height: 100px; }
}
