/* =========================================================================
   Jogue — design system
   Ported from the approved HTML design build. Two families, two background
   colours, square corners everywhere, hairlines via inset box-shadow.
   ========================================================================= */

:root {
	--ink: rgb(26, 26, 26);
	--ink-80: rgba(26, 26, 26, 0.8);
	--ink-75: rgba(26, 26, 26, 0.75);
	--ink-70: rgba(26, 26, 26, 0.7);
	--ink-60: rgba(26, 26, 26, 0.6);
	--ink-55: rgba(26, 26, 26, 0.55);
	--ink-45: rgba(26, 26, 26, 0.45);
	--ink-40: rgba(26, 26, 26, 0.4);
	--ink-30: rgba(26, 26, 26, 0.3);
	--ink-25: rgba(26, 26, 26, 0.25);
	--ink-22: rgba(26, 26, 26, 0.22);
	--ink-18: rgba(26, 26, 26, 0.18);
	--ink-15: rgba(26, 26, 26, 0.15);
	--cream: rgb(250, 248, 245);
	--warm: rgb(242, 239, 234);
	--accent: rgb(225, 204, 169);
	--brass: rgb(120, 96, 58);
	--error: rgb(150, 44, 28);
	--imgwell: rgb(230, 226, 219);
	--white-70: rgba(255, 255, 255, 0.7);
	--white-75: rgba(255, 255, 255, 0.75);
	--white-50: rgba(255, 255, 255, 0.5);
	--white-20: rgba(255, 255, 255, 0.2);
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--gutter: clamp(20px, 5.2vw, 100px);
	--sec-y: clamp(64px, 7vw, 130px);
	--sec-y-roomy: clamp(72px, 9vw, 160px);
	--max: 1720px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 25px;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brass); }

@keyframes jg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes jg-hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes jg-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes jg-menu-item-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes jg-dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.55; } }
@keyframes jg-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes jg-modal-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }

.jg-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	padding: 12px 20px; background: var(--ink); color: #fff;
}
.jg-skip:focus { left: 0; color: #fff; }

/* ---- Layout ------------------------------------------------------------ */

.jg-sec { padding: var(--sec-y) var(--gutter); }
.jg-sec--roomy { padding-top: var(--sec-y-roomy); padding-bottom: var(--sec-y-roomy); }
.jg-sec--cream { background: var(--cream); }
.jg-sec--warm { background: var(--warm); }
.jg-sec--ink { background: var(--ink); }
.jg-wrap { max-width: var(--max); margin: 0 auto; }
.jg-wrap--mid { max-width: 1280px; }
.jg-wrap--narrow { max-width: 900px; }
.jg-wrap--tight { max-width: 760px; }
.jg-center { text-align: center; }
.jg-center-row { display: flex; justify-content: center; }

.jg-sec-head { max-width: 700px; margin-bottom: clamp(40px, 4.4vw, 76px); }
.jg-sec-head--center { margin-left: auto; margin-right: auto; max-width: 760px; text-align: center; }
.jg-sec-head .jg-body { margin: 0; }

/* ---- Type -------------------------------------------------------------- */

.jg-eyebrow {
	font-family: var(--sans); font-weight: 500;
	font-size: clamp(13px, 0.95vw, 18px); line-height: 1.45;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--ink-70); margin-bottom: 26px;
}
.jg-eyebrow--light { color: var(--white-70); }

.jg-h { margin: 0 0 26px; font-family: var(--serif); font-weight: 400; color: var(--ink); }
.jg-h em { font-style: italic; }
.jg-h--light { color: #fff; }
.jg-h--hero-xl { font-size: clamp(56px, 7.8vw, 150px); line-height: 0.87; margin-bottom: clamp(28px, 3.2vw, 60px); }
.jg-h--hero-lg { font-size: clamp(46px, 6.6vw, 128px); line-height: 0.86; margin-bottom: 32px; }
.jg-h--display { font-size: clamp(38px, 4.2vw, 80px); line-height: 0.9; }
.jg-h--section { font-size: clamp(34px, 3.9vw, 74px); line-height: 0.96; }
.jg-h--split { font-size: clamp(36px, 3.9vw, 72px); line-height: 0.94; margin-bottom: 32px; }
.jg-h--article { font-size: clamp(38px, 4.6vw, 88px); line-height: 0.94; margin-bottom: 28px; }
.jg-h--sub { font-size: clamp(28px, 2.6vw, 48px); line-height: 1.04; }
.jg-h--sub-lg { font-size: clamp(30px, 3vw, 54px); line-height: 1; }
.jg-h--card { font-size: clamp(22px, 1.9vw, 34px); line-height: 1.08; margin-bottom: 14px; }
.jg-h--pillar { font-size: clamp(24px, 2.1vw, 40px); line-height: 1; margin-bottom: 14px; font-weight: 500; }

.jg-body { margin: 0 0 22px; font-size: 16px; line-height: 25px; color: var(--ink-70); }
.jg-body--dim { color: var(--ink-60); }
.jg-body--light { color: var(--white-70); }
.jg-lead { margin: 0 0 22px; font-size: 18px; line-height: 29px; color: var(--ink-80); text-wrap: pretty; }
.jg-lead--light { font-size: 16px; line-height: 25px; color: var(--white-75); max-width: 620px; }
.jg-lead--measure { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: clamp(40px, 4.4vw, 72px); }

.jg-num {
	font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; color: var(--ink-40); margin-bottom: 20px;
}
.jg-tagline {
	font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 22px;
}
.jg-vrule { width: 1px; height: clamp(34px, 3.2vw, 62px); background: rgba(26,26,26,0.2); margin-bottom: clamp(22px, 2.2vw, 38px); }
.jg-vrule--center { margin: 0 auto clamp(44px, 5vw, 100px); height: clamp(56px, 5.2vw, 100px); }

.jg-prose { color: var(--ink-75); }
.jg-prose p { margin: 0 0 22px; font-size: 16px; line-height: 25px; }
.jg-prose a { box-shadow: inset 0 -1px 0 var(--ink-40); }
.jg-prose--article p { font-size: 18px; line-height: 30px; color: var(--ink); text-wrap: pretty; }
.jg-prose--article h2 {
	margin: clamp(28px, 3vw, 50px) 0 22px; font-family: var(--serif); font-weight: 400;
	font-size: clamp(28px, 2.6vw, 46px); line-height: 1.06; color: var(--ink);
}
.jg-prose--article blockquote {
	margin: clamp(28px, 3vw, 50px) 0; padding-left: clamp(20px, 2.4vw, 40px);
	box-shadow: inset 3px 0 0 var(--ink);
	font-family: var(--serif); font-style: italic;
	font-size: clamp(24px, 2.2vw, 38px); line-height: 1.28; color: var(--ink);
}
.jg-prose--article blockquote p { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
.jg-prose--article h3 {
	margin: clamp(26px, 2.6vw, 42px) 0 14px; font-family: var(--serif); font-weight: 500;
	font-size: clamp(24px, 2vw, 32px); line-height: 1.15; color: var(--ink);
}
.jg-prose--article h2 + h3, .jg-prose--article h3:first-child { margin-top: 0; }
.jg-prose--article ul, .jg-prose--article ol { margin: 0 0 26px; padding-left: 1.3em; }
.jg-prose--article li { margin: 0 0 10px; padding-left: 0.3em; font-size: 18px; line-height: 30px; color: var(--ink); }
.jg-prose--article li::marker { color: var(--brass); }
.jg-prose--article li > ul, .jg-prose--article li > ol { margin: 10px 0 0; }
.jg-prose--article strong { font-weight: 600; color: var(--ink); }
.jg-prose--article img { display: block; max-width: 100%; height: auto; margin: clamp(24px, 2.6vw, 40px) auto; }
.jg-prose--article p > img:only-child { margin: 0 auto; }
.jg-prose--article figure { margin: clamp(24px, 2.6vw, 40px) 0; }
.jg-prose--article figure img { margin: 0 auto; }
.jg-prose--article figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-60); text-align: center; }
.jg-prose-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: clamp(24px, 2.6vw, 40px) 0; }
.jg-prose-gallery figure { margin: 0; }
.jg-prose-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.jg-prose-embed { position: relative; aspect-ratio: 16 / 9; margin: clamp(24px, 2.6vw, 40px) 0; background: var(--imgwell); }
.jg-prose-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jg-prose-table { overflow-x: auto; margin: 0 0 26px; }
.jg-prose-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.jg-prose-table th, .jg-prose-table td { padding: 12px 14px; border-bottom: 1px solid var(--ink-15); text-align: left; vertical-align: top; }
.jg-prose-table th, .jg-prose-table table:not(:has(th)) tr:first-child td { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink-40); }
.jg-prose--article sup { font-size: 0.65em; line-height: 0; }
@media (max-width: 639px) {
	.jg-prose-gallery { gap: 8px; }
}

/* ---- Buttons ----------------------------------------------------------- */

