/**
 * src/css/kfg-boutique-atelier.css
 * Division 2 (kisfitglobal.com) — Handcrafted Editorial Pediatric Growth Studio
 * Aesthetic: Kinfolk / Warm Cotton Paper / Quiet Family Notebook
 * Palette: Oatmeal Linen (#FAF7F2), Warm Paper (#FFFEFC), Espresso Ink (#231F1D),
 *          Warm Stone (#6B635B), Forest Sage (#2F5241), Terracotta Sand (#A66A46)
 * Zero Emojis · Zero Cold AI Badges · Zero Clutter Below
 */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background-color: #FAF7F2;
  color: #231F1D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body.kfg-atelier-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #FAF7F2;
  color: #231F1D;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17.5px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

/* Top Masthead */
.kfg-masthead-bar {
  width: 100%;
  border-bottom: 1px solid #E6DFD3;
  background: #FAF7F2;
  position: relative;
  z-index: 20;
}

.kfg-atelier-masthead {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.05rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.kfg-masthead-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: #231F1D;
  cursor: pointer;
}

.kfg-masthead-wordmark {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #231F1D;
}

.kfg-masthead-sub {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #6B635B;
}

.kfg-masthead-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.kfg-unit-pill-group {
  display: inline-flex;
  background: #F1ECE3;
  border: 1px solid #E5DED2;
  border-radius: 999px;
  padding: 0.16rem;
}

.kfg-unit-btn {
  border: none;
  background: transparent;
  color: #6B635B;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.76rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kfg-unit-btn.is-active {
  background: #FFFFFF;
  color: #231F1D;
  box-shadow: 0 1px 4px rgba(35, 31, 29, 0.08);
}

.kfg-masthead-link {
  background: transparent;
  border: 1px solid #E5DED2;
  border-radius: 999px;
  padding: 0.4rem 0.88rem;
  font-family: inherit;
  font-size: 0.81rem;
  font-weight: 500;
  color: #3A3430;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.kfg-masthead-link:hover {
  background: #FFFEFC;
  border-color: #CFC6B8;
  color: #231F1D;
}

/* Main Shell */
.kfg-atelier-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  flex: 1 0 auto;
  transition: max-width 0.25s ease;
}

.kfg-atelier-shell.is-opening-view {
  max-width: 1040px;
  padding-top: 2.9rem;
}

.kfg-atelier-shell.is-wide-view {
  max-width: 840px;
}

/* Screen 0: 2-Column Handcrafted Editorial Spread (No Floating White Box) */
.kfg-editorial-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-areas:
    "intro art"
    "body art";
  gap: 0 3.4rem;
  align-items: start;
}

.kfg-editorial-intro {
  grid-area: intro;
}

.kfg-editorial-body {
  grid-area: body;
}

.kfg-editorial-art {
  grid-area: art;
  position: sticky;
  top: 94px;
  margin: 0.35rem 0 0;
}

.kfg-art-figure {
  margin: 0;
  background: #FAF7F2;
  border-radius: 16px;
  overflow: hidden;
}

.kfg-art-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.kfg-art-caption {
  margin: 0.75rem 0.25rem 0;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #6B635B;
  text-align: center;
}

.kfg-art-quiet-meta {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid #E6DFD3;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #6B635B;
  text-align: center;
}

/* Paper Card for Screens 1..3 */
.kfg-atelier-card {
  background: #FFFEFC;
  border: 1px solid #E6DFD3;
  border-radius: 15px;
  padding: clamp(1.9rem, 4.2vw, 2.85rem) clamp(1.35rem, 4.2vw, 2.75rem);
  box-shadow: 0 14px 36px rgba(35, 31, 29, 0.038);
}

.kfg-screen {
  animation: kfgAtelierFade 0.28s ease;
}

@keyframes kfgAtelierFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kfg-note-tag {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 500;
  color: #2F5241;
  margin-bottom: 0.75rem;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid #C6D6CC;
}

.kfg-serif-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.016em;
  color: #231F1D;
  margin: 0 0 0.75rem 0;
}

.kfg-serif-subtitle {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.56;
  color: #6B635B;
  margin: 0 0 1.15rem 0;
}

.kfg-hero-cta-block {
  margin: 0 0 1.75rem 0;
  max-width: 460px;
}

.kfg-hero-cta-reassurance {
  margin: 0.55rem 0 0;
  font-size: 0.81rem;
  line-height: 1.5;
  color: #6B635B;
}

