/* ==========================================================================
   Section-specific layout: Problem, Offer, Proof, About, Contact
   ========================================================================== */

/* ---------- Problem ---------- */
/* Petrol-Bold = proof: the numbers are a notch bigger than the sentence, punchy */
.proof {
  color: var(--petrol);
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

/* Footnote asterisk on Gallup figures + the one source line at the end of the section */
.fn { font-weight: 500; color: var(--petrol); }
.source {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--tinte-soft);
}
.source a { text-underline-offset: 3px; }
.source a:hover { color: var(--tinte); }

/* Bridge into the two blocks: what it looks like vs. what it is (THE Magenta statement of this section) */
.problem-bridge {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.problem-point {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
  color: var(--magenta);
}

/* Framed blocks: interview quote on top, then the Gallup statement, all in ONE frame */
.problem-block { gap: 0.75rem; }
/* Interview quote: bold Magenta mark, then the quote, then role + industry */
.problem-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.problem-quote::before {
  content: "“";
  height: 0.5em;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--magenta);
}
.problem-quote blockquote { margin: 0; }
.problem-quote figcaption {
  font-size: var(--fs-small);
  font-weight: 500;
}
/* Closing thought after the last block */
.problem-close { margin-top: 1rem; }
/* (25.10.) Quotes open their frame: upright, medium weight, same size as the statement.
   The bold Magenta mark and the normal curly quotes in the text stay */
.problem-block .problem-quote { margin: 0 0 1rem; }
.problem-quote blockquote p {
  font-size: var(--fs-lead);
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Offer (19.10.): headline, intro, value line, three pillar cards stacked ---------- */
/* Long two-line headline: a notch smaller than the other section headlines, one sentence per line */
.section .offer-title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.15;
}
.offer-title-line { display: block; }

.offer-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* The value line: its own beat, bigger and bold. Only the ending is Magenta (THE statement of this section) */
.offer-value {
  margin-block: 0.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--tracking-tight);
}

.offer-value .statement { color: var(--magenta); }
/* (16.11., Franzi) "I create the spaces…" on its own line in the My Offer box, so it stands for itself */
.offer-value.key-statement .statement { display: block; margin-top: 0.75rem; }

.offer-question {
  margin-top: 0.5rem;
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--petrol);
}

/* Pillar cards: Petrol frame, no fill. Pain a touch softer, the solution in full Tinte. No lines in between */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pillar { gap: 1rem; }
.pillar .eyebrow { margin-bottom: -0.25rem; }
.pillar-pain { color: rgba(45, 42, 62, 0.72); }
.pillar-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.pillar-stat .stat-label { max-width: 34rem; line-height: 1.45; }  /* (10.11., Franzi) back to the small size (17px from components.css): calmer next to the big number */

/* "Read more": same control as on the Testimonials page */
.pillar-more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  padding-bottom: 0.15rem;
  background: var(--shift-gradient) left bottom / 100% 2px no-repeat;
}
.pillar-more summary::-webkit-details-marker { display: none; }
.pillar-more summary::after { content: "+"; font-weight: 700; color: var(--petrol); }
.pillar-more[open] summary::after { content: "–"; }
.pillar-more .more-open,
.pillar-more[open] .more-closed { display: none; }
.pillar-more[open] .more-open { display: inline; }
.pillar-more summary:focus-visible { outline: 3px solid var(--petrol); outline-offset: 4px; }

.pillar-more-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.pillar-more-body h4 {
  margin: 0.5rem 0 0;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--petrol-text);
}
.pillar-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pillar-list li { padding-left: 0.25rem; }
.pillar-list li::marker { color: var(--petrol); }

/* ---------- Proof ---------- */
.proof-stats { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

@media (min-width: 700px) {
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .proof-stats { grid-template-columns: repeat(4, 1fr); }
}

.proof-projects { margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }


/* ---------- Contact ---------- */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* Parked proof block inside My Offer (was "The Data") */
.offer-proof { margin-top: clamp(3rem, 5vw, 4rem); }

/* ---------- Key statements (22.10.): the one essential sentence of a section sits in the shift gradient frame.
   Same width as the text around it, so it stays part of the flow ---------- */

/* The Problem: setup line and punch line read as one thought, inside one frame */
.problem-bridge.key-statement { gap: 0.35rem; margin-top: 0.5rem; }
.problem-bridge .lead {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
}

/* My Offer: value line in the frame, a touch smaller so the frame does not shout */
.offer-value.key-statement {
  margin-block: 0.5rem;
  font-size: var(--fs-lead);  /* (15.11., Franzi) same size as the paragraph above it */
}

/* Bold inside the softer pain line stays readable */
.pillar-pain strong { color: var(--tinte); }

/* Pillar labels (23.10.): "1 · Inspire" etc. larger and bold, so they hold their own against the card content */
.pillar .eyebrow {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0;
}

/* Pillar icons (24.10., first proposal): same line style as the format icons on Working Together, Petrol, next to the label */
.pillar-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pillar-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--petrol);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar-label .eyebrow { margin: 0; }

/* (25.10.) "In most teams…" without a frame: setup line in running-text size, the punch line carries
   the emphasis on its own (large Magenta), with air above and below. The boxes that follow stay the only frames */
.problem-bridge {
  gap: 0.6rem;
  margin-block: clamp(1rem, 2.5vw, 1.75rem);
}
.problem-bridge .lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
}
.problem-point {
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem);
  line-height: 1.2;
}

/* My Offer end (25.10.): quiz pointer as quiet second option right under the button.
   Clearly a link: gradient underline like all text links, asterisk in Magenta */
