/* ============================================================
   SHARED STYLES — maciejszafraniec.com
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg: #fafaf7;
  --ink: #1f1f1f;
  --ink-soft: #555;
  --ink-softer: #888;
  --card: #ececea;
  --card-2: #eeeeec;
  --highlight: #fff176;
  --link-underline: #ffd54f;
  --blue: #d6ebf4;
  --blue-hover: #c9e4f0;
  --cream: #fbf0d9;
  --cream-hover: #f7e8c9;
  --pink: #f4dde2;
  --pink-hover: #eeced5;
  --accent-yellow: #ffc423;
  --accent-blue: #4cc0e8;
  --border-soft: #e4e4e1;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- BASE ---------- */
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 840px;
  margin: 0 auto;
  padding: 88px 28px 40px;
}

/* ---------- HIGHLIGHT SPANS ---------- */
.hl {
  display: inline;
  padding: 0 3px;
  background-image: linear-gradient(180deg, var(--highlight), var(--highlight));
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 100%;
  transition: background-image .5s ease;
}
.hl[data-reveal] {
  cursor: pointer;
  user-select: none;
  transition: background-size .5s cubic-bezier(.2,.8,.2,1), background-image .5s ease;
}
.hl[data-reveal]:hover {
  background-image: linear-gradient(180deg, #ffe14a, #ffe14a);
  background-size: 100% 45%;
}
.hl.consumed {
  background-image: none !important;
  background-size: 0 0 !important;
}

/* ---------- SECTION HEADING ---------- */
.section-heading {
  font-family: 'Futura', 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #222;
  margin: 32px 0;
  text-transform: uppercase;
}

/* ---------- BUTTONS ---------- */
.btn {
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: scale(1.03); box-shadow: none; }

.btn-yellow {
  background: #f4bc23;
  color: #fff;
  opacity: 0.8;
  transition: opacity .25s ease, transform .2s ease;
}
.btn-yellow:hover { opacity: 1; transform: scale(1.03); box-shadow: none; }

.btn-blue {
  background: var(--accent-blue);
  color: #fff;
  opacity: 0.8;
  transition: opacity .25s ease, transform .2s ease;
}
.btn-blue:hover { opacity: 1; transform: scale(1.03); box-shadow: none; }

.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: #444;
  padding: 10px 14px;
  border-radius: 5px;
  border: none;
  outline: none;
}
.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active {
  background: #fff;
  transform: scale(1.03);
  box-shadow: none;
  border: none;
  outline: none;
}

/* ---------- BANDS (index "Other Things" + case study team band) ---------- */
.band {
  border-radius: 7px;
  padding: 40px 48px 52px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  height: 280px;
  position: relative;
  overflow: hidden;
}
.band.blue  { background: var(--blue); }
.band.blue p { font-size: 18px; }
.band.cream { background: var(--cream); }
.band.pink  { background: var(--pink); }