.jg-btn-row { display: flex; flex-wrap: wrap; gap: 15px; }
.jg-btn {
	display: inline-block; padding: 17px 30px; border: 0; cursor: pointer;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
	transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
	background: transparent;
}
.jg-btn--solid { background: var(--ink); color: #fff; }
.jg-btn--solid:hover { background: var(--brass); color: #fff; }
.jg-btn--ghost { box-shadow: inset 0 0 0 1px rgba(26,26,26,0.35); color: var(--ink); }
.jg-btn--ghost:hover { background: var(--ink); color: #fff; }
.jg-btn--white { background: #fff; color: var(--ink); }
.jg-btn--white:hover { background: var(--accent); color: var(--ink); }
.jg-btn--ghost-light { box-shadow: inset 0 0 0 1px var(--white-50); color: #fff; }
.jg-btn--ghost-light:hover { background: #fff; color: var(--ink); }
.jg-btn--accent { background: var(--accent); color: var(--ink); }
.jg-btn--accent:hover { background: var(--brass); color: #fff; }

.jg-underline-link {
	display: inline-block; padding-bottom: 6px;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
	box-shadow: inset 0 -1px 0 var(--ink);
	transition: color 180ms ease, box-shadow 180ms ease;
}
.jg-underline-link:hover { color: var(--brass); box-shadow: inset 0 -1px 0 var(--brass); }

.jg-arrow {
	width: 50px; height: 50px; border: 0; background: transparent; cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(26,26,26,0.2);
	font-size: 16px; color: var(--ink);
	transition: background 160ms ease, color 160ms ease;
}
.jg-arrow:hover { background: var(--ink); color: #fff; }

/* ---- Shared bits ------------------------------------------------------- */

.jg-imgwell { background-color: var(--imgwell); background-size: cover; background-position: center; background-repeat: no-repeat; }
.jg-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.jg-chip { padding: 9px 16px; box-shadow: inset 0 0 0 1px var(--ink-22); font-size: 16px; line-height: 1; }

.jg-tab-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 46px); }
.jg-tab {
	display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; cursor: pointer;
	background: transparent; color: var(--ink);
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.14em; text-transform: uppercase;
	box-shadow: inset 0 0 0 1px var(--ink-22);
	transition: background 160ms ease, color 160ms ease;
}
.jg-tab:hover { background: var(--ink); color: #fff; }
.jg-tab.is-active { background: var(--ink); color: #fff; }
.jg-tab-row--small { margin-bottom: 0; }
.jg-tab-row--small .jg-tab { height: 42px; padding: 0 18px; letter-spacing: 0.12em; }

.jg-search__field {
	position: relative; display: flex; align-items: center; height: 54px;
	box-shadow: inset 0 0 0 1px var(--ink-25);
	transition: box-shadow 180ms ease;
}
.jg-search__field:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.jg-search__icon { position: absolute; left: 20px; width: 20px; height: 20px; opacity: 0.55; pointer-events: none; }
.jg-search__field input {
	width: 100%; height: 100%; padding: 0 20px 0 52px;
	background: transparent; border: 0; outline: none;
	font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.jg-search__field input::placeholder { color: var(--ink-30); }

.jg-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.jg-bullets__row { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 25px; color: rgba(26,26,26,0.78); }
.jg-bullets__dot { flex: 0 0 5px; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--ink); }

/* ---- Header ------------------------------------------------------------ */

.jg-header {
	position: sticky; top: 0; z-index: 200;
	background: var(--warm);
	box-shadow: inset 0 -1px 0 rgba(26, 26, 26, 0.10);
}
.jg-header__bar {
	max-width: 1920px; margin: 0 auto; min-height: 112px;
	padding: 0 var(--gutter);
	display: flex; align-items: center; justify-content: space-between;
	gap: clamp(16px, 2vw, 40px);
}
.jg-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.jg-header__logo { display: block; height: 72px; width: auto; object-fit: contain; }
@media (max-width: 639px) {
	/* Only small phones need the mark trimmed. */
	.jg-header__logo { height: 58px; }
}

.jg-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(18px, 2.4vw, 46px); }
.jg-nav__item { position: relative; display: flex; align-items: center; align-self: stretch; }
.jg-nav__link {
	display: flex; align-items: center; align-self: center; padding: 6px 0;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
	box-shadow: none;
	transition: box-shadow 220ms var(--ease), color 200ms ease;
}
.jg-nav > .jg-nav__link { align-self: center; }
.jg-nav__link:hover, .jg-nav__link.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.jg-nav__panel {
	position: absolute; top: 100%; left: -24px; min-width: 262px; z-index: 10;
	background: #fff; padding: 12px 0;
	box-shadow: 0 24px 60px rgba(26, 26, 26, 0.13), inset 0 0 0 1px rgba(26, 26, 26, 0.08);
	transform-origin: top center;
	display: none;
}
.jg-nav__item--has-panel:hover .jg-nav__panel,
.jg-nav__item--has-panel:focus-within .jg-nav__panel { display: block; animation: jg-menu-in 220ms var(--ease) both; }
.jg-nav__panel-link {
	display: block; padding: 12px 28px;
	font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1;
	letter-spacing: 0.1em; color: var(--ink); white-space: nowrap;
	background: transparent;
	transition: background 160ms ease, padding-left 200ms var(--ease);
	animation: jg-menu-item-in 300ms var(--ease) both;
	animation-delay: var(--jg-delay, 0ms);
}
.jg-nav__panel-link:hover { background: var(--warm); padding-left: 34px; color: var(--ink); }

.jg-header__ctas { flex-shrink: 0; display: flex; align-items: stretch; }
.jg-header__cta {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}
.jg-header__cta--sample { padding: 18px 26px; background: var(--accent); color: var(--ink); }
.jg-header__cta--sample:hover { background: var(--brass); color: #fff; }
.jg-header__cta--contact { padding: 18px 30px; background: var(--ink); color: #fff; }
.jg-header__cta--contact:hover { background: var(--brass); color: #fff; }
.jg-header__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: jg-dot-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }

.jg-burger { display: none; appearance: none; border: 0; background: transparent; padding: 12px; margin-right: -12px; flex-direction: column; gap: 6px; cursor: pointer; }
.jg-burger span { display: block; width: 26px; height: 1px; background: var(--ink); transition: transform 200ms ease, opacity 200ms ease; }
.jg-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jg-burger.is-open span:nth-child(2) { opacity: 0; }
.jg-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.jg-drawer { background: var(--warm); box-shadow: inset 0 1px 0 rgba(26,26,26,0.10); padding: 8px var(--gutter) 32px; }
.jg-drawer__link {
	display: block; padding: 15px 0;
	box-shadow: inset 0 -1px 0 rgba(26,26,26,0.08);
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.jg-drawer__row { display: flex; align-items: stretch; box-shadow: inset 0 -1px 0 rgba(26,26,26,0.08); }
.jg-drawer__row .jg-drawer__link { flex: 1 1 auto; box-shadow: none; }
.jg-drawer__toggle {
	appearance: none; border: 0; background: transparent; cursor: pointer;
	width: 52px; flex: 0 0 52px; margin-right: -14px; position: relative; color: var(--ink);
}
.jg-drawer__toggle span::before, .jg-drawer__toggle span::after {
	content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
	background: currentColor; transform: translate(-50%, -50%); transition: transform 200ms ease;
}
.jg-drawer__toggle span::after { transform: translate(-50%, -50%) rotate(90deg); }
.jg-drawer__toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0deg); }
.jg-drawer__sub { padding: 6px 0 12px 16px; box-shadow: inset 0 -1px 0 rgba(26,26,26,0.08); }
.jg-drawer__sub[hidden] { display: none; }
.jg-drawer__sublink {
	display: block; padding: 11px 0; font-family: var(--sans); font-size: 16px; line-height: 1.25;
	letter-spacing: 0.04em; color: var(--ink-75);
}
.jg-drawer__sublink:hover { color: var(--brass); }
.jg-drawer__cta {
	display: block; margin-top: 24px; text-align: center; padding: 18px 24px;
	background: var(--ink); color: #fff;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.jg-drawer__cta:hover { color: #fff; background: var(--brass); }

/* The full nav, both CTAs, the launcher and the larger mark need about
   1280px to sit together honestly. Below that the burger takes over —
   better than a cramped bar or a shrunken logo. */
@media (max-width: 1279px) {
	.jg-nav, .jg-header__ctas { display: none; }
	.jg-burger { display: flex; }
}
@media (min-width: 1280px) {
	.jg-burger, .jg-drawer { display: none !important; }
}

/* ---- Ask Jogue --------------------------------------------------------- */

.jg-ask-launch {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	flex: 0 0 auto;
	height: 46px; padding: 0 20px; margin-left: auto; margin-right: clamp(10px, 1.4vw, 22px);
	border: 0; cursor: pointer; background: transparent;
	box-shadow: inset 0 0 0 1px var(--ink-25);
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
	transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.jg-ask-launch img { flex: 0 0 18px; width: 18px; height: 18px; opacity: 0.65; transition: filter 180ms ease, opacity 180ms ease; }
.jg-ask-launch:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.jg-ask-launch:hover img { filter: invert(1); opacity: 1; }
.jg-ask-launch[aria-expanded="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.jg-ask-launch[aria-expanded="true"] img { filter: invert(1); opacity: 1; }

/* The larger logo costs ~30px of bar width. Through the middle widths the
   launcher drops to its icon and the nav/CTA spacing tightens, so the bar
   never overflows — the mark stays big instead. */
@media (max-width: 1499px) {
	.jg-ask-launch { padding: 0; flex: 0 0 46px; width: 46px; margin-right: clamp(8px, 1vw, 14px); }
	.jg-ask-launch span {
		position: absolute; width: 1px; height: 1px;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
}
@media (min-width: 1280px) and (max-width: 1499px) {
	.jg-header__bar { gap: 16px; }
	.jg-nav { gap: clamp(16px, 1.6vw, 24px); }
	.jg-header__cta--sample { padding: 18px 20px; }
	.jg-header__cta--contact { padding: 18px 22px; }
}
@media (max-width: 1279px) {
	.jg-ask-launch { margin-left: auto; margin-right: 4px; }
}

/* Ask Jogue opens as a rail on the right: a conversation you can keep
   going while the page stays where it was. */
.jg-ask {
	position: fixed; inset: 0; z-index: 400;
	display: flex; justify-content: flex-end;
}
/* Author display beats the UA [hidden] rule — restore it explicitly. */
.jg-ask[hidden] { display: none; }
html.jg-ask-open { overflow: hidden; }

.jg-ask__scrim {
	position: absolute; inset: 0;
	background: rgba(26, 26, 26, 0.45);
	animation: jg-fade-in 220ms ease both;
}
.jg-ask__dialog {
	position: relative;
	width: min(520px, 100%);
	height: 100%;
	display: flex; flex-direction: column;
	background: var(--cream);
	box-shadow: -30px 0 80px rgba(26, 26, 26, 0.22);
	/* The rail's resting state is in place, not off-screen: the slide is
	   added by removing a class on the next frame. If that never happens —
	   throttled animation, JS trouble — the drawer is simply already open
	   rather than parked outside the viewport. */
	transform: none;
	transition: transform 320ms var(--ease);
}
.jg-ask.is-entering .jg-ask__dialog { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) {
	.jg-ask__dialog { transition: none; }
}

.jg-ask__head {
	flex: 0 0 auto;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
	padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.6vw, 34px) clamp(18px, 2vw, 24px);
	box-shadow: inset 0 -1px 0 var(--ink-15);
}
.jg-ask__title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1; color: var(--ink); }
.jg-ask__sub { margin-top: 10px; font-size: 12px; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55); }
.jg-ask__head-actions { display: flex; align-items: center; gap: 8px; }
.jg-ask__restart {
	height: 34px; padding: 0 14px; border: 0; cursor: pointer;
	background: transparent; box-shadow: inset 0 0 0 1px var(--ink-18);
	font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
	white-space: nowrap;
	transition: background 160ms ease, color 160ms ease;
}
.jg-ask__restart:hover { background: var(--ink); color: #fff; }
.jg-ask__close {
	flex: 0 0 auto; width: 34px; height: 34px; border: 0; cursor: pointer;
	background: transparent; box-shadow: inset 0 0 0 1px var(--ink-18);
	font-size: 22px; line-height: 1; color: var(--ink);
	transition: background 160ms ease, color 160ms ease;
}
.jg-ask__close:hover { background: var(--ink); color: #fff; }

/* ---- the thread ---- */
.jg-ask__thread {
	flex: 1 1 auto; overflow-y: auto;
	padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
	display: flex; flex-direction: column; gap: 22px;
	scroll-behavior: smooth;
}
.jg-msg { display: flex; flex-direction: column; gap: 8px; max-width: 100%; }
.jg-msg--me { align-items: flex-end; }
.jg-msg--me .jg-msg__body {
	background: var(--ink); color: #fff;
	padding: 12px 16px; max-width: 85%;
	font-size: 15px; line-height: 22px;
}
.jg-msg__who {
	display: flex; align-items: center; gap: 8px;
	font-weight: 500; font-size: 11px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-55);
}
.jg-msg--bot .jg-msg__body {
	font-size: 15px; line-height: 24px; color: var(--ink); white-space: pre-wrap;
}
/* Three dots while the answer is being written — the same signal a
   messaging app gives, rather than a word the reader has to parse. */
.jg-typing { display: none; align-items: center; gap: 6px; padding: 4px 0; }
.jg-msg.is-thinking .jg-typing { display: flex; }
.jg-typing span {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--ink-40);
	animation: jg-typing 1.3s ease-in-out infinite;
}
.jg-typing span:nth-child(2) { animation-delay: 0.16s; }
.jg-typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes jg-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
	30%           { transform: translateY(-5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.jg-typing span { animation: none; opacity: 0.55; }
}

.jg-msg__sources { margin-top: 12px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--ink-15); }
.jg-msg__sources-label {
	font-weight: 500; font-size: 11px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 8px;
}
.jg-msg__source {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	padding: 8px 0; box-shadow: inset 0 -1px 0 var(--ink-15);
	font-size: 14px; line-height: 1.35; color: var(--ink);
	transition: padding-left 180ms var(--ease), background 160ms ease;
}
.jg-msg__source:hover { background: var(--warm); padding-left: 8px; }
.jg-msg__source-meta {
	flex: 0 0 auto; font-size: 10px; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--ink-45); white-space: nowrap;
}

.jg-ask__starters { margin-top: 14px; }
.jg-ask__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jg-ask__chip {
	height: 34px; padding: 0 14px; border: 0; cursor: pointer;
	background: transparent; box-shadow: inset 0 0 0 1px var(--ink-22);
	font-family: var(--sans); font-size: 14px; line-height: 1; color: var(--ink);
	transition: background 160ms ease, color 160ms ease;
}
.jg-ask__chip:hover { background: var(--ink); color: #fff; }

/* ---- the composer ---- */
.jg-ask__composer {
	flex: 0 0 auto;
	display: flex; align-items: flex-end; gap: 10px;
	padding: clamp(16px, 1.8vw, 22px) clamp(22px, 2.6vw, 34px) clamp(20px, 2.2vw, 26px);
	box-shadow: inset 0 1px 0 var(--ink-15);
	background: var(--cream);
}
.jg-ask__composer textarea {
	flex: 1 1 auto; min-height: 52px; max-height: 160px; resize: none;
	padding: 12px 14px;
	background: transparent; border: 0; outline: none;
	box-shadow: inset 0 0 0 1px var(--ink-25);
	font-family: var(--sans); font-size: 15px; line-height: 22px; color: var(--ink);
	transition: box-shadow 180ms ease;
}
.jg-ask__composer textarea:focus { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 1024px) { .jg-ask__composer textarea { font-size: 16px; } }
.jg-ask__composer textarea::placeholder { color: var(--ink-40); }
.jg-ask__send {
	flex: 0 0 46px; width: 46px; height: 46px; border: 0; cursor: pointer;
	background: var(--ink); color: #fff; font-size: 18px;
	display: flex; align-items: center; justify-content: center;
	transition: background 180ms ease;
}
.jg-ask__send:hover { background: var(--brass); }

@media (max-width: 639px) {
	.jg-ask__dialog { width: 100%; }
	.jg-ask__scrim { display: none; }
}

/* ---- Hero: home -------------------------------------------------------- */

.jg-hero-home {
	position: relative; min-height: clamp(560px, 53vw, 1020px);
	display: flex; flex-direction: column; justify-content: flex-end;
	background: var(--ink); overflow: hidden;
}
.jg-hero-home__img {
	/* Anchored right: the hero photo's subject sits at its right edge and
	   the dark left side carries the headline at every width. */
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block;
	transform-origin: 50% 50%;
	animation: jg-hero-settle 18s cubic-bezier(0.16, 0.62, 0.28, 1) both;
}
.jg-hero-home__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.60) 42%, rgba(12,9,6,0.22) 100%); }
.jg-hero-home__inner {
	position: relative; max-width: 1920px; width: 100%; margin: 0 auto;
	padding: clamp(80px, 12vw, 200px) var(--gutter) clamp(52px, 6vw, 100px);
	flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end;
}
.jg-hero-home__copy { max-width: 700px; }
.jg-hero-home__eyebrow { margin-bottom: clamp(20px, 2.6vw, 50px); }

.jg-marquee {
	position: relative; height: 60px; overflow: hidden;
	display: flex; align-items: center;
	background: rgba(255,255,255,0.04);
	box-shadow: inset 0 1px 0 var(--white-20), inset 0 -1px 0 var(--white-20);
}
.jg-marquee__track {
	display: flex; align-items: center; gap: 48px; width: max-content; padding-left: 48px;
	animation: jg-marquee 42s linear infinite;
}
.jg-marquee__dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--white-50); flex-shrink: 0; }
.jg-marquee__word {
	font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-50); white-space: nowrap;
}

/* ---- Hero: page -------------------------------------------------------- */

.jg-hero-page { position: relative; background: var(--ink); overflow: hidden; }
.jg-hero-page__inner {
	position: relative; max-width: var(--max); margin: 0 auto;
	padding: clamp(72px, 8vw, 150px) var(--gutter) clamp(64px, 7vw, 130px);
}
.jg-hero-page__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
	transform-origin: 50% 50%;
	animation: jg-hero-settle 18s cubic-bezier(0.16, 0.62, 0.28, 1) both;
}
.jg-hero-page--image_dim .jg-hero-page__img { opacity: 0.42; }
/* Photo headers take the same proportion as the home hero (~16:9 photos
   lose only a few percent top and bottom); copy sits at the foot, leaving
   the upper part of the photo clear. */
.jg-hero-page--image, .jg-hero-page--image_dim {
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(460px, 53vw, 1020px);
}
.jg-hero-page--image .jg-hero-page__inner, .jg-hero-page--image_dim .jg-hero-page__inner { width: 100%; }
/* Flavors: one header for seven categories whose intros differ in length,
   so give phones a floor tall enough for the longest one; the header then
   stays the same size on every tab instead of jumping. */
@media (max-width: 700px) {
	.jg-flavlib__hero.jg-hero-page--image { min-height: 560px; }
}
/* Photo focus: which band of the photo survives the header's crop. */
.jg-hero-page--focus-top { --jg-focus-y: 18%; }
.jg-hero-page--focus-bottom { --jg-focus-y: 82%; }
.jg-hero-page--image .jg-hero-page__img,
.jg-hero-page--image_dim .jg-hero-page__img { object-position: 50% var(--jg-focus-y, 50%); }
.jg-hero-page--image .jg-hero-page__scrim,
.jg-hero-page--image_dim .jg-hero-page__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,9,6,0.90) 0%, rgba(12,9,6,0.55) 100%); }
.jg-hero-page--image .jg-hero-page__scrim { background: linear-gradient(90deg, rgba(10,7,4,0.90) 0%, rgba(10,7,4,0.62) 40%, rgba(10,7,4,0.10) 78%); }
.jg-hero-page--image_right .jg-hero-page__img { left: auto; right: 0; width: 62%; object-position: 50% 42%; }
.jg-hero-page--image_right .jg-hero-page__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgb(26,26,26) 0%, rgb(26,26,26) 40%, rgba(26,26,26,0.90) 52%, rgba(26,26,26,0.62) 68%, rgba(26,26,26,0.32) 85%, rgba(26,26,26,0.18) 100%);
}
.jg-hero-page--image_right .jg-hero-page__scrim-v {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 34%, rgba(26,26,26,0.55) 100%);
}
.jg-hero-page--image_right .jg-hero-page__inner { padding-bottom: clamp(56px, 6vw, 110px); }
/* The photo column is 62% wide; make the header tall enough that the
   photo fits that column at its own proportions (no zoomed-in crop). */
