/* Shared visual roles. Page styles retain layout, crop and interaction rules. */
body { font-size: var(--text-body); line-height: var(--leading-body); font-family: var(--font-body); color: var(--color-ink); background-color: var(--color-paper); }
body h1, body h2, body h3 { font-family: var(--font-body); }
body .ds-title-page { font-size: var(--text-page); font-weight: 800; line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
body .ds-title-section { font-size: var(--text-section); font-weight: 700; line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
body .ds-title-card { font-size: var(--text-card); font-weight: 700; line-height: 1.35; }
body .ds-title-hero, body .gift-hero h1 { font-size: var(--text-hero); font-weight: 800; line-height: 1.1; letter-spacing: var(--tracking-heading); }
body.theme-course .ds-title-page, body.winter-event .hero h1 { font-size: var(--text-program-hero); font-weight: 800; line-height: 1.05; }
body .home-hero-block h1 { font-size: var(--text-hero); font-weight: 800; line-height: 1.1; }
body .eyebrow, body .home-eyebrow { letter-spacing: var(--tracking-label); }
body .gift-page, body .winter-event { font-family: var(--font-body); }
.gift-page h2, .winter-event h2 { font-size: var(--text-section); font-weight: 700; line-height: var(--leading-heading); }
.winter-event .price-panel h2 { font-size: var(--text-caption); letter-spacing: var(--tracking-label); }
.gift-page .gift-choice h3, #programy .home-program-copy h3 { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; }
body .lead { font-size: var(--text-lead); line-height: var(--leading-body); }
body .section { padding-block: var(--space-section); }
body .wrap { width: min(var(--container-main), calc(100% - 40px)); }
body .home-programs-panel, body .home-team-offer, body .home-method-inner { max-width: var(--container-main); }
body .gift-order-layout { max-width: var(--container-form); }
body .home-program-card, body .gift-choice, body .info-panel,
body .winter-skill-card, body .winter-card, body .community-card,
body .price-panel, body #newsletter, body .gift-form,
body .home-programs-panel, body .gift-how-layout figure { border-radius: var(--radius-card); }
body main article:not(.faq article), body main .rounded-2xl { border-radius: var(--radius-card); }
body .gift-hero-photo img, body .community-photo, body .calendar-frame,
body .photo-stack img, body .winter-takeaway-photo,
body main img.rounded-3xl, body main img.rounded-2xl,
body main .rounded-3xl:has(> img.object-cover) { border-radius: var(--radius-photo); }
body .gift-hero-photo figcaption { border-radius: 0 0 var(--radius-photo) var(--radius-photo); }
body .home-program-card:hover { box-shadow: var(--shadow-card); }
body .mini-reset-card { box-shadow: var(--shadow-feature); }
/* Shared field appearance; no field names, constraints or handlers are changed. */
body .gift-form input:not([type=checkbox]), body .gift-form select, body .gift-form textarea,
body .team-contact input:not([type=checkbox]), body .team-contact textarea,
#newsletter #mlb2-47417471 .ml-form-embedWrapper .ml-form-embedBody input.form-control {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  min-height: 48px;
  border: var(--border-width) solid var(--color-olive);
  border-radius: var(--radius-field);
  padding: 12px;
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
body .gift-form input:focus-visible, body .gift-form select:focus-visible, body .gift-form textarea:focus-visible,
body .team-contact input:focus-visible, body .team-contact textarea:focus-visible,
#newsletter input:focus-visible { outline: var(--focus-width) solid var(--color-olive); outline-offset: 4px; }
body .gift-form fieldset:disabled input, body .gift-form fieldset:disabled select,
body .gift-form fieldset:disabled textarea { background-color: var(--color-disabled-bg); color: var(--color-disabled-text); }
#newsletter, #newsletter #mlb2-47417471 h2, #newsletter #mlb2-47417471 p { font-family: var(--font-body); }
#newsletter #mlb2-47417471 h2 { font-size: var(--text-card); font-weight: 700; }
#newsletter .newsletter-note, body .field-hint { font-size: var(--text-caption); }
/* Text links, distinct from navigation, full-card links and button controls. */
main p a:not(.btn), main li a:not(.btn):not(.home-program-card), footer a:not(.btn),
.text-link, .gift-program-link { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
main p a:not(.btn):hover, footer a:not(.btn):hover, .text-link:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: var(--focus-width) solid var(--color-olive); outline-offset: 4px; }
/* Compact header CTA is intentional; the form and main actions remain >=54px. */
@media(max-width:480px) { .gift-page .nav .btn { min-height:44px; font-size:.875rem; } .gift-page .nav .btn .icon { width:16px; height:16px; flex-basis:16px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.text-link .icon, .gift-program-link .icon { display:inline-block; width:1em; height:1em; vertical-align:-.15em; }
/* Large standalone photographs share a radius; card images are clipped by their card. */
body main img.object-cover:not(.rounded-full) { border-radius: var(--radius-photo); }
body main .home-program-card img, body main .gift-choice > img { border-radius: 0; }