.kfg-serif-h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.42rem, 2.9vw, 1.82rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #231F1D;
  margin: 0 0 0.6rem 0;
}

.kfg-letter-prose p {
  margin: 0 0 1.25rem 0;
  font-size: 1.03rem;
  line-height: 1.84;
  color: #3A3430;
}

.kfg-letter-prose p:last-child {
  margin-bottom: 0;
}

.kfg-letter-prose strong {
  color: #231F1D;
  font-weight: 600;
}

/* Promise Sheet on Screen 0 (Zero Price Spoilers) */
.kfg-promise-sheet {
  margin: 1.65rem 0 1.65rem;
  padding: 1.25rem 1.4rem;
  background: #FFFEFC;
  border: 1px solid #E6DFD3;
  border-radius: 12px;
}

.kfg-promise-heading {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #231F1D;
  margin: 0 0 0.7rem 0;
}

.kfg-promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.kfg-promise-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #3A3430;
}

.kfg-promise-word {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2F5241;
  min-width: 48px;
  flex-shrink: 0;
}

.kfg-letter-signature {
  margin: 0 0 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kfg-letter-signature strong {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #231F1D;
}

.kfg-letter-signature span {
  font-size: 0.84rem;
  color: #6B635B;
}

@media (max-width: 860px) {
  .kfg-atelier-shell.is-opening-view {
    padding-top: 1.6rem;
  }
  .kfg-editorial-spread {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "art"
      "body";
    gap: 0;
  }
  .kfg-editorial-art {
    position: static;
    max-width: 430px;
    margin: 0 auto 1.6rem;
  }
  .kfg-art-quiet-meta {
    display: none;
  }
}

/* Primary & Secondary Boutique Buttons */
.kfg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1.6rem;
  border-radius: 10px;
  border: 1px solid #2F5241;
  background-color: #2F5241;
  color: #FAF7F2;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.kfg-btn-primary:hover {
  background-color: #233E31;
  border-color: #233E31;
}

.kfg-btn-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #CFC6B8;
  background-color: #FFFEFC;
  color: #231F1D;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.kfg-btn-terracotta:hover {
  background-color: #F6F1E8;
  border-color: #231F1D;
}

.kfg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #D5CEC2;
  background-color: #FAF7F2;
  color: #231F1D;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kfg-btn-outline:hover {
  background-color: #EDE6DA;
  border-color: #BFB6A6;
}

.kfg-text-back {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: #6B635B;
  cursor: pointer;
}

.kfg-text-back:hover {
  color: #231F1D;
}

/* Step-Up Progress Header */
.kfg-step-topbar {
  margin-bottom: 1.75rem;
}

.kfg-step-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.kfg-step-counter {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2F5241;
}

.kfg-progress-track {
  width: 100%;
  height: 3px;
  background: #EAE3D7;
  border-radius: 999px;
  overflow: hidden;
}

.kfg-progress-fill {
  height: 100%;
  width: 20%;
  background: #2F5241;
  transition: width 0.3s ease;
}

.kfg-step-lead {
  margin: 0 0 1.45rem 0;
  font-size: 0.96rem;
  line-height: 1.68;
  color: #6B635B;
}

/* Form Elements */
.kfg-field-group {
  margin-bottom: 1.4rem;
}

.kfg-field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.kfg-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #231F1D;
  margin-bottom: 0.45rem;
}

.kfg-field-label-row .kfg-label {
  margin-bottom: 0;
}

.kfg-helper-action {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6B635B;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.kfg-helper-action:hover {
  color: #231F1D;
}

.kfg-live-pill {
  font-size: 0.83rem;
  font-weight: 600;
  color: #2F5241;
}

.kfg-input,
.kfg-select {
  width: 100%;
  min-height: 52px;
  padding: 0.72rem 0.95rem;
  border: 1px solid #CFC6B8;
  border-radius: 9px;
  background-color: #FCFBF8;
  color: #231F1D;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kfg-input:focus,
.kfg-select:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: #2F5241;
}

.kfg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.kfg-grid-3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 0.65rem;
}

.kfg-unit-suffix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.kfg-unit-suffix-wrap .kfg-input {
  padding-right: 3.1rem;
}

.kfg-unit-tag {
  position: absolute;
  right: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6B635B;
  pointer-events: none;
}