@media (min-width: 701px) {
	.jg-hero-page--image_right[style*="--jg-img-ratio"] {
		display: flex; flex-direction: column; justify-content: flex-end;
		min-height: min(calc(62vw / var(--jg-img-ratio)), 980px);
	}
	.jg-hero-page--image_right[style*="--jg-img-ratio"] .jg-hero-page__inner { width: 100%; }
}
.jg-hero-page .jg-h { max-width: 1100px; }

/* Phones: the side-by-side hero crops a human subject out of frame, so go
   full-bleed and darken uniformly instead. */
@media (max-width: 700px) {
	.jg-hero-page--image .jg-hero-page__img { object-position: 72% var(--jg-focus-y, 50%); }
	.jg-hero-page--image_right .jg-hero-page__img { width: 100%; object-position: 65% 50%; }
	.jg-hero-page--image_right .jg-hero-page__scrim {
		background: linear-gradient(180deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.74) 55%, rgba(26,26,26,0.90) 100%);
	}
	.jg-hero-page--image_right .jg-hero-page__scrim-v { background: none; }
}

/* ---- Intro sections ---------------------------------------------------- */

.jg-intro-offset { padding-top: clamp(52px, 5.6vw, 105px); padding-bottom: clamp(52px, 5.6vw, 105px); }
.jg-intro-offset__col { max-width: 620px; margin-left: clamp(0px, 11.5vw, 220px); }
.jg-stat-row {
	margin-top: clamp(32px, 3.2vw, 58px); padding-top: clamp(22px, 2.2vw, 36px);
	box-shadow: inset 0 1px 0 var(--ink-15);
	display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 70px);
}
.jg-stat__value { font-family: var(--serif); font-size: clamp(40px, 3.6vw, 60px); line-height: 1; }
.jg-stat__label { margin-top: 14px; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(26,26,26,0.5); }
.jg-intro-offset .jg-btn-row { margin-top: 18px; }

