/* ============================================
   BESPOKED AI — Layout treatments
   Added 15 May 2026. Supplements styles.css with the
   section layouts from the full-site redesign.
   styles.css and mobile.css are unchanged.

   Treatments:
     Direction A — atmospheric scatter   (Who is this for)
     Direction B — editorial type-led    (Ethics preview + unresolved)
     Direction C — glyph index           (What we do + Ethics principles)

   Chartreuse note: the long stark drift lines from the
   8 May mockup are replaced with a soft diffuse glow.
   All smaller chartreuse accents are kept.
   ============================================ */

/* ---- Soft diffuse chartreuse glow (replaces stark drift lines) ---- */
.soft-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(235, 248, 83, 0.20) 0%,
    rgba(235, 248, 83, 0.09) 38%,
    rgba(235, 248, 83, 0) 72%);
  filter: blur(34px);
}
.soft-glow--dark {
  background: radial-gradient(circle,
    rgba(235, 248, 83, 0.17) 0%,
    rgba(235, 248, 83, 0.07) 40%,
    rgba(235, 248, 83, 0) 73%);
}

/* ============================================
   DIRECTION A — ATMOSPHERIC SCATTER  (Who is this for)
   ============================================ */
.a-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}
.a-section--warm {
  background: var(--cream);
  background-image: url('assets/bg/bg-light-02.png');
  background-size: cover;
  background-position: center right;
}
.a-section--warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(230, 225, 215, 0.55) 0%,
    rgba(230, 225, 215, 0.85) 100%);
}
.a-canvas {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  z-index: 2;
}
.a-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 15em;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 3;
}
.a-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.a-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--chartreuse);
}
.a-content {
  max-width: 38em;
  position: relative;
  z-index: 3;
}

/* Scatter layer */
.a-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.a-scatter img {
  position: absolute;
  opacity: 0.42;
  filter: saturate(0.8);
  transition: opacity 0.6s ease;
}
.a-section:hover .a-scatter img { opacity: 0.55; }

/* Chartreuse used as solid graphic marks — kept */
.a-mark { position: absolute; pointer-events: none; }
.a-mark--bar    { background: var(--chartreuse); width: 4px; height: 80px; }
.a-mark--streak { background: var(--chartreuse); height: 2px; width: 280px; transform: rotate(-4deg); }
.a-mark--dot    { background: var(--chartreuse); width: 14px; height: 14px; border-radius: 50%; }
.a-mark--ring   { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--chartreuse); background: transparent; }

/* The thin streak-line across Who is this for — kept */
.drift-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.drift-line path {
  stroke: var(--chartreuse);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  opacity: 0.8;
}

.a-s2 { padding: var(--space-2xl) 0; }
.a-s2 .a-content { max-width: 38em; }
.a-s2 .a-mk-bar     { right: 6%;  top: 8%; }
.a-s2 .a-mk-streak1 { right: 8%;  top: 22%; }
.a-s2 .a-mk-streak2 { right: 16%; bottom: 18%; transform: rotate(-2deg); width: 220px; }
.a-s2 .a-mk-ring    { right: 22%; top: 36%; }
.a-s2 .a-mk-dot     { right: 30%; top: 64%; }
.a-s2 .ic-1 { right: 4%;  top: 4%;    width: 150px; }
.a-s2 .ic-2 { right: 30%; top: 48%;   width: 110px; opacity: 0.42; }
.a-s2 .ic-3 { right: 6%;  bottom: 8%; width: 130px; }
.a-s2 .ic-4 { right: 32%; top: 12%;   width: 80px;  opacity: 0.35; }

.a-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: var(--space-md);
  padding: 0.85em 2em;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.a-cta:hover { background: var(--chartreuse); color: var(--charcoal); }

/* ============================================
   DIRECTION B — EDITORIAL TYPE-LED  (Ethics preview + unresolved)
   ============================================ */