.band p {
  font-size: 17px;
  color: #2c2c2c;
  max-width: 360px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.band .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.band-art {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- SOCIAL ICONS ---------- */
.socials { display: flex; gap: 8px; margin-top: 4px; }
.sc {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.7);
  border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #444;
  transition: background .2s ease, transform .2s ease;
  text-decoration: none;
}
.sc:hover { background: #fff; transform: scale(1.12); }
.sc svg { width: 16px; height: 16px; }

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  font-size: 13px;
  color: #888;
  padding: 32px 12px 16px;
  margin-top: 48px;
}
.footer a {
  color: #2e86de;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ---------- BACK LINK (case study pages) ---------- */
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 32px;
  background-image: linear-gradient(180deg, rgba(63, 227, 107, 0.2), rgba(63, 227, 107, 0.2));
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 100%;
  padding: 0 3px;
  transition: background-image .4s ease;
}
.back:hover { background-image: linear-gradient(180deg, rgba(30, 208, 79, 0.5), rgba(30, 208, 79, 0.5)); }
.back svg { width: 14px; height: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 560px) {
  .band { grid-template-columns: 1fr; height: auto; }
  .band-art { height: 120px; }
}

/* ============================================================
   INDEX PAGE STYLES
   ============================================================ */

/* Index has more top padding to clear the larger hero */
.page { padding-top: 88px; font-size: 18px; }

/* ---------- HERO ---------- */
.hero {
  background: var(--card);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 1fr 260px;
  min-height: 280px;
  align-items: stretch;
  position: relative;
}
.hero-text {
  padding: 52px 48px;
  align-self: center;
}
.hero-text h1 {
  font-family: 'Futura', 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-text p {
  font-size: 17px;
  color: #3a3a3a;
  max-width: 460px;
}

/* click-to-reveal paragraphs */
.hero-reveal {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.55;
  max-width: 460px;
  transform: translateY(-4px);
  transition: max-height .25s ease, opacity .25s ease, transform .25s ease, margin-top .25s ease;
}
.hero-reveal.open {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
  animation: hero-reveal-flash 4s ease-out forwards;
  border-radius: 4px;
}
@keyframes hero-reveal-flash {
  0%   { background-color: rgba(255, 241, 118, 0.2); }
  100% { background-color: rgba(255, 241, 118, 0); }
}

/* reset link */
.hero-reset {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  color: #3a3a3a;
  cursor: pointer;
  text-decoration: none;
  background-image: linear-gradient(180deg, rgba(63, 227, 107, 0.2), rgba(63, 227, 107, 0.2));
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 100%;
  padding: 0 3px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .4s ease 0s, transform .4s ease 0s, background-image .5s ease;
}
.hero-reset.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .4s ease 1s, transform .4s ease 1s, background-image .5s ease;
}
.hero-reset:hover {
  background-image: linear-gradient(180deg, rgba(30, 208, 79, 0.5), rgba(30, 208, 79, 0.5));
}

/* photo column */
.hero-photo {
  background: #d6d6d3;
  position: relative;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.hero-photo .stripes-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.hero-photo .stripes-bg svg { width: 100%; height: 100%; display: block; }
.hero-portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: calc(100% + 56px);
  width: auto;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}
.photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}

/* index section heading is centred */
.section-heading { text-align: center; }

/* ---------- WORK GRID ---------- */
@property --tile-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 890px;
  margin: 0 -54px;
}

.tile {
  --c1: #ffb37a;
  --c2: #ffd98a;
  --c3: #f0efec;
  --c-base: #e9c9a8;
  background-color: #f0efec;
  border-radius: 6px;
  padding: 40px 32px 32px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1),
              box-shadow .5s ease,
              background-color .5s ease,
              border-radius .5s cubic-bezier(.2,.8,.2,1);
}

/* colour bloom follows the mouse */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
    circle 300px at var(--mx, 50%) var(--my, 50%),
    var(--c1) 0%, var(--c1) 18%, var(--c2) 40%, var(--c3) 65%, transparent 100%
  );
  opacity: 0;
  transition: opacity .5s ease;
}
/* soft veil */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle 220px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 70%
  );
  opacity: 1;
  transition: opacity .6s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.28), 0 2px 8px -4px rgba(0,0,0,0.08);
  border-radius: 10px;
  background-color: var(--c-base);
}
.tile:hover::before { opacity: var(--hover-bloom, 0.7); }
.tile:hover::after  { opacity: calc(var(--hover-bloom, 0.7) * 0.78); }