.jg-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin-bottom: clamp(44px, 4.6vw, 76px); text-align: left;
}
.jg-facts__cell { box-shadow: inset 0 0 0 0.5px var(--ink-18); }
.jg-facts__cell { padding: clamp(24px, 2.4vw, 36px); }
.jg-facts--on-warm .jg-facts__cell { background: var(--warm); }
.jg-facts--on-cream .jg-facts__cell { background: var(--cream); }
.jg-facts__value { font-family: var(--serif); font-size: clamp(34px, 3vw, 50px); line-height: 1; }
.jg-facts__label { margin-top: 12px; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-55); }
.jg-intro-centered .jg-btn-row { justify-content: center; }

/* ---- Flavor gallery ---------------------------------------------------- */

.jg-gallery { padding-left: 0; padding-right: 0; padding-bottom: clamp(72px, 8vw, 150px); }
.jg-gallery .jg-wrap { padding: 0 var(--gutter); }
.jg-gallery__viewport { margin-top: clamp(40px, 4.4vw, 84px); position: relative; padding: 0 clamp(56px, 6vw, 108px); }
.jg-gallery__arrow {
	position: absolute; top: clamp(70px, 5.2vw, 90px); z-index: 2;
	width: 50px; height: 50px; border: 0; cursor: pointer;
	background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink-25);
	font-size: 16px; color: var(--ink);
	transition: background 160ms ease, color 160ms ease;
}
.jg-gallery__arrow:hover { background: var(--ink); color: #fff; }
.jg-gallery__arrow--left { left: clamp(10px, 1.6vw, 30px); }
.jg-gallery__arrow--right { right: clamp(10px, 1.6vw, 30px); }
.jg-gallery__arrow { top: clamp(80px, 8.5vw, 140px); }
.jg-gallery__viewport { --jg-vis: 3; }
@media (max-width: 979px) { .jg-gallery__viewport { --jg-vis: 2; } }
@media (max-width: 619px) { .jg-gallery__viewport { --jg-vis: 1; } }
.jg-gallery__mask { overflow: hidden; }
.jg-gallery__track { display: flex; align-items: flex-start; transition: transform 600ms var(--ease); }
.jg-gallery__item {
	flex: 0 0 calc(100% / var(--jg-vis)); min-width: 0;
	padding: 0 clamp(12px, 1.6vw, 32px);
	display: flex; flex-direction: column; align-items: center; text-align: center;
}
.jg-gallery__circle { width: clamp(170px, 19vw, 320px); height: clamp(170px, 19vw, 320px); border-radius: 50%; background-color: var(--imgwell); background-size: cover; background-position: center; }
.jg-gallery__name { margin-top: 26px; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 40px); line-height: 1.1; color: var(--ink); }
.jg-gallery__blurb { margin: 14px 0 0; font-size: 16px; line-height: 22px; color: var(--ink-60); }

/* ---- Pillars ----------------------------------------------------------- */

.jg-pillars { padding-top: clamp(72px, 9vw, 170px); padding-bottom: clamp(72px, 9vw, 170px); }
.jg-pillars__cols { display: flex; flex-wrap: wrap; gap: clamp(44px, 6vw, 130px); align-items: flex-start; }
.jg-pillars__intro { flex: 0 1 420px; }
.jg-pillars__intro .jg-h { margin-bottom: 44px; }
@media (min-width: 1000px) { .jg-pillars__intro { position: sticky; top: 152px; } }
.jg-pillars__list { flex: 1 1 520px; min-width: 0; }
.jg-pillars__row {
	display: flex; gap: clamp(20px, 2.4vw, 44px); align-items: flex-start;
	padding: clamp(26px, 2.6vw, 44px) 0;
	box-shadow: inset 0 -1px 0 var(--white-20);
}
.jg-pillars__icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 6px; filter: invert(1); }
.jg-pillars__row .jg-body { margin: 0; max-width: 600px; }
.jg-pillars--light .jg-pillars__row { box-shadow: inset 0 -1px 0 var(--ink-18); }
.jg-pillars--light .jg-pillars__icon { filter: none; }
.jg-pillars--light .jg-pillars__row .jg-body { max-width: 780px; color: rgba(26,26,26,0.72); }
.jg-pillars--light .jg-sec-head { margin-bottom: clamp(36px, 4vw, 64px); }

/* ---- Testimonials ------------------------------------------------------ */

.jg-testimonials { padding-top: 0; }
.jg-testimonials__mark { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 0.6; color: var(--ink-40); margin: clamp(36px, 4vw, 68px) 0 28px; }
.jg-testimonials__quote {
	margin: 0 auto; max-width: 900px;
	font-family: var(--serif); font-size: clamp(22px, 1.85vw, 34px); line-height: 1.36; color: var(--ink); text-wrap: pretty;
}
.jg-testimonials__role { margin-top: clamp(32px, 3.4vw, 56px); font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; }
.jg-testimonials__company { margin-top: 12px; font-size: 16px; line-height: 1; color: var(--ink-60); }
.jg-testimonials__nav { margin-top: clamp(40px, 4.4vw, 76px); display: flex; align-items: center; justify-content: center; }
.jg-testimonials__count { min-width: 96px; padding: 0 20px; font-size: 16px; line-height: 1; letter-spacing: 0.2em; color: var(--ink-60); }

