/* Shared editorial sections, showcases, cards, and interactive demo */

.home-section {
  padding: clamp(56px, 7vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}

.section-head h2,
.showcase h2,
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.showcase header p,
.work-card p,
.section-lead {
  font-size: clamp(16px, 1.2vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 14px 0 22px;
}

/* Selected work cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--inner-highlight);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--card-shadow);
}

.work-card .card-media {
  height: clamp(210px, 24vw, 320px);
  overflow: hidden;
  background: #10131B;
  border-bottom: 1px solid var(--line);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .card-media img {
  transform: scale(1.025);
}

.card-media.proof {
  padding: 28px 28px 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(2, 132, 199, 0.28), rgba(30, 58, 95, 0.45) 50%, #0E1520 100%);
}

.card-media.proof img {
  height: auto;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.work-card .words {
  padding: clamp(24px, 2.8vw, 38px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

.work-card .words .secondary {
  margin-top: auto;
}

/* Interactive Syntrofos Create showcase */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}

.showcase .kicker {
  color: var(--c-create);
}

.demo-panel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  color: #F7F8FF;
  background:
    radial-gradient(circle at 26% 18%, rgba(124, 77, 255, 0.28), transparent 55%),
    radial-gradient(circle at 82% 88%, rgba(58, 42, 140, 0.35), transparent 55%),
    #10111A;
  border: 1px solid rgba(124, 77, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px -28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  padding: clamp(24px, 3.6vw, 48px);
  gap: clamp(20px, 3vw, 36px);
}

.demo-panel[hidden] {
  display: none;
}

.demo-panel label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #C7C3DC;
  display: block;
  margin: 0 0 10px;
  font-weight: 700;
}

.demo-panel input {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.demo-panel input:focus-visible {
  outline: none;
  border-color: #B79CFF;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.3);
}

.avatar-display {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  position: relative;
}

.avatar-disc {
  --a1: #6746f0;
  --a2: #19d3c5;
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(104px, 11vw, 152px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.52), transparent 36%),
    radial-gradient(circle at 72% 76%, var(--a2), transparent 64%),
    radial-gradient(circle at 28% 72%, var(--a1), transparent 72%),
    linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 56px -10px var(--a1),
    0 18px 40px -16px rgba(0, 0, 0, 0.65);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.avatar-display output {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  text-align: center;
  color: #FFFFFF;
}

/* Founding position manifesto block */
.position-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.position-block blockquote {
  margin: 0;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 3px solid var(--c-create);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.032em;
}

/* Closing CTA banner */
.section.strip {
  border-top: 0;
  margin: clamp(12px, 2vw, 28px) 0 clamp(44px, 5vw, 72px);
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4.5vw, 60px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 92% 10%, rgba(124, 77, 255, 0.16), transparent 55%),
    var(--surface);
  box-shadow: var(--inner-highlight);
}

/* Editorial interiors & product detail stages */
.editorial .page-mast {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 56px);
}

.editorial .reading-spread {
  background: transparent;
  border-color: var(--line);
  padding-inline: 0;
  border-inline: 0;
  border-bottom: 0;
}

.reading-copy img,
.reading-copy video {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 22px 0;
  border: 1px solid var(--line);
}

.reading-copy video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #080911;
}

.screen-figure {
  margin: 0;
  min-width: 0;
}

.screen-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.screen-figure figcaption {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 12px;
}

.screen-stage {
  overflow: hidden;
  padding: clamp(18px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 77, 255, 0.25);
  background: radial-gradient(ellipse at 70% 0%, rgba(124, 77, 255, 0.3), #121322 72%);
  box-shadow: var(--card-shadow);
}

.proof-stage {
  border-color: rgba(2, 132, 199, 0.28);
  background: radial-gradient(ellipse at 70% 0%, rgba(2, 132, 199, 0.26), #101A24 72%);
}

.screen-stage img {
  border-radius: 10px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: 40px;
}

.screen-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.1vw, 32px);
}

.product-detail .actions {
  margin-top: 32px;
}

.manifesto-example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  margin-top: clamp(44px, 6vw, 84px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.manifesto-example h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.manifesto-example p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 14px 0 22px;
}

.inside-notes {
  margin-bottom: clamp(28px, 4vw, 64px);
}

.inside-notes .words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.inside-notes h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.inside-notes .secondary {
  margin-top: auto;
}

@media (max-width: 820px) {
  .showcase,
  .position-block,
  .screen-grid,
  .work-grid,
  .manifesto-example {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-panel {
    min-height: 240px;
  }
  .work-card .card-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .demo-panel {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    padding: 24px 20px;
  }
  .demo-panel label {
    text-align: left;
  }
}
