/* ==========================================================================
   Johnstown Dental Care — October 2026 content update
   Home ("Traditional Values. Modern Dentistry."), Philosophy, Dentists, History,
   Technology and New Patients pages. Built on the tokens and primitives in
   base.css / components.css / pages.css.
   ========================================================================== */

.jdc-stack--16 { gap: 16px; }

/* Home: hero ---------------------------------------------------------------- */
.jdc-tv { padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 104px); background: linear-gradient(180deg, var(--jdc-white) 0%, var(--jdc-marble) 100%); overflow: hidden; }
.jdc-tv__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .jdc-tv__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; } }
.jdc-tv__title { margin-top: 22px; font-size: clamp(44px, 5.6vw, 88px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.jdc-tv__title::after { content: ""; display: block; width: 64px; height: 3px; margin-top: clamp(20px, 2.4vw, 30px); background: var(--jdc-crimson); border-radius: 2px; }
.jdc-tv__lead { margin-top: clamp(18px, 2vw, 26px); max-width: 30em; }
.jdc-tv__actions { margin-top: clamp(26px, 3vw, 36px); }
@media (max-width: 560px) {
	.jdc-tv__actions .jdc-btn { width: 100%; justify-content: center; padding-inline: 18px; font-size: 15px; }
	.jdc-tv__actions .jdc-btn span { white-space: normal; text-align: center; }
}

/* Staggered museum + modern operatory photographs (bottom-right / top-left overlap). */
.jdc-tv__photos { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1.08 / 1; margin-inline: auto; }
.jdc-tv__photo { position: absolute; margin: 0; padding: clamp(6px, .8vw, 10px); background: var(--jdc-white); border-radius: 14px; box-shadow: var(--jdc-shadow-float); }
.jdc-tv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.jdc-tv__photo--then { top: 0; left: 0; width: 62%; height: 74%; z-index: 1; }
.jdc-tv__photo--then img { object-position: 52% 50%; }
.jdc-tv__photo--now { right: 0; bottom: 0; width: 48%; height: 72%; z-index: 2; }
.jdc-tv__photo--now img { object-position: 50% 48%; }
.jdc-tv__photo figcaption {
	position: absolute; left: clamp(14px, 1.6vw, 20px); bottom: clamp(14px, 1.6vw, 20px);
	padding: 5px 12px; border-radius: var(--jdc-r-pill);
	background: rgba(26, 23, 20, .72); color: var(--jdc-white);
	font-family: var(--jdc-font-label); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* Home: four highlights ---------------------------------------------------- */
.jdc-hl { background: var(--jdc-marble); border-block: 1px solid var(--jdc-rule); }
.jdc-hl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .jdc-hl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jdc-hl__item { display: grid; justify-items: center; align-content: start; gap: 8px; padding: clamp(28px, 3.4vw, 44px) clamp(10px, 1.6vw, 24px); text-align: center; color: var(--jdc-ink); }
.jdc-hl__item + .jdc-hl__item { border-left: 1px solid var(--jdc-rule); }
@media (max-width: 899px) {
	.jdc-hl__item:nth-child(3) { border-left: 0; }
	.jdc-hl__item:nth-child(n+3) { border-top: 1px solid var(--jdc-rule); }
}
.jdc-hl__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--jdc-gold-deep); }
.jdc-hl__icon .jdc-icon { width: 40px; height: 40px; stroke-width: 1.4; }
.jdc-hl__title { font-family: var(--jdc-font-heading); font-size: clamp(21px, 2vw, 27px); font-weight: 500; line-height: 1.15; }
.jdc-hl__text { max-width: 17em; font-size: 15px; line-height: 1.5; color: var(--jdc-muted); }
.jdc-hl__item:hover .jdc-hl__title { color: var(--jdc-crimson); }

/* Home: Sensible. Practical. Smart. ------------------------------------------ */
.jdc-sps__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 1000px; margin: clamp(36px, 4vw, 52px) auto 0; }
@media (min-width: 760px) { .jdc-sps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.jdc-sps__card { display: grid; justify-items: center; gap: 10px; padding: clamp(24px, 3vw, 34px) 22px; border: 1px solid var(--jdc-rule); border-radius: var(--jdc-r-card); background: var(--jdc-sand); text-align: center; }
.jdc-sps__card .jdc-badge { color: var(--jdc-gold-text); }
.jdc-sps__word { margin-top: 4px; font-family: var(--jdc-font-label); font-size: 17px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jdc-crimson); }
.jdc-sps__line { max-width: 22em; font-size: 16px; line-height: 1.5; color: var(--jdc-text); }
.jdc-sps__text { max-width: 760px; margin: clamp(30px, 3.4vw, 44px) auto 0; text-align: center; display: grid; gap: 14px; }
.jdc-sps__text .jdc-actions { margin-top: 14px; }