/* ---- Trade band -------------------------------------------------------- */

.jg-band { position: relative; background: var(--ink); overflow: hidden; }
.jg-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jg-band__scrim { position: absolute; inset: 0; background: rgba(26, 16, 6, 0.62); }
.jg-band__inner {
	position: relative; max-width: var(--max); margin: 0 auto;
	padding: clamp(30px, 3.2vw, 52px) var(--gutter);
	display: flex; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 44px); align-items: center; justify-content: center;
}
.jg-band__label { font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-50); }
.jg-band__dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--white-50); }
.jg-band__show { font-size: 16px; line-height: 1; color: #fff; white-space: nowrap; }
.jg-band__item { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 44px); }

/* ---- Timeline ---------------------------------------------------------- */

.jg-timeline { position: relative; overflow: hidden; }
.jg-timeline__watermark {
	position: absolute; left: 50%; top: 46%;
	transform: translate(-50%, -50%) rotate(-12deg);
	width: min(760px, 90%); opacity: 0.10; pointer-events: none;
}
.jg-timeline__inner { position: relative; max-width: 1180px; }
.jg-timeline__years { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 auto clamp(40px, 4.4vw, 76px); }
.jg-timeline__year {
	height: 40px; min-width: 74px; padding: 0 16px; border: 0; cursor: pointer;
	background: transparent; color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--ink-25);
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.1em;
	transition: background 160ms ease, color 160ms ease;
}
.jg-timeline__year:hover, .jg-timeline__year.is-active { background: var(--ink); color: #fff; }
.jg-timeline__big {
	font-family: var(--serif); font-weight: 700; font-style: italic;
	font-size: clamp(88px, 13vw, 250px); line-height: 0.82; color: var(--ink);
}
.jg-timeline__blurb { margin: clamp(24px, 2.6vw, 44px) auto 0; max-width: 620px; font-size: 16px; line-height: 25px; color: var(--ink-75); text-wrap: pretty; }

/* ---- Facilities -------------------------------------------------------- */

.jg-facilities__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 3vw, 60px); }
.jg-facilities__card { display: flex; flex-direction: column; text-align: center; padding-bottom: 28px; box-shadow: inset 0 -1px 0 rgba(26,26,26,0.2); }
.jg-facilities__card-img { width: 100%; height: clamp(200px, 17vw, 300px); margin-bottom: 30px; }
.jg-facilities__card .jg-h--card { line-height: 1.14; }
.jg-facilities__card-lines { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 22px; letter-spacing: 0.05em; color: var(--ink-70); }
.jg-facilities__rows { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 120px); }
.jg-facilities__row { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 80px); align-items: flex-start; }
.jg-facilities__row-media { flex: 1 1 380px; min-width: 0; }
.jg-facilities__row-media .jg-imgwell { width: 100%; height: clamp(260px, 26vw, 480px); }
.jg-facilities__row-copy { flex: 1 1 420px; min-width: 0; }
.jg-facilities__row-copy .jg-h--sub { margin-bottom: 10px; }
.jg-facilities__row-copy .jg-body { max-width: 560px; }
.jg-facilities__row .jg-chip-row { margin-bottom: 30px; }
.jg-facilities__lines { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--ink-18); font-size: 16px; letter-spacing: 0.05em; color: var(--ink-70); }

/* ---- Splits ------------------------------------------------------------ */

.jg-split__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 110px); align-items: flex-start; }
.jg-split--vcenter .jg-split__cols { align-items: center; }
.jg-split__copy { flex: 1 1 400px; min-width: 0; max-width: 600px; }
.jg-split__media { flex: 1 1 400px; min-width: 0; }
.jg-split__img { width: 100%; height: clamp(320px, 32vw, 620px); object-fit: cover; display: block; }
.jg-split--img-left .jg-split__copy { order: 2; }
.jg-split--img-left .jg-split__media { order: 1; }
.jg-split .jg-btn-row { margin-top: 18px; }

.jg-spec-list { display: flex; flex-direction: column; margin-bottom: 26px; }
.jg-spec-list__row {
	display: flex; gap: 20px; justify-content: space-between; align-items: baseline;
	padding: 18px 0; box-shadow: inset 0 -1px 0 var(--ink-15);
}
.jg-spec-list__label { font-weight: 500; font-size: 18px; line-height: 1.4; }
.jg-spec-list__value { font-size: 16px; line-height: 1.4; color: var(--ink-60); text-align: right; }

.jg-split-offset__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 110px); align-items: flex-start; }
.jg-split-offset__col { flex: 1 1 420px; min-width: 0; max-width: 620px; }
.jg-split-offset__col--drop { margin-top: clamp(0px, 12vw, 240px); }
.jg-split-offset__img { width: 100%; height: clamp(240px, 26vw, 480px); object-fit: cover; display: block; margin-bottom: clamp(40px, 4.4vw, 80px); }
.jg-split-offset__img--tall { height: clamp(280px, 30vw, 560px); margin: clamp(40px, 4.4vw, 80px) 0 0; }

.jg-metric-rows { display: flex; flex-direction: column; margin-bottom: 34px; }
.jg-metric-rows__row { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--ink-15); }
.jg-metric-rows__metric { flex: 0 0 68px; font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.jg-metric-rows__label { flex: 1 1 auto; font-size: 16px; line-height: 24px; color: var(--ink-75); }

/* ---- Metric grid ------------------------------------------------------- */

.jg-metrics--cells .jg-metrics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jg-metrics--cells .jg-metrics__cell { padding: clamp(30px, 3vw, 46px); box-shadow: inset 0 0 0 0.5px var(--ink-18); }
.jg-metrics--cells.jg-metrics--on-warm .jg-metrics__cell { background: var(--cream); }
.jg-metrics--cells.jg-metrics--on-cream .jg-metrics__cell { background: var(--warm); }
.jg-metrics--rules .jg-metrics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.jg-metrics--rules .jg-metrics__cell { padding-top: 26px; box-shadow: inset 0 1px 0 var(--ink); }
.jg-metrics--tiles .jg-metrics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.jg-metrics--tiles .jg-metrics__cell { padding: clamp(28px, 3vw, 44px); text-align: center; }
.jg-metrics--tiles.jg-metrics--on-warm .jg-metrics__cell { background: var(--cream); }
.jg-metrics--tiles.jg-metrics--on-cream .jg-metrics__cell { background: var(--warm); }
.jg-metrics__metric { font-family: var(--serif); font-size: clamp(38px, 3.4vw, 58px); line-height: 1; margin-bottom: 20px; }
.jg-metrics--tiles .jg-metrics__metric { font-size: clamp(40px, 3.4vw, 60px); margin-bottom: 16px; }
.jg-metrics__title { margin: 0 0 14px; font-family: var(--sans); font-weight: 500; font-size: 18px; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; }
.jg-metrics__cell .jg-body { margin: 0; }

/* ---- Cards ------------------------------------------------------------- */

.jg-cards__grid { display: grid; gap: clamp(28px, 3vw, 56px); }
.jg-cards__grid--panels { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jg-cards__panel { padding: clamp(30px, 3vw, 48px); }
.jg-sec--warm .jg-cards__panel { background: var(--cream); }
.jg-sec--cream .jg-cards__panel { background: var(--warm); }
.jg-cards__panel .jg-num { margin-bottom: 24px; }
.jg-cards__panel .jg-body { margin: 0; }
.jg-cards__grid--cats { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: clamp(40px, 4vw, 70px); }
.jg-cards__grid--cats-img { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jg-cards__cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.jg-cards__cat .jg-h--card, .jg-cards__cat .jg-body { margin: 0; max-width: 380px; }
.jg-cards__cat-img { width: 100%; height: clamp(240px, 20vw, 380px); margin-bottom: 8px; }
.jg-cards__footer { margin-top: clamp(48px, 5vw, 84px); display: flex; justify-content: center; }

/* ---- Row list ---------------------------------------------------------- */

.jg-rowlist__rows { display: flex; flex-direction: column; }
.jg-rowlist__row {
	display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 60px); align-items: baseline;
	padding: clamp(28px, 2.8vw, 46px) 0;
	box-shadow: inset 0 -1px 0 var(--ink-18);
	scroll-margin-top: 132px;
}
.jg-rowlist__tag { flex: 0 0 60px; font-size: 16px; line-height: 1; letter-spacing: 0.2em; color: var(--ink-40); }
.jg-rowlist__title { flex: 1 1 260px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 40px); line-height: 1.06; }
.jg-rowlist__body { flex: 1 1 400px; max-width: 640px; margin: 0; font-size: 16px; line-height: 25px; color: var(--ink-70); }
.jg-rowlist__link { flex: 0 0 auto; padding-bottom: 5px; box-shadow: inset 0 -1px 0 var(--ink-40); }

/* ---- Doc split --------------------------------------------------------- */

.jg-docsplit__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 110px); align-items: flex-start; }
.jg-docsplit__copy { flex: 0 1 460px; min-width: 0; }
.jg-docsplit__list { flex: 1 1 480px; min-width: 0; }
.jg-docsplit__row {
	display: flex; gap: 20px; align-items: baseline; justify-content: space-between;
	padding: clamp(20px, 2vw, 30px) 0;
	box-shadow: inset 0 -1px 0 var(--ink-18);
}
.jg-docsplit__name { font-weight: 500; font-size: 18px; line-height: 1.4; }
.jg-docsplit__kind { font-size: 16px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,26,26,0.5); white-space: nowrap; }
.jg-docsplit .jg-btn-row { margin-top: 10px; }

