/* ==========================================================================
   Johnflies Fly Factory - About Us (CMS page id 4)
   Scope: body#cms #center_column .jf-about
   Palette: ink #171a1f | body #4b5563 | muted #7b8390 | accent #f0486b
   Loaded from header.tpl only when $page_name == 'cms'.
   ========================================================================== */

/* Playfair is already deployed for the slider; declared again so this page
   does not depend on the slider stylesheet order. */
@font-face {
  font-family: 'JF Slide Serif';
  src: url('../../fonts/playfair-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ shell */
#cms #center_column .jf-about {
  --jf-ink: #171a1f;
  --jf-body: #4b5563;
  --jf-muted: #7b8390;
  --jf-line: #e6e8ec;
  --jf-warm-line: #ece7de;
  --jf-cream: #fbf8f3;
  --jf-accent: #f0486b;
  --jf-accent-d: #d81f49;
  --jf-accent-txt: #d81f49; /* accent that passes WCAG AA at small sizes */
  --jf-serif: 'JF Slide Serif', Georgia, 'Times New Roman', serif;
  --jf-sans: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  clear: both;
  color: var(--jf-body);
  font-family: var(--jf-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
#cms #center_column .jf-about,
#cms #center_column .jf-about * { box-sizing: border-box; }

#cms #center_column .jf-about h1,
#cms #center_column .jf-about h2,
#cms #center_column .jf-about h3 {
  font-family: var(--jf-serif);
  font-weight: 700;
  color: var(--jf-ink);
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  line-height: 1.12;
}
#cms #center_column .jf-about h1 {
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
#cms #center_column .jf-about h2 { font-size: 31px; margin: 8px 0 14px; text-wrap: balance; }
#cms #center_column .jf-about h3 { font-size: 22px; }
#cms #center_column .jf-about p { margin: 0 0 1em; }
#cms #center_column .jf-about ul,
#cms #center_column .jf-about ol { list-style: none; margin: 0; padding: 0; }
#cms #center_column .jf-about li { margin: 0; padding: 0; }
#cms #center_column .jf-about img { display: block; margin: 0; max-width: 100%; height: auto; }
#cms #center_column .jf-about a { text-decoration: none; }

/* ---------------------------------------------------------------- eyebrow */
#cms #center_column .jf-about .jf-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--jf-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jf-accent-txt);
}
#cms #center_column .jf-about .jf-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: 0 0 22px;
}

/* ----------------------------------------------------------------- buttons */
#cms #center_column .jf-about .jf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}
#cms #center_column .jf-about .jf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--jf-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease,
              color .18s ease, border-color .18s ease;
}
#cms #center_column .jf-about .jf-btn--primary {
  background: var(--jf-accent-d);
  color: #fff;
  box-shadow: 0 10px 22px rgba(216, 31, 73, .26);
}
#cms #center_column .jf-about .jf-btn--primary:hover {
  background: #bf183d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(191, 24, 61, .3);
}
#cms #center_column .jf-about .jf-btn--ghost {
  background: #fff;
  border-color: #dfe3e9;
  color: var(--jf-ink);
}
#cms #center_column .jf-about .jf-btn--ghost:hover {
  border-color: rgba(240, 72, 107, .55);
  color: var(--jf-accent);
  transform: translateY(-1px);
}
#cms #center_column .jf-about .jf-btn--light { background: #fff; color: var(--jf-accent-d); }
#cms #center_column .jf-about .jf-btn--light:hover { background: #fff; color: var(--jf-accent-d); transform: translateY(-1px); }
#cms #center_column .jf-about .jf-btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
#cms #center_column .jf-about .jf-btn--outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* keep button colours when a link has already been visited */
#cms #center_column .jf-about .jf-btn:visited,
#cms #center_column .jf-about .jf-btn--primary:visited,
#cms #center_column .jf-about .jf-btn--outline:visited { color: #fff; }
#cms #center_column .jf-about .jf-btn--ghost:visited { color: var(--jf-ink); }
#cms #center_column .jf-about .jf-btn--light:visited { color: var(--jf-accent-d); }
#cms #center_column .jf-about .jf-link:visited { color: var(--jf-accent-txt); }
#cms #center_column .jf-about .jf-more:visited { color: var(--jf-accent-txt); }
#cms #center_column .jf-about .jf-cta small a:visited { color: #fff; }

/* ------------------------------------------------------------------- hero */
#cms #center_column .jf-about .jf-hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 48px;
  padding: 44px 44px 46px;
  border: 1px solid var(--jf-warm-line);
  border-radius: 26px;
  background:
    radial-gradient(120% 120% at 100% 0%, #fff1ed 0%, rgba(255, 241, 237, 0) 58%),
    var(--jf-cream);
}
#cms #center_column .jf-about .jf-hero-copy { min-width: 0; }
#cms #center_column .jf-about .jf-lead {
  max-width: 33em;
  font-size: 16px;
  line-height: 1.66;
  color: #4a5260;
}
#cms #center_column .jf-about .jf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6573;
}
#cms #center_column .jf-about .jf-checks li {
  position: relative;
  padding-left: 19px;
}
#cms #center_column .jf-about .jf-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--jf-accent);
  border-bottom: 2px solid var(--jf-accent);
  transform: rotate(-45deg);
}