/* Home: How we can help ---------------------------------------------------- */
.jdc-help__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
@media (min-width: 700px) { .jdc-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .jdc-help__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.jdc-help__item { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 26px 12px 22px; border-radius: var(--jdc-r-card); background: var(--jdc-marble); text-align: center; color: var(--jdc-ink); transition: transform .3s var(--jdc-ease), box-shadow .3s; }
.jdc-help__item:hover { transform: translateY(-3px); box-shadow: var(--jdc-shadow-raised); color: var(--jdc-ink); }
.jdc-help__icon { color: var(--jdc-gold-deep); margin-bottom: 6px; }
.jdc-help__icon .jdc-icon { width: 38px; height: 38px; stroke-width: 1.4; }
.jdc-help__title { font-family: var(--jdc-font-heading); font-size: 21px; font-weight: 500; line-height: 1.15; }
.jdc-help__sub { font-size: 14px; line-height: 1.45; color: var(--jdc-muted); }

/* Home: technology preview ------------------------------------------------- */
.jdc-techp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .jdc-techp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.jdc-techp__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .jdc-techp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jdc-techp__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--jdc-dark-rule); border-radius: var(--jdc-r-tile); background: #26201C; font-size: 16px; line-height: 1.35; color: var(--jdc-dark-heading); }
.jdc-techp__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(201, 160, 99, .14); color: var(--jdc-gold-light); }
.jdc-techp__icon .jdc-icon { width: 24px; height: 24px; }

/* Home: first visit -------------------------------------------------------- */
.jdc-fv__list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.jdc-fv__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--jdc-ink); }
.jdc-fv__list .jdc-icon { flex: none; width: 22px; height: 22px; color: var(--jdc-crimson); }

/* Home: our dentists (compact, text only) ---------------------------------- */
.jdc-team { padding-block: clamp(64px, 8vw, 104px); background: var(--jdc-white); }
.jdc-team__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.jdc-team__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
@media (min-width: 820px) { .jdc-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.jdc-team__card { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--jdc-rule); border-radius: var(--jdc-r-card); background: var(--jdc-marble); }
.jdc-team__name { font-family: var(--jdc-font-heading); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; color: var(--jdc-ink); }
.jdc-team__card p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--jdc-text); }

/* Philosophy --------------------------------------------------------------- */
.jdc-philo-hero__intro { max-width: 34em; margin: 22px auto 0; padding-bottom: clamp(48px, 6vw, 88px); }
.jdc-principles--flush { margin-top: 0; }
.jdc-principle__word { font-family: var(--jdc-font-label); font-size: 18px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--jdc-gold); }
.jdc-principle__word + .jdc-principle__title { margin-top: -8px; }
.jdc-goal__title + .jdc-actions { margin-top: 32px; }
.jdc-goal__text + .jdc-goal__title { margin-top: 28px; }
.jdc-related-pages__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .jdc-related-pages__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jdc-related-pages__item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--jdc-rule); border-radius: var(--jdc-r-card); background: var(--jdc-white); font-family: var(--jdc-font-heading); font-size: 22px; color: var(--jdc-ink); }
.jdc-related-pages__item > .jdc-icon { margin-left: auto; width: 20px; height: 20px; color: var(--jdc-muted); transition: transform .3s var(--jdc-ease); }
.jdc-related-pages__item:hover { color: var(--jdc-crimson); }
.jdc-related-pages__item:hover > .jdc-icon { transform: translateX(4px); color: var(--jdc-crimson); }

/* Meet our dentists -------------------------------------------------------- */
.jdc-docs-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.jdc-docs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 64px; align-items: end; }
@media (min-width: 900px) { .jdc-docs-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.jdc-docs-hero__jump { display: grid; border-top: 1px solid var(--jdc-ink); }
.jdc-docs-hero__jump a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--jdc-rule); font-family: var(--jdc-font-heading); font-size: 22px; color: var(--jdc-ink); }
.jdc-docs-hero__jump a .jdc-icon { width: 20px; height: 20px; color: var(--jdc-muted); }
.jdc-docs-hero__jump a:hover { color: var(--jdc-crimson); }
.jdc-doc { scroll-margin-top: var(--jdc-header-h); }
.jdc-doc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .jdc-doc__grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); } }
.jdc-doc__media { max-width: 420px; }
@media (min-width: 900px) { .jdc-doc__media { position: sticky; top: calc(var(--jdc-header-h) + 24px); } }
.jdc-doc__media .jdc-media { background: #E4D6C3; }
.jdc-doc__monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--jdc-font-heading); font-size: clamp(72px, 9vw, 120px); font-weight: 500; letter-spacing: .04em; color: rgba(160, 122, 62, .55); }