/* ---- Compliance -------------------------------------------------------- */

.jg-compliance__form { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 44px; }
.jg-compliance__fields { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.jg-compliance__input {
	width: 260px; height: 54px; padding: 0 20px;
	background: transparent; border: 0; outline: none;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
	font-family: var(--sans); font-size: 16px; letter-spacing: 0.1em; color: #fff;
	transition: box-shadow 180ms ease;
}
.jg-compliance__input:focus { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.jg-compliance__input::placeholder { color: rgba(255,255,255,0.4); }
.jg-compliance__error { margin: 0; font-size: 16px; line-height: 20px; color: var(--accent); }
.jg-compliance__docs { display: flex; flex-direction: column; text-align: left; max-width: 560px; margin: 44px auto 0; }
.jg-compliance__doc {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 0;
	box-shadow: inset 0 -1px 0 var(--white-20);
	font-size: 18px; line-height: 1; color: #fff;
}
.jg-compliance__doc:hover { color: var(--accent); }
.jg-compliance__kind { font-size: 16px; letter-spacing: 0.2em; color: var(--white-50); }

/* ---- Certifications ---------------------------------------------------- */

.jg-certs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.jg-certs__card { padding: clamp(30px, 3vw, 46px); background: var(--warm); display: flex; flex-direction: column; gap: 16px; }
.jg-certs__name { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 38px); line-height: 1.04; }
.jg-certs__body { flex: 1 1 auto; margin: 0; }
.jg-certs__scope { font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-45); }

/* ---- Flavor library ---------------------------------------------------- */

.jg-flavlib { padding-top: clamp(48px, 5vw, 90px); }
.jg-flavlib__toolbar {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
	padding-bottom: clamp(28px, 3vw, 44px);
	box-shadow: inset 0 -1px 0 var(--ink-15);
}
.jg-flavlib__toolbar .jg-search__field { flex: 1 1 340px; max-width: 480px; }
.jg-flavlib__count { font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-55); }
.jg-flavlib__panel { margin-top: clamp(32px, 3.4vw, 54px); }
.jg-flavlib__columns { columns: 5 220px; column-gap: clamp(24px, 2.6vw, 44px); column-rule: 1px solid var(--ink-18); }
.jg-flavlib__item { font-weight: 500; font-size: 18px; line-height: 1.55; color: rgb(0,0,0); break-inside: avoid; padding-left: 11px; }
.jg-flavlib__item--more { color: rgba(0,0,0,0.45); }
.jg-flavlib__empty { margin-top: clamp(40px, 4.4vw, 76px); max-width: 560px; }
.jg-flavlib__empty .jg-body { margin-bottom: 26px; }

.jg-flavlib-ctas { padding-top: 0; }
.jg-flavlib-ctas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.jg-flavlib-ctas__panel {
	position: relative; min-height: clamp(340px, 24vw, 420px);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding: clamp(36px, 4vw, 70px); overflow: hidden;
	background: var(--ink);
}
.jg-flavlib-ctas__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.jg-flavlib-ctas__scrim { position: absolute; inset: 0; background: rgba(20, 14, 8, 0.62); }
.jg-flavlib-ctas__copy { position: relative; }
.jg-flavlib-ctas__panel .jg-h { margin-bottom: 24px; }
.jg-flavlib-ctas__panel .jg-body { margin: 0 auto 34px; max-width: 400px; color: rgba(255,255,255,0.8); }
.jg-declarations { padding-top: 0; }
.jg-declarations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.jg-declarations__cell { background: var(--cream); padding: clamp(28px, 3vw, 44px); box-shadow: inset 0 0 0 0.5px var(--ink-18); }
.jg-declarations__cell .jg-h--card { margin-bottom: 12px; }
.jg-declarations__cell .jg-body { margin: 0; line-height: 24px; }

.jg-others { padding-top: clamp(56px, 6vw, 110px); padding-bottom: clamp(56px, 6vw, 110px); }
.jg-others .jg-h { margin-bottom: clamp(36px, 4vw, 64px); }
.jg-others__rows { display: flex; flex-direction: column; }
.jg-others__row {
	display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 44px); align-items: baseline; justify-content: space-between;
	padding: clamp(22px, 2.2vw, 34px) 0;
	box-shadow: inset 0 -1px 0 var(--ink-18);
}
.jg-others__name { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 40px); line-height: 1.06; }
.jg-others__count { font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }

/* ---- FAQ --------------------------------------------------------------- */

.jg-faq { padding-top: clamp(56px, 6vw, 110px); }
.jg-faq__search { max-width: 480px; margin-bottom: clamp(36px, 4vw, 60px); }
.jg-faq__group { margin-bottom: clamp(44px, 5vw, 80px); }
.jg-faq__group-title { font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(26,26,26,0.5); margin-bottom: 24px; }

.jg-acc { box-shadow: inset 0 -1px 0 var(--ink-18); }
.jg-acc__head {
	width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left;
	padding: clamp(22px, 2.2vw, 32px) 0;
	display: flex; gap: 24px; align-items: baseline; justify-content: space-between;
	font-family: var(--sans); color: var(--ink);
}
.jg-acc__q { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 34px); line-height: 1.14; }
.jg-acc__sign { flex: 0 0 20px; font-size: 20px; line-height: 1; text-align: center; }
.jg-acc__body { padding-bottom: clamp(26px, 2.6vw, 38px); max-width: 780px; }
.jg-acc__body .jg-prose p { color: rgba(26,26,26,0.78); text-wrap: pretty; }
.jg-faq__empty .jg-body { margin-bottom: 26px; }

/* ---- Jobs -------------------------------------------------------------- */

.jg-jobs__head {
	display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between;
	margin-bottom: clamp(36px, 4vw, 60px);
}
.jg-jobs__head .jg-h { margin: 0; }
.jg-jobs__row .jg-acc__head { padding: clamp(24px, 2.4vw, 38px) 0; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 44px); position: relative; }
@media (max-width: 700px) {
	.jg-jobs__row .jg-acc__head { padding-right: 36px; gap: 10px; }
	.jg-jobs__row .jg-acc__sign { position: absolute; right: 0; top: clamp(24px, 2.4vw, 38px); }
	.jg-jobs__meta { white-space: normal; line-height: 1.4; }
}
.jg-jobs__title { flex: 1 1 300px; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 40px); line-height: 1.06; }
.jg-jobs__meta { font-size: 16px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); white-space: nowrap; }
.jg-jobs__row .jg-acc__body { padding-bottom: clamp(30px, 3vw, 46px); }
.jg-jobs__empty { margin: clamp(32px, 3vw, 50px) 0 0; font-size: 18px; line-height: 25px; color: var(--ink-70); }

/* ---- Benefits ---------------------------------------------------------- */

.jg-benefits__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 110px); align-items: flex-start; }
.jg-benefits__copy { flex: 1 1 400px; min-width: 0; max-width: 600px; }
.jg-benefits__list { flex: 1 1 340px; min-width: 0; }
.jg-benefits__row { padding: 24px 0; box-shadow: inset 0 -1px 0 var(--ink-15); }
.jg-benefits__title { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.06; }
.jg-benefits__row .jg-body { margin: 0; line-height: 22px; }

/* ---- Form section ------------------------------------------------------ */

.jg-formsec__cols { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 100px); align-items: flex-start; }
.jg-formsec__aside { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 48px); }
.jg-formsec__form { flex: 1 1 520px; min-width: 0; }
.jg-formsec__centered { max-width: 760px; margin: 0 auto; }
.jg-steps-list { display: flex; flex-direction: column; }
.jg-steps-list__row { display: flex; gap: 20px; padding: 22px 0; box-shadow: inset 0 -1px 0 var(--ink-15); }
.jg-steps-list__row .jg-num { flex: 0 0 34px; margin: 0; }
.jg-steps-list__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.jg-steps-list__row .jg-body { margin: 0; line-height: 22px; }
.jg-formsec__card { padding: clamp(28px, 3vw, 40px); background: var(--warm); }
.jg-formsec__card-title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; margin-bottom: 14px; }
.jg-formsec__card .jg-body { margin-bottom: 20px; line-height: 22px; }
.jg-formsec__card-phone {
	font-weight: 500; font-size: 18px; line-height: 1; letter-spacing: 0.1em;
	box-shadow: inset 0 -1px 0 var(--ink-40); padding-bottom: 4px;
}

/* ---- Gravity Forms restyle --------------------------------------------- */