/* hero media: 2 x 2 tiles, white product shots + one accent stamp */
#cms #center_column .jf-about .jf-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
}
#cms #center_column .jf-about .jf-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jf-warm-line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23, 26, 31, .05);
}
#cms #center_column .jf-about .jf-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
#cms #center_column .jf-about .jf-tile:hover img { transform: scale(1.05); }
#cms #center_column .jf-about .jf-tile--stamp {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px 18px 20px;
  background: linear-gradient(150deg, #e0335c 0%, #cf2047 100%);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(207, 32, 71, .28);
}
#cms #center_column .jf-about .jf-tile--stamp strong {
  font-family: var(--jf-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
#cms #center_column .jf-about .jf-tile--stamp span {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}

/* ------------------------------------------------------------------ stats */
#cms #center_column .jf-about .jf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 26px 0 0;
  border-top: 1px solid var(--jf-line);
  border-bottom: 1px solid var(--jf-line);
}
#cms #center_column .jf-about .jf-stats > div {
  padding: 24px 10px 22px;
  text-align: center;
  border-left: 1px solid var(--jf-line);
}
#cms #center_column .jf-about .jf-stats > div:first-child { border-left: 0; }
#cms #center_column .jf-about .jf-stats strong {
  display: block;
  font-family: var(--jf-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--jf-ink);
  letter-spacing: -.01em;
}
#cms #center_column .jf-about .jf-stats span {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5b6573;
}

/* ------------------------------------------------------------------ story */
#cms #center_column .jf-about .jf-split {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 46px;
  align-items: start;
  padding: 58px 0 46px;
}
#cms #center_column .jf-about .jf-story p { max-width: 38em; }
#cms #center_column .jf-about .jf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jf-accent-txt);
}
#cms #center_column .jf-about .jf-link:hover { color: #bf183d; }
#cms #center_column .jf-about .jf-facts {
  padding: 26px 26px 18px;
  background: var(--jf-cream);
  border: 1px solid var(--jf-warm-line);
  border-radius: 20px;
}
#cms #center_column .jf-about .jf-facts h3 {
  margin: 0 0 14px;
  font-family: var(--jf-sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5f6a78;
}
#cms #center_column .jf-about .jf-facts dl { margin: 0; }
#cms #center_column .jf-about .jf-facts dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--jf-warm-line);
  font-size: 13px;
  line-height: 1.45;
}
#cms #center_column .jf-about .jf-facts dl > div:first-child { border-top: 0; }
#cms #center_column .jf-about .jf-facts dt { color: #5f6a78; font-weight: 400; }
#cms #center_column .jf-about .jf-facts dd {
  margin: 0;
  color: #242a33;
  font-weight: 700;
  text-align: right;
}

/* --------------------------------------------------------------- sections */
#cms #center_column .jf-about .jf-sec { padding: 50px 0 42px; }
#cms #center_column .jf-about .jf-sec-head { max-width: 640px; margin: 0 0 30px; }
#cms #center_column .jf-about .jf-sec-head p:last-child { margin-bottom: 0; color: #56606e; }

/* category cards */
#cms #center_column .jf-about .jf-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
#cms #center_column .jf-about .jf-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 22px;
  background: #fff;
  border: 1px solid var(--jf-line);
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#cms #center_column .jf-about .jf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 72, 107, .42);
  box-shadow: 0 16px 34px rgba(23, 26, 31, .09);
}
#cms #center_column .jf-about .jf-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(240, 72, 107, .09);
  color: var(--jf-accent);
  font-size: 16px;
}
#cms #center_column .jf-about .jf-card h3 {
  margin: 0 0 7px;
  font-family: var(--jf-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
#cms #center_column .jf-about .jf-card p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.62;
  color: #5b6573;
}
#cms #center_column .jf-about .jf-more {
  margin-top: auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jf-accent-txt);
}
#cms #center_column .jf-about .jf-card:hover .jf-more { color: #bf183d; }

/* cream band with brand logos + reasons */
#cms #center_column .jf-about .jf-band {
  padding: 44px 42px 40px;
  margin: 6px 0;
  background: var(--jf-cream);
  border: 1px solid var(--jf-warm-line);
  border-radius: 24px;
}
#cms #center_column .jf-about .jf-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 32px;
  margin-top: 26px;
}
#cms #center_column .jf-about .jf-feat { display: flex; gap: 13px; align-items: flex-start; }
#cms #center_column .jf-about .jf-feat .jf-ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--jf-warm-line);
  font-size: 14px;
}
#cms #center_column .jf-about .jf-feat h3 {
  margin: 1px 0 4px;
  font-family: var(--jf-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
#cms #center_column .jf-about .jf-feat p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b6573;
}

