/* csg1 inner pages: restyles the csg page markup (styles.css classes) in the csg1 design.
   Load order: styles.css, csg1.css, csg1-inner.css, then any page CSS (articles.css etc.). */
:root {
  --serif: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: #4A5257;
  --ink: #1F2326;
  --muted: #6B7378;
  --link: #1C716F;
  --teal-btn: #1C716F;
  --teal-btn-hover: #155a58;
  --cream: #FAF7F4;
  --cream-deep: #F4EFEA;
  --hero-copy: #FAF7F4;
  --mint: #EAF5F4;
  --course: #EAF5F4;
  --aqua: #DDEFEC;
  --sage: #E4EEEA;
  --rose: #F3E8E6;
  --stone: #EEE8E0;
  --line: #E3E1DD;
  --radius: 16px;
  --max: 1240px;
  --shadow: 0 20px 44px rgba(31,35,38,.08);
  --focus: 3px solid #2A9D9A;
}

body { font-family: var(--font); color: var(--body); font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
a { color: var(--link); }
strong, b { font-weight: 600; color: var(--ink); }

.container, .container-wide { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.band-cream { background: var(--warm); }
.band-mint, .band-course { background: var(--teal-tint); }
.measure { max-width: 62ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.kicker { font-size: .8rem; letter-spacing: .12em; color: var(--teal-ink); }

/* Page header */
.page-hero { background: var(--warm); padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); max-width: 20em; margin-bottom: .4em; }
.page-hero .btn-row { margin-top: 1.75rem; }
.crumbs { margin-bottom: 1.5rem; }
.crumbs ol { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--burgundy); text-decoration: underline; }
.crumbs li:not(:last-child)::after { color: #B9B6B0; }

/* Buttons (old class names) */
.btn { width: auto; }
.btn-fill { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.btn-fill:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); color: #fff; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-teal { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn-teal:hover { background: #155a58; border-color: #155a58; color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--burgundy); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--burgundy); text-decoration: none; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Long text */
.prose { max-width: 780px; }
.container.prose { max-width: calc(780px + 2 * var(--gutter)); }
.center.prose, .prose.center { margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose li::marker { color: var(--teal); }

.steps li { padding-left: 3.4rem; padding-bottom: 1.4rem; }
.steps li::before { background: var(--teal-tint); color: var(--teal-ink); width: 2.3rem; height: 2.3rem; font-weight: 600; }

/* Cards, panels, photos */
.cards-2, .cards-3 { gap: clamp(20px, 2.4vw, 32px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: 0 20px 44px rgba(31,35,38,.08); border-color: transparent; }
.card h3 { font-size: 1.35rem; color: var(--ink); }
.card-tint, .ph { border-radius: var(--r-lg); }
.card .card-tint, .card > .ph { border-radius: 0; }
.ph.ph-img img, .card-tint.card-img img { transition: transform .8s var(--ease); }
.ph.ph-img:hover img, .card:hover .card-img img { transform: scale(1.03); }
.ph-tag, .ph-kicker, .ph-note { font-size: .8rem; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: none; }
.band-cream .panel, .band-cream .card { background: #fff; }

.callout { background: var(--burgundy); color: rgba(255,255,255,.88); border: 0; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); margin-top: 0; }
.callout h2, .callout h3 { color: #fff; }
.callout a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.callout .btn-fill, .callout .btn-teal { background: #fff; border-color: #fff; color: var(--burgundy); }
.callout .btn-fill:hover, .callout .btn-teal:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--burgundy); }
.callout .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.callout .btn-outline:hover { background: #fff; color: var(--burgundy); }

/* Quotes */
.quote { max-width: 52rem; margin: 0 auto 24px; padding: clamp(28px, 3vw, 44px); background: var(--warm); border-radius: var(--r-lg); text-align: left; display: block; }
.band-cream .quote { background: #fff; }
.quote::before { display: block; }
.quote blockquote p { font-family: var(--font); font-style: normal; font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.quote figcaption { color: var(--muted); font-weight: 400; border-top: 1px solid var(--line); padding-top: 18px; }

/* Video */
.video-slot, .video-block .video-slot { border-radius: var(--r-lg); overflow: hidden; }
.play-circle { background: var(--burgundy) !important; border: 0 !important; box-shadow: 0 12px 30px rgba(31,35,38,.25); }
.video-caption { color: var(--muted); font-size: .95rem; }

/* Forms */
.field label { font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea, .form-grid input, .form-grid select, .form-grid textarea { border: 1px solid #D5D2CC; border-radius: 12px; min-height: 52px; padding: 12px 16px; font: inherit; background: #fff; }
.field textarea, .form-grid textarea { min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form-success { border-radius: var(--r-lg); }

/* Lists of people, logos, names */
.person { border-radius: var(--r-lg); }
.name-tile { border-radius: 0; }
.badge { border-radius: 999px; }
.badge-burg { background: var(--burgundy-soft); color: var(--burgundy); }
.price { color: var(--ink); font-weight: 400; letter-spacing: -0.02em; }

/* Tabs */
[role="tab"] { border-radius: 999px; font-family: var(--font); }

/* Old bands */
.band-split h2 { color: inherit; }
.contact-band { background: var(--burgundy-deep); }
.contact-band h2 { color: #fff; }

@media (max-width: 720px) {
  .btn-row .btn, .callout .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
}

/* Neutralise old header, nav, button and footer rules that share class names */
.btn, .link-more, .badge { text-transform: none; letter-spacing: normal; }
.btn { font-size: 1rem; font-weight: 500; }
.nav-list a, .nav-list summary { text-transform: none; letter-spacing: normal; font-size: .98rem; font-weight: 500; color: var(--ink); }
.nav-list .drop a { font-size: .95rem; font-weight: 400; padding: 10px 12px; display: block; }
.nav-list .btn { color: #fff; padding: 0 20px; display: inline-flex; }
.site-header { border-bottom: 1px solid transparent; }
.header-inner { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter); min-height: 80px; }
.site-footer .footer-brand, .site-footer .footer-brand * { text-transform: none; letter-spacing: normal; font-family: var(--font); font-weight: 400; font-size: .97rem; color: rgba(255,255,255,.78); }
.site-footer .brand-footer { padding: 12px 18px; background: #fff; }
.site-footer .footer-social a, .site-footer .footer-links a { text-transform: none; letter-spacing: normal; color: rgba(255,255,255,.78); font-weight: 400; }
.site-footer .footer-join h2 { font-family: var(--font); color: #fff; font-weight: 400; }
.site-footer .join-row input { min-height: 52px; border-radius: 999px; padding: 0 20px; }
@media (max-width: 1080px) {
  .js .site-nav, .site-nav { display: none; position: fixed; inset: 80px 0 0 0; top: 80px; max-height: none; border: 0; box-shadow: none; background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto; z-index: 60; }
  .js .site-nav.is-open, .site-nav.is-open { display: block; }
  .nav-list > li > a:not(.btn), .nav-list .drop-btn { display: flex; padding: 0 4px; min-height: 60px; font-size: 1.15rem; }
  .nav-list .btn { width: 100%; justify-content: center; }
  .header-inner { min-height: 80px; }
}
@media (max-width: 720px) {
  .js .site-nav, .site-nav { inset: 68px 0 0 0; top: 68px; }
  .header-inner { min-height: 68px; }
}
.site-footer .footer-links { display: block; columns: 2; column-gap: 32px; text-align: left; margin: 0; padding: 0; }
.site-footer .footer-links li { display: block; padding: 6px 0; margin: 0; }
.site-footer .footer-links li::before, .site-footer .footer-links li::after { content: none; }
.site-footer .footer-join { border: 0; padding: 0; margin: 0; text-align: left; }
.site-footer .footer-grid { align-items: start; }