/* Tactile Radio & Choice Cards */
.kfg-choice-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.kfg-choice-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.kfg-radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid #E6DFD3;
  border-radius: 10px;
  background: #FCFBF8;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.kfg-radio-card:hover {
  border-color: #CFC6B8;
  background: #FFFFFF;
}

.kfg-radio-card input[type="radio"] {
  margin-top: 0.28rem;
  accent-color: #2F5241;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.kfg-radio-card.is-selected {
  background: #EEF3F0;
  border-color: #2F5241;
}

.kfg-radio-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #231F1D;
  line-height: 1.42;
}

.kfg-radio-desc {
  display: block;
  font-size: 0.83rem;
  color: #6B635B;
  line-height: 1.52;
  margin-top: 0.18rem;
}

/* Chip selectors */
.kfg-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.kfg-chip-btn {
  border: 1px solid #CFC6B8;
  background: #FFFEFC;
  color: #3A3430;
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition-property: transform, opacity, background-color, border-color, box-shadow; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.kfg-chip-btn:hover {
  border-color: #2F5241;
}

.kfg-chip-btn.is-active,
.kfg-chip-btn.active {
  background: #2F5241;
  border-color: #2F5241;
  color: #FAF7F2;
}

#btn-kfg-vip-unit-imperial,
#btn-kfg-vip-unit-metric {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-weight: 600;
}

#btn-kfg-vip-unit-imperial.is-active,
#btn-kfg-vip-unit-imperial.active,
#btn-kfg-vip-unit-metric.is-active,
#btn-kfg-vip-unit-metric.active {
  background: #2F5241;
  border-color: #2F5241;
  color: #FFFFFF;
}

.table-scroll-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Warm Callout Note */
.kfg-warm-note {
  background: #F7F2E9;
  border: 1px solid #E5DFD3;
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  font-size: 0.89rem;
  line-height: 1.65;
  color: #3A3430;
  margin-top: 0.85rem;
}

.kfg-warm-note strong {
  color: #2F5241;
}

.kfg-warm-note-amber {
  background: #FBF7F0;
}

/* Partial Baseline Summary, D-30 Google Calendar Reminder, Free Save Card & Paid Tier Cards */
.kfg-baseline-box {
  background: #FAF7F2;
  border: 1px solid #E6DFD3;
  border-radius: 13px;
  padding: 1.4rem 1.4rem;
  margin-bottom: 1.15rem;
}

.kfg-d30-reminder-card {
  background: #FFFEFC;
  border: 1px solid #D5E2DA;
  border-radius: 13px;
  padding: 1.15rem 1.3rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.kfg-d30-reminder-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.kfg-d30-reminder-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #231F1D;
}

.kfg-d30-reminder-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2F5241;
}

.kfg-d30-reminder-sub {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.58;
  color: #6B635B;
}

.kfg-btn-gcal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 54px;
  padding: 0.82rem 1.3rem;
  border-radius: 10px;
  border: 1.5px solid #2F5241;
  background-color: #EEF3F0;
  color: #231F1D;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.kfg-btn-gcal:hover {
  background-color: #2F5241;
  color: #FAF7F2;
}

.kfg-save-club-card {
  background: #FAF7F2;
  border: 1px solid #E6DFD3;
  border-radius: 13px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.75rem;
}

.kfg-save-club-saved-note {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #EEF3F0;
  border: 1px solid #C6D6CC;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #231F1D;
}

.kfg-baseline-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.95rem 0;
}

.kfg-metric-tile {
  background: #FFFEFC;
  border: 1px solid #E6DFD3;
  border-radius: 10px;
  padding: 0.9rem 0.95rem;
}

.kfg-metric-kicker {
  font-size: 0.76rem;
  font-weight: 500;
  color: #6B635B;
}

.kfg-metric-value {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.38rem;
  font-weight: 600;
  color: #231F1D;
  margin-top: 0.22rem;
  line-height: 1.25;
}

.kfg-metric-sub {
  font-size: 0.79rem;
  color: #6B635B;
  margin-top: 0.22rem;
}

.kfg-percentile-bar-box {
  margin: 0.95rem 0;
  padding: 0.9rem 1rem;
  background: #FFFEFC;
  border: 1px solid #E6DFD3;
  border-radius: 10px;
}

.kfg-percentile-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #6B635B;
  margin-bottom: 0.5rem;
}

.kfg-percentile-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: #E8E1D5;
  border-radius: 999px;
}

