/* ==========================================================================
   Windows to the Soul — personalised iris prints
   Dark cinematic studio. Ember + teal from the fire/water motif.
   ========================================================================== */

.windows-soul-page {
  --wsoul-navy: var(--fnd-navy, #002b5f);
  --wsoul-ember: #e37a3a;
  --wsoul-teal: #3ec7c0;
  --wsoul-ink: #07080c;
  --wsoul-muted: #9aa6b4;
  --wsoul-panel: #10131a;
  --wsoul-radius: 18px;
  background: #07080c;
  color: #eef2f6;
}

/* Global `label span { color: var(--ink) }` is navy. Force readable type on this dark page. */
.windows-soul-page label span {
  color: #ffffff;
}

.windows-soul-page .skip-link:focus {
  color: #07080c;
}

/* --- Hero ----------------------------------------------------------------- */
.wsoul-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(227, 122, 58, 0.28), transparent 55%),
    radial-gradient(70% 90% at 0% 100%, rgba(62, 199, 192, 0.2), transparent 50%),
    linear-gradient(160deg, #050608 0%, #0b1018 55%, #140c08 100%);
}

.wsoul-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.07) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 64%, rgba(227, 122, 58, 0.12) 0 1.5px, transparent 2.5px);
  background-size: 44px 44px, 32px 32px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.wsoul-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max, 1140px);
  margin: 0 auto;
  padding: clamp(1.6rem, 4.5vw, 2.8rem) var(--gutter, 24px) clamp(1.8rem, 5vw, 3rem);
}

.wsoul-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

@media (max-width: 860px) {
  .wsoul-hero-grid {
    grid-template-columns: 1fr;
  }
}

.windows-soul-page .wsoul-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff !important;
}

.wsoul-hero h1 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.wsoul-hero h1 span {
  background: linear-gradient(90deg, #ffd0a8, #fff 50%, #9af0ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wsoul-hero .lead {
  margin: 0 0 1.1rem;
  max-width: 54ch;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.wsoul-hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1.15rem;
}

.wsoul-hero-price strong {
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wsoul-hero-price span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.wsoul-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.wsoul-hero-actions .button {
  min-height: 48px;
}

.wsoul-hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #7a2e00;
  border-color: rgba(255, 255, 255, 0.85);
}

.wsoul-hero-actions .button.secondary:hover {
  background: #fff;
  color: var(--wsoul-navy);
}

.wsoul-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.wsoul-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.9);
}

.wsoul-proof li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wsoul-ember), var(--wsoul-teal));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.wsoul-hero-visual {
  display: grid;
  gap: 0.7rem;
}

.wsoul-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  background: #000;
  aspect-ratio: 1;
}

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

.wsoul-hero-caption {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

/* --- Meaning -------------------------------------------------------------- */
.wsoul-meaning {
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(62, 199, 192, 0.08), transparent 50%),
    #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wsoul-meaning .wrap {
  max-width: var(--max, 1140px);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.6rem) var(--gutter, 24px);
}

.wsoul-meaning-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wsoul-teal);
}

.wsoul-meaning h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.wsoul-meaning-lead {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.wsoul-meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 760px) {
  .wsoul-meaning-grid {
    grid-template-columns: 1fr;
  }
}

.wsoul-meaning-grid article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1.15rem;
}

.wsoul-meaning-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #fff;
}

.wsoul-meaning-grid article:nth-child(1) h3 { color: #cfd6de; }
.wsoul-meaning-grid article:nth-child(2) h3 { color: var(--wsoul-teal); }
.wsoul-meaning-grid article:nth-child(3) h3 { color: #ffb07a; }

.wsoul-meaning-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Breadcrumb / studio -------------------------------------------------- */
.wsoul-top {
  background: #10131a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wsoul-top .wrap {
  max-width: var(--max, 1140px);
  margin: 0 auto;
  padding: 0.75rem var(--gutter, 24px);
}

.windows-soul-page .shop-breadcrumb,
.windows-soul-page .shop-breadcrumb a,
.windows-soul-page .shop-breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
}

.windows-soul-page .shop-breadcrumb a:hover {
  color: #fff;
}

.wsoul-section {
  max-width: var(--max, 1140px);
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.4rem) var(--gutter, 24px) clamp(2rem, 5vw, 3.2rem);
}

.wsoul-banner {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wsoul-banner--warn {
  background: #2a1d0c;
  border: 1px solid rgba(227, 122, 58, 0.45);
  color: #ffd7b0;
}

.wsoul-banner--ok {
  background: #10261c;
  border: 1px solid rgba(62, 199, 192, 0.35);
  color: #b8f3ee;
}

.wsoul-banner--error {
  background: #2a1014;
  border: 1px solid rgba(201, 0, 90, 0.4);
  color: #ffd0d8;
}

.wsoul-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .wsoul-studio {
    grid-template-columns: 1fr;
  }
}

.wsoul-panel {
  background: var(--wsoul-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--wsoul-radius);
  padding: 1.2rem 1.2rem 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.wsoul-panel--sticky {
  position: sticky;
  top: 1rem;
}

@media (max-width: 900px) {
  .wsoul-panel--sticky {
    position: static;
  }
}

.wsoul-step-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.wsoul-step-num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #120a04;
  background: linear-gradient(135deg, var(--wsoul-ember), #ffd0a8);
}

.wsoul-step-head h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.wsoul-step-head p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--wsoul-muted);
}

.wsoul-step-block {
  margin-bottom: 0.4rem;
}