/* process */
#cms #center_column .jf-about .jf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 6px;
}
#cms #center_column .jf-about .jf-step { position: relative; padding-top: 18px; border-top: 1px solid var(--jf-line); }
#cms #center_column .jf-about .jf-step .n {
  display: block;
  font-family: var(--jf-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--jf-accent);
}
#cms #center_column .jf-about .jf-step h3 {
  margin: 12px 0 6px;
  font-family: var(--jf-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
#cms #center_column .jf-about .jf-step p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #5b6573; }

/* testimonials on ink */
#cms #center_column .jf-about .jf-quotes-band {
  padding: 46px 44px 44px;
  margin: 8px 0;
  border-radius: 24px;
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(240, 72, 107, .16) 0%, rgba(240, 72, 107, 0) 55%),
    #171a1f;
}
#cms #center_column .jf-about .jf-quotes-band .jf-eyebrow { color: #ff8fa8; }
#cms #center_column .jf-about .jf-quotes-band h2 { color: #fff; }
#cms #center_column .jf-about .jf-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
#cms #center_column .jf-about .jf-quote {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}
#cms #center_column .jf-about .jf-stars { color: #f0486b; font-size: 11px; letter-spacing: 2px; }
#cms #center_column .jf-about .jf-quote blockquote {
  margin: 12px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--jf-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.55;
  color: #eef0f4;
}
#cms #center_column .jf-about .jf-quote cite {
  display: block;
  font-family: var(--jf-sans);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a9b4c0;
}

/* closing call to action */
#cms #center_column .jf-about .jf-cta {
  margin: 46px 0 10px;
  padding: 52px 44px 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, #d92a52 0%, #be1a3d 100%);
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 50px rgba(190, 26, 61, .22);
}
#cms #center_column .jf-about .jf-cta h2 { color: #fff; font-size: 34px; margin: 0 0 12px; }
#cms #center_column .jf-about .jf-cta p {
  max-width: 34em;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
}
#cms #center_column .jf-about .jf-actions--center { justify-content: center; margin-top: 24px; }
#cms #center_column .jf-about .jf-cta small {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
#cms #center_column .jf-about .jf-cta small a { color: #fff; text-decoration: underline; }

/* small print */
#cms #center_column .jf-about .jf-foot {
  margin: 0;
  padding: 14px 0 6px;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
  color: #6b7683;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  #cms #center_column .jf-about .jf-cards { grid-template-columns: 1fr 1fr; }
  #cms #center_column .jf-about .jf-feats { grid-template-columns: 1fr 1fr; }
  #cms #center_column .jf-about .jf-steps { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
}

@media (max-width: 991px) {
  #cms #center_column .jf-about h1 { font-size: 38px; }
  #cms #center_column .jf-about h2 { font-size: 27px; }
  #cms #center_column .jf-about .jf-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 32px 28px 34px;
  }
  #cms #center_column .jf-about .jf-media { max-width: 430px; margin: 0 auto; }
  #cms #center_column .jf-about .jf-split {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 0 36px;
  }
  #cms #center_column .jf-about .jf-band,
  #cms #center_column .jf-about .jf-quotes-band { padding: 32px 26px; }
  #cms #center_column .jf-about .jf-quotes { grid-template-columns: 1fr; }
  #cms #center_column .jf-about .jf-cta { padding: 38px 26px 32px; }
  #cms #center_column .jf-about .jf-cta h2 { font-size: 29px; }
}

@media (max-width: 640px) {
  #cms #center_column .jf-about h1 { font-size: 31px; }
  #cms #center_column .jf-about h2 { font-size: 24px; }
  #cms #center_column .jf-about .jf-hero { padding: 26px 20px 28px; border-radius: 20px; }
  #cms #center_column .jf-about .jf-media { gap: 10px; }
  #cms #center_column .jf-about .jf-tile--stamp strong { font-size: 30px; }
  #cms #center_column .jf-about .jf-stats { grid-template-columns: 1fr 1fr; }
  #cms #center_column .jf-about .jf-stats > div { padding: 18px 8px; }
  #cms #center_column .jf-about .jf-stats > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--jf-line); }
  #cms #center_column .jf-about .jf-stats > div:nth-child(4) { border-top: 1px solid var(--jf-line); }
  #cms #center_column .jf-about .jf-cards,
  #cms #center_column .jf-about .jf-feats,
  #cms #center_column .jf-about .jf-steps { grid-template-columns: 1fr; }
  #cms #center_column .jf-about .jf-band,
  #cms #center_column .jf-about .jf-quotes-band { padding: 26px 20px; border-radius: 20px; }
  #cms #center_column .jf-about .jf-cta { padding: 32px 20px 28px; border-radius: 20px; }
  #cms #center_column .jf-about .jf-actions { flex-direction: column; align-items: stretch; }
  #cms #center_column .jf-about .jf-actions .jf-btn { width: 100%; }
}