.kfg-percentile-fill {
  height: 100%;
  background: #2F5241;
  border-radius: 999px;
}

.kfg-percentile-pin {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  background: #2F5241;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 5px rgba(35, 31, 29, 0.2);
}

/* Locked Tiered Preview Rows */
.kfg-locked-preview {
  margin: 0 0 1.75rem;
  padding: 1.3rem 1.35rem;
  background: #FCFBF8;
  border: 1px solid #E6DFD3;
  border-radius: 13px;
}

.kfg-locked-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid #E6DFD3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.kfg-locked-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kfg-locked-title {
  margin: 0 0 0.2rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: #231F1D;
}

.kfg-locked-sub {
  font-size: 0.84rem;
  color: #6B635B;
}

.kfg-blur-val {
  display: inline-block;
  filter: blur(5px);
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}

.kfg-locked-pill {
  flex-shrink: 0;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  background: #F4EFE6;
  border: 1px solid #D5CEC2;
  color: #3A3430;
}

/* 2-Tier Paid Cards */
.kfg-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.2rem;
}

.kfg-tier-card {
  background: #FFFEFC;
  border: 1px solid #CFC6B8;
  border-radius: 14px;
  padding: 1.55rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kfg-tier-card.is-featured {
  background: #FBF7F0;
  border: 1.5px solid #2F5241;
}

.kfg-tier-tag {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.86rem;
  font-weight: 600;
  color: #2F5241;
  margin-bottom: 0.4rem;
}

.kfg-tier-tag-sand {
  color: #6B635B;
}

.kfg-tier-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.32rem;
  font-weight: 500;
  color: #231F1D;
  margin: 0 0 0.45rem 0;
  line-height: 1.28;
}

.kfg-tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #E6DFD3;
}

.kfg-tier-price {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #231F1D;
  line-height: 1;
}

.kfg-tier-cadence {
  font-size: 0.82rem;
  color: #6B635B;
}

.kfg-tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  font-size: 0.89rem;
  line-height: 1.62;
  color: #3A3430;
}

.kfg-tier-list li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.55rem;
}

.kfg-tier-list li::before {
  content: "\00B7";
  position: absolute;
  left: 0.1rem;
  color: #2F5241;
  font-weight: 800;
}

.kfg-quiet-restore-note {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: #6B635B;
}

.kfg-restore-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.kfg-restore-inline-form .kfg-input {
  flex: 1 1 220px;
  min-height: 44px;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem;
}

/* Quiet 1-Line Legal Footer */
.kfg-atelier-footer {
  width: 100%;
  border-top: 1px solid #E6DFD3;
  padding: 1.35rem 1.35rem 2.2rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #6B635B;
}

.kfg-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0.4rem;
}

.kfg-footer-links a {
  color: #3A3430;
  text-decoration: none;
  font-weight: 500;
}

.kfg-footer-links a:hover {
  text-decoration: underline;
}

.kfg-footer-disclaimer {
  max-width: 680px;
  margin: 0 auto;
  color: #8C8278;
  font-size: 0.75rem;
}

/* Unlocked Dossier Styling */
.kfg-dossier-section {
  padding: 1.35rem 0;
  border-top: 1px solid #E6DFD3;
}

.kfg-dossier-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.95rem 0;
}

/* Quiet Member Modal */
.kfg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(35, 31, 29, 0.46);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.kfg-modal-backdrop.is-open {
  display: flex;
}

.kfg-modal-panel {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFEFC;
  border: 1px solid #E6DFD3;
  border-radius: 16px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 24px 60px rgba(35, 31, 29, 0.18);
}