.b-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}
.b-section .container { max-width: 1320px; }
.b-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.b-eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--chartreuse);
}

.b-s3 {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-2xl) 0;
}
.b-s3 .b-eyebrow { color: var(--chartreuse); }
.b-s3 .b-eyebrow::before { background: var(--chartreuse); }
.b-s3::before {
  content: '';
  position: absolute;
  left: -8%;
  top: -10%;
  width: 70%;
  height: 80%;
  background-image: url('assets/bg/bg-dark-02.png');
  background-size: cover;
  opacity: 0.16;
  filter: brightness(1.6);
  transform: rotate(-6deg);
  pointer-events: none;
}
.b-s3 .container { position: relative; z-index: 2; }
.b-s3 .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.b-s3 .quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  max-width: 22em;
  border-left: 3px solid var(--chartreuse);
  padding-left: var(--space-md);
  color: var(--cream);
  margin-bottom: var(--space-md);
}
.b-s3 .quote em { font-style: italic; color: var(--stone); }
.b-s3 p { color: var(--stone); max-width: 34em; }
.b-s3 .feature-icon {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.b-s3 .feature-icon img {
  width: 280px;
  opacity: 0.5;
  filter: brightness(1.7) saturate(0.7);
  position: relative;
  z-index: 2;
}

/* Editorial split — used for the Ethics "unresolved" sections */
.b-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-lg);
  align-items: start;
}
.b-split .b-eyebrow { margin-bottom: var(--space-sm); }
.b-split h2 { margin-bottom: var(--space-md); }
.b-split__body p { margin-bottom: var(--space-sm); }
.b-split .glyph-row {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-md);
}
.b-split .glyph-row img {
  width: 56px;
  opacity: 0.45;
  flex-shrink: 0;
}

/* ============================================
   DIRECTION C — GLYPH INDEX  (What we do + Ethics principles)
   ============================================ */
.c-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}
.c-section .container { max-width: 1100px; }
.c-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Grounded header block — headline + short chartreuse rule */
.c-header {
  max-width: 56em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--chartreuse);
  position: relative;
  z-index: 2;
}
.c-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  max-width: 16em;
  margin-bottom: var(--space-sm);
}
.c-header p {
  color: var(--text-muted);
  max-width: 38em;
  font-size: 0.95rem;
  margin: 0;
}

/* C — What we do — numbered index */
.c-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.c-list li {
  display: grid;
  grid-template-columns: 56px 56px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.c-list li:last-child { border-bottom: 1px solid var(--border); }
.c-list .n {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 0.3rem;
}
.c-list .ic {
  width: 48px;
  height: 48px;
  opacity: 0.7;
  margin-top: 0.1rem;
}
.c-list .body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.c-list .body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 40em;
}

/* C — Ethics principles — glyph index, 8 items */
.c-principles {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.c-principles li {
  display: grid;
  grid-template-columns: 64px 60px 1.1fr 2fr;
  gap: var(--space-md);
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.c-principles li:first-child { border-top: 1px solid var(--border); }
.c-principles li:hover { background: rgba(235, 248, 83, 0.04); }
.c-principles .n {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-top: 0.35rem;
}
.c-principles .ic {
  width: 44px;
  height: 44px;
  opacity: 0.65;
}
.c-principles .title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
  padding-top: 0.15rem;
}
.c-principles .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-top: 0.2rem;
}

/* ---- About page editorial treatment ---- */
.about-block { position: relative; }
.about-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 18em;
  margin-bottom: var(--space-md);
}
.about-body p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .b-s3 .grid,
  .b-split {
    grid-template-columns: 1fr;
  }
  .c-list li { grid-template-columns: 44px 1fr; }
  .c-list .ic { display: none; }
  .c-principles li { grid-template-columns: 44px 1fr; }
  .c-principles .n,
  .c-list .n { display: none; }
  .a-scatter { opacity: 0.5; }
}