.tile:hover,
.tile:hover .desc,
.tile:hover .logo,
.tile:hover .logo-type,
.tile:hover .logo-type * { color: #fff !important; }
.tile:hover .logo-type svg path,
.tile:hover .logo-type svg circle,
.tile:hover .logo-type svg rect { fill: #fff !important; stroke: #fff !important; }
.tile:hover .logo-type span[style*="background:#111"],
.tile:hover .logo-type span[style*="background: #111"] { background: #fff !important; }

/* per-tile colour palettes */
.tile[data-accent="zendesk"]  { --c1:#d8ecdf; --c2:#e5f0e8; --c3:#eef5ef; --c-base:#b7d4c0; }
.tile[data-accent="soopa"]    { --c1:#ffe3c2; --c2:#ffecd2; --c3:#fff3de; --c-base:#f0c89c; }
.tile[data-accent="followup"] { --c1:#d8e8ff; --c2:#e5eeff; --c3:#eef4ff; --c-base:#b2c8e8; }
.tile[data-accent="local"]    { --c1:#ffd4bd; --c2:#ffdecc; --c3:#fde7db; --c-base:#f1b69c; }
.tile[data-accent="bidroom"]  { --c1:#e0d7f7; --c2:#e8e1f9; --c3:#efe9fb; --c-base:#c5b9e8; }

.tile.row-1 { grid-column: span 3; }
.tile.row-2 { grid-column: span 2; }

.tile .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-bottom: 14px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), color .5s ease;
}
.tile .logo-type,
.tile .logo-type * { transition: color .5s ease, background-color .5s ease, fill .5s ease, stroke .5s ease; }
.tile .desc {
  font-size: 15px;
  color: var(--ink-softer);
  max-width: 300px;
  line-height: 1.5;
  transition: opacity .25s ease, color .5s ease;
}

/* accent bottom bar — hidden by default */
.tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  opacity: 0;
}
.tile:hover .logo { transform: scale(1.06); }
.tile:hover::after { transform: scaleX(1); }

/* logo type styles */
.logo-type {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-type .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1a1a1a;
  display: inline-block;
}
.logo-type.italic { font-style: italic; }
.logo-arrow {
  width: 0; height: 0;
  border-left: 9px solid #1a1a1a;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: inline-block;
  margin-left: 3px;
}

/* ---------- TWEAKS PANEL ---------- */
#tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 9999;
  width: 280px;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 12px 40px -10px rgba(0,0,0,0.25), 0 2px 8px -4px rgba(0,0,0,0.1);
  padding: 14px 16px 16px;
  border: 1px solid rgba(0,0,0,0.06);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
#tweaks-panel[hidden] { display: none; }
#tweaks-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
#tweaks-reset {
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  color: #555;
  font-family: inherit;
}
#tweaks-reset:hover { background: #f5f5f5; }
.tweak-group { margin-bottom: 14px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label {
  display: block;
  font-weight: 600;
  color: #555;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tweak-label span { color: #999; font-weight: 500; text-transform: none; letter-spacing: 0; float: right; }
.preset-row { display: flex; gap: 4px; flex-wrap: wrap; }
.preset-chip {
  flex: 1 1 auto;
  background: #f4f4f4;
  border: 1px solid transparent;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  color: #333;
  transition: all .15s ease;
}
.preset-chip:hover { background: #ececec; }
.preset-chip.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
#tw-hover { width: 100%; accent-color: #1a1a1a; }
.tile-color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tile-color { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.tile-color input[type="color"] {
  width: 32px; height: 32px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 0;
  background: none;
  cursor: pointer;
}
.tile-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.tile-color input[type="color"]::-webkit-color-swatch { border: none; border-radius: 5px; }
.tile-color span { font-size: 9px; color: #666; text-align: center; line-height: 1.1; }

/* ---------- INDEX RESPONSIVE ---------- */
@media (max-width: 560px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 180px; order: -1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); width: auto; margin: 0; }
  .tile.row-1, .tile.row-2 { grid-column: span 1; }
}

/* ============================================================
   CASE STUDY STYLES
   ============================================================ */

/* case study pages have less top padding */
.page.case-study { padding-top: 48px; padding-bottom: 80px; font-size: 17px; }

/* ---------- MASTHEAD ---------- */
.masthead {
  border-radius: 7px;
  padding: 56px 48px 60px;
  position: relative;
  overflow: hidden;
}
.masthead .crumb {
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.masthead .crumb-mark { display: inline-block; width: 18px; height: 18px; position: relative; }
.masthead h1 {
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  max-width: 640px;
  margin-bottom: 20px;
}
.masthead .sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 24px;
}
.masthead .meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
}
.masthead .meta span strong { font-weight: 600; }

/* ---------- CASE STUDY SECTION & ROLE HEADINGS ---------- */
.case-study .section-heading {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 56px 0 16px;
  text-align: left;
}
.section-heading .dates {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: none;
  color: var(--ink-softer);
  margin-left: 10px;
}

h2.role {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 10px 0 18px;
  max-width: 640px;
}
h3.sub-role {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.1px;
  margin: 36px 0 12px;
}

.case-study p { margin-bottom: 16px; color: #2c2c2c; }
p.lede { font-size: 19px; line-height: 1.55; color: #1f1f1f; max-width: 680px; }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cream);
  border-radius: 7px;
  padding: 32px 40px;
  margin: 28px 0;
}
.stats .stat { position: relative; padding: 0 24px; }
.stats .stat + .stat { border-left: 1px solid rgba(0,0,0,0.08); }
.stats .num {
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #1f1f1f;
  margin-bottom: 8px;
}
.stats .label { font-size: 13px; line-height: 1.45; color: #4a4a4a; }

/* ---------- BULLET LIST ---------- */
ul.bullets { list-style: none; padding: 0; margin: 12px 0 22px; }
ul.bullets li { position: relative; padding: 0 0 8px 22px; color: #2c2c2c; }
ul.bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- MEDIA PLACEHOLDERS ---------- */
.media {
  background: var(--card);
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a6a6a;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 20px;
}
.media .caption {
  position: absolute;
  inset: auto 14px 12px 14px;
  font-family: 'Caveat', cursive;
  font-size: 17px;
  color: #5b5b5b;
  text-align: left;
}
.media .tag {
  position: absolute;
  top: 12px; left: 14px;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7a7a7a;
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 3px 7px;
}
.media .ph-label { font-size: 14px; color: #6a6a6a; max-width: 280px; }
.media .ph-label strong { display: block; font-weight: 600; color: #3a3a3a; margin-bottom: 6px; font-size: 15px; }

/* screenshot layout helpers */
.shot-wide  { height: 380px; margin: 20px 0; }
.shot-tall  { height: 460px; }
.shot-pair  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.shot-pair .media { height: 280px; }
.shot-row3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.shot-row3 .media { height: 200px; }
.split      { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin: 20px 0; }
.split .media { height: 340px; }

/* ---------- TEAM BAND ---------- */
.team-band {
  background: var(--pink);
  border-radius: 7px;
  padding: 40px 48px 48px;
  margin: 40px 0 20px;
}
.team-band h3 {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.team-band p.note { font-size: 15px; color: #4a3a3e; margin-bottom: 24px; max-width: 560px; }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.portrait {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a7884;
  font-family: 'Caveat', cursive;
  font-size: 15px;
  text-align: center;
  padding: 6px;
  line-height: 1.1;
}

/* ---------- PULL QUOTE ---------- */
.pull {
  border-left: 3px solid currentColor;
  padding: 4px 0 4px 22px;
  margin: 20px 0;
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: #1f1f1f;
  max-width: 660px;
}
.pull cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-softer);
  margin-top: 10px;
}

/* ---------- TAG CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.chip {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #3a3a3a;
  background: #ececea;
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- PLACEHOLDER ASK ---------- */
.ask {
  margin: 10px 0 16px;
  padding: 10px 14px;
  border: 1px dashed #c9c9c5;
  border-radius: 6px;
  font-size: 13px;
  color: #6a6a6a;
}
.ask strong {
  color: #3a3a3a;
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 600;
}

/* ---------- DISCLAIMER ---------- */
.disclaimer {
  margin: 64px 0 0;
  padding: 20px 24px;
  background: var(--card-2);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  font-style: italic;
}

/* ---------- ROLE DIVIDER ---------- */
.role-rule { height: 1px; background: var(--border-soft); margin: 72px 0 0; }

/* ---------- CASE STUDY RESPONSIVE ---------- */
@media (max-width: 720px) {
  .masthead { padding: 40px 28px; }
  .masthead h1 { font-size: 34px; }
  h2.role { font-size: 26px; }
  .stats { grid-template-columns: 1fr; padding: 24px 28px; }
  .stats .stat + .stat { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 20px; margin-top: 20px; }
  .shot-pair, .shot-row3, .split { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