@media (max-width: 680px) {
  body.kfg-atelier-body {
    font-size: 17px;
  }
  .kfg-atelier-masthead {
    padding: 0.78rem 1.05rem;
    gap: 0.55rem;
  }
  .kfg-masthead-sub {
    display: none;
  }
  .kfg-atelier-shell {
    padding: 1.2rem 1rem 2.4rem;
  }
  .kfg-atelier-shell.is-opening-view {
    padding-top: 1.15rem;
  }
  .kfg-hero-cta-block {
    max-width: 100%;
    margin-bottom: 1.35rem;
  }
  .kfg-grid-2,
  .kfg-choice-row-2,
  .kfg-baseline-metrics,
  .kfg-tier-grid,
  .kfg-dossier-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media print {
  body.kfg-atelier-body {
    background: #FFFFFF !important;
    font-size: 11pt;
  }
  .kfg-masthead-bar,
  .kfg-atelier-footer,
  .kfg-modal-backdrop,
  .kfg-no-print {
    display: none !important;
  }
  .kfg-atelier-shell {
    max-width: 100%;
    padding: 0;
  }
  .kfg-atelier-card {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* Mobile 2-line slim masthead */
@media (max-width: 640px) {
  .kfg-masthead-bar { padding: 0.35rem 0.85rem !important; }
  .kfg-atelier-masthead { flex-direction: row !important; flex-wrap: wrap !important; gap: 0.3rem 0.45rem !important; align-items: center !important; justify-content: space-between !important; padding: 0.15rem 0 !important; }
  .kfg-masthead-sub { display: none !important; }
  .kfg-masthead-controls { width: 100% !important; gap: 0.35rem !important; flex-wrap: nowrap !important; justify-content: space-between !important; }
  .kfg-masthead-link { font-size: 0.8125rem !important; padding: 0.35rem 0.65rem !important; min-height: 44px !important; white-space: nowrap !important; }
  .kfg-atelier-shell.is-opening-view { padding-top: 0.65rem !important; }
}

/* ==========================================================================
   2026-12-02 KFG BOUTIQUE PEDIATRIC ATELIER LUXURY CRAFT LAYER
   - 2-font system: Newsreader (Editorial Serif) + Plus Jakarta Sans (Body/UI)
   - Zero <14px labels, 44px+ tactile controls, warm paper depth, explicit transitions
   ========================================================================== */
*, *::before, *::after {
  transition-property: none;
}

:root {
  --fs-h2: clamp(1.5rem, 2.9vw, 1.9rem);
  --fs-body: 1.0625rem;
  --fs-meta: 0.875rem;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.kfg-atelier-body,
button, input, textarea, select {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

input, select, textarea, .kfg-input, .kfg-select {
  font-size: max(16px, 1rem) !important;
}

.kfg-masthead-wordmark,
.kfg-masthead-sub,
.kfg-serif-title,
.kfg-serif-subtitle,
.kfg-serif-h2,
.kfg-note-tag,
.kfg-art-caption,
.kfg-promise-heading {
  font-family: 'Newsreader', Georgia, serif;
}

.kfg-serif-title,
.kfg-serif-h2 {
  text-wrap: balance;
}

.kfg-serif-title {
  font-size: clamp(2.05rem, 3.8vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.kfg-serif-h2 {
  font-size: var(--fs-h2);
}

.kfg-letter-prose p,
.kfg-serif-subtitle {
  text-wrap: pretty;
}

.kfg-letter-prose p {
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.82;
}

.kfg-masthead-brand,
.kfg-unit-btn,
.kfg-masthead-link,
.kfg-btn-primary,
.kfg-btn-secondary,
.kfg-choice-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition-property: transform, opacity, background-color, border-color, box-shadow, color;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.kfg-masthead-brand {
  padding: 4px 0;
}

.kfg-unit-pill-group {
  padding: 3px;
  border-color: rgba(35, 31, 29, 0.14);
}

.kfg-unit-btn {
  font-size: var(--fs-meta);
  padding: 0.45rem 0.9rem;
}

.kfg-masthead-link {
  font-size: var(--fs-meta);
  padding: 0.45rem 1rem;
  border-color: rgba(35, 31, 29, 0.16);
}

.kfg-hero-cta-reassurance,
.kfg-art-quiet-meta,
.kfg-label,
.kfg-atelier-footer,
.kfg-atelier-footer p {
  font-size: var(--fs-meta);
  line-height: 1.6;
}

.kfg-btn-primary {
  min-height: 52px;
  border-radius: 10px;
  font-size: var(--fs-body);
  box-shadow: 0 1px 2px rgba(35, 31, 29, 0.08), 0 8px 20px -10px rgba(47, 82, 65, 0.30);
}

.kfg-btn-primary:active {
  transform: scale(0.985);
}

.kfg-atelier-card,
.kfg-promise-sheet {
  border-radius: 16px;
  border: 1px solid rgba(35, 31, 29, 0.10);
  box-shadow: 0 1px 2px rgba(35, 31, 29, 0.04), 0 12px 28px -14px rgba(35, 31, 29, 0.08);
}

@media (max-width: 680px) {
  .kfg-atelier-shell {
    padding: 1.25rem 1.05rem 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

