/* SG Pages v2 — inner page template. Extends home.css tokens (.sgv2). 2026-10-02. */

/* Split hero: text on sand, photo on the right */
.sgp-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(72vh, 680px); background: var(--sand); }
.sgp-hero__text { display: flex; align-items: center; justify-content: flex-end; }
.sgp-hero__inner { width: min(620px, 100%); padding: 96px 64px 88px 32px; }
.sgp-hero__title {
	font: 500 clamp(52px, 6.4vw, 92px)/1 var(--serif) !important; letter-spacing: -.015em !important;
	text-transform: none !important; color: var(--ink) !important; margin: 0 0 28px !important;
}
.sgp-hero__lede p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--body); margin: 0 !important; }
.sgp-hero__lede strong { color: var(--ink); font-weight: 600; }
.sgp-hero__media { position: relative; margin: 0; min-height: 360px; overflow: hidden; }
.sgp-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sgp-hero__media figcaption {
	position: absolute; left: 24px; bottom: 20px; margin: 0; color: #fff; font-size: 12px; letter-spacing: .08em;
	text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

/* Editorial sections: heading column + body column */
.sgp-section { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.sgp-section:last-of-type { border-bottom: 0; }
.sgp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sgp-side { position: sticky; top: 100px; }
.sgp-num { display: block; font: 500 15px/1 var(--sans); letter-spacing: .2em; color: var(--teal); margin-bottom: 18px; }
.sgp-h2 {
	font: 500 clamp(30px, 3.2vw, 44px)/1.12 var(--serif) !important; letter-spacing: -.005em !important;
	text-transform: none !important; color: var(--ink) !important; margin: 0 !important; text-align: left !important;
}

/* Body copy — override the theme's centred, light, spaced-out defaults */
.sgp-body { text-align: left !important; max-width: 680px; }
.sgp-body p, .sgp-body li { font-size: 17px !important; line-height: 1.75 !important; color: var(--body) !important; text-align: left !important; }
.sgp-body p { margin: 0 0 1.15em !important; }
.sgp-body strong { color: var(--ink); font-weight: 600; }
.sgp-body a { color: var(--teal) !important; border-bottom: 1px solid rgba(0,120,139,.35); }
.sgp-body a:hover { border-color: var(--teal); }
.sgp-body h3 {
	font: 500 26px/1.25 var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important;
	color: var(--ink) !important; text-align: left !important; margin: 1.6em 0 .5em !important;
}
.sgp-body h3:first-child { margin-top: 0 !important; }
.sgp-body ul, .sgp-body ol { margin: 0 0 1.3em !important; padding-left: 0 !important; list-style: none !important; }
.sgp-body ul li, .sgp-body ol li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.sgp-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--teal); }
.sgp-body ol { counter-reset: sgp; }
.sgp-body ol li { counter-increment: sgp; }
.sgp-body ol li::before { content: counter(sgp, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 13px; font-weight: 600; color: var(--teal); }
.sgp-body img, .sgp-body picture { display: block; width: 100%; height: auto; margin: 1.6em 0 .6em; }
.sgp-body figure { margin: 1.6em 0; }
.sgp-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: 15px; }
.sgp-body th, .sgp-body td { text-align: left !important; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
.sgp-body th { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom-color: var(--ink); }
.sgp-body td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.sgp-body blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 2px solid var(--teal); font: italic 500 24px/1.45 var(--serif); color: var(--ink); background: none; }

/* FAQ accordion */
.sgp-section--faq { background: var(--sand); }
.sgp-faq { border-top: 1px solid #d7d0c4; }
.sgp-faq:last-child { border-bottom: 1px solid #d7d0c4; }
.sgp-faq summary {
	list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
	font: 500 22px/1.35 var(--serif); color: var(--ink);
}
.sgp-faq summary::-webkit-details-marker { display: none; }
.sgp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 var(--sans); color: var(--teal); transition: transform .25s ease; }
.sgp-faq[open] summary::after { transform: rotate(45deg); }
.sgp-faq__a { padding: 0 0 18px; }

/* Full-bleed image bands */
.sgp-band { margin: 0; }
.sgp-band a { display: block; overflow: hidden; border: 0 !important; }
.sgp-band img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sgp-band a:hover img { transform: scale(1.02); }
.sgp-band figcaption { padding: 14px 0 0; font-size: 13px; color: var(--muted); }

/* Team grid */
.sgp-team { padding: clamp(72px, 9vw, 120px) 0; background: var(--sand); }
.sgp-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin-top: 40px; }
.sgp-member img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; filter: grayscale(15%); }
.sgp-member__name { font: 500 26px/1.2 var(--serif) !important; color: var(--ink) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 6px !important; text-align: left !important; }
.sgp-member__role { font: 600 12px/1.5 var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--teal) !important; margin: 0 0 14px !important; text-align: left !important; }
.sgp-member__bio summary { cursor: pointer; list-style: none; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: inline-block; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
.sgp-member__bio summary::-webkit-details-marker { display: none; }
.sgp-member__bio[open] summary { margin-bottom: 14px; }
.sgp-member__bio p { font-size: 15px !important; line-height: 1.7 !important; color: var(--body) !important; text-align: left !important; margin: 0 0 .9em !important; }

/* Hide the theme's leftover page chrome on these pages */
body.sg-pages-v2 .animated.slide { display: none !important; }

@media (max-width: 860px) {
	.sgp-hero { grid-template-columns: 1fr; min-height: 0; }
	.sgp-hero__media { order: -1; height: 56vw; min-height: 260px; }
	.sgp-hero__text { justify-content: flex-start; }
	.sgp-hero__inner { width: 100%; padding: 48px 20px 56px; }
	.sgp-grid { grid-template-columns: 1fr; gap: 22px; }
	.sgp-side { position: static; }
	.sgp-team__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
}
@media (max-width: 600px) {
	.sgp-body p, .sgp-body li { font-size: 16px !important; }
	.sgp-team__grid { grid-template-columns: 1fr; }
	.sgp-body td:first-child { white-space: normal; }
}

/* fixes after review */
.sgp-side { position: static; }
.sgp-body p, .sgp-body li, .sgp-hero__lede p { font-weight: 400 !important; color: #474747 !important; }
.sgp-member img { width: 220px; max-width: 70%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: center; filter: none; background: #fff; }
