/* ==========================================================================
   JIMA theme styles. Homepage first, then inner pages.
   Everything is scoped to .jima so it cannot leak into other pages.
   ========================================================================== */

body.jima-site {
	margin: 0;
	background: #ffffff;
}

.jima {
	--j-red: #bc2034;
	--j-red-dark: #a01a2b;
	--j-red-light: #ff4d5e;
	--j-ink: #111216;
	--j-text: #2c2f36;
	--j-body: #3c4048;
	--j-muted: #4c5059;
	--j-line: #e4e5e8;
	--j-line-2: #d9dbe0;
	--j-band: #f2f3f5;
	--j-night: #111216;
	--j-night-line: #2a2c32;
	--j-font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;

	font-family: var(--j-font);
	color: var(--j-ink);
	background: #ffffff;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Reset inside the page */
.jima *, .jima *::before, .jima *::after { box-sizing: border-box; }
.jima h1, .jima h2, .jima h3, .jima p, .jima ul, .jima ol, .jima dl, .jima dd, .jima figure, .jima fieldset { margin: 0; }
.jima h1, .jima h2, .jima h3 { font-family: var(--j-font); color: var(--j-ink); text-transform: none; }
.jima ul, .jima ol { padding: 0; list-style: none; }
.jima img { display: block; max-width: 100%; height: auto; }
.jima a { color: var(--j-ink); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
.jima a:hover { color: var(--j-red); }
.jima :focus-visible { outline: 2px solid var(--j-red); outline-offset: 3px; }
.jima button, .jima input, .jima textarea { font-family: var(--j-font); }
html:has(body.jima-site) { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html:has(body.jima-site) { scroll-behavior: auto; } .jima * { transition: none !important; } }

/* Layout helpers */
.jima .j-wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.jima .j-band { background: var(--j-band); }
.jima .j-ruled { border-top: 1px solid var(--j-line); }
.jima .j-stack-48 { display: flex; flex-direction: column; gap: 48px; }
.jima .j-stack-44 { display: flex; flex-direction: column; gap: 44px; }
.jima .j-head { display: flex; flex-direction: column; gap: 12px; }
.jima .j-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }

/* Type */
.jima .j-dot { color: var(--j-red); }
.jima .j-dot--light { color: var(--j-red-light); }
.jima .j-label { font-size: 20px; font-weight: 400; line-height: 1.7; color: var(--j-muted); }
.jima .j-label--red { font-size: 18px; font-weight: 500; color: var(--j-red); }
.jima .j-h1 { font-size: 54px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.jima .j-h1 span { white-space: nowrap; }
.jima .j-h2 { font-size: 46px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.jima .j-h2--sm { font-size: 34px; letter-spacing: -0.025em; }
.jima .j-h2--md { font-size: 42px; letter-spacing: -0.03em; line-height: 1.12; }
.jima .j-h2--lg { font-size: 52px; line-height: 1.2; text-wrap: initial; }
.jima .j-h2--lg span { white-space: nowrap; }
.jima .j-h2--xl { font-size: 54px; line-height: 1.05; letter-spacing: -0.03em; }
.jima .j-lead { font-size: 17px; color: var(--j-muted); max-width: 42ch; }
.jima .j-lead--loose { line-height: 1.85; max-width: 44ch; }
.jima .j-lead--sm { font-size: 16px; max-width: none; }

/* Buttons and links — square corners everywhere */
.jima .j-btn {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--j-red); color: #ffffff; border: 0; border-radius: 0;
	font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: 0.02em;
	cursor: pointer; white-space: nowrap;
}
.jima .j-btn:hover { background: var(--j-red-dark); color: #ffffff; }
.jima .j-btn--header { height: 44px; padding: 0 24px; }
.jima .j-btn--lg { height: 48px; padding: 0 28px; }
.jima .j-btn--md { height: 54px; padding: 0 32px; font-size: 15px; }
.jima .j-btn--sm { height: 48px; padding: 0 22px; }
.jima .j-btn--submit { height: 55px; padding: 0 34px; font-size: 15px; }
.jima .j-arrow { display: inline-block; transition: transform .2s; }
.jima a:hover .j-arrow { transform: translateX(3px); }

.jima .j-link {
	align-self: flex-start; display: inline-flex; gap: 10px;
	font-weight: 600; font-size: 15px; line-height: 1.7;
	border-bottom: 2px solid var(--j-ink); padding-bottom: 4px;
}
.jima .j-link:hover { border-bottom-color: var(--j-red); }
.jima .j-link--sm { font-size: 14px; padding-bottom: 3px; }
.jima .j-link--md { font-size: 16px; gap: 8px; border-bottom-width: 1.5px; }
.jima .j-link--light { color: #ffffff; border-bottom-color: #ffffff; }

/* Placeholder notes (editors only) */
.jima .j-ph {
	align-self: flex-start; display: inline-block;
	font-size: 13px; line-height: 1.7; color: #5a5e67;
	border: 1px dashed #b4b7be; background: #f7f7f8; padding: 6px 10px;
}

/* ---------- Header ---------- */
.jima .j-header { position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 1px solid var(--j-line); }
body.admin-bar .jima .j-header { top: 32px; }
.jima .j-header__inner { min-height: 88px; display: flex; align-items: center; }
.jima .j-brand { display: flex; align-items: flex-end; gap: 10px; padding: 8px 0; }
.jima .j-brand img { width: auto; }
.jima .j-brand__mark { height: 20px; }
.jima .j-brand__word { height: 26px; }
.jima .j-nav { display: flex; align-items: center; gap: 40px; margin-left: 64px; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; line-height: 1; }
.jima .j-nav a { padding: 8px 0; }
.jima .j-header__end { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.jima .j-lang { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 14px; font-weight: 500; line-height: 1; }
.jima .j-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--j-line); background: #ffffff; color: var(--j-ink); border-radius: 0; cursor: pointer; padding: 0; }
.jima .j-mobile-nav { display: flex; flex-direction: column; padding-top: 4px; padding-bottom: 20px; border-top: 1px solid var(--j-line); }
.jima .j-mobile-nav[hidden] { display: none; }
.jima .j-mobile-nav a { font-size: 16px; font-weight: 600; letter-spacing: 0.06em; padding: 14px 0; border-bottom: 1px solid var(--j-line); }
.jima .j-mobile-nav__cta { color: var(--j-red) !important; border-bottom: 0 !important; }

/* ---------- Hero ---------- */
.jima .j-hero { padding: 18px 0 72px; }
.jima .j-hero__inner { display: flex; flex-direction: column; gap: 12px; }
.jima .j-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.7; }
/*
 * Hero grid: the headline sits under the large photo and the intro under the
 * two right-hand columns, so the copy lines up with the photo edges above it.
 * The large photo is 2.6 of 4.4 shares of the row (after the two 16px gaps).
 *
 * The two copy blocks are sized to the same visual height: the intro's first
 * line is level with the headline's capitals and the button's bottom sits on
 * the headline's baseline (headline 50px / 1.25, intro 2 lines at 15px / 1.7,
 * 12px gap, 44px button).
 *
 * The photo row shrinks on short screens so the headline and button are
 * visible without scrolling. Space reserved: header 88 + top 18 + kicker 20 +
 * gaps 12 + 16 + copy ~120 + breathing room ~56 = ~330.
 */
.jima .j-mosaic { display: flex; gap: 16px; height: clamp(240px, calc(100vh - 330px), 390px); height: clamp(240px, calc(100svh - 330px), 390px); }
body.admin-bar .jima .j-mosaic { height: clamp(240px, calc(100vh - 362px), 390px); height: clamp(240px, calc(100svh - 362px), 390px); }
.jima .j-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.jima .j-mosaic__a { flex: 2.6 1 0; min-width: 0; }
.jima .j-mosaic__stack { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jima .j-mosaic__stack img { flex: 1 1 0; min-height: 0; }
.jima .j-mosaic__d { flex: 0.8 1 0; min-width: 0; }
.jima .j-hero__copy {
	display: grid;
	grid-template-columns: calc((100% - 32px) * 2.6 / 4.4) minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	margin-top: 4px;
}
.jima .j-hero__copy .j-h1 { min-width: 0; font-size: clamp(30px, calc((100vw - 96px) * 0.0445), 50px); line-height: 1.25; }
.jima .j-hero__side { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; }
.jima .j-hero__side .j-btn { height: 44px; }
.jima .j-hero__side p { font-size: 15px; line-height: 1.7; color: var(--j-text); }

/* ---------- Who we help ---------- */
.jima .j-who { padding-bottom: 96px; }
.jima .j-who__inner { padding-top: 48px; display: flex; flex-direction: column; gap: 36px; }
.jima .j-split { display: flex; gap: 40px 0; }
.jima .j-split__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-right: 56px; }
.jima .j-split__col + .j-split__col { padding-right: 0; padding-left: 56px; border-left: 1px solid var(--j-line); }
.jima .j-dash-list { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.jima .j-dash-list li { display: flex; gap: 12px; align-items: baseline; }
.jima .j-dash-list li::before { content: ""; flex: none; width: 14px; height: 2px; background: var(--j-red); transform: translateY(-4px); }
.jima .j-split__col .j-link { margin-top: 10px; }

/* ---------- Selected work ---------- */
.jima .j-work { padding-bottom: 104px; }
.jima .j-work__inner { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.jima .j-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.jima .j-case { display: flex; flex-direction: column; gap: 20px; }
.jima .j-case img { width: 100%; aspect-ratio: 17 / 10; object-fit: cover; background: var(--j-band); }
.jima .j-case__meta { display: flex; flex-direction: column; gap: 6px; }
.jima .j-case h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.7; }
.jima .j-case p { font-size: 14px; color: var(--j-muted); }
.jima .j-case__result, .jima .j-case p.j-case__result { margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--j-ink); max-width: 46ch; }
.jima .j-related__copy .j-case__result { font-size: 17px; }
.jima .j-results .j-results__num--real { color: var(--j-red); }
.jima .j-case .j-ph { margin-top: 8px; }

/* ---------- Services ---------- */
.jima .j-services { padding: 104px 0; }
.jima .j-services .j-h2 { letter-spacing: -0.03em; line-height: 1.1; }
.jima .j-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jima .j-svc { background: #ffffff; border-top: 3px solid var(--j-red); padding: 36px 34px 40px; display: flex; flex-direction: column; gap: 24px; }
.jima .j-tag { align-self: flex-start; background: var(--j-red); color: #ffffff; font-weight: 600; font-size: 14px; line-height: 1.7; padding: 8px 14px; }
.jima .j-svc > p { font-size: 16px; line-height: 1.8; color: var(--j-body); }
.jima .j-svc__hook { font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: -8px; }
.jima .j-svc ul { padding-top: 18px; border-top: 1px solid var(--j-line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.jima .j-svc li::before { content: "✓ "; }
.jima .j-svc .j-link { margin-top: auto; }

/* ---------- How we work ---------- */
.jima .j-process { padding-top: 104px; }
.jima .j-process .j-ph { align-self: auto; }
.jima .j-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--j-ink); }
.jima .j-steps li { padding: 24px 28px 0; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--j-line); }
.jima .j-steps li:first-child { padding-left: 0; border-left: 0; }
.jima .j-steps li:last-child { padding-right: 0; }
.jima .j-step-n { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--j-red); }
.jima .j-steps h3 { font-size: 20px; font-weight: 700; line-height: 1.7; }
.jima .j-steps p { font-size: 15px; color: var(--j-muted); }

/* ---------- Divider ---------- */
.jima .j-divider { padding-top: 112px; display: flex; align-items: center; gap: 28px; }
.jima .j-divider span { flex: 1 1 0; height: 1px; background: var(--j-line-2); }
.jima .j-divider img { height: 16px; width: auto; }

/* ---------- LGBTQ+ expertise ---------- */
.jima .j-lgbtq { padding: 112px 0 120px; }
.jima .j-lgbtq__inner { display: flex; align-items: center; gap: 48px 56px; }
.jima .j-lgbtq__copy { flex: 1.15 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.jima .j-lgbtq .j-h2--lg { font-size: clamp(34px, calc((100vw - 96px) * 0.035), 52px); }
.jima .j-lgbtq__eyebrow { display: flex; align-items: center; gap: 24px; }
.jima .j-rainbow { display: flex; flex: 0 1 280px; height: 9px; }
.jima .j-rainbow i { flex: 1; }
.jima .j-rainbow i:nth-child(1) { background: #e40303; }
.jima .j-rainbow i:nth-child(2) { background: #ff8c00; }
.jima .j-rainbow i:nth-child(3) { background: #ffed00; }
.jima .j-rainbow i:nth-child(4) { background: #008026; }
.jima .j-rainbow i:nth-child(5) { background: #004dff; }
.jima .j-rainbow i:nth-child(6) { background: #750787; }
.jima .j-lgbtq .j-link { margin-top: 18px; }
.jima .j-lgbtq__photos { flex: 1 1 0; min-width: 0; display: flex; gap: 22px; height: 400px; }
.jima .j-lgbtq__photos img { min-width: 0; height: 100%; object-fit: cover; }
.jima .j-lgbtq__photos img:first-child { flex: 1.33 1 0; }
.jima .j-lgbtq__photos img:last-child { flex: 1 1 0; }

/* ---------- Partners ---------- */
.jima .j-partners { padding-bottom: 104px; }
.jima .j-partners__inner { padding-top: 88px; display: flex; flex-direction: column; gap: 44px; }
.jima .j-partners .j-h2 { letter-spacing: -0.03em; line-height: 1.1; }
.jima .j-partners .j-lead { max-width: none; }
.jima .j-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--j-line); }
.jima .j-logos li { min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 28px 24px; border-left: 1px solid var(--j-line); }
.jima .j-logos li:first-child { border-left: 0; }
.jima .j-logos img { width: auto; max-width: 100%; object-fit: contain; }
.jima .j-logos a { display: flex; align-items: center; justify-content: center; transition: opacity .2s; }
.jima .j-logos a:hover { opacity: .7; }

/* ---------- Media & business partnerships ---------- */
.jima .j-media { padding: 96px 0; }
.jima .j-media__inner { display: flex; gap: 40px 0; }
.jima .j-media__intro { flex: 1.15 1 0; min-width: 0; padding-right: 48px; display: flex; flex-direction: column; gap: 18px; }
.jima .j-media__col { flex: 1 1 0; min-width: 0; padding: 0 44px; border-left: 1px solid var(--j-line-2); display: flex; flex-direction: column; gap: 12px; }
.jima .j-media__col:last-child { padding-right: 0; }
.jima .j-media__col h3 { font-size: 19px; font-weight: 700; line-height: 1.7; }
.jima .j-media__col p { font-size: 15.5px; color: var(--j-muted); }
.jima .j-media__col .j-btn, .jima .j-media__col .j-link { margin-top: 12px; align-self: flex-start; }

/* ---------- Inquiry ---------- */
.jima .j-inquiry { padding: 96px 0; overflow: hidden; }
.jima .j-inquiry__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.jima .j-inquiry__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.jima .j-inquiry__copy .j-btn { margin-top: 12px; align-self: flex-start; }
.jima .j-rings, .jima .j-rings > div, .jima .j-rings > div > div { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.jima .j-rings { flex: 0 0 auto; width: 340px; height: 340px; max-width: 100%; border: 1px solid #f0c9cf; }
.jima .j-rings > div { width: 236px; height: 236px; border: 1px solid #e6a3ad; }
.jima .j-rings > div > div { width: 140px; height: 140px; border: 1.5px solid var(--j-red); }
.jima .j-rings img { width: 92px; height: auto; }

/* ---------- Contact ---------- */
.jima .j-contact { background: var(--j-night); color: #f3f3f5; padding: 104px 0 96px; }
.jima .j-contact__inner { display: flex; gap: 56px 96px; }
.jima .j-contact__intro { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.jima .j-h2--contact { color: #ffffff; font-size: 48px; letter-spacing: -0.03em; line-height: 1.1; }
.jima .j-contact__intro > p { font-size: 17px; color: #b3b6bd; max-width: 40ch; }
.jima .j-facts { margin-top: 12px; border-top: 1px solid var(--j-night-line); font-size: 14.5px; }
.jima .j-facts div { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--j-night-line); }
.jima .j-facts dt { width: 110px; flex: none; color: #a3a6ae; }
.jima .j-facts dd { margin: 0; color: #f3f3f5; min-width: 0; overflow-wrap: anywhere; }
.jima .j-facts a { color: #ffffff; border-bottom: 1px solid #6a6e77; }
.jima .j-facts a:hover { color: #ffffff; border-bottom-color: var(--j-red-light); }
.jima .j-profile__list a { color: var(--j-ink); border-bottom: 1.5px solid var(--j-ink); }
.jima .j-profile__list a:hover { color: var(--j-red); border-bottom-color: var(--j-red); }

.jima .j-form { flex: 1.15 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.jima .j-form__row { display: flex; gap: 22px; }
.jima .j-form__row .j-field { flex: 1 1 0; min-width: 0; }
.jima .j-field { display: flex; flex-direction: column; gap: 8px; }
.jima .j-field label, .jima .j-topics legend { font-size: 13px; font-weight: 600; color: #f3f3f5; line-height: 1.7; }
.jima .j-field input, .jima .j-field textarea {
	width: 100%; font-size: 16px; line-height: normal; color: #ffffff;
	background: #1b1d22; border: 1px solid #3a3d45; border-radius: 0;
	padding: 13px 14px; box-shadow: none; margin: 0;
}
.jima .j-field textarea { resize: vertical; min-height: 140px; }
.jima .j-field input:focus, .jima .j-field textarea:focus { outline: none; border-color: var(--j-red-light); box-shadow: 0 0 0 3px rgba(255, 77, 94, .2); }
.jima .j-topics { border: 0; padding: 0; min-width: 0; }
.jima .j-topics legend { padding: 0; margin-bottom: 10px; }
.jima .j-topics legend span { font-weight: 400; color: #a3a6ae; }
.jima .j-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jima .j-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.jima .j-chips label { font-size: 13.5px; line-height: 1.7; padding: 7px 14px; border: 1px solid #3a3d45; color: #d5d7dc; cursor: pointer; user-select: none; transition: background-color .15s, border-color .15s, color .15s; }
.jima .j-chips label:hover { border-color: #6a6e77; }
.jima .j-chips input:checked + label { background: var(--j-red); border-color: var(--j-red); color: #ffffff; }
.jima .j-chips input:focus-visible + label { outline: 2px solid var(--j-red-light); outline-offset: 2px; }
.jima .j-btn--submit { align-self: flex-start; }
.jima .j-hp { position: absolute !important; left: -9999px !important; }
.jima .j-form-error { color: #ff8a8d; font-size: 14px; }
.jima .j-form-done { flex: 1.15 1 0; min-width: 0; border: 1px solid var(--j-night-line); padding: 40px; display: flex; flex-direction: column; gap: 14px; align-self: flex-start; }
.jima .j-form-done h3 { color: #ffffff; font-size: 28px; font-weight: 700; }
.jima .j-form-done p { color: #b3b6bd; }

/* ---------- Footer ---------- */
.jima .j-footer { background: var(--j-night); color: #a3a6ae; }
.jima .j-footer__inner { padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--j-night-line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 13px; }
.jima .j-brand--footer { align-items: center; gap: 8px; padding: 0; }
.jima .j-brand--footer .j-brand__mark, .jima .j-brand--footer .j-brand__word { height: 18px; }
.jima .j-footer nav { margin-left: auto; display: flex; gap: 24px; }
.jima .j-footer a { color: #a3a6ae; }
.jima .j-footer a:hover { color: #ffffff; }

/* ---------- Shared bits for inner pages ---------- */
.jima .j-nav a.is-current { color: var(--j-red); box-shadow: inset 0 -2px 0 var(--j-red); }
.jima .j-case__link { margin-top: 10px; }
.jima .j-placeholder { color: #6a6e77; }
.jima .j-meta { font-size: 14px; color: var(--j-muted); }
.jima .j-h3 { font-size: 26px; font-weight: 700; line-height: 1.3; }
.jima .j-h3--lg { font-size: 30px; letter-spacing: -0.02em; }
.jima .j-stack-56 { display: flex; flex-direction: column; gap: 56px; }
.jima .j-section { padding: 104px 0; }
.jima .j-section--lg { padding: 112px 0; }
.jima .j-section--flush { padding-top: 0; }
.jima .j-section__inner { padding-top: 72px; display: flex; flex-direction: column; gap: 36px; }
.jima .j-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.jima .j-link--inline { align-self: auto; font-size: inherit; border-bottom-width: 1.5px; padding-bottom: 2px; }
.jima .j-btn--xl { height: 52px; padding: 0 32px; }

/* Page intro */
.jima .j-page-hero { padding: 28px 0 96px; }
.jima .j-page-hero--text { padding-bottom: 48px; }
.jima .j-page-hero--case { padding-bottom: 56px; }
.jima .j-page-hero__inner { display: flex; flex-direction: column; gap: 40px; }
.jima .j-page-hero--text .j-page-hero__inner { gap: 20px; }
.jima .j-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #6a6e77; }
.jima .j-crumbs a { color: #6a6e77; }
.jima .j-crumbs a:hover { color: var(--j-red); }
.jima .j-crumbs [aria-current] { color: var(--j-ink); }
.jima .j-page-hero--text .j-crumbs { margin-bottom: 20px; }
.jima .j-page-hero__grid { display: flex; align-items: center; gap: 48px 72px; }
.jima .j-page-hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.jima .j-h1--page { font-size: 54px; line-height: 1.18; letter-spacing: -0.02em; }
.jima .j-page-hero__lead { font-size: 18px; line-height: 1.8; color: var(--j-text); max-width: 46ch; }
.jima .j-page-hero__img { flex: 1 1 0; min-width: 0; width: 100%; height: 420px; object-fit: cover; }
.jima .j-page-hero__pair { flex: 1 1 0; min-width: 0; display: flex; gap: 16px; height: 420px; }
.jima .j-page-hero__pair img { min-width: 0; height: 100%; object-fit: cover; }
.jima .j-page-hero__pair img:first-child { flex: 1.4 1 0; }
.jima .j-page-hero__pair img:last-child { flex: 1 1 0; }

/* Key facts strip */
.jima .j-factstrip { padding: 40px 0; }
.jima .j-factstrip__grid, .jima .j-casefacts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.jima .j-factstrip__grid > div, .jima .j-casefacts__grid > div { display: flex; flex-direction: column; gap: 6px; padding: 4px 28px; border-left: 1px solid var(--j-line-2); }
.jima .j-factstrip__grid > div:first-child, .jima .j-casefacts__grid > div:first-child { padding-left: 0; border-left: 0; }
.jima .j-factstrip__grid > div:last-child, .jima .j-casefacts__grid > div:last-child { padding-right: 0; }
.jima .j-factstrip dt, .jima .j-casefacts dt { font-size: 14px; color: var(--j-muted); }
.jima .j-factstrip dd, .jima .j-casefacts dd { margin: 0; font-size: 17px; font-weight: 600; }

/* What's included */
.jima .j-included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--j-ink); }
.jima .j-included__item { padding: 32px 40px 36px 0; border-bottom: 1px solid var(--j-line); display: flex; flex-direction: column; gap: 10px; }
.jima .j-included__item:nth-child(even) { padding: 32px 0 36px 40px; border-left: 1px solid var(--j-line); }
.jima .j-included h3 { font-size: 21px; font-weight: 700; line-height: 1.5; }
.jima .j-included p { font-size: 15.5px; color: var(--j-muted); max-width: 44ch; }

/* Related work and next project */
.jima .j-related { display: flex; align-items: center; gap: 48px 72px; }
.jima .j-related__img { flex: 1.1 1 0; min-width: 0; width: 100%; aspect-ratio: 17 / 10; object-fit: cover; background: #ffffff; }
.jima .j-related__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.jima .j-h2--case { font-size: 36px; letter-spacing: -0.01em; line-height: 1.2; }

.jima .j-next { display: flex; align-items: center; gap: 32px 56px; border-top: 1px solid var(--j-line); border-bottom: 1px solid var(--j-line); padding: 40px 0; }
.jima .j-next img { flex: 0 1 360px; min-width: 0; aspect-ratio: 17 / 10; object-fit: cover; background: var(--j-band); }
.jima .j-next__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.jima .j-next__copy .j-label { font-size: 18px; }
.jima .j-next__arrow { font-size: 32px; color: var(--j-red); transition: transform .2s; }
.jima .j-next:hover .j-next__arrow { transform: translateX(6px); }
.jima .j-next:hover .j-h2 { color: var(--j-red); }

/* FAQ */
.jima .j-faq { display: flex; gap: 40px 72px; }
.jima .j-faq__head { flex: 1 1 0; min-width: 0; }
.jima .j-faq__list { flex: 1.6 1 0; min-width: 0; border-top: 2px solid var(--j-ink); }
.jima .j-faq details { border-bottom: 1px solid var(--j-line); padding: 22px 0; }
.jima .j-faq summary { font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.jima .j-faq summary::-webkit-details-marker { display: none; }
.jima .j-faq summary::after { content: "+"; color: var(--j-red); font-weight: 400; font-size: 22px; line-height: 1.2; }
.jima .j-faq details[open] summary::after { content: "−"; }
.jima .j-faq details p { margin-top: 12px; font-size: 15.5px; color: var(--j-muted); }

/* Other services */
.jima .j-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jima .j-others__card { background: var(--j-band); border-top: 3px solid var(--j-red); padding: 32px 34px; display: flex; flex-direction: column; gap: 14px; }
.jima .j-others__card .j-tag { color: #ffffff; }
.jima .j-others__text { font-size: 15.5px; color: var(--j-body); line-height: 1.75; }
.jima .j-others__more { font-weight: 600; font-size: 14px; }
.jima .j-others__card:hover .j-others__more { color: var(--j-red); }

/* Dark closing band */
.jima .j-cta { background: var(--j-night); color: #f3f3f5; padding: 96px 0; }
.jima .j-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 72px; }
.jima .j-cta__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jima .j-cta__copy p { font-size: 17px; color: #b3b6bd; max-width: 48ch; }

/* About: company profile */
.jima .j-profile { display: flex; gap: 40px 72px; }
.jima .j-profile__head { flex: 1 1 0; min-width: 0; }
.jima .j-profile__list { flex: 2 1 0; min-width: 0; margin: 0; border-top: 2px solid var(--j-ink); }
.jima .j-profile__list > div { display: flex; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--j-line-2); }
.jima .j-profile__list dt { flex: 0 0 200px; color: var(--j-muted); }
.jima .j-profile__list dd { flex: 1 1 0; min-width: 0; margin: 0; font-weight: 500; }

/* About: our why */
.jima .j-why__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 72px; }
.jima .j-why__head .j-head { flex: 1 1 0; min-width: 0; gap: 16px; }
.jima .j-h2--why { line-height: 1.2; text-wrap: initial; }
.jima .j-why__text { flex: 1 1 0; min-width: 0; max-width: none; }
.jima .j-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--j-ink); }
.jima .j-why__grid > div { padding: 28px 32px 0; border-left: 1px solid var(--j-line); display: flex; flex-direction: column; gap: 10px; }
.jima .j-why__grid > div:first-child { padding-left: 0; border-left: 0; }
.jima .j-why__grid > div:last-child { padding-right: 0; }
.jima .j-why__grid p:not(.j-label) { font-size: 15.5px; color: var(--j-muted); }
.jima .j-stack-56 > .j-ph { align-self: flex-start; }
.jima .j-divider--flush { padding-top: 0; }

/* About: team */
.jima .j-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; }
.jima .j-team__card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jima .j-team__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eceef1; }
.jima .j-team__photo--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #8a8e97; font-size: 13px; }
.jima .j-team__name { display: flex; flex-direction: column; gap: 2px; }
.jima .j-team__ja { font-size: 13px; color: #6a6e77; letter-spacing: 0.04em; }
.jima .j-team__name h3 { font-size: 20px; font-weight: 700; line-height: 1.5; }
.jima .j-team__title { font-size: 15px; font-weight: 500; color: var(--j-red); margin-top: 6px; }
.jima .j-team__title .j-placeholder { color: var(--j-red); opacity: .75; }
.jima .j-team__bio { font-size: 14.5px; line-height: 1.75; color: var(--j-muted); }

/* Case study */
.jima .j-casehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 72px; }
.jima .j-casehead__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.jima .j-h1--case { font-size: 62px; line-height: 1.1; letter-spacing: -0.02em; }
.jima .j-casehead__logo { height: 72px; width: auto; }
.jima .j-casefacts { padding-bottom: 104px; }
.jima .j-casefacts__img { width: 100%; aspect-ratio: 17 / 9; object-fit: cover; background: var(--j-band); }
.jima .j-casefacts__grid { border-bottom: 1px solid var(--j-line); }
.jima .j-casefacts__grid > div { padding-top: 28px; padding-bottom: 28px; border-left-color: var(--j-line); }
.jima .j-split--case { padding-bottom: 104px; }
.jima .j-split--case .j-split__col { gap: 14px; }

.jima .j-did { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jima .j-did__card { background: #ffffff; border-top: 3px solid var(--j-red); display: flex; flex-direction: column; }
.jima .j-did__media { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--j-line); }
.jima .j-did__media--logo { display: flex; align-items: center; justify-content: center; background: #fafafb; }
.jima .j-did__media--logo img { height: 76px; width: auto; }
.jima .j-did__media--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #eceef1; color: #8a8e97; font-size: 13px; }
.jima .j-did__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.jima .j-did__body p { font-size: 15.5px; color: var(--j-muted); }

.jima .j-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--j-ink); }
.jima .j-results > div { padding: 32px 32px 0; border-left: 1px solid var(--j-line); display: flex; flex-direction: column; gap: 8px; }
.jima .j-results > div:first-child { padding-left: 0; border-left: 0; }
.jima .j-results > div:last-child { padding-right: 0; }
.jima .j-results p { font-size: 15.5px; color: var(--j-muted); }
.jima .j-results .j-results__num { font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #b4b7be; }

.jima .j-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 104px; }
.jima .j-gallery__big, .jima .j-gallery__stack > div { background: #eceef1; display: flex; align-items: center; justify-content: center; color: #8a8e97; font-size: 14px; text-align: center; padding: 16px; }
.jima .j-gallery__big { grid-column: span 2; aspect-ratio: 16 / 10; }
.jima .j-gallery__stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }

.jima .j-quote { display: flex; gap: 32px 72px; align-items: flex-start; }
.jima .j-quote__mark { flex: 0 0 auto; font-size: 120px; font-weight: 700; line-height: 0.8; color: var(--j-red); }
.jima .j-quote figure { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.jima .j-quote blockquote { margin: 0; font-size: 30px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; }
.jima .j-quote figcaption { font-size: 15px; color: var(--j-muted); }
.jima .j-quote strong { color: var(--j-ink); }

/* Text pages (privacy policy, disclaimer, posts) */
.jima .j-section--text { padding: 0 0 104px; }
.jima .j-prose { max-width: 760px; font-size: 16px; line-height: 1.9; color: var(--j-text); border-top: 2px solid var(--j-ink); padding-top: 40px; }
.jima .j-prose > * + * { margin-top: 1.1em; }
.jima .j-prose h2 { font-size: 26px; font-weight: 700; line-height: 1.4; margin-top: 2em; }
.jima .j-prose h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin-top: 1.8em; }
.jima .j-prose h4, .jima .j-prose h5, .jima .j-prose h6 { font-size: 17px; font-weight: 700; margin-top: 1.6em; }
.jima .j-prose ul, .jima .j-prose ol { padding-left: 1.4em; list-style: revert; }
.jima .j-prose li + li { margin-top: .4em; }
.jima .j-prose a { color: var(--j-red); text-decoration: underline; text-underline-offset: 3px; }
.jima .j-prose a:hover { color: var(--j-red-dark); }
.jima .j-prose img { height: auto; }
.jima .j-prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--j-red); color: var(--j-muted); }
.jima .j-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.jima .j-prose th, .jima .j-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--j-line); vertical-align: top; }
.jima .j-prose__media { max-width: 760px; margin-bottom: 32px; }
.jima .j-prose__media img { width: 100%; height: auto; }

/* News list */
.jima .j-posts { border-top: 2px solid var(--j-ink); max-width: 900px; }
.jima .j-posts li { border-bottom: 1px solid var(--j-line); }
.jima .j-posts__item { display: flex; align-items: baseline; gap: 32px; padding: 22px 0; }
.jima .j-posts time { flex: none; font-size: 14px; color: var(--j-muted); font-variant-numeric: tabular-nums; }
.jima .j-posts__title { flex: 1 1 0; min-width: 0; font-size: 18px; font-weight: 600; }
.jima .j-posts__item .j-arrow { color: var(--j-red); }
.jima .j-pager { display: flex; gap: 8px; margin-top: 32px; }
.jima .j-pager .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--j-line); padding: 0 10px; }
.jima .j-pager .current { background: var(--j-ink); color: #ffffff; border-color: var(--j-ink); }

.jima .j-404 { padding: 96px 0 140px; }
.jima .j-404 .j-page-hero__inner { gap: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.jima .j-nav, .jima .j-header .j-btn--header { display: none; }
	.jima .j-menu-btn { display: inline-flex; }
	.jima .j-header__end { gap: 20px; }

	.jima .j-hero__copy { grid-template-columns: minmax(0, 1fr); row-gap: 20px; align-items: start; }
	.jima .j-hero__side { justify-content: flex-start; gap: 20px; padding: 0; }
	.jima .j-hero__copy .j-h1 { font-size: clamp(28px, 5.4vw, 48px); }
	.jima .j-hero__side p { max-width: 56ch; }

	.jima .j-services__grid { grid-template-columns: 1fr; }
	.jima .j-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.jima .j-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.jima .j-steps li:nth-child(2) { padding-right: 0; }

	.jima .j-lgbtq__inner { flex-direction: column; align-items: stretch; }
	.jima .j-lgbtq__copy, .jima .j-lgbtq__photos { flex: none; }

	.jima .j-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jima .j-logos li { border-left: 0; border-top: 1px solid var(--j-line); }
	.jima .j-logos li:nth-child(-n+3) { border-top: 0; }
	.jima .j-logos li:not(:nth-child(3n+1)) { border-left: 1px solid var(--j-line); }

	.jima .j-media__inner { flex-direction: column; }
	.jima .j-media__intro { padding-right: 0; }
	.jima .j-media__col { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--j-line-2); }

	.jima .j-contact__inner { flex-direction: column; }
}

@media (max-width: 760px) {
	.jima .j-wrap { padding-left: 20px; padding-right: 20px; }
	.jima .j-header__inner { min-height: 72px; }
	.jima .j-brand__mark { height: 17px; }
	.jima .j-brand__word { height: 22px; }

	.jima .j-hero { padding: 20px 0 56px; }
	.jima .j-mosaic, body.admin-bar .jima .j-mosaic { height: auto; aspect-ratio: 4 / 3; }
	.jima .j-mosaic__d { display: none; }
	.jima .j-mosaic__a { flex: 1.5 1 0; }
	.jima .j-hero__copy .j-h1 { font-size: clamp(28px, 8.4vw, 40px); }
	.jima .j-h1 span { white-space: normal; }
	.jima .j-h2--lg span { white-space: normal; }

	.jima .j-h2 { font-size: 34px; }
	.jima .j-h2--sm { font-size: 28px; }
	.jima .j-h2--lg, .jima .j-h2--xl { font-size: 38px; }
	.jima .j-h2--contact { font-size: 34px; }
	.jima .j-label { font-size: 18px; }

	.jima .j-split { flex-direction: column; }
	.jima .j-split__col, .jima .j-split__col + .j-split__col { padding: 0; border-left: 0; }
	.jima .j-split__col + .j-split__col { padding-top: 40px; border-top: 1px solid var(--j-line); }

	.jima .j-work__grid { grid-template-columns: 1fr; }
	.jima .j-services, .jima .j-media, .jima .j-inquiry { padding: 72px 0; }
	.jima .j-work, .jima .j-partners { padding-bottom: 72px; }
	.jima .j-process { padding-top: 72px; }
	.jima .j-divider { padding-top: 72px; }
	.jima .j-lgbtq { padding: 72px 0 80px; }
	.jima .j-partners__inner { padding-top: 64px; }
	.jima .j-svc { padding: 28px 24px 32px; }

	.jima .j-steps { grid-template-columns: 1fr; row-gap: 0; }
	.jima .j-steps li, .jima .j-steps li:nth-child(n) { padding: 20px 0; border-left: 0; }
	.jima .j-steps li + li { border-top: 1px solid var(--j-line); }

	.jima .j-lgbtq__photos { height: 260px; gap: 12px; }
	.jima .j-rainbow { flex-basis: 160px; }

	.jima .j-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jima .j-logos li, .jima .j-logos li:nth-child(n) { border-left: 0; border-top: 1px solid var(--j-line); min-height: 96px; }
	.jima .j-logos li:nth-child(-n+2) { border-top: 0; }
	.jima .j-logos li:nth-child(even) { border-left: 1px solid var(--j-line); }
	.jima .j-logos li:last-child { grid-column: 1 / -1; }

	/* Phone: text on the left, rings tucked to the right of the heading */
	.jima .j-inquiry { padding: 64px 0; }
	.jima .j-inquiry__inner { position: relative; display: block; }
	.jima .j-inquiry__copy { position: relative; z-index: 1; gap: 12px; }
	.jima .j-inquiry__copy .j-lead { max-width: 30ch; }
	.jima .j-rings { position: absolute; z-index: 0; top: -8px; right: -64px; width: 200px; height: 200px; }
	.jima .j-rings > div { width: 138px; height: 138px; }
	.jima .j-rings > div > div { width: 84px; height: 84px; }
	.jima .j-rings img { width: 54px; }

	.jima .j-contact { padding: 72px 0; }
	.jima .j-form__row { flex-direction: column; }
	.jima .j-footer nav { margin-left: 0; }
}

@media (max-width: 782px) {
	body.admin-bar .jima .j-header { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .jima .j-header { top: 0; }
}

/* ---------- Inner pages: tablet and phone ---------- */
@media (max-width: 1024px) {
	.jima .j-page-hero__grid, .jima .j-related, .jima .j-faq, .jima .j-profile, .jima .j-why__head, .jima .j-cta__inner { flex-direction: column; align-items: stretch; }
	.jima .j-page-hero__copy, .jima .j-page-hero__img, .jima .j-page-hero__pair, .jima .j-related__img, .jima .j-related__copy,
	.jima .j-faq__head, .jima .j-faq__list, .jima .j-profile__head, .jima .j-profile__list, .jima .j-why__head .j-head, .jima .j-why__text { flex: none; }
	.jima .j-cta__inner { align-items: flex-start; }
	.jima .j-page-hero__img, .jima .j-page-hero__pair { height: 360px; }
	.jima .j-factstrip__grid, .jima .j-casefacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
	.jima .j-factstrip__grid > div:nth-child(3), .jima .j-casefacts__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.jima .j-factstrip__grid > div:nth-child(2), .jima .j-casefacts__grid > div:nth-child(2) { padding-right: 0; }
	.jima .j-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jima .j-did { grid-template-columns: 1fr; }
	.jima .j-h1--case { font-size: 48px; }
}

@media (max-width: 760px) {
	.jima .j-page-hero { padding: 20px 0 64px; }
	.jima .j-page-hero--text { padding-bottom: 32px; }
	.jima .j-page-hero__inner { gap: 28px; }
	.jima .j-h1--page { font-size: 36px; }
	.jima .j-h1--case { font-size: 38px; }
	.jima .j-page-hero__lead { font-size: 16px; }
	.jima .j-page-hero__img, .jima .j-page-hero__pair { height: 260px; }
	.jima .j-page-hero__pair { gap: 12px; }
	.jima .j-section, .jima .j-section--lg, .jima .j-cta { padding: 72px 0; }
	.jima .j-section--flush { padding-top: 0; }
	.jima .j-section--text { padding: 0 0 72px; }
	.jima .j-section__inner { padding-top: 56px; }
	.jima .j-h3 { font-size: 22px; }
	.jima .j-h3--lg { font-size: 24px; }
	.jima .j-h2--case { font-size: 30px; }

	.jima .j-factstrip__grid, .jima .j-casefacts__grid { grid-template-columns: 1fr; row-gap: 0; }
	.jima .j-factstrip__grid > div, .jima .j-casefacts__grid > div,
	.jima .j-factstrip__grid > div:nth-child(n), .jima .j-casefacts__grid > div:nth-child(n) { padding: 14px 0; border-left: 0; border-top: 1px solid var(--j-line-2); }
	.jima .j-factstrip__grid > div:first-child, .jima .j-casefacts__grid > div:first-child { border-top: 0; }

	.jima .j-included { grid-template-columns: 1fr; }
	.jima .j-included__item, .jima .j-included__item:nth-child(even) { padding: 24px 0; border-left: 0; }

	.jima .j-others, .jima .j-team { grid-template-columns: 1fr; }
	.jima .j-others__card { padding: 26px 24px; }

	.jima .j-profile__list > div { flex-direction: column; }
	.jima .j-profile__list dt { flex: none; }

	.jima .j-why__grid, .jima .j-results { grid-template-columns: 1fr; }
	.jima .j-why__grid > div, .jima .j-why__grid > div:nth-child(n),
	.jima .j-results > div, .jima .j-results > div:nth-child(n) { padding: 20px 0; border-left: 0; }
	.jima .j-why__grid > div + div, .jima .j-results > div + div { border-top: 1px solid var(--j-line); }
	.jima .j-results .j-results__num { font-size: 44px; }

	.jima .j-casehead { flex-direction: column; align-items: flex-start; }
	.jima .j-casehead__logo { height: 52px; }
	.jima .j-casefacts, .jima .j-split--case, .jima .j-gallery { padding-bottom: 72px; }
	.jima .j-gallery { grid-template-columns: 1fr; }
	.jima .j-gallery__big { grid-column: auto; }
	.jima .j-gallery__stack > div { aspect-ratio: 16 / 10; }

	.jima .j-quote { flex-direction: column; gap: 8px; }
	.jima .j-quote__mark { font-size: 80px; }
	.jima .j-quote blockquote { font-size: 22px; }

	.jima .j-next { flex-direction: column; align-items: flex-start; padding: 28px 0; }
	.jima .j-next img { flex: none; width: 100%; }
	.jima .j-next__arrow { display: none; }

	.jima .j-posts__item { flex-wrap: wrap; gap: 4px 16px; }
	.jima .j-posts__title { flex-basis: 100%; order: 2; font-size: 16px; }
	.jima .j-posts__item .j-arrow { display: none; }

	.jima .j-prose { padding-top: 28px; }
}

/* ==========================================================================
   Japanese / English
   ========================================================================== */

/* Language switcher (header) */
.jima .j-lang { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 1; color: #9a9ea6; }
.jima .j-lang a { padding: 8px 2px; color: #9a9ea6; transition: color 0.15s ease; }
.jima .j-lang a:hover, .jima .j-lang a:focus-visible { color: var(--j-ink); }
.jima .j-lang a[aria-current="true"] { color: var(--j-ink); }
.jima .j-lang span { color: #cfd2d7; font-weight: 400; }
.jima .j-mobile-nav__lang { color: var(--j-muted) !important; font-weight: 500 !important; }

/* Japanese full stop after headings */
.jima .j-dot--ja { letter-spacing: 0; }

/* Japanese typography: no negative tracking, a little more leading, phrase-aware line breaks */
.jima--ja { line-break: strict; }
.jima--ja :is(h1, h2, h3, .j-lead, .j-page-hero__lead, .j-hero__side p, .j-label, .j-btn, .j-link, summary) { word-break: auto-phrase; }
.jima--ja .j-latin { letter-spacing: -0.02em !important; line-height: 1.18 !important; }
.jima--ja :is(.j-h1, .j-h2, .j-h3, .j-h1--page, .j-h1--case, .j-svc__hook, .j-h2--contact, .j-h2--xl, .j-h2--md, .j-h2--sm, .j-h2--lg) { letter-spacing: 0.01em; line-height: 1.4; }
.jima--ja .j-h2--xl { line-height: 1.25; }
.jima--ja .j-nav { letter-spacing: 0.1em; }
.jima--ja :is(.j-lead, .j-hero__side p, .j-svc > p, .j-team__bio, .j-why__grid p, .j-included__item p, .j-media__col p, .j-steps p, .j-page-hero__lead) { letter-spacing: 0.02em; line-height: 1.85; }
.jima--ja .j-label { letter-spacing: 0; }
.jima--ja .j-btn { letter-spacing: 0.06em; }
.jima--ja .j-seg { display: inline-block; }
.jima--ja :is(.j-h2, .j-h3) { text-wrap: wrap; }
.jima .j-svc .j-svc__cta { margin-top: auto; align-self: flex-start; }