/* History ------------------------------------------------------------------ */
.jdc-hist-hero__text { margin-top: clamp(28px, 4vw, 48px); max-width: 900px; }
.jdc-hist-hero__media { margin: clamp(32px, 4vw, 56px) 0 0; }
.jdc-hist-hero__media img { object-position: center 55%; }
.jdc-hist-caption { margin-top: 12px; font-size: 14px; color: var(--jdc-muted); }
.jdc-hist-now__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
@media (min-width: 760px) { .jdc-hist-now__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.jdc-hist-now__fig { margin: 0; }
.jdc-hist-now__fig figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-family: var(--jdc-font-heading); font-size: 21px; color: var(--jdc-ink); }
.jdc-hist-now__fig figcaption span { font-family: var(--jdc-font-label); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--jdc-crimson); }
.jdc-hist-now__text { margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; }

/* Technology --------------------------------------------------------------- */
.jdc-tech-intro { font-family: var(--jdc-font-heading); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; color: var(--jdc-ink); text-wrap: pretty; }
.jdc-tech-row { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--jdc-rule); scroll-margin-top: var(--jdc-header-h); }
.jdc-tech-list .jdc-tech-row:first-child { border-top: 0; }
.jdc-tech-row__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .jdc-tech-row__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.jdc-tech-row__head { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 900px) { .jdc-tech-row__head { position: sticky; top: calc(var(--jdc-header-h) + 24px); } }
.jdc-tech-row__num { font-family: var(--jdc-font-label); font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--jdc-gold-text); }
.jdc-tech-row__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.jdc-tech-row__body { display: grid; gap: 16px; font-size: 18px; line-height: 1.7; color: var(--jdc-text); }
.jdc-tech-row__sub { font-family: var(--jdc-font-heading); font-size: clamp(22px, 2vw, 27px); font-style: italic; line-height: 1.3; color: var(--jdc-ink); }
.jdc-tech-row__benefit { margin-top: 6px; padding: 18px 22px; border-left: 3px solid var(--jdc-gold); border-radius: 0 var(--jdc-r-tile) var(--jdc-r-tile) 0; background: var(--jdc-marble); font-size: 16px; line-height: 1.6; }
.jdc-tech-row__benefit strong { color: var(--jdc-ink); font-weight: 600; }
.jdc-tech-row .jdc-textlink { justify-self: start; }

/* New patients ------------------------------------------------------------- */
.jdc-np-hero__title { font-size: clamp(38px, 4.4vw, 66px); text-wrap: balance; }
.jdc-np-note { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--jdc-r-card); background: var(--jdc-crimson-tint); color: var(--jdc-ink); }
.jdc-np-note .jdc-icon { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--jdc-crimson); }
.jdc-np-note strong { color: var(--jdc-crimson-deep); font-weight: 600; }

/* Map strip (contact page; home has the same rule in home-v2.css) */
.jdc-mapstrip { line-height: 0; background: var(--jdc-sand); }
.jdc-mapstrip iframe { width: 100%; height: clamp(300px, 38vw, 460px); border: 0; filter: grayscale(.6) sepia(.15) contrast(.95); }
.jdc-principle p + p { margin-top: 12px; }
.jdc-np-steps a { color: inherit; text-decoration: none; }
.jdc-np-steps a:hover { color: var(--jdc-crimson); }
.jdc-prose h3[id] { scroll-margin-top: 120px; }
.jdc-glance__toc { font-size: 15px; }
.jdc-glance__toc li { align-items: flex-start; }
.jdc-glance__toc .jdc-icon { width: 16px; height: 16px; margin-top: 4px; flex: none; }
.jdc-glance__toc a { color: inherit; text-decoration: none; line-height: 1.4; }
.jdc-glance__toc a:hover { color: var(--jdc-crimson); }
.jdc-prose h2[id] { scroll-margin-top: 120px; }

/* Dentist credentials (doctors page) */
.jdc-creds { display: grid; gap: 22px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,.1); }
.jdc-creds__title { margin: 0 0 8px; font-family: var(--jdc-font-body, inherit); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--jdc-gold-text); }
.jdc-creds__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.jdc-creds__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; }
.jdc-creds__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--jdc-gold-text); }
@media (min-width: 900px) { .jdc-creds { grid-template-columns: 1fr 1fr; column-gap: 32px; } .jdc-creds__group:nth-child(2) { grid-row: span 2; } }
