/* ─────────────────────────────────────────────
   FIELD REPORT — Project-Specific Styles
   IDEO Internship · 2012
   Import AFTER style.css and case-study.css
   ───────────────────────────────────────────── */

/* ── BRAND TOKENS ── */
:root {
  --accent:             #C25C2A; /* terracotta */
  --accent-hover:       #A34A22;
  --accent-light:       #FCEEE6;
  --accent-mid:         #E07D52; /* for elements on dark bg */
  --dark:               #1C1916; /* warm black */
  --dark-surface:       #252220;
  --dark-surface-hover: #2E2A27;
  --text-on-dark:       #B5AEA8;
  --mid:                #5C534D;
  --light:              #F8F5F2;
  --white:              #ffffff;
  --radius:             4px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 300; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 400; }
em { font-style: italic; color: var(--accent-mid); }

.body-text         { color: var(--mid); }
.body-text strong  { color: var(--dark); font-weight: 500; }

/* ── SECTION LABEL ── */
.section-label { color: var(--accent); }

/* ── DIVIDER ── */
.divider          { background: var(--accent); }
.divider--light   { background: var(--accent-light); }

/* ── SECTION VARIANTS ── */
.cs-section--dark .section-label   { color: var(--accent-mid); opacity: 1; }
.cs-section--dark .section-title   { color: var(--white); }
.cs-section--dark .divider         { background: var(--accent-mid); opacity: 1; }
.cs-label-on-dark        { color: var(--accent-mid) !important; opacity: 1 !important; }

/* ── SECTION TITLE ── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

/* ── CONTEXT QUOTE ── */
.fr-context-quote {
  margin-top: 2.5rem;
}
.fr-context-quote__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.fr-context-quote__text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  line-height: 1.45;
  margin: 0 0 1rem;
}
.fr-context-quote__attr {
  font-size: 0.88rem;
  color: var(--mid);
  margin: 0;
}
.fr-context-body {
  margin-top: 2rem;
  max-width: 62ch;
  color: var(--mid);
  line-height: 1.8;
}

/* ── IMG / VIDEO ── */
img, video { border-radius: var(--radius); }

/* ── OBSERVATION ROWS ── */
.fr-obs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(255,255,255,0.06);
}
.fr-obs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,0.06);
}
.fr-obs-row .cs-pain-number {
  color: rgba(194, 92, 42, 0.2);
}
.fr-obs-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
@media (max-width: 900px) {
  .fr-obs-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.cs-hero         { min-height: 96vh; padding-top: 64px; }
.cs-hero__left   { background: var(--dark); padding: 5rem 4rem; justify-content: flex-end; gap: 2rem; }
.cs-hero__tag    { color: var(--accent-mid); margin-bottom: 0.5rem; }
.cs-hero__title  { font-weight: 700;}

.cs-hero__right  { background: var(--accent); align-items: flex-start; }
.cs-hero__problem-label { color: rgba(255,255,255,0.6); }
.cs-hero__problem h2    { color: var(--white); font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.cs-hero__problem h2 strong { font-weight: 600; }

/* ══════════════════════════════════════════════
   PAIN CARDS (dark grid — terracotta accents)
   ══════════════════════════════════════════════ */

.cs-pain-card         { background: var(--dark-surface); gap: 0.75rem; padding: 2rem; flex-direction: column; display: flex; }
.cs-pain-card:hover   { background: var(--dark-surface-hover); }
.cs-pain-number       { color: var(--accent-mid); }
.cs-pain-title        { font-size: 1rem; font-weight: 600; color: var(--white); }
.cs-pain-desc         { font-size: 0.9rem; color: var(--text-on-dark); }
.cs-pain-desc strong  { color: var(--white); font-weight: 600; }

/* ══════════════════════════════════════════════
   VIDEO EMBED
   ══════════════════════════════════════════════ */

.cs-video-embed              { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; border-radius: var(--radius); }
.cs-video-embed video,
.cs-video-embed iframe       { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════════════════
   TESTIMONIAL OVERRIDES
   ══════════════════════════════════════════════ */

.cs-testimonial--terra  { background: var(--accent); }
.cs-testimonial--terra .cs-testimonial__quote { color: var(--white); }
.cs-testimonial--terra .cs-testimonial__attr  { color: rgba(255,255,255,0.6); }
.cs-testimonial__quote  { font-style: normal; margin-bottom: 0; line-height: 1.7; }
.cs-testimonial__attr   { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 1.25rem; margin-bottom: 0; color: var(--mid); }
.cs-testimonial--light .cs-testimonial__quote { font-size: 1.05rem; }

/* ══════════════════════════════════════════════
   OUTCOMES
   ══════════════════════════════════════════════ */

.cs-outcomes            { background: var(--accent-light); padding: 5rem 0; }
.cs-outcomes .section-label { color: var(--accent); opacity: 1; }
.cs-outcomes .section-title { color: var(--dark); }
.cs-outcomes .divider   { background: var(--accent); }

/* ══════════════════════════════════════════════
   DECISION STRIP (section 03)
   ══════════════════════════════════════════════ */

.fr-decision {
  background: var(--accent);
  padding: 7rem 0;
}
.fr-decision .container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 1.5rem;
  align-items: start;
}
.fr-decision__left    { position: sticky; top: 100px; }
.fr-decision__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  font-weight: 500;
}
.fr-decision__num {
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-top: 0.5rem;
}
.fr-decision__heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.fr-decision__heading em  { font-style: italic; color: rgba(255,255,255,0.65); }
.fr-decision__body        { color: rgba(255,255,255,0.85); line-height: 1.8; }
.fr-decision__body strong { color: #fff; font-weight: 600; }

/* ══════════════════════════════════════════════
   PARALLAX BANNER (section 04)
   ══════════════════════════════════════════════ */

.fr-parallax {
  margin-top: 3rem;
  height: 520px;
  position: relative;
  overflow: hidden;
}
.fr-parallax__bg {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + 300px);
  object-fit: cover;
  will-change: transform;
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .cs-hero               { grid-template-columns: 1fr; min-height: auto; }
  .cs-hero__left         { justify-content: flex-start; }
  .cs-two-col            { grid-template-columns: 1fr; gap: 2rem; }
  .cs-img-grid-2,
  .cs-img-grid-3         { grid-template-columns: 1fr; }
  .fr-parallax           { height: 300px; }
  .fr-decision .container { grid-template-columns: 1fr; gap: 2rem; }
  .fr-decision__left     { position: static; }
}