.jg-gform .gform_wrapper { margin: 0; }
.gform_heading, .gform_required_legend { display: none; }
.jg-gform .gform_fields {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(26px, 2.6vw, 40px) clamp(24px, 2.6vw, 40px);
	margin: 0; padding: 0; list-style: none;
}
.jg-gform .gfield { grid-column: span 2; }
@media (min-width: 640px) { .jg-gform .gfield.jg-half { grid-column: span 1; } }
.jg-gform .gfield_label {
	display: block; margin-bottom: 12px;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.4; letter-spacing: 0.04em;
}
.jg-gform .gfield_label .gfield_required { color: var(--ink); padding-left: 2px; }
.jg-gform .gfield.hidden_label > .gfield_label,
.jg-gform .hidden_label .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jg-gform input[type="text"],
.jg-gform input[type="email"],
.jg-gform input[type="tel"],
.jg-gform input[type="number"],
.jg-gform select,
.jg-gform textarea {
	width: 100%; padding: 0 0 12px;
	background: transparent; border: 0; border-radius: 0; outline: none;
	box-shadow: inset 0 -1px 0 var(--ink-30);
	font-family: var(--sans); font-size: 16px; color: var(--ink);
	transition: box-shadow 180ms ease;
}
.jg-gform input[type="text"],
.jg-gform input[type="email"],
.jg-gform input[type="tel"],
.jg-gform select { height: 46px; }
.jg-gform textarea { min-height: 110px; padding-bottom: 14px; line-height: 25px; resize: vertical; }
.jg-gform input:focus, .jg-gform select:focus, .jg-gform textarea:focus { box-shadow: inset 0 -1px 0 var(--ink); }
.jg-gform input::placeholder, .jg-gform textarea::placeholder { color: var(--ink-45); }
.jg-gform select {
	appearance: none; -webkit-appearance: none; cursor: pointer;
	padding-right: 24px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='rgba(26,26,26,0.5)'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 2px top 16px;
}
.jg-gform .gfield_description { margin-top: 10px; font-size: 14px; line-height: 18px; color: var(--ink-60); }
.jg-gform .gfield_validation_message,
.jg-gform .validation_message { margin-top: 8px; padding: 0; border: 0; background: transparent; font-size: 14px; line-height: 18px; color: var(--error); }
.jg-gform .gform_validation_errors { margin: 0 0 24px; padding: 16px 20px; border: 0; box-shadow: inset 0 0 0 1px var(--error); background: transparent; border-radius: 0; }
.jg-gform .gform_validation_errors h2 { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--error); }
.jg-gform .gform_validation_errors ol { display: none; }

/* Constraint chips */
.jg-gform .jg-chips .gfield_checkbox { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.jg-gform .jg-chips .gfield_label { margin-bottom: 18px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70); line-height: 1; }
.jg-gform .jg-chips .gchoice { position: relative; }
.jg-gform .jg-chips .gfield-choice-input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.jg-gform .jg-chips .gchoice label {
	display: inline-flex; align-items: center; height: 40px; padding: 0 18px; cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--ink-25);
	font-size: 16px; line-height: 1;
	transition: background 160ms ease, color 160ms ease;
}
.jg-gform .jg-chips .gfield-choice-input:checked + label { background: var(--ink); color: #fff; }
.jg-gform .jg-chips .gfield-choice-input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; }

/* NDA-style single checkbox */
.jg-gform .jg-checkline .gfield_checkbox { margin: 0; padding: 0; list-style: none; }
.jg-gform .jg-checkline .gchoice { display: flex; gap: 14px; align-items: flex-start; }
.jg-gform .jg-checkline .gfield-choice-input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); cursor: pointer; flex-shrink: 0; }
.jg-gform .jg-checkline .gchoice label { font-size: 16px; line-height: 22px; color: var(--ink-75); cursor: pointer; }

/* Section kicker (Ship-to address) */
.jg-gform .jg-form-kicker { margin-top: 6px; }
.jg-gform .jg-form-kicker .gsection_title {
	margin: 0; font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70);
}

/* Steps indicator — GF's native gf_page_steps markup, restyled to the
   designed rule + numbered label. */
.jg-gform .gf_page_steps { display: flex; gap: 8px; margin-bottom: clamp(32px, 3.4vw, 54px); border: 0; padding: 0; }
.jg-gform .gf_step { flex: 1 1 0; min-width: 0; margin: 0; }
.jg-gform .gf_step::before { content: ''; display: block; height: 2px; margin-bottom: 12px; background: var(--ink-18); }
.jg-gform .gf_step_number,
.jg-gform .gf_step_label {
	display: inline; font-family: var(--sans); font-weight: 500;
	font-size: clamp(12px, 1vw, 16px); line-height: 1;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-40);
}
.jg-gform .gf_step_number::after { content: '. '; }
.jg-gform .gf_step_active::before,
.jg-gform .gf_step_completed::before { background: var(--ink); }
.jg-gform .gf_step_active .gf_step_number, .jg-gform .gf_step_active .gf_step_label,
.jg-gform .gf_step_completed .gf_step_number, .jg-gform .gf_step_completed .gf_step_label { color: var(--ink); }

/* Fieldset-based fields (checkbox groups) */
.jg-gform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.jg-gform legend.gfield_label { padding: 0; float: none; width: auto; }

/* Page footer / buttons — GF 3 renders <button class="gform-theme-button">,
   which bypasses the legacy button filters; style the native classes. */
.jg-gform .gform_footer, .jg-gform .gform_page_footer {
	margin-top: clamp(28px, 3vw, 44px); padding: 0; border: 0;
	display: flex; flex-wrap: wrap; gap: 15px; align-items: center;
}
.jg-formsec--centered .jg-gform .gform_footer { justify-content: center; padding-top: clamp(16px, 2vw, 32px); }
.jg-gform .gform_button,
.jg-gform .gform_next_button,
.jg-gform .gform_previous_button,
.jg-gform .jg-form-submit {
	display: inline-block; border: 0; cursor: pointer;
	font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1;
	letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}
.jg-gform .gform_button,
.jg-gform .gform_next_button { padding: 19px 40px; background: var(--ink); color: #fff; }
.jg-gform .gform_button:hover,
.jg-gform .gform_next_button:hover { background: var(--brass); color: #fff; }
.jg-gform .gform_previous_button { padding: 17px 30px; background: transparent; box-shadow: inset 0 0 0 1px rgba(26,26,26,0.35); color: var(--ink); }
.jg-gform .gform_previous_button:hover { background: var(--ink); color: #fff; }
.jg-form-disclaimer {
	margin: clamp(30px, 3.2vw, 48px) 0 0; padding-top: 20px;
	box-shadow: inset 0 1px 0 var(--ink-15);
	font-size: 16px; line-height: 24px; color: var(--ink-60);
}
.jg-form-missing { padding: 20px; box-shadow: inset 0 0 0 1px var(--error); color: var(--error); }

/* Confirmation panels */
.jg-form-confirm { padding: clamp(40px, 4.4vw, 72px); background: var(--ink); }
.jg-form-confirm__title { margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 52px); line-height: 1.04; color: #fff; }
.jg-form-confirm__title em { font-style: italic; }
.jg-form-confirm p { margin: 0 0 28px; font-size: 16px; line-height: 25px; color: rgba(255,255,255,0.78); }
.jg-form-confirm strong { font-weight: 700; color: var(--accent); }
.jg-formsec--centered .jg-form-confirm { max-width: 640px; margin: 0 auto; text-align: center; }

/* ---- Featured / archive cards ------------------------------------------ */

.jg-featured { padding-bottom: clamp(40px, 4vw, 70px); }
.jg-featured__link { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 80px); align-items: center; }
.jg-featured__media { flex: 1 1 420px; min-width: 0; }
.jg-featured__img { width: 100%; height: clamp(300px, 30vw, 560px); object-fit: cover; display: block; }
.jg-featured__copy { flex: 1 1 420px; min-width: 0; }
.jg-featured__copy .jg-h { margin-bottom: 24px; }
.jg-featured__copy .jg-lead { max-width: 560px; margin-bottom: 30px; line-height: 25px; }
.jg-featured__link:hover { color: var(--ink); }

.jg-archive { padding-top: clamp(40px, 4vw, 70px); }
.jg-archive__head {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between;
	padding-bottom: clamp(28px, 3vw, 44px); margin-bottom: clamp(36px, 4vw, 60px);
	box-shadow: inset 0 -1px 0 rgba(26,26,26,0.2);
}
.jg-archive__head .jg-h { margin: 0; }
.jg-archive__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 3vw, 56px); }
.jg-report-card { display: flex; flex-direction: column; }
.jg-report-card[hidden] { display: none; }
.jg-report-card:hover { color: var(--ink); }
.jg-report-card:hover .jg-h { color: var(--brass); }
.jg-report-card__img { position: relative; overflow: hidden; width: 100%; height: clamp(220px, 18vw, 320px); margin-bottom: 26px; }
.jg-report-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jg-report-card__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.jg-report-card__kind { font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,26,26,0.5); }
.jg-report-card__dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-30); }
.jg-report-card__date { font-size: 16px; line-height: 1; color: rgba(26,26,26,0.5); }
.jg-report-card .jg-body { margin: 0; }
.jg-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 3vw, 56px); }
.jg-related .jg-h--sub-lg { margin-bottom: clamp(36px, 4vw, 60px); }

.jg-subscribe__form { max-width: 520px; margin: 36px auto 0; }

/* ---- Article ----------------------------------------------------------- */