/* (27.10., Franzi) Same size and weight as "I meet you where you are", more room above, so the ending reads as
   statement, button, quiet second door. Link not bold: the gradient underline alone marks it */
.offer-end .offer-check {
  margin-top: 0;  /* (15.11., Franzi) 24px under the button (the column gap), same as the Culture Check result */
  font-size: var(--fs-small);  /* (15.11., Franzi) quiet second door, same size as "This way to retake the check" (17px) */
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--tinte);
}
.offer-end .offer-check a {
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 0.1rem;
  background: var(--shift-gradient) left bottom / 100% 2px no-repeat;
}
.offer-end .offer-check a:hover { background-size: 100% 3px; }
.offer-end .offer-check .check-star { color: var(--magenta); }
/* (15.11., Franzi) question and link in one line, the link alone carries the underline */.offer-end .offer-check-q { display: inline; }

/* (27.10.) Setup line before "missing connection" one step bigger, so both lines read as one block */
.problem-bridge .lead {
  font-size: var(--fs-h3);
  line-height: 1.35;
  /* (04.11.) No balancing: the line uses the full width like the text around it (Franzi) */
}

/* ---------- Homepage offer teaser (08.11.): three small tiles, each opens its card on /my-offer/ ---------- */
.offer-teaser {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .offer-teaser { grid-template-columns: repeat(3, 1fr); }
}
.offer-tile {
  height: 100%;
  gap: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.offer-tile:hover,
.offer-tile:focus-visible { border-color: var(--magenta); transform: translateY(-2px); }
.offer-tile-title {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.3;
}
@media (prefers-reduced-motion: reduce) {
  .offer-tile { transition: none; }
  .offer-tile:hover, .offer-tile:focus-visible { transform: none; }
}
/* Jump from a homepage tile: the card title lands below the sticky header */
.pillar h3 { scroll-margin-top: 7rem; }
/* (08.11.) Homepage: subheading "How do I achieve that?" above the tiles */
.offer-question-head + .offer-teaser { margin-top: 0.5rem; }

/* ---------- My Offer: examples fold one by one (10.11.), title visible like the toolbox ---------- */
.pillar-list.examples { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.pillar-more .example-more > summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--fs-body);
  font-weight: 400;
  background: none;
  padding: 0.75rem 0 0;
  border-top: 2px solid rgba(15, 138, 138, 0.25);
}
.pillar-more .example-more > summary::after { content: "+"; }
.pillar-more .example-more[open] > summary::after { content: "–"; }
.example-more > p { margin: 0.75rem 0 0; }

/* ---------- My Offer: All Hands story as a carousel (10.11.) ----------
   One card visible, swipe or arrows/dots. Cards Petrol frame, no fill, equal height (scroll snap) */
.story { margin-top: clamp(3rem, 6vw, 4.5rem); }
.story-head { margin-bottom: 2rem; }  /* (15.11.) 2rem under every headline line, same as "How do I achieve that?" */
.story-track {
  display: flex;
  gap: 1rem;  /* story.js uses 16px to find the current card */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.story-track::-webkit-scrollbar { display: none; }
.story-track:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }
.story-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--petrol);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.story-step { margin: 0; }
.story-controls { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; margin: 0 0 1.25rem; }  /* (15.11.) above the cards, right, like Testimonials */
.story-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--petrol);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font: 500 1.125rem/1 inherit;
  color: var(--tinte);
  transition: opacity 0.2s;
}
.story-arrow:disabled { opacity: 0.3; cursor: default; }
.story-arrow:hover:not(:disabled) { border-color: var(--magenta); }
.story-dots { display: flex; gap: 0.25rem; }
.story-dots button { width: 2rem; height: 2rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.story-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.625rem;
  height: 0.625rem;
  border: 2px solid var(--petrol);
  border-radius: 50%;
  box-sizing: border-box;
}
.story-dots button[aria-current="true"]::after { background: var(--petrol); }
.story-arrow:focus-visible,
.story-dots button:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; border-radius: 50%; }

/* ---------- Homepage (14.11.) ---------- */
/* Big buttons that wrap on phones: text and asterisk flow as one line of text, centered */
.offer-end .btn,
.hero-meet .btn { display: inline-block; text-align: center; line-height: 1.35; white-space: normal; }
#about-teaser .offer-end { margin-top: 1rem; }
/* Offer tiles: one sentence under the title */
.offer-tile-text { display: block; margin-top: 0.4rem; font-size: var(--fs-small); font-weight: 400; line-height: 1.5; color: var(--tinte); }
/* Working Together formats: the target icon has one filled dot */
.home-formats .fill { fill: var(--petrol); stroke: none; }

/* (14.11., Franzi) My Offer key statement: the explanation in normal weight, only the Magenta statement stays bold */
.key-statement .key-statement-lead { font-weight: 400; }

/* (15.11.) Homepage: one testimonial (Arda) and the Culture Check invitation under "Are you..." */
#voice .testimonial { max-width: 46rem; }
.check-invite .text-link { display: inline; padding-bottom: 0.15rem; }

/* (15.11., Franzi) Homepage: the short lines that open a block ("This is how I bring it to life*", "Are you...",
   "What happens to your culture…") all look the same: bold, one step above the text */
.teaser-lead { font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; }
.teaser-lead .life-f { color: var(--magenta); }
/* (15.11., Franzi) Quiz invitation on two lines: the question as plain text, the link below it */
.check-invite .check-invite-q { display: block; }