.wsoul-upload {
  display: block;
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(227, 122, 58, 0.1), transparent 45%),
    linear-gradient(180deg, #141821, #0e1219);
  padding: 1.15rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wsoul-upload:hover,
.wsoul-upload.is-dragover {
  border-color: var(--wsoul-ember);
  box-shadow: 0 0 0 4px rgba(227, 122, 58, 0.12);
}

.wsoul-upload:focus-within {
  outline: 3px solid rgba(62, 199, 192, 0.45);
  outline-offset: 2px;
}

.wsoul-upload-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.55rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(227, 122, 58, 0.2), rgba(62, 199, 192, 0.16));
  color: #ffd0a8;
  font-size: 1.35rem;
  font-weight: 800;
}

.wsoul-upload-title {
  display: block;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.wsoul-upload-hint {
  display: block;
  font-size: 0.88rem;
  color: var(--wsoul-muted);
}

.wsoul-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wsoul-photo-meta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #0a0d13;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wsoul-photo-meta.is-visible {
  display: flex;
}

.wsoul-photo-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  flex: 0 0 auto;
}

.wsoul-photo-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 650;
  word-break: break-word;
}

.wsoul-tips {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(62, 199, 192, 0.06);
  border: 1px solid rgba(62, 199, 192, 0.18);
}

.wsoul-tips h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: #d7fffb;
}

.wsoul-tips ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.wsoul-tips li + li {
  margin-top: 0.25rem;
}

.wsoul-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #ffffff;
}

/* styles.css `label span { color: var(--ink) }` is navy — unreadable on this page. */
.windows-soul-page label.wsoul-consent,
.windows-soul-page label.wsoul-consent span,
.windows-soul-page .wsoul-consent,
.windows-soul-page .wsoul-consent span {
  color: #ffffff !important;
  font-weight: 650;
}

.windows-soul-page label.wsoul-consent span {
  display: inline;
  margin-bottom: 0;
}

.wsoul-consent input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--wsoul-ember);
  flex: 0 0 auto;
}

.wsoul-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.wsoul-form-actions .button,
.wsoul-actions .button {
  min-height: 48px;
  cursor: pointer;
}

.wsoul-form-actions .button:disabled,
.wsoul-actions .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.wsoul-status {
  margin: 0.85rem 0 0;
  min-height: 1.35em;
  font-size: 0.92rem;
  color: var(--wsoul-muted);
  font-weight: 600;
}

.wsoul-status.is-error {
  color: #ffb3bf;
}

.wsoul-status.is-ok {
  color: #9af0ea;
}

.wsoul-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.wsoul-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wsoul-badge--live {
  background: rgba(227, 122, 58, 0.16);
  color: #ffd0a8;
  border-color: rgba(227, 122, 58, 0.35);
}

.wsoul-badge--muted {
  color: var(--wsoul-muted);
}

.wsoul-preview-frame {
  position: relative;
  min-height: min(58vw, 420px);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, #1a120c, #050608 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.wsoul-preview-frame.is-loading {
  border-color: rgba(227, 122, 58, 0.5);
  box-shadow: 0 0 0 3px rgba(227, 122, 58, 0.12);
}

.wsoul-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(70vh, 520px);
  object-fit: contain;
  background: #000;
}

.wsoul-preview-frame img[hidden] {
  display: none !important;
}

.wsoul-preview-empty {
  padding: 1.75rem 1.4rem;
  text-align: center;
  color: var(--wsoul-muted);
  max-width: 30ch;
}

.wsoul-preview-empty strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.wsoul-preview-empty p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.wsoul-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(5, 6, 8, 0.88);
  z-index: 2;
}

.wsoul-loader[hidden] {
  display: none !important;
}

.wsoul-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--wsoul-ember);
  border-right-color: var(--wsoul-teal);
  animation: wsoul-spin 0.85s linear infinite;
}

@keyframes wsoul-spin {
  to { transform: rotate(360deg); }
}

.wsoul-loader-title {
  margin: 0.4rem 0 0;
  font-weight: 800;
  color: #fff;
  font-size: 1.08rem;
}

.wsoul-loader-text {
  margin: 0;
  color: var(--wsoul-muted);
  font-size: 0.95rem;
  min-height: 1.4em;
}

.wsoul-loader-hint {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #7b8794;
}

.wsoul-sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.wsoul-size {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #0a0d13;
  cursor: pointer;
}

.wsoul-size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wsoul-size strong {
  color: #fff;
  font-size: 0.95rem;
}

.wsoul-size span {
  color: var(--wsoul-muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.wsoul-size.is-selected {
  border-color: var(--wsoul-ember);
  background: linear-gradient(180deg, rgba(227, 122, 58, 0.16), #0a0d13);
  box-shadow: inset 4px 0 0 var(--wsoul-ember);
}

.wsoul-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0.35rem 0 0.85rem;
}

.wsoul-actions form {
  display: inline-flex;
  margin: 0;
}

.wsoul-fineprint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--wsoul-muted);
}

.wsoul-trust {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 760px) {
  .wsoul-trust {
    grid-template-columns: 1fr;
  }
}

.wsoul-trust-card {
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
}

.wsoul-trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #fff;
}

.wsoul-trust-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--wsoul-muted);
}

.wsoul-framed {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: center;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--wsoul-radius);
  padding: 1.1rem;
}

@media (max-width: 760px) {
  .wsoul-framed {
    grid-template-columns: 1fr;
  }
}

.wsoul-framed figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.wsoul-framed img {
  display: block;
  width: 100%;
  height: auto;
}

.wsoul-framed h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.35rem;
}

.wsoul-framed p {
  margin: 0 0 1rem;
  color: var(--wsoul-muted);
  line-height: 1.5;
  max-width: 46ch;
}

/* Keep site header/footer readable on the dark page */
.windows-soul-page main a.button {
  text-decoration: none;
}