.jg-article-head { padding-bottom: clamp(56px, 6vw, 100px); }
.jg-article-head__back {
	display: inline-block; margin-bottom: clamp(32px, 3.4vw, 54px);
	font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase;
	color: rgba(255,255,255,0.6);
}
.jg-article-head__back:hover { color: #fff; }
.jg-article-head__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; font-size: 16px; line-height: 1; color: rgba(255,255,255,0.6); }
.jg-article-head__kind { font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-70); }
.jg-article-head__dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.jg-article-head .jg-lead { max-width: 640px; font-size: 18px; line-height: 27px; }
.jg-article-hero { width: 100%; height: clamp(280px, 34vw, 640px); object-fit: cover; display: block; }
.jg-article-foot {
	margin-top: clamp(40px, 4.4vw, 76px); padding-top: clamp(32px, 3.4vw, 50px);
	box-shadow: inset 0 1px 0 rgba(26,26,26,0.2);
	display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.jg-article-foot__author { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.jg-article-foot__loc { margin-top: 8px; font-size: 16px; line-height: 1; letter-spacing: 0.1em; color: var(--ink-60); }

/* ---- CTA band ---------------------------------------------------------- */

.jg-cta { padding-top: clamp(72px, 8vw, 150px); padding-bottom: clamp(72px, 8vw, 150px); }
.jg-cta .jg-h { margin-bottom: 30px; }

/* ---- Prose columns ------------------------------------------------------ */

.jg-prose-cols__grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 90px); }
.jg-prose-cols__col { flex: 1 1 380px; min-width: 0; }
.jg-prose-cols__col .jg-h--sub { font-size: clamp(26px, 2.4vw, 42px); margin-bottom: 22px; }

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

.jg-footer { background: var(--ink); color: #fff; }
.jg-footer a { color: inherit; }
.jg-footer__inner { max-width: 1920px; margin: 0 auto; padding: 100px var(--gutter) 0; }
.jg-footer__top { display: flex; flex-wrap: wrap; gap: clamp(36px, 4vw, 80px); align-items: flex-start; justify-content: space-between; }
.jg-footer__brand { flex: 1 1 300px; max-width: 381px; display: flex; flex-direction: column; gap: 40px; }
.jg-footer__logo { display: block; height: 70px; width: auto; object-fit: contain; }
.jg-footer__blurb { margin: 0; font-size: 16px; line-height: 25px; color: var(--white-70); }
.jg-footer__contacts { display: flex; flex-direction: column; gap: 16px; }
.jg-footer__contacts a { font-size: 16px; line-height: 1; letter-spacing: 0.2em; color: var(--white-50); }
.jg-footer__contacts a:hover { color: #fff; }
.jg-footer__email { text-transform: uppercase; }
.jg-footer__col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 40px; }
.jg-footer__col--join { flex: 0 1 220px; }
.jg-footer__col-title { font-weight: 300; font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-50); }
.jg-footer__links { display: flex; flex-direction: column; gap: 30px; }
.jg-footer__links .jg-drawer__link {
	padding: 0; box-shadow: none;
	font-weight: 400; font-size: 18px; letter-spacing: 0; text-transform: none; color: #fff;
}
.jg-footer__links .jg-drawer__link:hover { color: var(--accent); }
.jg-footer__join-blurb { margin: 0 0 30px; font-size: 16px; line-height: 20px; color: var(--white-70); }
.jg-footer__join-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
	font-size: 16px; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}
.jg-footer__join-btn:hover { background: #fff; color: var(--ink); }

.jg-footer__newsletter {
	margin-top: clamp(56px, 6vw, 100px);
	box-shadow: inset 0 1px 0 var(--white-20);
	padding-top: clamp(48px, 5vw, 80px);
	display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 90px); align-items: flex-end; justify-content: space-between;
}
.jg-footer__newsletter-head { flex: 1 1 380px; max-width: 620px; }
.jg-footer__newsletter-head .jg-footer__col-title { margin-bottom: 22px; }
.jg-footer__newsletter-heading { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.9vw, 52px); line-height: 1.06; color: #fff; }
.jg-footer__newsletter-heading em { font-style: italic; }
.jg-footer__newsletter-form { flex: 1 1 380px; max-width: 520px; }
.jg-footer__newsletter-blurb { margin: 0 0 22px; font-size: 16px; line-height: 25px; color: var(--white-70); }

/* Newsletter GF form (footer + subscribe band) */
.jg-footer .gform_wrapper form, .jg-subscribe .gform_wrapper form { display: flex; align-items: stretch; gap: 5px; }
.jg-footer .gform_wrapper .gform_body, .jg-subscribe .gform_wrapper .gform_body { flex: 1 1 auto; min-width: 0; }
.jg-footer .gform_wrapper .gform_fields, .jg-subscribe .gform_wrapper .gform_fields { display: block; margin: 0; padding: 0; list-style: none; }
.jg-footer .gform_wrapper .gfield_label, .jg-subscribe .gform_wrapper .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jg-footer .gform_wrapper input[type="email"] {
	width: 100%; height: 60px; padding: 0 20px;
	background: transparent; border: 0; border-radius: 0; outline: none;
	box-shadow: inset 0 0 0 1px var(--white-20);
	font-family: var(--sans); font-size: 18px; color: #fff;
	transition: box-shadow 180ms ease;
}
.jg-footer .gform_wrapper input[type="email"]:focus { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55); }
.jg-footer input::placeholder { color: rgba(255, 255, 255, 0.30); }
.jg-footer .gform_footer { margin: 0; padding: 0; }
.jg-footer .gform_wrapper .jg-form-submit,
.jg-footer .gform_wrapper .gform_button {
	width: 60px; height: 60px; padding: 0; border: 0; letter-spacing: 0; text-transform: none;
	background: #fff; color: var(--ink); font-size: 18px; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.jg-footer .gform_wrapper .jg-form-submit:hover,
.jg-footer .gform_wrapper .gform_button:hover { background: var(--accent); color: var(--ink); }
.jg-footer .gform_confirmation_message, .jg-newsletter-thanks { margin: 14px 0 0; font-size: 16px; line-height: 20px; color: var(--accent); }

.jg-subscribe .gform_wrapper form { flex-wrap: wrap; justify-content: center; }
.jg-subscribe .gform_wrapper input[type="email"] {
	width: 100%; height: 56px; padding: 0 20px;
	background: transparent; border: 0; border-radius: 0; outline: none;
	box-shadow: inset 0 0 0 1px var(--ink-30);
	font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.jg-subscribe .gform_wrapper input[type="email"]:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.jg-subscribe .gform_wrapper input::placeholder { color: var(--ink-45); }
.jg-subscribe .gform_footer { margin: 0; padding: 0; }
.jg-subscribe .gform_wrapper .jg-form-submit,
.jg-subscribe .gform_wrapper .gform_button {
	height: 56px; width: 56px; padding: 0; border: 0; letter-spacing: 0; text-transform: none;
	background: var(--ink); color: #fff; font-size: 18px; cursor: pointer;
}
.jg-subscribe .gform_wrapper .jg-form-submit:hover,
.jg-subscribe .gform_wrapper .gform_button:hover { background: var(--brass); color: #fff; }
.jg-subscribe .gform_confirmation_message { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.3; color: var(--ink); }

.jg-footer__legal {
	margin-top: clamp(56px, 6vw, 100px);
	box-shadow: inset 0 1px 0 var(--white-20);
	padding: 40px 0;
	display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
	font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: 0.2em; color: var(--white-50);
}
.jg-footer__legal a { color: var(--white-50); }
.jg-footer__legal a:hover { color: #fff; }

/* ---- Misc -------------------------------------------------------------- */

.jg-index-item { margin-bottom: 40px; }
.jg-hero-plain { padding: clamp(72px, 8vw, 150px) var(--gutter) clamp(64px, 7vw, 130px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	html { scroll-behavior: auto; }
}

/* ---- Phones and tablets (responsive audit, Oct 2026) ------------------ */
@media (max-width: 480px) {
	/* Long labels ("Send a Speculative Application", PDF download) wrap
	   instead of pushing the page wider than the screen. */
	.jg-btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.35; }
}
@media (max-width: 700px) {
	/* Full-bleed photo headers: the copy spans the width on a phone, so a
	   left-to-right scrim leaves the right half of the text on bare photo. */
	.jg-hero-page--image .jg-hero-page__scrim {
		background: linear-gradient(180deg, rgba(10,7,4,0.50) 0%, rgba(10,7,4,0.66) 40%, rgba(10,7,4,0.86) 100%);
	}
	/* Flavor photos were supplied centred; keep them centred on phones. */
	.jg-flavlib__hero .jg-hero-page__img { object-position: 50% var(--jg-focus-y, 50%); }
	/* Home "About Us": the desktop offset squeezes the column on a phone. */
	.jg-intro-offset__col { margin-left: 0; }
	/* Article tables fit the column instead of clipping the last column. */
	.jg-prose-table table { font-size: 14px; }
	.jg-prose-table th, .jg-prose-table td { padding: 10px 8px; overflow-wrap: anywhere; }
}
@media (min-width: 701px) and (max-width: 1100px) {
	/* Tablets: hold the dark side of the header scrim a little further. */
	.jg-hero-page--image .jg-hero-page__scrim {
		background: linear-gradient(90deg, rgba(10,7,4,0.90) 0%, rgba(10,7,4,0.72) 50%, rgba(10,7,4,0.30) 88%);
	}
}
