/* So Good Media — one-page site. Mobile-first; breakpoints are min-width. */

:root {
	--ink: #222222;
	--ink-2: #5c5c5c;
	--ink-3: #9a9a9a;
	--line: #e3e3e3;
	--bg: #ffffff;
	--soft: #f5f5f4;
	--accent: #d13f1f; /* hover colour for every link */
	--font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gutter: 20px;
	--max: 1360px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body.sgm {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
:where(.sgm) :where(h1, h2, h3, p, ul, ol, li, figure, address) { margin: 0; padding: 0; }
:where(.sgm) :where(ul, ol) { list-style: none; }
.sgm address { font-style: normal; }
.sgm img { display: block; max-width: 100%; height: auto; }
.sgm a { color: inherit; transition: color .25s; }
.sgm a:hover { color: var(--accent); }
.sgm em { font-style: italic; }
.sgm h1, .sgm h2, .sgm h3, .sgm-index-title { text-wrap: balance; }
.sgm p { text-wrap: pretty; }
.sgm ::selection { background: var(--ink); color: #fff; }

.sgm-skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.sgm-skip:focus { left: 8px; }

.sgm :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Nav ---------- */

.sgm-nav {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px var(--gutter);
	background: rgba(255, 255, 255, 0);
	transition: background .3s, box-shadow .3s;
}
.sgm-nav.is-scrolled { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.admin-bar .sgm-nav { top: 46px; }

.sgm-mark { font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; position: relative; z-index: 2; }
.sgm-mark span { font-weight: 400; color: var(--ink-2); }

.sgm-menu-btn {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; gap: 10px;
	background: none; border: 0; padding: 6px 0; cursor: pointer;
	font: 500 15px/1 var(--font); color: var(--ink);
}
.sgm-menu-icon, .sgm-menu-icon::before { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.sgm-menu-icon { position: relative; transform: translateY(-3px); }
.sgm-menu-icon::before { content: ""; position: absolute; top: 6px; }
.sgm-menu-btn[aria-expanded="true"] .sgm-menu-icon { transform: translateY(0) rotate(45deg); }
.sgm-menu-btn[aria-expanded="true"] .sgm-menu-icon::before { transform: translateY(-6px) rotate(-90deg); }

.sgm-menu {
	position: fixed; inset: 0; z-index: 1;
	display: flex; flex-direction: column; justify-content: center; gap: 6px;
	padding: 0 var(--gutter);
	background: var(--bg);
	opacity: 0; visibility: hidden;
	transition: opacity .35s, visibility .35s;
}
.sgm-menu a { font-size: clamp(40px, 12vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; text-decoration: none; transform: translateY(16px); transition: transform .5s var(--ease); }
.sgm-menu.is-open { opacity: 1; visibility: visible; }
.sgm-menu.is-open a { transform: none; }
.sgm-menu.is-open a:nth-child(2) { transition-delay: .04s; }
.sgm-menu.is-open a:nth-child(3) { transition-delay: .08s; }
.sgm-menu.is-open a:nth-child(4) { transition-delay: .12s; }
body.sgm-locked { overflow: hidden; }

@media (min-width: 783px) { .admin-bar .sgm-nav { top: 32px; } }

@media (min-width: 900px) {
	:root { --gutter: 40px; }
	.sgm-nav { padding: 22px var(--gutter); }
	.sgm-menu-btn { display: none; }
	.sgm-menu {
		position: static; flex-direction: row; align-items: center; gap: 32px;
		padding: 0; background: none; opacity: 1; visibility: visible;
	}
	.sgm-menu a { font-size: 15px; font-weight: 400; letter-spacing: 0; transform: none; position: relative; }
	.sgm-menu a:hover { color: var(--accent); }
}

/* ---------- Hero ---------- */

.sgm-hero {
	min-height: 86svh;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 104px var(--gutter) 36px;
	max-width: var(--max); margin: 0 auto;
}
.sgm-hero-title {
	font-size: clamp(44px, min(10.5vw, 15vh), 156px);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: .95;
}
.sgm-line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.sgm-line > span { display: inline-block; }
.sgm-hero-foot { display: grid; gap: 32px; margin-top: 40px; }
.sgm-hero-lede { max-width: 34em; font-size: 18px; color: var(--ink-2); }

.sgm-wave { display: flex; align-items: center; gap: 3px; height: 56px; }
.sgm-wave i {
	flex: 1 1 0; max-width: 4px; height: 100%;
	background: var(--ink); border-radius: 2px;
	transform: scaleY(.12);
	animation: sgm-wave var(--dur, 1.2s) ease-in-out calc(var(--i) * -71ms) infinite alternate;
}
.sgm-wave i:nth-child(n+33) { display: none; }
@keyframes sgm-wave { to { transform: scaleY(var(--amp, .9)); } }

@media (min-width: 700px) {
	.sgm-hero { padding-bottom: 56px; min-height: 100svh; }
	.sgm-hero-foot { grid-template-columns: 1fr minmax(220px, 360px); align-items: end; gap: 48px; }
	.sgm-wave i:nth-child(n+33) { display: block; }
	.sgm-wave { height: 72px; }
}

/* Hero entrance (pure CSS, so it never waits on scripts) */
.sgm-line .sgm-hero-in { animation: sgm-rise 1.1s var(--ease) calc(var(--d) * 110ms + 100ms) both; }
.sgm-hero-foot .sgm-hero-in { animation: sgm-fade 1s var(--ease) calc(var(--d) * 110ms + 200ms) both; }
@keyframes sgm-rise { from { transform: translateY(108%); } }
@keyframes sgm-fade { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */

.sgm-section { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); }
.sgm-head { margin-bottom: 36px; }
.sgm-head h2 { font-size: clamp(40px, 9vw, 104px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }

@media (min-width: 900px) {
	.sgm-section { padding: 110px var(--gutter); }
	.sgm-head { margin-bottom: 56px; }
}

/* Scroll reveal */
.sgm-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--stagger, 0) * 120ms); }
.sgm-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */

.sgm-services { border-top: 1px solid var(--ink); }
.sgm-service { display: grid; gap: 14px; padding: 36px 0 40px; border-bottom: 1px solid var(--line); position: relative; }
.sgm-service h3 { font-size: clamp(30px, 6vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; transition: transform .6s var(--ease); }
.sgm-service p { color: var(--ink-2); max-width: 36em; }
.sgm-service ul { display: grid; grid-template-columns: 1fr; margin-top: 10px; border-top: 1px solid var(--line); }
.sgm-service li { font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .sgm-service ul { grid-template-columns: 1fr 1fr; column-gap: 28px; } }


@media (min-width: 900px) {
	.sgm-service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; padding: 52px 0 56px; align-items: start; }
	.sgm-service h3 { grid-column: 1; grid-row: 1 / span 2; transition: color .3s; }
	.sgm-service p { grid-column: 2; grid-row: 1; padding-top: 8px; font-size: 18px; }
	.sgm-service ul { grid-column: 2; grid-row: 2; }
	.sgm-service:hover h3 { color: var(--accent); }
}

/* ---------- Approach ---------- */

.sgm-approach-intro { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -.015em; max-width: 30em; margin-bottom: 48px; }
.sgm-progress { display: none; }
.sgm-phases { display: grid; gap: 0; counter-reset: phase; }
.sgm-phase h3::before { counter-increment: phase; content: counter(phase) "."; color: var(--ink-3); margin-right: .35em; }
.sgm-phase { border-top: 1px solid var(--ink); padding: 28px 0 40px; }
.sgm-phase h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 20px; }
.sgm-phase li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }

@media (min-width: 900px) {
	.sgm-approach { position: relative; }
	.sgm-progress { display: block; height: 2px; background: var(--line); margin-bottom: -1px; position: relative; z-index: 1; }
	.sgm-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .15s linear; }
	.sgm-phases { grid-template-columns: repeat(3, 1fr); gap: 40px; }
	.sgm-phase { border-top-color: transparent; padding-top: 32px; }
}

/* ---------- Stats ---------- */

.sgm-stats { background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.sgm-stat { background: var(--ink); padding: 40px var(--gutter) 44px; display: flex; flex-wrap: wrap; align-items: baseline; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.sgm-stat-num, .sgm-stat-suffix { font-size: clamp(44px, 9vw, 104px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sgm-stat-label { flex-basis: 100%; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.65); max-width: 16em; }

@media (min-width: 900px) {
	.sgm-stats { grid-template-columns: repeat(4, 1fr); }
	.sgm-stat { padding: 72px 40px 76px; }
}

/* ---------- So Good Lancaster showcase ---------- */

.sgm-sgl { background: var(--soft); border-block: 1px solid var(--line); }
.sgm-sgl-inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); display: grid; gap: 48px; }
.sgm-sgl h2 { font-size: clamp(40px, 7vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.sgm-sgl-tagline { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.3; margin-top: 18px; max-width: 22em; }
.sgm-sgl-body { color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.sgm-sgl-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 17px; }
.sgm-sgl-links a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sgm-sgl-eps-h { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.sgm-sgl-eps ul { display: grid; gap: 24px; }
.sgm-sgl-eps a { display: grid; gap: 8px; text-decoration: none; }
.sgm-sgl-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e7e6e2; }
.sgm-sgl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sgm-sgl-eps a:hover .sgm-sgl-thumb img { transform: scale(1.04); }
.sgm-sgl-meta { font-size: 13px; color: var(--ink-2); }
.sgm-sgl-title { font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; transition: color .25s; }
.sgm-sgl-eps a:hover .sgm-sgl-title { color: var(--accent); }

@media (min-width: 640px) {
	.sgm-sgl-eps ul { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 900px) {
	.sgm-sgl-inner { padding: 110px var(--gutter); }
	.sgm-sgl-text { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
	.sgm-sgl-text h2, .sgm-sgl-tagline { grid-column: 1; }
	.sgm-sgl-body, .sgm-sgl-links { grid-column: 2; }
	.sgm-sgl-body { grid-row: 1 / span 2; align-self: end; margin-top: 0; }
	.sgm-sgl-links { grid-row: 3; }
}

/* ---------- Work index ---------- */


.sgm-index { border-top: 1px solid var(--ink); }
.sgm-index li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sgm-index-title { font-size: clamp(26px, 4.4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; transition: color .3s; }
.sgm-index-type, .sgm-index-note { font-size: 15px; color: var(--ink-2); }
.sgm-index li:hover .sgm-index-title { color: var(--accent); }

@media (min-width: 900px) {
	.sgm-index li { grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; column-gap: 32px; padding: 26px 0; }
	.sgm-index-note { text-align: right; }
}

.sgm-index-desc { font-size: 16px; color: var(--ink-2); max-width: 34em; }
.sgm-index--desc li { gap: 8px; }
@media (min-width: 900px) {
	.sgm-index--desc li { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: baseline; }
	.sgm-index--desc .sgm-index-title { font-size: clamp(26px, 3.4vw, 44px); }
}
.sgm-past { margin-top: 56px; }
.sgm-sub { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 20px; }
.sgm-past-list { display: grid; grid-template-columns: 1fr; column-gap: 32px; border-top: 1px solid var(--ink); }
.sgm-past-list li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); align-content: start; }
.sgm-past-title { font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; transition: color .3s; }
.sgm-past-desc { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.sgm-past-list li:hover .sgm-past-title { color: var(--accent); }
@media (min-width: 600px) { .sgm-past-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sgm-past-list { grid-template-columns: repeat(3, 1fr); } }

.sgm-credits-head { margin-bottom: 20px; }
.sgm-credits-head .sgm-sub { margin-bottom: 0; }
.sgm-credits-head p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* ---------- Network banner ---------- */

.sgm-network { background: #000; color: #fff; }
.sgm-network-inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); display: grid; gap: 40px; }
.sgm-network h2 { font-size: clamp(36px, 5.4vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin-bottom: 24px; }
.sgm-network-text p { color: rgba(255,255,255,.72); font-size: clamp(17px, 1.6vw, 20px); max-width: 30em; }
.sgm-network .sgm-network-link { margin-top: 28px; }
.sgm-network-link a { color: #fff; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sgm-network-link a:hover { color: var(--accent); }
.sgm-network-shows { border-top: 1px solid rgba(255,255,255,.3); align-self: end; }
.sgm-network-shows li { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }

@media (min-width: 900px) {
	.sgm-network-inner { padding: 110px var(--gutter); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; }
}

/* ---------- Studio ---------- */

.sgm-studio { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 0; display: grid; gap: 40px; }
.sgm-studio-text h2 { font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin-bottom: 24px; }
.sgm-studio-text p { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-2); max-width: 32em; }
.sgm-studio-photos { display: grid; gap: 12px; }
.sgm-studio-photo { overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.sgm-studio-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.sgm-studio-photo.is-in img { transform: none; }

@media (min-width: 900px) {
	.sgm-studio { padding-top: 110px; grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.sgm-studio-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: start; }
	.sgm-studio-text h2 { margin-bottom: 0; }
	.sgm-studio-text p { padding-top: 8px; }
	.sgm-studio-photos { grid-template-columns: 1fr 1fr; gap: 16px; }
	.sgm-studio-photo { aspect-ratio: 3 / 2; }
}

/* ---------- Team ---------- */

.sgm-team-intro { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -.015em; max-width: 30em; margin-bottom: 48px; }
.sgm-team-intro a, .sgm-studio-text a, .sgm-bio a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.sgm-team { display: grid; gap: 56px; }
.sgm-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); margin-bottom: 26px; }
.sgm-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: filter .8s ease, transform 1.4s var(--ease); }
.sgm-person:hover .sgm-photo img { filter: grayscale(0); transform: scale(1); }
.sgm-person h3 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.sgm-role { font-size: 14px; color: var(--ink-3); margin: 8px 0 20px; }
.sgm-bio { color: var(--ink-2); max-width: 34em; }
.sgm-honors { margin-top: 24px; border-top: 1px solid var(--line); }
.sgm-honors li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sgm-links { display: flex; gap: 22px; margin-top: 24px; font-size: 14px; }
.sgm-links a, .sgm-social a, .sgm-email { text-decoration: none; }

@media (min-width: 900px) {
	.sgm-team { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- Contact ---------- */

.sgm-contact { padding-bottom: 96px; }
.sgm-contact .sgm-head h2 { max-width: 11em; }
.sgm-contact-grid { display: grid; gap: 56px; }
.sgm-contact-info { display: grid; gap: 28px; align-content: start; }
.sgm-contact-lede { font-size: 19px; color: var(--ink-2); max-width: 24em; }
.sgm-email { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.sgm-contact-info address { color: var(--ink-2); font-size: 15px; }

@media (min-width: 900px) {
	.sgm-contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
}

/* Gravity Forms (its own CSS is switched off on this page) */
.sgm .gform_wrapper { margin: 0; }
.sgm .gform_validation_container, .sgm .gform_hidden, .sgm .gfield_visibility_hidden, .sgm .gform_wrapper .screen-reader-text,
.sgm .gform_wrapper .hidden_label > .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sgm .gform_wrapper .gfield_required_text { display: none; }
.sgm .gform_wrapper .gfield_required::after { content: "*"; }
.sgm .gform_wrapper fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sgm .gform_wrapper .ginput_container { margin: 0; }
.sgm .gform_wrapper .gform_fields { display: grid; grid-template-columns: 1fr; gap: 30px; }
.sgm .gform_wrapper .gfield { grid-column: 1 / -1; margin: 0; padding: 0; }
@media (min-width: 640px) {
	.sgm .gform_wrapper .gform_fields { grid-template-columns: repeat(12, 1fr); column-gap: 28px; }
	.sgm .gform_wrapper .gfield--width-half { grid-column: span 6; }
}
.sgm .gform_wrapper .gfield_label,
.sgm .gform_wrapper legend.gfield_label {
	display: block; font-size: 15px; font-weight: 400;
	color: var(--ink-2); margin: 0 0 4px; padding: 0;
}
.sgm .gform_wrapper .gfield_required { color: var(--ink-3); margin-left: 4px; font-size: 12px; }
.sgm .gform_wrapper .gfield_required_text { font-style: normal; text-transform: none; letter-spacing: 0; }
.sgm .gform_wrapper input[type="text"],
.sgm .gform_wrapper input[type="email"],
.sgm .gform_wrapper input[type="tel"],
.sgm .gform_wrapper select,
.sgm .gform_wrapper textarea {
	width: 100%; font: 400 18px/1.4 var(--font); color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid #bdbdbd; border-radius: 0;
	padding: 10px 0 12px; box-shadow: none; -webkit-appearance: none; appearance: none;
	transition: border-color .25s;
}
.sgm .gform_wrapper select {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23222' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat;
	padding-right: 24px; cursor: pointer;
}
.sgm .gform_wrapper textarea { min-height: 140px; resize: vertical; }
.sgm .gform_wrapper input:focus, .sgm .gform_wrapper select:focus, .sgm .gform_wrapper textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }

/* Checkboxes: plain squares */
.sgm .gform_wrapper .gfield_checkbox { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .sgm .gform_wrapper .gfield_checkbox { grid-template-columns: 1fr 1fr; } }
.sgm .gform_wrapper .gfield_checkbox .gchoice { position: relative; margin: 0; display: block; }
.sgm .gform_wrapper .gfield_checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sgm .gform_wrapper .gfield_checkbox label { display: flex; align-items: center; gap: 12px; margin: 0; max-width: none; cursor: pointer; font-size: 17px; transition: color .25s; }
.sgm .gform_wrapper .gfield_checkbox label::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border: 1px solid var(--ink); background: #fff; transition: background .2s, box-shadow .2s; }
.sgm .gform_wrapper .gfield_checkbox label:hover { color: var(--accent); }
.sgm .gform_wrapper .gfield_checkbox input:checked + label::before { background: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.sgm .gform_wrapper .gfield_checkbox input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }

.sgm .gform_wrapper .gform_footer { margin: 40px 0 0; padding: 0; }
.sgm .gform_wrapper .gform_button,
.sgm .gform_wrapper input[type="submit"] {
	font: 500 clamp(26px, 3vw, 36px)/1.1 var(--font); letter-spacing: -.03em; color: var(--ink);
	background: none; border: 0; border-radius: 0; padding: 0; cursor: pointer;
	transition: color .25s; width: auto; -webkit-appearance: none; appearance: none;
}
.sgm .gform_wrapper .gform_button:hover { color: var(--accent); }

.sgm .gform_wrapper .gfield_validation_message,
.sgm .gform_wrapper .validation_message { background: none; border: 0; padding: 8px 0 0; color: #a31b1b; font-size: 14px; }
.sgm .gform_wrapper .gform_validation_errors { background: var(--soft); border: 0; border-left: 2px solid #a31b1b; border-radius: 0; box-shadow: none; padding: 14px 18px; margin-bottom: 28px; }
.sgm .gform_wrapper .gform_validation_errors h2 { font-size: 15px; color: #a31b1b; }
.sgm .gform_wrapper .gfield_error input, .sgm .gform_wrapper .gfield_error textarea { border-bottom-color: #a31b1b; }
.sgm .gform_confirmation_message { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.3; padding: 40px 0; border-top: 1px solid var(--ink); }
.sgm .gform_ajax_spinner { margin-left: 14px; vertical-align: middle; }
.sgm .gform_wrapper .ginput_counter { font-size: 12px; color: var(--ink-3); }
.sgm .gform_wrapper .gform_required_legend { display: none; }

/* ---------- Footer ---------- */

.sgm-footer { border-top: 1px solid var(--line); padding: 0 var(--gutter) 72px; overflow: hidden; }
.sgm-footer-mark { font-size: 23.5vw; font-weight: 700; letter-spacing: -.07em; line-height: .78; white-space: nowrap; margin: 4vw 0 24px -.04em; color: var(--ink); }
.sgm-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; font-size: 14px; color: var(--ink-2); max-width: var(--max); margin: 0 auto; }
.sgm-social { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Back to top ---------- */

.sgm-top {
	position: fixed; right: var(--gutter); bottom: 20px; z-index: 40;
	font-size: 14px; text-decoration: none; color: var(--ink);
	background: rgba(255, 255, 255, .92); padding: 8px 2px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s, visibility .3s, transform .3s var(--ease), color .25s;
}
.sgm-top::before { content: "\2191"; margin-right: 6px; }
.sgm-top.is-shown { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sgm *, .sgm *::before, .sgm *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.sgm-wave i { transform: scaleY(var(--amp, .5)); }
	.sgm-js [data-reveal], .sgm-hero-in { opacity: 1 !important; transform: none !important; }
}
