/* ---------- Case study: shared pattern ---------- */
:root {
  --white: #FFFFFF;
  --ink-soft: #3F4B51;
  --sand: #E2DCD1;
}

.cs { font-weight: 400; line-height: 1.5; }
.cs b { font-weight: 600; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fab { font-family: "FAB"; font-weight: 400; font-style: normal; line-height: 1; }

.cs-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.cs-sec { padding: 72px 24px; }
.cs-sec--white { background: var(--white); }
.cs-sec--slate { background: var(--slate); color: var(--limewash); }

.cs-kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--moss); }
.cs-sec--slate .cs-kicker { color: var(--daffodil); }
.cs-head { display: flex; flex-direction: column; gap: 10px; }
.cs-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cs-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.5vw, 52px); line-height: 1; text-wrap: balance; }
.cs-h2 em, .cs-title em { color: var(--moss); }
.cs-sec--slate .cs-h2 em { color: var(--daffodil); }

/* Hero */
.cs-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.cs-hero__text { display: flex; flex-direction: column; gap: 24px; }
.cs-back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; min-height: 44px; width: fit-content; margin-bottom: -8px; }
.cs-title { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.5vw, 80px); line-height: .95; text-wrap: balance; }
.cs-sub { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 520px; text-wrap: pretty; }
.cs-pills { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.cs-pill { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cs-pill .ico, .cs-pill .fab { color: var(--moss); }

/* Brief / problem cards */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.cs-card { background: var(--limewash); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cs-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--slate); color: var(--daffodil); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cs-card__title { font-size: 19px; font-weight: 600; }
.cs-card__big { font-family: var(--serif); font-size: 56px; line-height: 1; }
.cs-card__text { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.cs-card__big + .cs-card__text { line-height: 1.45; }

/* Arch tiles */
.cs-arches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cs-arch { background: var(--slate); color: var(--limewash); border-radius: 999px 999px 12px 12px; padding: 64px 24px 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cs-arch__icon { font-size: 32px; color: var(--daffodil); display: flex; }
.cs-arch__title { font-size: 18px; font-weight: 600; }
.cs-arch__text { font-size: 15px; line-height: 1.45; color: var(--sand); }
.cs-arch--gold { background: var(--daffodil); color: var(--slate); }
.cs-arch--gold .cs-arch__icon, .cs-arch--gold .cs-arch__text { color: inherit; }

/* Badge */
.cs-badge { color: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }

/* Quote */
.cs-quote { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; align-items: center; }
.cs-quote__frame { position: relative; justify-self: center; width: 100%; max-width: 320px; aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px; overflow: hidden; background: var(--stone); }
.cs-quote__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-quote__body { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.cs-quote__body blockquote { margin: 0; }
.cs-quote__mark { font-family: var(--serif); font-size: 80px; line-height: .6; height: 40px; color: var(--brick); }
.cs-quote__text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; text-wrap: pretty; }
.cs-quote__who { font-size: 15px; font-weight: 600; }

/* Closing call to action */
.cs-cta-wrap { padding: 0 24px 80px; }
.cs-cta { max-width: 1200px; margin: 0 auto; background: var(--slate); color: var(--limewash); border-radius: 999px 999px 16px 16px; padding: 90px 24px 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cs-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px); line-height: 1; text-wrap: balance; }
.cs-cta h2 em { color: var(--daffodil); }
.cs-cta .btn { padding: 18px 32px; font-weight: 600; font-size: 16px; }
.cs-cta__foot { font-size: 12px; letter-spacing: .14em; color: var(--mist); }
.cs-cta :focus-visible { outline-color: var(--daffodil); }

@media (max-width: 720px) {
  .cs-hero { padding: 96px 20px 56px; gap: 40px; }
  .cs-sec { padding: 64px 20px; }
  .cs-cta-wrap { padding: 0 16px 64px; }
  .cs-cta { padding: 72px 20px 40px; }
}

/* ---------- Craig Blaenau ---------- */
:root {
  --craig-black: #171716;
  --craig-paper: #F4F2EE;
  --frame-dark: #F4F2EE24;
  --frame-dark-strong: #F4F2EE2E;
  --frame-light: #36434A22;
}

.craig-panel { background: var(--craig-black); border-radius: 999px 999px 12px 12px; padding: 72px 22px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.craig-panel__mark { height: 44px; width: auto; }

.shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--frame-light); }
.shot--dark { border-color: var(--frame-dark); }
.cs-arches--craig { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

.cs-sec--black { background: var(--craig-black); color: var(--craig-paper); }
.cs-sec--black .cs-kicker { color: var(--daffodil); }
.cs-sec--black .cs-h2 em { color: var(--daffodil); }

.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; align-items: start; }
.phone { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.phone__frame { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; border: 1px solid var(--frame-light); }
.cs-sec--black .phone__frame { border-color: var(--frame-dark-strong); }
.phone__frame img { width: 100%; height: auto; }
.phone figcaption { font-size: 15px; font-weight: 600; }

.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.page-item { display: flex; flex-direction: column; gap: 12px; }
.page-item__title { font-size: 17px; font-weight: 600; }
.page-item__text { font-size: 15px; line-height: 1.5; color: var(--muted); }

.channels { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }

@media (max-width: 720px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channels > .shot { grid-column: 1 / -1; }
}

/* Cymraeg / English switch for the homepage screenshot */
.lang-switch { display: flex; gap: 6px; background: #2A2A28; border-radius: 999px; padding: 5px; }
.lang-switch button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: #F4F2EE;
  transition: background .16s ease, color .16s ease;
}
.lang-switch button[aria-pressed="true"] { background: #F4F2EE; color: #171716; }
